@aastrika_npmjs/comptency
Advanced tools
Comparing version 0.0.53 to 0.0.54
@@ -11,2 +11,4 @@ /** | ||
export { ActiveSummaryService as ɵk } from './competency/services/active-summary.service'; | ||
export { ConfigService as ɵo } from './competency/services/config.service'; | ||
export { ConfigurationContext as ɵp } from './competency/services/configuration-context'; | ||
export { GainedService as ɵj } from './competency/services/gained.service'; | ||
@@ -13,0 +15,0 @@ export { CompetencyEntryComponent as ɵb } from './entry-module/components/competency-entry/competency-entry.component'; |
@@ -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"}],"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"}],"getRolesWiseCompetency":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"lib-self-assessment","template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"\" *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":17,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"Location","line":30,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"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 *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}}{{ log.level }} </div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>","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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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":30,"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| removeDuplicatesPipe:['cid', 'name'] ); 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<div *ngFor=\"let competency of (competencyList | removeDuplicatesPipe:['id', 'name']); 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</div>","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":21,"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":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatTabsModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatExpansionModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressBarModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressSpinnerModule","line":33,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":34,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":35,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":36,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":37,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"CompetencyModule"},"providers":[{"__symbolic":"reference","name":"ɵo"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"ɵ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"}],"getRolesWiseCompetency":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"lib-self-assessment","template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"\" *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":17,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"Location","line":30,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"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 *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full gap-1\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>","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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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":30,"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\">chevron_left</mat-icon>\n\n <h1 *ngIf=\"isPassbok == 'false'\" class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <ng-container *ngIf=\"isPassbok == 'false'; else onlyPassbok\">\n <mat-tab-group [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\" class=\"remove-border-bottom\"\n animationDuration=\"0ms\" [selectedIndex]=\"tabIndex\" (selectedTabChange)=\"changeTab($event)\">\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\"\n *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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\" *ngIf=\"tabIndex === 1\"></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 [language]=\"language\" [role]=\"role\"\n *ngIf=\"tabIndex === 2\"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n <!-- <mat-tab-group class=\"remove-border-bottom\"\n animationDuration=\"0ms\"> -->\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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\"></lib-gained-comptency-card>\n <!-- </mat-tab> -->\n\n \n <!-- </mat-tab-group> -->\n </ng-template>\n\n </div>\n</div>","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":19,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":20,"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| removeDuplicatesPipe:['cid', 'name'] ); 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<div *ngFor=\"let competency of (competencyList | removeDuplicatesPipe:['id', 'name']); 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</div>","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"}]}},"ɵo":{"__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":"ɵp"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵp":{"__symbolic":"class","members":{}}},"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","ɵo":"./competency/services/config.service","ɵp":"./competency/services/configuration-context"},"importAs":"@aastrika_npmjs/comptency"} |
@@ -15,3 +15,3 @@ !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"; | ||
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 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(t):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(p):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="आत्म मूल्यांकन";break;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&&(t=e.batches[0].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.noResultData={message:"No data to display, please take self-assessment or pass courses to see data in the passbook",messageHi:"प्रदर्शित करने के लिए कोई डेटा नहीं है, कृपया पासबुक में डेटा देखने के लिए स्व-मूल्यांकन करें या कोर्स पास करें।"},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 *ngIf="gainedproficencyData && gainedproficencyData.length > 0; else noData">\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 [expanded]="i === selectedProficiencyIndex" class="w-full panel" hideToggle>\n <mat-expansion-panel-header class="flex-between items-center panel-header w-full">\n <mat-panel-description class="panel-header-description">\n <ng-container *ngFor="let proficiencyLevel of proficency?.proficiencyLevels">\n <ng-container *ngIf="proficiencyLevel.selected; else addLevel">\n <div (click)="\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n " class="level mb-1" [ngStyle]="{ \'background-color\': proficiencyLevel.color }" [ngClass]="{\n \'individual-select\':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class="level mb-1" (click)="$event.stopPropagation(); selectLevel(i, -1)">\n <mat-icon [ngClass]="{ arrowReverse: selectedProficiencyIndex === i }">keyboard_arrow_down</mat-icon>\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 *ngFor="let log of proficency?.logs; let logIndex = index; let last = last; ">\n <ng-container *ngIf="\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n ">\n <div class="log" [ngClass]="{\'border-bottom-0\': last}">\n <div class="flex w-full">\n <ng-container *ngIf="log.header">\n <div class="log-level-id" i18n>{{\'LEVEL\' | translate}}{{ log.level }} </div>\n <div class="log-level-details"> {{ log.header }}</div>\n <div class="log-date mr-2">{{\n log?.date | date : "dd/MM/yyyy"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf="log.description">\n <div class="mt-2" [ngClass]="{ \'hide-content\': !log.keyboardArrowUp }">\n {{ log.description }}\n </div>\n <div class="justify-end">\n <mat-icon (click)="log.keyboardArrowUp = !log.keyboardArrowUp" class="mr-3"\n [ngClass]="{ arrowReverse: log.keyboardArrowUp }">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf="!loading">\n <lib-no-result [data]="noResultData" [languagePreferred]="language"></lib-no-result>\n </ng-container>\n</ng-template>',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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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=2,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)}(),w=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| removeDuplicatesPipe:[\'cid\', \'name\'] ); 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<div *ngFor="let competency of (competencyList | removeDuplicatesPipe:[\'id\', \'name\']); 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</div>',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,w,S],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,w]})],e)}();e.CompetencyDashboardComponent=C,e.CompetencyModule=k,e.GainedComptencyCardComponent=D,e.RequestUtil=x,e.RequiredComptencyCardComponent=h,e.ɵa=b,e.ɵb=I,e.ɵc=w,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 v(e,t){return function(n,i){t(n,i,e)}}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 h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}var b=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)}(),x=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),I=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(t):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(p):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")}),h(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.acquiredChannelColourCode(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="आत्म मूल्यांकन";break;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.acquiredChannelColourCode=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}],n={};return r.forEach(e,(function(e){var i=r.get(e,"acquiredChannel"),o=r.get(e,"competencyLevelId");if(!n[o])if("admin"===i)(a=t.find((function(e){return e.displayLevel==o})))&&(a.color="#7cb5e6",a.selected=!0),n[o]=!0;else if("selfAssessment"===i){(a=t.find((function(e){return e.displayLevel==o})))&&(a.color="#A4DFCA",a.selected=!0),n[o]=!0}else if("Course"===i){(a=t.find((function(e){return e.displayLevel==o})))&&(a.color="#FFFBB0",a.selected=!0),n[o]=!0}else if("course"===i){(a=t.find((function(e){return e.displayLevel==o})))&&(a.color="#FFFBB0",a.selected=!0),n[o]=!0}else{var a;(a=t.find((function(e){return e.displayLevel==o})))&&(a.color="#FFFBB0",a.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&&(t=e.batches[0].batchId),t},e}(),D=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),C=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.noResultData={message:"No data to display, please take self-assessment or pass courses to see data in the passbook",messageHi:"प्रदर्शित करने के लिए कोई डेटा नहीं है, कृपया पासबुक में डेटा देखने के लिए स्व-मूल्यांकन करें या कोर्स पास करें।"},this.requestUtil=new I}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:x},{type:a.ConfigService},{type:D}]},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 *ngIf="gainedproficencyData && gainedproficencyData.length > 0; else noData">\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 [expanded]="i === selectedProficiencyIndex" class="w-full panel" hideToggle>\n <mat-expansion-panel-header class="flex-between items-center panel-header w-full">\n <mat-panel-description class="panel-header-description">\n <ng-container *ngFor="let proficiencyLevel of proficency?.proficiencyLevels">\n <ng-container *ngIf="proficiencyLevel.selected; else addLevel">\n <div (click)="\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n " class="level mb-1" [ngStyle]="{ \'background-color\': proficiencyLevel.color }" [ngClass]="{\n \'individual-select\':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class="level mb-1" (click)="$event.stopPropagation(); selectLevel(i, -1)">\n <mat-icon [ngClass]="{ arrowReverse: selectedProficiencyIndex === i }">keyboard_arrow_down</mat-icon>\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 *ngFor="let log of proficency?.logs; let logIndex = index; let last = last; ">\n <ng-container *ngIf="\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n ">\n <div class="log" [ngClass]="{\'border-bottom-0\': last}">\n <div class="flex w-full gap-1">\n <ng-container *ngIf="log.header">\n <div class="log-level-id" i18n>{{\'LEVEL\' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class="log-level-details"> {{ log.header }}</div>\n <div class="log-date mr-2">{{\n log?.date | date : "dd/MM/yyyy"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf="log.description">\n <div class="mt-2" [ngClass]="{ \'hide-content\': !log.keyboardArrowUp }">\n {{ log.description }}\n </div>\n <div class="justify-end">\n <mat-icon (click)="log.keyboardArrowUp = !log.keyboardArrowUp" class="mr-3"\n [ngClass]="{ arrowReverse: log.keyboardArrowUp }">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf="!loading">\n <lib-no-result [data]="noResultData" [languagePreferred]="language"></lib-no-result>\n </ng-container>\n</ng-template>',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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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)}(),S=function(){function e(e,n,i){this.router=e,this.configService=n,this.activeSummaryService=i,this.stateChange=new t.EventEmitter,this.tabIndex=1,this.isPassbok="false"}return e.prototype.ngOnInit=function(){var e=this;this.tabIndex=2,this.isMobileApp=this.configService.getConfig().isMobileApp,this.role=this.configService.getConfig().profileData[0].designation,this.language=this.configService.getConfig().language,this.isPassbok=localStorage.getItem("isOnlyPassbook"),console.log(this.isPassbok),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(){"false"!==this.isPassbok?this.router.navigate(["/profile-dashboard"]):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:D}]},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">chevron_left</mat-icon>\n\n <h1 *ngIf="isPassbok == \'false\'" class="pl-2 mb-0" i18n>{{\'COMPETENCY_DASHBOARD\' | translate}}</h1>\n\n <div class="pl-2 tab-container">\n <ng-container *ngIf="isPassbok == \'false\'; else onlyPassbok">\n <mat-tab-group [ngClass]="{ \'header-width-icon\': tabIndex === 1 }" class="remove-border-bottom"\n animationDuration="0ms" [selectedIndex]="tabIndex" (selectedTabChange)="changeTab($event)">\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"\n *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>{{\'FRMELEMNTS_LBL_OBSERVATION\' | 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 [language]="language" *ngIf="tabIndex === 1"></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 [language]="language" [role]="role"\n *ngIf="tabIndex === 2"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n \x3c!-- <mat-tab-group class="remove-border-bottom"\n animationDuration="0ms"> --\x3e\n \x3c!-- gained as Passbook --\x3e\n \x3c!-- <mat-tab i18n-label label="{{\'PASSBOOK\' | translate}}"> --\x3e\n <div class="legend-container">\n <div class="legend legend-blue"></div>\n <h5 class="mb-0" i18n>{{\'FRMELEMNTS_LBL_OBSERVATION\' | 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 [language]="language"></lib-gained-comptency-card>\n \x3c!-- </mat-tab> --\x3e\n\n \n \x3c!-- </mat-tab-group> --\x3e\n </ng-template>\n\n </div>\n</div>',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)}(),w=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 I}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){var n=r.find(t[0].response,{position:e.desigination});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}))},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(t=i.response).hasOwnProperty(e)?(n.roleId=t[e],n.roleId):(n.roleId=1,1)}),(function(i){return(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(h(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:D},{type:a.ConfigService},{type:x},{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| removeDuplicatesPipe:[\'cid\', \'name\'] ); 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)}(),k=function(){function e(e){this.router=e}return e.prototype.ngOnInit=function(){},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<div *ngFor="let competency of (competencyList | removeDuplicatesPipe:[\'id\', \'name\']); 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</div>',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)}(),E=function(){},L=function(){function e(e){this.config=e,this.config$=new n.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(console.log("competency config service",t),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:E,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=f([t.Injectable({providedIn:"root"}),v(0,t.Optional()),v(0,t.Inject("config"))],e)}(),F=function(){function e(){}var n;return n=e,e.forRoot=function(e){return{ngModule:n,providers:[L,{provide:"config",useValue:e.config}]}},e=n=f([t.NgModule({declarations:[b,C,S,w,k],imports:[l.CommonModule,d.MatTabsModule,d.MatIconModule,d.MatExpansionModule,d.MatProgressBarModule,d.MatProgressSpinnerModule,o.HttpClientModule,i.CoreModule,p.SelfAssessmentModule,g.TranslateModule],exports:[b,C,S,w]})],e)}();e.CompetencyDashboardComponent=S,e.CompetencyModule=F,e.GainedComptencyCardComponent=C,e.RequestUtil=I,e.RequiredComptencyCardComponent=b,e.ɵa=x,e.ɵb=D,e.ɵc=w,e.ɵd=k,e.ɵe=L,e.ɵf=E,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-competency.umd.min.js.map |
@@ -235,2 +235,3 @@ (function (global, factory) { | ||
mobileHost: 'https://sphere.aastrika.org', | ||
authorization: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas", | ||
apiSlug: '/apis/protected/v8', | ||
@@ -343,4 +344,5 @@ apiProxy: '/apis/proxies/v8', | ||
var default_headers = { | ||
'Authorization': "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas", | ||
'Authorization': urlConfig.authorization, | ||
'X-authenticated-user-token': session ? session.access_token : '', | ||
'Accept': 'application/json', | ||
}; | ||
@@ -395,3 +397,3 @@ if (header) { | ||
NoResultComponent.prototype.ngOnInit = function () { | ||
console.log("no data ", this.data); | ||
// console.log("no data ",this.data) | ||
this.setMessage(); | ||
@@ -398,0 +400,0 @@ }; |
@@ -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,n,o,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 d=function(){return""+B.host+B.apiSlug},l=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},P=function(){return""+B.mobileHost+B.apiPublic+"/mobileApp/getAllEntity"},j=function(){return B.mobileHost+"/api/user/v1/passbook"},k=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"},H=function(){return B.mobileHost+"/api/course/v1/content/state/read"},w=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:d,apiBaseProxy:l,apiBasePublic:g,getEntityById:f,getAllEntity:h,getUserPassbook:m,getSearch:y,getHierachyDetails:b,getUserdetailsFromRegistry:v,getContentProgress:x,getAllEntityMobile:P,getUserPassbookMobile:j,getUserdetailsMobile:k,getEntityByIdMobile:C,getSearchMobile:M,getContentProgressMobile:H,getRoleMapping:w,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(n.mergeMap((function(e){var t=e.body;e.headers;return"OK"!==t.responseCode?o.throwError(t):o.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(n.mergeMap((function(e){var t=e.body;e.headers;return 200===t.status?o.of(t):o.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(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)}(),S=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)}(),A=function(){function e(){}return e.prototype.ngOnInit=function(){console.log("no data ",this.data),this.setMessage()},e.prototype.setMessage=function(){this.message=p.get(this.data,"message")?p.get(this.data,"message"):" No result found",this.message="en"==this.languagePreferred?p.get(this.data,"message")?p.get(this.data,"message"):" No result found":p.get(this.data,"messageHi")?p.get(this.data,"messageHi"):"कोई परिणाम नहीं मिला"},u([t.Input()],e.prototype,"data",void 0),u([t.Input()],e.prototype,"languagePreferred",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:16px;font-weight:900;color:#848886b3;padding:10px}"]})],e)}(),E=function(){function e(){}return e.prototype.transform=function(e,t){return e&&0!==e.length?e.filter((function(r,n){return e.findIndex((function(e){return t.every((function(t){return e[t]===r[t]}))}))===n})):e},e=u([t.Pipe({name:"removeDuplicatesPipe"})],e)}(),_=function(){function e(){}return e=u([t.NgModule({imports:[s.CommonModule,r.HttpClientModule],declarations:[S,A,E],exports:[S,A,E],providers:[O]})],e)}();e.AppLoaderComponent=S,e.CoreModule=_,e.DataService=O,e.urlConfig=B,e.ɵ0=d,e.ɵ1=l,e.ɵ10=P,e.ɵ11=j,e.ɵ12=k,e.ɵ13=C,e.ɵ14=M,e.ɵ15=H,e.ɵ16=w,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,e.ɵb=E,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */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,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(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},P=function(){return""+B.mobileHost+B.apiPublic+"/mobileApp/getAllEntity"},j=function(){return B.mobileHost+"/api/user/v1/passbook"},k=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"},H=function(){return B.mobileHost+"/api/course/v1/content/state/read"},w=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",authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas",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:P,getUserPassbookMobile:j,getUserdetailsMobile:k,getEntityByIdMobile:C,getSearchMobile:M,getContentProgressMobile:H,getRoleMapping:w,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(n.mergeMap((function(e){var t=e.body;e.headers;return"OK"!==t.responseCode?o.throwError(t):o.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(n.mergeMap((function(e){var t=e.body;e.headers;return 200===t.status?o.of(t):o.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(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:B.authorization,"X-authenticated-user-token":e?e.access_token:"",Accept:"application/json"};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",this.message="en"==this.languagePreferred?p.get(this.data,"message")?p.get(this.data,"message"):" No result found":p.get(this.data,"messageHi")?p.get(this.data,"messageHi"):"कोई परिणाम नहीं मिला"},u([t.Input()],e.prototype,"data",void 0),u([t.Input()],e.prototype,"languagePreferred",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:16px;font-weight:900;color:#848886b3;padding:10px}"]})],e)}(),E=function(){function e(){}return e.prototype.transform=function(e,t){return e&&0!==e.length?e.filter((function(r,n){return e.findIndex((function(e){return t.every((function(t){return e[t]===r[t]}))}))===n})):e},e=u([t.Pipe({name:"removeDuplicatesPipe"})],e)}(),_=function(){function e(){}return e=u([t.NgModule({imports:[s.CommonModule,r.HttpClientModule],declarations:[S,A,E],exports:[S,A,E],providers:[O]})],e)}();e.AppLoaderComponent=S,e.CoreModule=_,e.DataService=O,e.urlConfig=B,e.ɵ0=l,e.ɵ1=d,e.ɵ10=P,e.ɵ11=j,e.ɵ12=k,e.ɵ13=C,e.ɵ14=M,e.ɵ15=H,e.ɵ16=w,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,e.ɵb=E,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-core.umd.min.js.map |
@@ -8,2 +8,4 @@ /** | ||
export { ActiveSummaryService as ɵb } from './services/active-summary.service'; | ||
export { ConfigService as ɵe } from './services/config.service'; | ||
export { ConfigurationContext as ɵf } from './services/configuration-context'; | ||
export { GainedService as ɵa } from './services/gained.service'; |
@@ -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 *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}}{{ log.level }} </div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>","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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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":30,"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| removeDuplicatesPipe:['cid', 'name'] ); 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<div *ngFor=\"let competency of (competencyList | removeDuplicatesPipe:['id', 'name']); 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</div>","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 *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full gap-1\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>","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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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":30,"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\">chevron_left</mat-icon>\n\n <h1 *ngIf=\"isPassbok == 'false'\" class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <ng-container *ngIf=\"isPassbok == 'false'; else onlyPassbok\">\n <mat-tab-group [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\" class=\"remove-border-bottom\"\n animationDuration=\"0ms\" [selectedIndex]=\"tabIndex\" (selectedTabChange)=\"changeTab($event)\">\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\"\n *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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\" *ngIf=\"tabIndex === 1\"></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 [language]=\"language\" [role]=\"role\"\n *ngIf=\"tabIndex === 2\"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n <!-- <mat-tab-group class=\"remove-border-bottom\"\n animationDuration=\"0ms\"> -->\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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\"></lib-gained-comptency-card>\n <!-- </mat-tab> -->\n\n \n <!-- </mat-tab-group> -->\n </ng-template>\n\n </div>\n</div>","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":19,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":20,"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":21,"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":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatTabsModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatExpansionModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressBarModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressSpinnerModule","line":33,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":34,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":35,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":36,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":37,"character":4}],"exports":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"CompetencyModule"},"providers":[{"__symbolic":"reference","name":"ɵe"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"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"}],"acquiredChannelColourCode":[{"__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| removeDuplicatesPipe:['cid', 'name'] ); 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<div *ngFor=\"let competency of (competencyList | removeDuplicatesPipe:['id', 'name']); 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</div>","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"}]}},"ɵe":{"__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":"ɵf"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵf":{"__symbolic":"class","members":{}}},"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","ɵe":"./services/config.service","ɵf":"./services/configuration-context"},"importAs":"@aastrika_npmjs/comptency/competency"} |
@@ -0,2 +1,10 @@ | ||
import { ModuleWithProviders } from '@angular/core'; | ||
import { ConfigurationContext } from './services/configuration-context'; | ||
export declare class CompetencyModule { | ||
/** | ||
* Take the config from consuming apps | ||
* | ||
* @author Aman Kumar Sharma <amankumar.sharma@tarento.com> | ||
*/ | ||
static forRoot(configContext: ConfigurationContext): ModuleWithProviders; | ||
} |
@@ -14,2 +14,3 @@ import { ConfigService } from '@aastrika_npmjs/comptency/entry-module'; | ||
role: any; | ||
isPassbok: string; | ||
constructor(router: Router, configService: ConfigService, activeSummaryService: ActiveSummaryService); | ||
@@ -16,0 +17,0 @@ ngOnInit(): void; |
@@ -30,2 +30,7 @@ export declare class RequestUtil { | ||
}[]; | ||
acquiredChannelColourCode(acquiredDetails: any): { | ||
'color': string; | ||
'displayLevel': number; | ||
'selected': boolean; | ||
}[]; | ||
competencyStoreDataFomat(data: any): {}; | ||
@@ -32,0 +37,0 @@ formatedCompetencyCourseData(data: any): 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":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":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"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:16px;font-weight:900;color:#848886b3;padding:10px}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"languagePreferred":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setMessage":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"removeDuplicatesPipe"}]}],"members":{"transform":[{"__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","ɵb":"./pipe/remove-duplicates.pipe"},"importAs":"@aastrika_npmjs/comptency/core"} | ||
{"__symbolic":"module","version":4,"metadata":{"urlConfig":{"__symbolic":"error","message":"Lambda not supported","line":12,"character":15,"module":"./config/url.config"},"DataService":{"__symbolic":"class","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":24,"character":20},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":24,"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":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"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:16px;font-weight:900;color:#848886b3;padding:10px}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"languagePreferred":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setMessage":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"removeDuplicatesPipe"}]}],"members":{"transform":[{"__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","ɵb":"./pipe/remove-duplicates.pipe"},"importAs":"@aastrika_npmjs/comptency/core"} |
@@ -9,2 +9,3 @@ /** | ||
mobileHost: string; | ||
authorization: string; | ||
apiSlug: string; | ||
@@ -11,0 +12,0 @@ apiProxy: string; |
@@ -11,2 +11,4 @@ /** | ||
export { ActiveSummaryService as ɵk } from './competency/services/active-summary.service'; | ||
export { ConfigService as ɵo } from './competency/services/config.service'; | ||
export { ConfigurationContext as ɵp } from './competency/services/configuration-context'; | ||
export { GainedService as ɵj } from './competency/services/gained.service'; | ||
@@ -20,2 +22,2 @@ export { CompetencyEntryComponent as ɵb } from './entry-module/components/competency-entry/competency-entry.component'; | ||
export { SelfAssessmentService as ɵf } from './self-assessment/service/self-assessment.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImFhc3RyaWthX25wbWpzLWNvbXB0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxpRUFBaUUsQ0FBQztBQUM3RyxPQUFPLEVBQUMsNEJB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HBvcnQge0NvbmZpZ1NlcnZpY2UgYXMgybVjfSBmcm9tICcuL2VudHJ5LW1vZHVsZS9zZXJ2aWNlcy9jb25maWcuc2VydmljZSc7XG5leHBvcnQge0NvbmZpZ3VyYXRpb25Db250ZXh0IGFzIMm1ZH0gZnJvbSAnLi9lbnRyeS1tb2R1bGUvc2VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7U2VsZkFzc2Vzc21lbnRDYXJkQ29tcG9uZW50IGFzIMm1ZX0gZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQtY2FyZC9zZWxmLWFzc2Vzc21lbnQtY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0IHtTZWxmQXNzZXNzbWVudENvbXBvbmVudCBhcyDJtWd9IGZyb20gJy4vc2VsZi1hc3Nlc3NtZW50L2NvbXBvbmVudHMvc2VsZi1hc3Nlc3NtZW50L3NlbGYtYXNzZXNzbWVudC5jb21wb25lbnQnO1xuZXhwb3J0IHtTZWxmQXNzZXNzbWVudFNlcnZpY2UgYXMgybVmfSBmcm9tICcuL3NlbGYtYXNzZXNzbWVudC9zZXJ2aWNlL3NlbGYtYXNzZXNzbWVudC5zZXJ2aWNlJzsiXX0= |
@@ -8,3 +8,5 @@ /** | ||
export { ActiveSummaryService as ɵb } from './services/active-summary.service'; | ||
export { ConfigService as ɵe } from './services/config.service'; | ||
export { ConfigurationContext as ɵf } from './services/configuration-context'; | ||
export { GainedService as ɵa } from './services/gained.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvbXBldGVuY3kuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvbXBldGVuY3kvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3kt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bnRzL2NvbXBldGVuY3ktYWNjb3JkaW9uL2NvbXBldGVuY3ktYWNjb3JkaW9uLmNvbXBvbmVudCc7XG5leHBvcnQge0FjdGl2ZVN1bW1hcnlTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9zZXJ2aWNlcy9hY3RpdmUtc3VtbWFyeS5zZXJ2aWNlJztcbmV4cG9ydCB7Q29uZmlnU2VydmljZSBhcyDJtWV9IGZyb20gJy4vc2VydmljZXMvY29uZmlnLnNlcnZpY2UnO1xuZXhwb3J0IHtDb25maWd1cmF0aW9uQ29udGV4dCBhcyDJtWZ9IGZyb20gJy4vc2VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7R2FpbmVkU2VydmljZSBhcyDJtWF9IGZyb20gJy4vc2VydmljZXMvZ2FpbmVkLnNlcnZpY2UnOyJdfQ== |
@@ -0,1 +1,2 @@ | ||
var CompetencyModule_1; | ||
import * as tslib_1 from "tslib"; | ||
@@ -14,5 +15,19 @@ import { NgModule } from '@angular/core'; | ||
import { TranslateModule } from '@ngx-translate/core'; | ||
let CompetencyModule = class CompetencyModule { | ||
import { ConfigService } from './services/config.service'; | ||
let CompetencyModule = CompetencyModule_1 = class CompetencyModule { | ||
/** | ||
* Take the config from consuming apps | ||
* | ||
* @author Aman Kumar Sharma <amankumar.sharma@tarento.com> | ||
*/ | ||
static forRoot(configContext) { | ||
return { | ||
ngModule: CompetencyModule_1, | ||
providers: [ConfigService, | ||
{ provide: 'config', useValue: configContext.config } | ||
] | ||
}; | ||
} | ||
}; | ||
CompetencyModule = tslib_1.__decorate([ | ||
CompetencyModule = CompetencyModule_1 = tslib_1.__decorate([ | ||
NgModule({ | ||
@@ -45,2 +60,2 @@ declarations: [ | ||
export { CompetencyModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYW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25maWdTZXJ2aWNlLFxuICAgICAgICB7cHJvdmlkZTogJ2NvbmZpZycsIHVzZVZhbHVlOiBjb25maWdDb250ZXh0LmNvbmZpZ31cbiAgICAgIF1cbiAgICB9XG4gIH1cbiB9XG4iXX0= |
@@ -42,5 +42,5 @@ import * as tslib_1 from "tslib"; | ||
})).subscribe((res) => { | ||
console.log(res); | ||
// console.log(res) | ||
let rolesCompetencyData = _.find(res[0].response, { 'position': this.desigination }); | ||
console.log(rolesCompetencyData); | ||
// console.log(rolesCompetencyData) | ||
this.assessmentData = this.requestUtil.formatedCompetencyCourseData(res[1]); | ||
@@ -52,5 +52,5 @@ this.getAssessmentBtnType(this.assessmentData); | ||
this.loading = false; | ||
console.log("data after the activity", this.roleactivitySummaries); | ||
// console.log("data after the activity", this.roleactivitySummaries) | ||
}); | ||
console.log("data after the activity", this.roleactivitySummaries); | ||
// console.log("data after the activity", this.roleactivitySummaries) | ||
} | ||
@@ -143,3 +143,3 @@ getProgress() { | ||
this.activeSummaryService.getRolesMapping().pipe().subscribe((res) => { | ||
console.log(res); | ||
// console.log(res) | ||
positionMap = res.response; | ||
@@ -154,3 +154,3 @@ if (positionMap.hasOwnProperty(designation)) { | ||
}, (err) => { | ||
console.log("error", err); | ||
// console.log("error", err) | ||
positionMap = err; | ||
@@ -243,2 +243,2 @@ if (positionMap.hasOwnProperty(designation)) { | ||
export { ActiveSummaryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZlLXN1bW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUF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YW55KT0+e1xuICAgICAgICAgICAgICAgICAgICAgIGlmKGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwICl7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGVcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gIFxuICAgICAgICAgICAgICBpZihyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PSAwICkge1xuICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmF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0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwICl7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGVcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gIFxuICAgICAgICAgICAgICBpZihyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PSAwICkge1xuICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAg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Y29uc3QgcmVxQm9keSA9IHtcbiAgICAgIGZpbHRlcjoge1xuICAgICAgICBcImlzRGV0YWlsXCI6IHRydWVcbiAgICAgIH0sXG4gICAgICBpZDogaWRcbiAgICB9O1xuICAgIHJldHVybiB0aGlzLmFjdGl2ZVN1bW1hcnlTZXJ2aWNlLmdldEFjdGl2aXR5QnlJZChyZXFCb2R5KVxuICB9XG4gIGdldEF2ZXJhZ2VwZXJjZW50YWdlKGRhdGEpIHtcbiAgICBsZXQgdG90YWxMZW5ndGggPSBkYXRhLmxlbmd0aFxuICAgIGxldCBwZXJjZW50YWdlID0gW11cbiAgICBsZXQgdG90YWxQZXJjZW50ID0gMFxuICAgIF8uZm9yRWFjaChkYXRhLCAodmFsdWU6IGFueSkgPT4ge1xuICAgICAgcGVyY2VudGFnZS5wdXNoKHZhbHVlLmNvbXBsZXRpb25QZXJjZW50YWdlKVxuICAgIH0pXG4gICAgdG90YWxQZXJjZW50ID0gXy5yb3VuZChfLnN1bShwZXJjZW50YWdlKSAvIHRvdGFsTGVuZ3RoKVxuICAgIHJldHVybiB0b3RhbFBlcmNlbnRcbiAgfVxuXG4gIGdldENvbXBldGVuY3lDb3Vyc2UoKSB7XG4gICAgbGV0IGFzc2Vzc0RhdGE7XG4gICAgYXNzZXNzRGF0YSA9IHRoaXMuYWN0aXZlU3VtbWFyeVNlcnZpY2UuZ2V0Q29tcGV0ZW5jeUNvdXJzZUlkZW50aWZpZXIodGhpcy5sYW5ndWFnZSlcbiAgICByZXR1cm4gYXNzZXNzRGF0YTtcbiAgfVxuICBcbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgaWYgKHRoaXMudW5zdWJzY3JpYmUpIHtcbiAgICAgIHRoaXMudW5zdWJzY3JpYmUudW5zdWJzY3JpYmUoKVxuICAgIH1cblxuICB9XG59XG4iXX0= |
@@ -9,3 +9,3 @@ import * as tslib_1 from "tslib"; | ||
ngOnInit() { | ||
console.log("list", this.competencyList); | ||
// console.log("list",this.competencyList) | ||
}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AgICAgIGAke2lkfS0zYCxcbiAgICAgICAgICBgJHtpZH0tNGAsXG4gICAgICAgICAgYCR7aWR9LTVgXG4gICAgICAgIF0gLCBcbiAgICAgICAgY29tcGV0ZW5jeTogdHJ1ZSxcbiAgICAgICAgcmVkaXJlY3Q6ICdhcHAvdXNlci9jb21wZXRlbmN5J1xuICAgICAgfSxcbiAgICAgICAgcXVlcnlQYXJhbXNIYW5kbGluZzogJ21lcmdlJyxcbiAgICAgIH0pXG4gICAgICBcbiAgICB9XG4gIH1cbiAgc3RhcnRTZWxmQXNzZXNtZW50KGRhdGEpe1xuICAgIC8vIGNvbnNvbGUubG9nKFwicXVlcnkgZGF0YSBcIiwgZGF0YSlcbiAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZShbYGFwcC91c2VyL3NlbGYtYXNzZXNzbWVudGBdLCB7IHF1ZXJ5UGFyYW1zOiBkYXRhIH0pIFxuICB9XG59XG4iXX0= |
@@ -13,2 +13,3 @@ import * as tslib_1 from "tslib"; | ||
this.tabIndex = 1; | ||
this.isPassbok = 'false'; | ||
} | ||
@@ -20,2 +21,4 @@ ngOnInit() { | ||
this.language = this.configService.getConfig().language; | ||
this.isPassbok = localStorage.getItem('isOnlyPassbook'); | ||
console.log(this.isPassbok); | ||
this.getUserDetails().subscribe((res) => { | ||
@@ -35,3 +38,8 @@ this.language = this.configService.getConfig().language == res.profileDetails.preferences.language ? this.configService.getConfig().language : res.profileDetails.preferences.language; | ||
navigateBack() { | ||
this.router.navigate([`/page/home`]); | ||
if (this.isPassbok !== 'false') { | ||
this.router.navigate([`/profile-dashboard`]); | ||
} | ||
else { | ||
this.router.navigate([`/page/home`]); | ||
} | ||
} | ||
@@ -56,3 +64,3 @@ changeTab(event) { | ||
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 <!-- 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", | ||
template: "<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\">chevron_left</mat-icon>\n\n <h1 *ngIf=\"isPassbok == 'false'\" class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <ng-container *ngIf=\"isPassbok == 'false'; else onlyPassbok\">\n <mat-tab-group [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\" class=\"remove-border-bottom\"\n animationDuration=\"0ms\" [selectedIndex]=\"tabIndex\" (selectedTabChange)=\"changeTab($event)\">\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\"\n *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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\" *ngIf=\"tabIndex === 1\"></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 [language]=\"language\" [role]=\"role\"\n *ngIf=\"tabIndex === 2\"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n <!-- <mat-tab-group class=\"remove-border-bottom\"\n animationDuration=\"0ms\"> -->\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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\"></lib-gained-comptency-card>\n <!-- </mat-tab> -->\n\n \n <!-- </mat-tab-group> -->\n </ng-template>\n\n </div>\n</div>", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -63,2 +71,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1kYXNoYm9hcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9jb21wZXRlbmN5LWRhc2hib2FyZC9jb21wZXRlbmN5LWRhc2hib2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2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LmluZGV4O1xuICB9XG4gIHN0YXJ0U2VsZkFzc2Vzc21lbnQoKSB7XG4gICAgdGhpcy5zdGF0ZUNoYW5nZS5lbWl0KHsnbmF2aWdhdGlvbic6dHJ1ZX0pXG4gIH1cblxufVxuIl19 |
@@ -101,3 +101,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-gained-comptency-card', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}}{{ log.level }} </div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>", | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full gap-1\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -108,2 +108,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}.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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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}"] | ||
export { GainedComptencyCardComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkL2dhaW5lZC1jb21wdGVuY3ktY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDaEMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzlELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEtBQUssQ0FBQyxNQUFNLFdBQVcsQ0FBQztBQUMvQixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFPdkUsSUFBYSw0QkFBNEIsR0FBekMsTUF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leFxuICAgIH1cbiAgICB0aGlzLnNlbGVjdGVkRGlzcGxheUxldmVsID0gc2VsZWN0ZWREaXNwbGF5TGV2ZWxcbiAgfVxufVxuIl19 |
@@ -29,3 +29,3 @@ import * as tslib_1 from "tslib"; | ||
}; | ||
console.log('reqBody', httpOptions); | ||
// console.log('reqBody',httpOptions) | ||
return this.post(httpOptions); | ||
@@ -45,2 +45,2 @@ } | ||
export { RequiredCompetencyService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWlyZWQtY29tcGV0ZW5jeS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsic2VydmljZXMvcmVxdWlyZWQtY29tcGV0ZW5jeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUM3RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQsT0FBTyxFQUFFLFNBQVMsRUFBRyxNQUFNLGdDQUFnQyxDQUFDO0FBQzVELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQzs7OztBQUN2RTs7OztHQUlHO0FBSUgsSUFBYSx5QkFBeUIsR0FBdEMsTUFBYSx5QkFBMEIsU0FBUSxXQUFXO0lBRXhELFlBQVksSUFBZSxFQUFTLGFBQTRCO1FBQzlELEtBQUssQ0FBQyxJQUFJLEVBQUUsYUFBYSxDQUFDLENBQUE7UUFEUSxrQkFBYSxHQUFiLGFBQWEsQ0FBZTtJQUUvRCxDQUFDO0lBRUY7OztPQUdHO0lBRUsseUJBQ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7,3 +7,3 @@ import * as tslib_1 from "tslib"; | ||
ngOnInit() { | ||
console.log("no data ", this.data); | ||
// console.log("no data ",this.data) | ||
this.setMessage(); | ||
@@ -30,2 +30,2 @@ } | ||
export { NoResultComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tcmVzdWx0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvbm8tcmVzdWx0L25vLXJlc3VsdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sS0FBSyxDQUFDLE1BQU0sUUFBUSxDQUFDO0FBTzVCLElBQWEsaUJBQWlCLEdBQTlCLE1BQWEsaUJBQWlCO0lBWTVCLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7UUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLFVBQVUsRUFBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUE7UUFDakMsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDO0lBQ3BCLENBQUM7SUFFRCxVQUFVO1FBQ1IsSUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsa0JBQWtCLENBQUE7UUFDN0YsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUMsaUJBQWlCLElBQUksSUFBSSxDQUFDLENBQUMsQ0FBRSxDQUFD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sYW5ndWFnZVByZWZlcnJlZCA9PSBcImVuXCIgPyAgXy5nZXQodGhpcy5kYXRhLCAnbWVzc2FnZScpID8gXy5nZXQodGhpcy5kYXRhLCAnbWVzc2FnZScpIDogJyBObyByZXN1bHQgZm91bmQnICA6IF8uZ2V0KHRoaXMuZGF0YSwgJ21lc3NhZ2VIaScpID8gXy5nZXQodGhpcy5kYXRhLCAnbWVzc2FnZUhpJykgOiAn4KSV4KWL4KSIIOCkquCksOCkv+Cko+CkvuCkriDgpKjgpLngpYDgpIIg4KSu4KS/4KSy4KS+J1xuICB9XG5cbn1cbiJdfQ== |
@@ -10,2 +10,3 @@ 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`; | ||
mobileHost: 'https://sphere.aastrika.org', | ||
authorization: `Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas`, | ||
apiSlug: '/apis/protected/v8', | ||
@@ -34,2 +35,2 @@ apiProxy: '/apis/proxies/v8', | ||
export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbImNvbmZpZy91cmwuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJXQVdlLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLElBQUksR0FBRyxTQUFTLENBQUMsT0FBTyxFQUFFLE9BQzdDLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLElBQUksR0FBRyxTQUFTLENBQUMsUUFBUSxFQUFFLE9BQzdDLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLElBQUksR0FBRyxTQUFTLENBQUMsU0FBUyxFQUFFLE9BRTlDLENBQUMsRUFBUyxFQUFFLEVBQUUsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxXQUFXLEVBQUUsbUNBQW1DLEVBQUUs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xlSG9zdH0vYXBpL3VzZXIvdjEvcGFzc2Jvb2tgLFxuICBnZXRVc2VyZGV0YWlsc01vYmlsZTood2lkOiBzdHJpbmcpPT4gYCR7dXJsQ29uZmlnLm1vYmlsZUhvc3R9L2FwaS91c2VyL3YyL3JlYWQvJHt3aWR9YCxcbiAgZ2V0RW50aXR5QnlJZE1vYmlsZTogKGlkOm51bWJlcikgPT4gYCR7dXJsQ29uZmlnLm1vYmlsZUhvc3R9JHt1cmxDb25maWcuYXBpUHVibGljfS9tb2JpbGVBcHAvZ2V0RW50aXR5QnlJZC8ke2lkfWAsXG4gIGdldFNlYXJjaE1vYmlsZTogKCkgPT4gYCR7dXJsQ29uZmlnLm1vYmlsZUhvc3R9JHt1cmxDb25maWcuYXBpUHVibGljfS9wdWJsaWNTZWFyY2gvZ2V0Q291cnNlc2AsXG4gIGdldENvbnRlbnRQcm9ncmVzc01vYmlsZTogKCkgPT4gYCR7dXJsQ29uZmlnLm1vYmlsZUhvc3R9L2FwaS9jb3Vyc2UvdjEvY29udGVudC9zdGF0ZS9yZWFkYCxcbiAgXG4gIGdldFJvbGVNYXBwaW5nOigpID0+IGAke3VybENvbmZpZy5tb2JpbGVIb3N0fSR7dXJsQ29uZmlnLmFwaVB1YmxpY30vY29tcGV0ZW5jeUFzc2V0cy9yb2xlc01hcHBpbmdEYXRhYCxcbiAgZ2V0Um9sZVdpc2VDb21wZXRlbmN5OigpID0+IGAke3VybENvbmZpZy5tb2JpbGVIb3N0fSR7dXJsQ29uZmlnLmFwaVB1YmxpY30vY29tcGV0ZW5jeUFzc2V0cy9yb2xlV2lzZUNvbXBldGVuY3lEYXRhYFxuXG59XG4iXX0= |
@@ -7,2 +7,3 @@ import * as tslib_1 from "tslib"; | ||
import { ConfigService } from '@aastrika_npmjs/comptency/entry-module'; | ||
import { urlConfig } from '../config/url.config'; | ||
import * as i0 from "@angular/core"; | ||
@@ -93,4 +94,5 @@ import * as i1 from "@angular/common/http"; | ||
const default_headers = { | ||
'Authorization': `Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas`, | ||
'Authorization': urlConfig.authorization, | ||
'X-authenticated-user-token': session ? session.access_token : '', | ||
'Accept': 'application/json', | ||
}; | ||
@@ -116,2 +118,2 @@ if (header) { | ||
export { DataService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb3JlLyIsInNvdXJjZXMiOlsic2VydmljZXMvZGF0YS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUE7QUFDekMsT0FBTyxFQUFFLEVBQUUsSUFBSSxZQUFZLEVBQUUsVUFBVSxJQUFJLG9CQUFvQixFQUFjLE1BQU0sTUFBTSxDQUFDO0FBQzFGLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQzs7OztBQUN2RTs7OztHQUlHO0FBSUgsSUFBYSxXQUFXLEdBQXhCLE1BQWEsV0FBVztJQVN0QixZQUFZLElBQWdCLEVBQVMsYUFBNEI7UUFBNUIsa0JBQWEsR0FBYixhQUFhLENBQWU7UUFDL0QsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUE7SUFDbEIsQ0FBQztJQUNEOzs7O09BSUc7SUFDSCxHQUFHLENBQUMsWUFBaU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VVQsIERFTEVURScsXG4vLyAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuLy8gJ0FjY2Vzcy1Db250cm9sLUFsbG93LUhlYWRlcnMnOiAnT3JpZ2luLCBYLVJlcXVlc3RlZC13aXRoLCBDb250ZW50LVR5cGUsIEFjY2VwdCciXX0= |
@@ -11,3 +11,2 @@ import * as tslib_1 from "tslib"; | ||
ngOnInit() { | ||
console.log(this.cardData); | ||
} | ||
@@ -88,2 +87,2 @@ startSelfAssesment(data) { | ||
export { SelfAssessmentCardComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbInNlbGYtYXNzZXNzbWVudC9jb21wb25lbnRzL3NlbGYtYXNzZXNzbWVudC1jYXJkL3NlbGYtYXNzZXNzbWVudC1jYXJkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBTTlFLElBQWEsMkJBQTJCLEdBQXhDLE1BQWEsMkJBQTJCO0lBTXRDLFlBQ1UsTUFBYyxFQUNkLHFCQUE0QztRQUQ1QyxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQ2QsMEJBQXFCLEdBQXJCLHFCQUFxQixDQUF1QjtJQUNsRCxDQUFDO0lBRUwsUUFBUTtRQUNOLE9BQU8sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLFFBQV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gICAgcmVkaXJlY3Q6ICdhcHAvdXNlci9jb21wZXRlbmN5J1xuICAgICAgfSxcbiAgICAgICAgcXVlcnlQYXJhbXNIYW5kbGluZzogJ21lcmdlJyxcbiAgICAgIH0pXG4gICAgICAvLyByZXFCb2R5ID0ge1xuICAgICAgLy8gICBcInJlcXVlc3RcIjoge1xuICAgICAgLy8gICAgIFwiZmlsdGVyc1wiOiB7XG4gICAgICAvLyAgICAgICBcImNvbXBldGVuY3lTZWFyY2hcIjogW1xuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tMWAsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS0yYCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTNgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tNGAsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS01YFxuICAgICAgLy8gICAgICAgXSxcbiAgICAgIC8vICAgICAgICAgXCJwcmltYXJ5Q2F0ZWdvcnlcIjogW1xuICAgICAgLy8gICAgICAgICAgIFwiQ291cnNlXCJcbiAgICAgIC8vICAgICAgICAgXSxcbiAgICAgIC8vICAgICAgICAgICBcImNvbnRlbnRUeXBlXCI6IFtcbiAgICAgIC8vICAgICAgICAgICAgIFwiQ291cnNlXCJcbiAgICAgIC8vICAgICAgICAgICBdLFxuICAgICAgLy8gICAgICAgICAgICAgXCJzdGF0dXNcIjogW1xuICAgICAgLy8gICAgICAgICAgICAgICBcIkxpdmVcIlxuICAgICAgLy8gICAgICAgICAgICAgXVxuICAgICAgLy8gICAgIH0sXG4gICAgICAvLyAgICAgXCJzb3J0X2J5XCI6IHtcbiAgICAgIC8vICAgICAgIFwibGFzdFVwZGF0ZWRPblwiOiBcImRlc2NcIlxuICAgICAgLy8gICAgIH1cbiAgICAgIC8vICAgfSxcbiAgICAgIC8v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H0sXG4gICAgICAgIHF1ZXJ5UGFyYW1zSGFuZGxpbmc6ICdtZXJnZScsXG4gICAgICB9KVxuICAgICAgLy8gcmVxQm9keSA9IHtcbiAgICAgIC8vICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgIC8vICAgICBcImZpbHRlcnNcIjoge1xuICAgICAgLy8gICAgICAgXCJjb21wZXRlbmN5U2VhcmNoXCI6IFtcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTFgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tMmAsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS0zYCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTRgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tNWBcbiAgICAgIC8vICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgIFwicHJpbWFyeUNhdGVnb3J5XCI6IFtcbiAgICAgIC8vICAgICAgICAgICBcIkNvdXJzZVwiXG4gICAgICAvLyAgICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgICAgXCJjb250ZW50VHlwZVwiOiBbXG4gICAgICAvLyAgICAgICAgICAgICBcIkNvdXJzZVwiXG4gICAgICAvLyAgICAgICAgICAgXSxcbiAgICAgIC8vICAgICAgICAgICAgIFwic3RhdHVzXCI6IFtcbiAgICAgIC8vICAgICAgICAgICAgICAgXCJMaXZlXCJcbiAgICAgIC8vICAgICAgICAgICAgIF1cbiAgICAgIC8vICAgICB9LFxuICAgICAgLy8gICAgIFwic29ydF9ieVwiOiB7XG4gICAgICAvLyAgICAgICBcImxhc3RVcGRhdGVkT25cIjogXCJkZXNjXCJcbiAgICAgIC8vICAgICB9XG4gICAgICAvLyAgIH0sXG4gICAgICAvLyAgIFwic29ydFwiOiBbXG4gICAgICAvLyAgICAge1xuICAgICAgLy8gICAgICAgXCJsYXN0VXBkYXRlZE9uXCI6IFwiZGVzY1wiXG4gICAgICAvLyAgICAgfVxuICAgICAgLy8gICBdXG4gICAgICAvLyB9XG5cbiAgICAgIC8vIHRoaXMuc2VsZkFzc2Vzc21lbnRTZXJ2aWNlLmdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKHJlcUJvZHkpLnN1YnNjcmliZShcbiAgICAgIC8vICAgcmVzID0+IHtcblxuICAgICAgICAgIFxuICAgICAgLy8gICB9XG4gICAgICAvLyApXG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -39,3 +39,3 @@ import * as tslib_1 from "tslib"; | ||
const competencyIds = _.flatMap(this.roleBasedCompetency.competency, (item) => _.flatMap(item, (competency) => { | ||
console.log(competency.id); | ||
// console.log(competency.id) | ||
this.roleCompetencyData.push(competency.id); | ||
@@ -151,2 +151,2 @@ })); | ||
export { SelfAssessmentComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzFDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNqRSxPQUFPLEVBQUUsR0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JuIGZvcmtKb2luKFxuICAgICAgICAgICAgICAgIF8ubWFwKHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhLCAodmFsdWU6IGFueSkgPT5cbiAgICAgICAgICAgICAgICAgIHRoaXMuZ2V0UHJvZ3Jlc3ModmFsdWUpLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgIG1hcCgocmVzKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCAmJiB2YWx1ZS5jaGlsZENvbnRlbnQgPT09IHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHR5cGUgPSAnJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBfLmZvckVhY2gocmVzLnJlc3VsdC5jb250ZW50TGlzdCwgKGl0ZW06IGFueSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnRE9ORSc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IHR5cGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdTVEFSVCcsXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICApO1xuICAgICAgICB9KVxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgICAgICBjb25zb2xlLmxvZygnc2VsZicsIHRoaXMuc2Vs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JzZXF1ZW50IG1lcmdlTWFwXG4gICAgICAgIH0pLFxuICAgICAgICBtZXJnZU1hcCgoKSA9PiB7XG4gICAgICAgICAgcmV0dXJuIHRoaXMuZ2V0VXNlckRldGFpbHMoKS5waXBlKFxuICAgICAgICAgICAgbWVyZ2VNYXAoKHJlczogYW55KSA9PiB7XG4gICAgICAgICAgICAgIHRoaXMubGFuZ3VhZ2UgPSAhdGhpcy5sYW5ndWFnZSA/IHJlcy5wcm9maWxlRGV0YWlscyEucHJlZmVyZW5jZXMhLmxhbmd1YWdlIHx8ICdlbicgOiB0aGlzLmxhbmd1YWdlO1xuICAgICAgICAgICAgICBpZiAodGhpcy5sYW5ndWFnZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmdldENvbXBldGVuY3lDb3Vyc2UoKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIG1lcmdlTWFwKChyZXM6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBjb25zdCBhc3Nlc3NEYXRhID0gdGhpcy5yZXF1ZXN0VXRpbC5mb3JtYXRlZENvbXBldGVuY3lDb3Vyc2VEYXRhKHJlcyk7XG4gICAgICAgICAgICAgIHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhID0gdGhpcy5nZXRDb21wZXRlbmN5RmlsdGVyKGFzc2Vzc0RhdGEpO1xuXG4gICAgICAgICAgICAgIHJldHVybiBmb3JrSm9pbihcbiAgICAgICAgICAgICAgICBfLm1hcCh0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSwgKHZhbHVlOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICB0aGlzLmdldFByb2dyZXNzKHZhbHVlKS5waXBlKFxuICAgICAgICAgICAgICAgICAgICBtYXAoKHJlcykgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDAgJiYgdmFsdWUuY2hpbGRDb250ZW50ID09PSByZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJyc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiB0eXBlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgKTtcbiAgICAgICAgfSlcbiAgICAgIClcbiAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgY29uc29sZS5sb2coJ3NlbGYnLCB0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSk7XG4gICAgICB9KTtcbiAgfVxuXG5cblxuICBnZXRDb21wZXRlbmN5RmlsdGVyKGRhdGEpIHtcbiAgICBsZXQgcmVzdWx0ID0gW11cbiAgICBfLmZvckVhY2godGhpcy5yb2xlQ29tcGV0ZW5jeURhdGEsICh2YWx1ZSkgPT4ge1xuICAgICAgLy8gY29uc29sZS5sb2coXCJkYXRhXCIsIHZhbHVlKVxuICAgICAgXy5mb3JFYWNoKGRhdGE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cbiAgfVxuXG59XG4iXX0= |
@@ -11,2 +11,4 @@ /** | ||
export { ActiveSummaryService as ɵk } from './competency/services/active-summary.service'; | ||
export { ConfigService as ɵo } from './competency/services/config.service'; | ||
export { ConfigurationContext as ɵp } from './competency/services/configuration-context'; | ||
export { GainedService as ɵj } from './competency/services/gained.service'; | ||
@@ -20,2 +22,2 @@ export { CompetencyEntryComponent as ɵb } from './entry-module/components/competency-entry/competency-entry.component'; | ||
export { SelfAssessmentService as ɵf } from './self-assessment/service/self-assessment.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImFhc3RyaWthX25wbWpzLWNvbXB0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxpRUFBaUUsQ0FBQztBQUM3RyxPQUFPLEVBQUMsNEJBQTRCLElBQUksRUFBRSxFQUFDLE1BQU0sNkVBQTZFLENBQUM7QUFDL0gsT0FBTyxFQUFDLDRCQUE0QixJQUFJLEVBQUUsRUFBQyxNQUFNLDZFQUE2RSxDQUFDO0FBQy9ILE9BQU8sRUFBQyw0QkFBNEIsSUFBSSxFQUFFLEVBQUMsTUFBTSwrRUFBK0UsQ0FBQztBQUNqSSxPQUFPLEVBQUMsOEJBQThCLElBQUksRUFBRSxFQUFDLE1BQU0sbUZBQW1GLENBQUM7QUFDdkksT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDO0FBQ3hGLE9BQU8sRUFBQyxhQUFhLElBQUksRUFBRSxFQUFDLE1BQU0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xuZXhwb3J0IHtTZWxmQXNzZXNzbWVudENvbXBvbmVudCBhcyDJtWd9IGZyb20gJy4vc2VsZi1hc3Nlc3NtZW50L2NvbXBvbmVudHMvc2VsZi1hc3Nlc3NtZW50L3NlbGYtYXNzZXNzbWVudC5jb21wb25lbnQnO1xuZXhwb3J0IHtTZWxmQXNzZXNzbWVudFNlcnZpY2UgYXMgybVmfSBmcm9tICcuL3NlbGYtYXNzZXNzbWVudC9zZXJ2aWNlL3NlbGYtYXNzZXNzbWVudC5zZXJ2aWNlJzsiXX0= |
@@ -8,3 +8,5 @@ /** | ||
export { ActiveSummaryService as ɵb } from './services/active-summary.service'; | ||
export { ConfigService as ɵe } from './services/config.service'; | ||
export { ConfigurationContext as ɵf } from './services/configuration-context'; | ||
export { GainedService as ɵa } from './services/gained.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvbXBldGVuY3kuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvbXBldGVuY3kvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3ktY29tcGV0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxzREFBc0QsQ0FBQztBQUNsRyxPQUFPLEVBQUMsNEJBQTRCLElBQUksRUFBRSxFQUFDLE1BQU0sa0VBQWtFLENBQUM7QUFDcEgsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBQzdFLE9BQU8sRUFBQyxhQUFhLElBQUksRUFBRSxFQUFDLE1BQU0sMkJBQTJCLENBQUMiLCJzb3VyY2Vz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mljZSBhcyDJtWF9IGZyb20gJy4vc2VydmljZXMvZ2FpbmVkLnNlcnZpY2UnOyJdfQ== |
@@ -14,6 +14,22 @@ import * as tslib_1 from "tslib"; | ||
import { TranslateModule } from '@ngx-translate/core'; | ||
import { ConfigService } from './services/config.service'; | ||
var CompetencyModule = /** @class */ (function () { | ||
function CompetencyModule() { | ||
} | ||
CompetencyModule = tslib_1.__decorate([ | ||
CompetencyModule_1 = CompetencyModule; | ||
/** | ||
* Take the config from consuming apps | ||
* | ||
* @author Aman Kumar Sharma <amankumar.sharma@tarento.com> | ||
*/ | ||
CompetencyModule.forRoot = function (configContext) { | ||
return { | ||
ngModule: CompetencyModule_1, | ||
providers: [ConfigService, | ||
{ provide: 'config', useValue: configContext.config } | ||
] | ||
}; | ||
}; | ||
var CompetencyModule_1; | ||
CompetencyModule = CompetencyModule_1 = tslib_1.__decorate([ | ||
NgModule({ | ||
@@ -48,2 +64,2 @@ declarations: [ | ||
export { CompetencyModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvbXBldGVuY3kvIiwic291cmNlcyI6WyJjb21wZXRlbmN5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXNCLENBQUE7QUFDdkQsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0sd0VBQXdFLENBQUM7QUFDeEgsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sb0VBQW9FLENBQUM7QUFDbEgs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BDbGllbnRNb2R1bGUsXG4gICAgQ29yZU1vZHVsZSxcbiAgICBTZWxmQXNzZXNzbWVudE1vZHVsZSxcbiAgICBUcmFuc2xhdGVNb2R1bGVcbiAgXSxcbiAgZXhwb3J0czogW1JlcXVpcmVkQ29tcHRlbmN5Q2FyZENvbXBvbmVudCxcbiAgICBHYWluZWRDb21wdGVuY3lDYXJkQ29tcG9uZW50LFxuICAgIENvbXBldGVuY3lEYXNoYm9hcmRDb21wb25lbnQsXG4gICAgQWN0aXZlU3VtbWFyeUNvbXBvbmVudFxuICBdXG59KVxuZXhwb3J0IGNsYXNzIENvbXBldGVuY3lNb2R1bGUge1xuICAvKipcbiAqIFRha2UgdGhlIGNvbmZpZyBmcm9tIGNvbnN1bWluZyBhcHBzXG4gKlxuICogQGF1dGhvciBBbWFuIEt1bWFyIFNoYXJtYSA8YW1hbmt1bWFyLnNoYXJtYUB0YXJlbnRvLmNvbT5cbiAqL1xuICBzdGF0aWMgZm9yUm9vdChjb25maWdDb250ZXh0OiBDb25maWd1cmF0aW9uQ29udGV4dCk6IE1vZHVsZVdpdGhQcm92aWRlcnMge1xuICAgIHJldHVybiB7XG4gICAgICBuZ01vZHVsZTogQ29tcGV0ZW5jeU1vZHVsZSxcbiAgICAgIHByb3ZpZGVyczogW0NvbmZpZ1NlcnZpY2UsXG4gICAgICAgIHtwcm92aWRlOiAnY29uZmlnJywgdXNlVmFsdWU6IGNvbmZpZ0NvbnRleHQuY29uZmlnfVxuICAgICAgXVxuICAgIH1cbiAgfVxuIH1cbiJdfQ== |
@@ -43,5 +43,5 @@ import * as tslib_1 from "tslib"; | ||
})).subscribe(function (res) { | ||
console.log(res); | ||
// console.log(res) | ||
var rolesCompetencyData = _.find(res[0].response, { 'position': _this.desigination }); | ||
console.log(rolesCompetencyData); | ||
// console.log(rolesCompetencyData) | ||
_this.assessmentData = _this.requestUtil.formatedCompetencyCourseData(res[1]); | ||
@@ -53,5 +53,5 @@ _this.getAssessmentBtnType(_this.assessmentData); | ||
_this.loading = false; | ||
console.log("data after the activity", _this.roleactivitySummaries); | ||
// console.log("data after the activity", this.roleactivitySummaries) | ||
}); | ||
console.log("data after the activity", this.roleactivitySummaries); | ||
// console.log("data after the activity", this.roleactivitySummaries) | ||
}; | ||
@@ -147,3 +147,3 @@ ActiveSummaryComponent.prototype.getProgress = function () { | ||
this.activeSummaryService.getRolesMapping().pipe().subscribe(function (res) { | ||
console.log(res); | ||
// console.log(res) | ||
positionMap = res.response; | ||
@@ -158,3 +158,3 @@ if (positionMap.hasOwnProperty(designation)) { | ||
}, function (err) { | ||
console.log("error", err); | ||
// console.log("error", err) | ||
positionMap = err; | ||
@@ -249,2 +249,2 @@ if (positionMap.hasOwnProperty(designation)) { | ||
export { ActiveSummaryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZlLXN1bW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsaUJBQWlCLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxFQUFFLFFBQVEsRUFBb0IsTUFBTSxNQUFNLENBQUM7QUFDbEQsT0FBTyxLQUFLLENBQUMsTUFBTSxXQUFX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AgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgXG4gICAgICAgICAgICAgIGlmKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDAgKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgdHlwZTogJ1NUQVJUJ1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgfSlcbiAgfVxuICBnZXRBc3Nlc3NtZW50UHJvZ3Jlc3MoZGF0YSkge1xuICAgIGNvbnN0IHJlcWJvZHkgPSB7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xzZXtcbiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnUkVTVU1FJ1xuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgXG4gICAgICAgICAgICAgIGlmKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDAgKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgdHlwZTogJ1NUQVJUJ1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgfSlcbiAgfVxuICBnZX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YWN0aXZlU3VtbWFyeVNlcnZpY2UuZ2V0QWN0aXZpdHlCeUlkKHJlcUJvZHkpXG4gIH1cbiAgZ2V0QXZlcmFnZXBlcmNlbnRhZ2UoZGF0YSkge1xuICAgIGxldCB0b3RhbExlbmd0aCA9IGRhdGEubGVuZ3RoXG4gICAgbGV0IHBlcmNlbnRhZ2UgPSBbXVxuICAgIGxldCB0b3RhbFBlcmNlbnQgPSAwXG4gICAgXy5mb3JFYWNoKGRhdGEsICh2YWx1ZTogYW55KSA9PiB7XG4gICAgICBwZXJjZW50YWdlLnB1c2godmFsdWUuY29tcGxldGlvblBlcmNlbnRhZ2UpXG4gICAgfSlcbiAgICB0b3RhbFBlcmNlbnQgPSBfLnJvdW5kKF8uc3VtKHBlcmNlbnRhZ2UpIC8gdG90YWxMZW5ndGgpXG4gICAgcmV0dXJuIHRvdGFsUGVyY2VudFxuICB9XG5cbiAgZ2V0Q29tcGV0ZW5jeUNvdXJzZSgpIHtcbiAgICBsZXQgYXNzZXNzRGF0YTtcbiAgICBhc3Nlc3NEYXRhID0gdGhpcy5hY3RpdmVTdW1tYXJ5U2VydmljZS5nZXRDb21wZXRlbmN5Q291cnNlSWRlbnRpZmllcih0aGlzLmxhbmd1YWdlKVxuICAgIHJldHVybiBhc3Nlc3NEYXRhO1xuICB9XG4gIFxuICBuZ09uRGVzdHJveSgpIHtcbiAgICBpZiAodGhpcy51bnN1YnNjcmliZSkge1xuICAgICAgdGhpcy51bnN1YnNjcmliZS51bnN1YnNjcmliZSgpXG4gICAgfVxuXG4gIH1cbn1cbiJdfQ== |
@@ -9,3 +9,3 @@ import * as tslib_1 from "tslib"; | ||
CompetencyAccordionComponent.prototype.ngOnInit = function () { | ||
console.log("list", this.competencyList); | ||
// console.log("list",this.competencyList) | ||
}; | ||
@@ -57,2 +57,2 @@ CompetencyAccordionComponent.prototype.viewCourses = function (data) { | ||
export { CompetencyAccordionComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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lbmN5J1xuICAgICAgfSxcbiAgICAgICAgcXVlcnlQYXJhbXNIYW5kbGluZzogJ21lcmdlJyxcbiAgICAgIH0pXG4gICAgICBcbiAgICB9XG4gIH1cbiAgc3RhcnRTZWxmQXNzZXNtZW50KGRhdGEpe1xuICAgIC8vIGNvbnNvbGUubG9nKFwicXVlcnkgZGF0YSBcIiwgZGF0YSlcbiAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZShbYGFwcC91c2VyL3NlbGYtYXNzZXNzbWVudGBdLCB7IHF1ZXJ5UGFyYW1zOiBkYXRhIH0pIFxuICB9XG59XG4iXX0= |
@@ -13,2 +13,3 @@ import * as tslib_1 from "tslib"; | ||
this.tabIndex = 1; | ||
this.isPassbok = 'false'; | ||
} | ||
@@ -21,2 +22,4 @@ CompetencyDashboardComponent.prototype.ngOnInit = function () { | ||
this.language = this.configService.getConfig().language; | ||
this.isPassbok = localStorage.getItem('isOnlyPassbook'); | ||
console.log(this.isPassbok); | ||
this.getUserDetails().subscribe(function (res) { | ||
@@ -36,3 +39,8 @@ _this.language = _this.configService.getConfig().language == res.profileDetails.preferences.language ? _this.configService.getConfig().language : res.profileDetails.preferences.language; | ||
CompetencyDashboardComponent.prototype.navigateBack = function () { | ||
this.router.navigate(["/page/home"]); | ||
if (this.isPassbok !== 'false') { | ||
this.router.navigate(["/profile-dashboard"]); | ||
} | ||
else { | ||
this.router.navigate(["/page/home"]); | ||
} | ||
}; | ||
@@ -56,3 +64,3 @@ CompetencyDashboardComponent.prototype.changeTab = function (event) { | ||
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 <!-- 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", | ||
template: "<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\">chevron_left</mat-icon>\n\n <h1 *ngIf=\"isPassbok == 'false'\" class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <ng-container *ngIf=\"isPassbok == 'false'; else onlyPassbok\">\n <mat-tab-group [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\" class=\"remove-border-bottom\"\n animationDuration=\"0ms\" [selectedIndex]=\"tabIndex\" (selectedTabChange)=\"changeTab($event)\">\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\"\n *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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\" *ngIf=\"tabIndex === 1\"></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 [language]=\"language\" [role]=\"role\"\n *ngIf=\"tabIndex === 2\"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n <!-- <mat-tab-group class=\"remove-border-bottom\"\n animationDuration=\"0ms\"> -->\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>{{'FRMELEMNTS_LBL_OBSERVATION' | 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 [language]=\"language\"></lib-gained-comptency-card>\n <!-- </mat-tab> -->\n\n \n <!-- </mat-tab-group> -->\n </ng-template>\n\n </div>\n</div>", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -65,2 +73,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1kYXNoYm9hcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9jb21wZXRlbmN5LWRhc2hib2FyZC9jb21wZXRlbmN5LWRhc2hib2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyx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4gICAgdGhpcy5zdGF0ZUNoYW5nZS5lbWl0KHsnbmF2aWdhdGlvbic6dHJ1ZX0pXG4gIH1cblxufVxuIl19 |
@@ -101,3 +101,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-gained-comptency-card', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}}{{ log.level }} </div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>", | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\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 [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\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 class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\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 *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full gap-1\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\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</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -110,2 +110,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}.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-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::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}"] | ||
export { GainedComptencyCardComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkL2dhaW5lZC1jb21wdGVuY3ktY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDaEMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzlELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEtBQUssQ0FBQyxNQUFNLFdBQVcsQ0FBQztBQUMvQixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFPdkU7SUFlRSxzQ0FDUyxhQUE0QixFQUM1QixhQUE0QixFQUM1QixvQkFBMEM7UUFGMUMsa0JBQWEsR0FBYixhQUF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