@aastrika_npmjs/comptency
Advanced tools
Comparing version 0.0.57 to 0.0.58
@@ -5,17 +5,9 @@ /** | ||
export * from './public-api'; | ||
export { ActiveSummaryComponent as ɵm } from './competency/components/active-summary/active-summary.component'; | ||
export { CompetencyAccordionComponent as ɵn } from './competency/components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyDashboardComponent as ɵl } from './competency/components/competency-dashboard/competency-dashboard.component'; | ||
export { GainedComptencyCardComponent as ɵi } from './competency/components/gained-comptency-card/gained-comptency-card.component'; | ||
export { RequiredComptencyCardComponent as ɵh } from './competency/components/required-comptency-card/required-comptency-card.component'; | ||
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'; | ||
export { CompetencyEntryComponent as ɵb } from './entry-module/components/competency-entry/competency-entry.component'; | ||
export { SlefAssessmentEntryComponent as ɵa } from './entry-module/components/slef-assessment-entry/slef-assessment-entry.component'; | ||
export { ConfigService as ɵc } from './entry-module/services/config.service'; | ||
export { ConfigurationContext as ɵd } from './entry-module/services/configuration-context'; | ||
export { SelfAssessmentCardComponent as ɵe } from './self-assessment/components/self-assessment-card/self-assessment-card.component'; | ||
export { SelfAssessmentComponent as ɵg } from './self-assessment/components/self-assessment/self-assessment.component'; | ||
export { SelfAssessmentService as ɵf } from './self-assessment/service/self-assessment.service'; | ||
export { CompetencyAccordionComponent as ɵf } from './competency/components/competency-accordion/competency-accordion.component'; | ||
export { ActiveSummaryService as ɵe } from './competency/services/active-summary.service'; | ||
export { ConfigService as ɵg } from './competency/services/config.service'; | ||
export { ConfigurationContext as ɵh } from './competency/services/configuration-context'; | ||
export { GainedService as ɵd } from './competency/services/gained.service'; | ||
export { ConfigService as ɵa } from './entry-module/services/config.service'; | ||
export { ConfigurationContext as ɵb } from './entry-module/services/configuration-context'; | ||
export { SelfAssessmentService as ɵc } from './self-assessment/service/self-assessment.service'; |
@@ -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":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\" [languagePreferred]=\"language\"></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":31,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":33,"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":32,"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 *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\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":40,"character":26},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":42,"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"} | ||
{"__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":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ɵa"},{"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":"SelfAssessmentCardComponent"},{"__symbolic":"reference","name":"SelfAssessmentComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","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":"SelfAssessmentCardComponent"},{"__symbolic":"reference","name":"SelfAssessmentComponent"}]}]}],"members":{}},"CompetencyModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":20,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ActiveSummaryComponent"},{"__symbolic":"reference","name":"ɵf"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material/tabs","name":"MatTabsModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material/expansion","name":"MatExpansionModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material/progress-bar","name":"MatProgressBarModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material/progress-spinner","name":"MatProgressSpinnerModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":33,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":34,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":35,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":36,"character":4}],"exports":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ActiveSummaryComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"CompetencyModule"},"providers":[{"__symbolic":"reference","name":"ɵg"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"SelfAssessmentCardComponent":{"__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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container>\n </ng-container>\n\n <button class=\"btn-long\" (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":"ɵc"}]}],"ngOnInit":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}]}},"SelfAssessmentComponent":{"__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\" [languagePreferred]=\"language\"></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":31,"character":22},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":33,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"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"}]}},"ActiveSummaryComponent":{"__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 *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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\">{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\">{{'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\">{{'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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\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":"ɵe"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":40,"character":26},{"__symbolic":"reference","name":"ɵd"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":42,"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"}]}},"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\">{{'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\">{{'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\">{{'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":"ɵd"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"character":26},{"__symbolic":"reference","name":"ɵe"}]}],"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\">{{'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 label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\">{{'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 label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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 label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\">{{'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 label=\"{{'PASSBOOK' | translate}}\"> -->\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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":"ɵe"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"CompetencyEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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"}]}},"SlefAssessmentEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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"}]}},"ɵa":{"__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":"ɵb"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵb":{"__symbolic":"class","members":{}},"ɵc":{"__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":{}}},"ɵd":{"__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":{}}},"ɵe":{"__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":{}}},"ɵf":{"__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\">{{'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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" (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\">{{'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"}]}},"ɵg":{"__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":"ɵh"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵh":{"__symbolic":"class","members":{}}},"origins":{"EntryModule":"./entry-module/entry-module","SelfAssessmentModule":"./self-assessment/self-assessment.module","CompetencyModule":"./competency/competency.module","SelfAssessmentCardComponent":"./self-assessment/components/self-assessment-card/self-assessment-card.component","SelfAssessmentComponent":"./self-assessment/components/self-assessment/self-assessment.component","RequiredComptencyCardComponent":"./competency/components/required-comptency-card/required-comptency-card.component","ActiveSummaryComponent":"./competency/components/active-summary/active-summary.component","GainedComptencyCardComponent":"./competency/components/gained-comptency-card/gained-comptency-card.component","CompetencyDashboardComponent":"./competency/components/competency-dashboard/competency-dashboard.component","CompetencyEntryComponent":"./entry-module/components/competency-entry/competency-entry.component","SlefAssessmentEntryComponent":"./entry-module/components/slef-assessment-entry/slef-assessment-entry.component","ɵa":"./entry-module/services/config.service","ɵb":"./entry-module/services/configuration-context","ɵc":"./self-assessment/service/self-assessment.service","ɵd":"./competency/services/gained.service","ɵe":"./competency/services/active-summary.service","ɵf":"./competency/components/competency-accordion/competency-accordion.component","ɵg":"./competency/services/config.service","ɵh":"./competency/services/configuration-context"},"importAs":"@aastrika_npmjs/comptency"} |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@aastrika_npmjs/comptency/core"),require("@angular/common/http"),require("@aastrika_npmjs/comptency/entry-module"),require("lodash-es"),require("rxjs/operators"),require("@angular/router"),require("@angular/common"),require("@aastrika_npmjs/comptency/self-assessment"),require("@angular/material"),require("@ngx-translate/core")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/competency",["exports","@angular/core","rxjs","@aastrika_npmjs/comptency/core","@angular/common/http","@aastrika_npmjs/comptency/entry-module","lodash-es","rxjs/operators","@angular/router","@angular/common","@aastrika_npmjs/comptency/self-assessment","@angular/material","@ngx-translate/core"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency.competency={}),e.ng.core,e.rxjs,e.aastrika_npmjs.comptency.core,e.ng.common.http,e.aastrika_npmjs.comptency["entry-module"],e.lodashEs,e.rxjs.operators,e.ng.router,e.ng.common,e.aastrika_npmjs.comptency["self-assessment"],e.ng.material,e.core$2)}(this,(function(e,t,n,i,o,a,r,c,s,l,p,d,g){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@aastrika_npmjs/comptency/core"),require("@angular/common/http"),require("@aastrika_npmjs/comptency/entry-module"),require("lodash-es"),require("rxjs/operators"),require("@angular/router"),require("@angular/common"),require("@aastrika_npmjs/comptency/self-assessment"),require("@angular/material/tabs"),require("@angular/material/icon"),require("@angular/material/expansion"),require("@angular/material/progress-bar"),require("@angular/material/progress-spinner"),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/tabs","@angular/material/icon","@angular/material/expansion","@angular/material/progress-bar","@angular/material/progress-spinner","@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.tabs,e.ng.material.icon,e.ng.material.expansion,e.ng.material["progress-bar"],e.ng.material["progress-spinner"],e.core$2)}(this,(function(e,t,n,i,o,a,r,c,s,l,p,d,g,m,u,f,v){"use strict"; | ||
/*! ***************************************************************************** | ||
@@ -15,3 +15,3 @@ Copyright (c) Microsoft Corporation. | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */var m=function(e,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function u(e,t){function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e,t,n,i){var 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){var t=JSON.parse(e);return Array.isArray(t)||(t=[t]),t.map((function(e){return{competencyId:e.competencyId.toString(),competencyName:e.competencyName.toString()}}))[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),S=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="NO_DATA_DISPLAY_SELF_ASSESSMENT",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)}(),C=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.noResultData="NO_RESULT_FOUND",this.showNodata=!1,this.requestUtil=new I}return e.prototype.ngOnInit=function(){var e=this;this.loading=!0,this.desigination||(this.loading=!1,this.showNodata=!0),this.designationMap(this.desigination),this.getProgress(),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\x3c!-- <ng-container *ngIf="roleactivitySummaries.length > 0; else noData " > --\x3e\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\x3c!-- </ng-container> --\x3e\n\n\n\n<ng-container *ngIf="showNodata">\n <lib-no-result [data]="noResultData" [languagePreferred]="language"></lib-no-result>\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,S,C,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,S,C,w]})],e)}();e.CompetencyDashboardComponent=C,e.CompetencyModule=F,e.GainedComptencyCardComponent=S,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})})); | ||
***************************************************************************** */var y=function(e,t){return(y=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 h(e,t){function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function b(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 x(e,t){return function(n,i){t(n,i,e)}}function I(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 D(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(I(arguments[t]));return e}var S=function(){function e(){}return e.prototype.ngOnInit=function(){this.seletectedLang=this.language,this.position=this.role},e.prototype.ngOnDestroy=function(){},b([t.Input()],e.prototype,"language",void 0),b([t.Input()],e.prototype,"isMobileApp",void 0),b([t.Input()],e.prototype,"role",void 0),e=b([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)}(),C=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 h(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=b([t.Injectable({providedIn:"root"})],r)}(i.DataService),w=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")}),D(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){var t=JSON.parse(e);return Array.isArray(t)||(t=[t]),t.map((function(e){return{competencyId:e.competencyId.toString(),competencyName:e.competencyName.toString()}}))[0].competencyId}},e.prototype.getBatchData=function(e){var t="";return e.batches&&(t=e.batches[0].batchId),t},e}(),k=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.configService=n,i}return h(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=b([t.Injectable({providedIn:"root"})],n)}(i.DataService),E=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="NO_DATA_DISPLAY_SELF_ASSESSMENT",this.requestUtil=new w}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:C},{type:a.ConfigService},{type:k}]},b([t.Input()],e.prototype,"language",void 0),e=b([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">{{\'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">{{\'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">{{\'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)}(),L=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:k}]},b([t.Output()],e.prototype,"stateChange",void 0),e=b([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">{{\'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 label="{{\'JOB_DESCRIPTION\' | translate}}">\n <h4 class="mt-4 mb-1">{{\'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 label="{{\'PASSBOOK\' | translate}}">\n <div class="legend-container">\n <div class="legend legend-blue"></div>\n <h5 class="mb-0">{{\'FRMELEMNTS_LBL_OBSERVATION\' | translate}}</h5>\n <div class="legend legend-green"></div>\n <h5 class="mb-0">{{\'SELF\' | translate}}</h5>\n <div class="legend legend-yellow"></div>\n <h5 class="mb-0">{{\'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 label="{{\'REQUIRED\' | translate}}">\n <div class="required-comperencies">\n <div class="mt-2 tab-badge">{{\'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 label="{{\'PASSBOOK\' | translate}}"> --\x3e\n <div class="legend-container">\n <div class="legend legend-blue"></div>\n <h5 class="mb-0">{{\'FRMELEMNTS_LBL_OBSERVATION\' | translate}}</h5>\n <div class="legend legend-green"></div>\n <h5 class="mb-0">{{\'SELF\' | translate}}</h5>\n <div class="legend legend-yellow"></div>\n <h5 class="mb-0">{{\'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)}(),F=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.noResultData="NO_RESULT_FOUND",this.showNodata=!1,this.requestUtil=new w}return e.prototype.ngOnInit=function(){var e=this;this.loading=!0,this.desigination||(this.loading=!1,this.showNodata=!0),this.designationMap(this.desigination),this.getProgress(),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(D(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:k},{type:a.ConfigService},{type:C},{type:p.SelfAssessmentService}]},b([t.Input()],e.prototype,"language",void 0),b([t.Input()],e.prototype,"isMobileApp",void 0),b([t.Input()],e.prototype,"desigination",void 0),e=b([t.Component({selector:"lib-active-summary",template:'<lib-app-loader *ngIf="loading === true"></lib-app-loader>\n\x3c!-- <ng-container *ngIf="roleactivitySummaries.length > 0; else noData " > --\x3e\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">{{\'IN_PROGRESS\' | translate }}</div>\n <div class="progress-status" *ngIf="role?.averagePercentage == 100">{{\'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">{{\'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\x3c!-- </ng-container> --\x3e\n\n\n\n<ng-container *ngIf="showNodata">\n <lib-no-result [data]="noResultData" [languagePreferred]="language"></lib-no-result>\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)}(),P=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}]},b([t.Input()],e.prototype,"competencyList",void 0),b([t.Input()],e.prototype,"assessmentData",void 0),b([t.Input()],e.prototype,"assessBtnType",void 0),e=b([t.Component({selector:"lib-competency-accordion",template:'<div class="competency-badge">{{\'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 {{\'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 {{\'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 {{\'DONE\' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class="btn-long" (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">{{\'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)}(),A=function(){},B=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:A,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=b([t.Injectable({providedIn:"root"}),x(0,t.Optional()),x(0,t.Inject("config"))],e)}(),M=function(){function e(){}var n;return n=e,e.forRoot=function(e){return{ngModule:n,providers:[B,{provide:"config",useValue:e.config}]}},e=n=b([t.NgModule({declarations:[S,E,L,F,P],imports:[l.CommonModule,d.MatTabsModule,g.MatIconModule,m.MatExpansionModule,u.MatProgressBarModule,f.MatProgressSpinnerModule,o.HttpClientModule,i.CoreModule,p.SelfAssessmentModule,v.TranslateModule],exports:[S,E,L,F]})],e)}();e.ActiveSummaryComponent=F,e.CompetencyDashboardComponent=L,e.CompetencyModule=M,e.GainedComptencyCardComponent=E,e.RequestUtil=w,e.RequiredComptencyCardComponent=S,e.ɵa=C,e.ɵb=k,e.ɵc=P,e.ɵd=B,e.ɵe=A,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-competency.umd.min.js.map |
@@ -475,2 +475,4 @@ (function (global, factory) { | ||
exports.DataService = DataService; | ||
exports.NoResultComponent = NoResultComponent; | ||
exports.RemoveDuplicatesPipe = RemoveDuplicatesPipe; | ||
exports.urlConfig = urlConfig; | ||
@@ -495,4 +497,2 @@ exports.ɵ0 = ɵ0; | ||
exports.ɵ9 = ɵ9; | ||
exports.ɵa = NoResultComponent; | ||
exports.ɵb = RemoveDuplicatesPipe; | ||
@@ -499,0 +499,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -15,3 +15,3 @@ !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"),require("@ngx-translate/core")):"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","@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.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,e.core$1)}(this,(function(e,t,r,n,o,a,i,s,p,c){"use strict"; | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */var u=function(){return(u=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 l(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""+O.host+O.apiSlug},g=function(){return""+O.host+O.apiProxy},f=function(){return""+O.host+O.apiPublic},h=function(e){return O.apiBasePath()+"/entityCompetency/getEntityById/"+e},m=function(){return O.apiBasePath()+"/entityCompetency/getAllEntity"},y=function(){return O.apiBaseProxy()+"/user/v1/passbook"},b=function(){return O.apiBasePublic()+"/publicSearch/getCourses"},v=function(e,t){return O.apiBaseProxy()+"/action/content/v3/hierarchy/"+e+"?hierarchyType="+t},x=function(e){return O.apiBaseProxy()+"/api/user/v2/read/"+e},P=function(e){return O.apiBaseProxy()+"/read/content-progres/"+e},j=function(){return""+O.mobileHost+O.apiPublic+"/mobileApp/getAllEntity"},k=function(){return O.mobileHost+"/api/user/v1/passbook"},C=function(e){return O.mobileHost+"/api/user/v2/read/"+e},M=function(e){return""+O.mobileHost+O.apiPublic+"/mobileApp/getEntityById/"+e},H=function(){return""+O.mobileHost+O.apiPublic+"/publicSearch/getCourses"},w=function(){return O.mobileHost+"/api/course/v1/content/state/read"},I=function(){return""+O.mobileHost+O.apiPublic+"/competencyAssets/rolesMappingData"},B=function(){return""+O.mobileHost+O.apiPublic+"/competencyAssets/roleWiseCompetencyData"},O={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:d,apiBaseProxy:g,apiBasePublic:f,getEntityById:h,getAllEntity:m,getUserPassbook:y,getSearch:b,getHierachyDetails:v,getUserdetailsFromRegistry:x,getContentProgress:P,getAllEntityMobile:j,getUserPassbookMobile:k,getUserdetailsMobile:C,getEntityByIdMobile:M,getSearchMobile:H,getContentProgressMobile:w,getRoleMapping:I,getRoleWiseCompetency:B},S=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?u({},t,e):u({},t)},e.prototype.setHeader=function(e,t){var r={Authorization:O.authorization,"X-authenticated-user-token":e?e.access_token:"",Accept:"application/json"};return t?u({},r,t):u({},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=l([t.Injectable({providedIn:"root"})],e)}(),A=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)},l([t.Input()],e.prototype,"data",void 0),e=l([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)}(),E=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"):"कोई परिणाम नहीं मिला"},l([t.Input()],e.prototype,"data",void 0),l([t.Input()],e.prototype,"languagePreferred",void 0),e=l([t.Component({selector:"lib-no-result",template:'<div class="no-data-container pt-2" >\n <div class="no-data-text">{{data | translate}}</div>\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)}(),_=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=l([t.Pipe({name:"removeDuplicatesPipe"})],e)}(),z=function(){function e(){}return e=l([t.NgModule({imports:[s.CommonModule,r.HttpClientModule,c.TranslateModule],declarations:[A,E,_],exports:[A,E,_],providers:[S]})],e)}();e.AppLoaderComponent=A,e.CoreModule=z,e.DataService=S,e.urlConfig=O,e.ɵ0=d,e.ɵ1=g,e.ɵ10=j,e.ɵ11=k,e.ɵ12=C,e.ɵ13=M,e.ɵ14=H,e.ɵ15=w,e.ɵ16=I,e.ɵ17=B,e.ɵ2=f,e.ɵ3=h,e.ɵ4=m,e.ɵ5=y,e.ɵ6=b,e.ɵ7=v,e.ɵ8=x,e.ɵ9=P,e.ɵa=E,e.ɵb=_,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */var u=function(){return(u=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 l(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""+O.host+O.apiSlug},g=function(){return""+O.host+O.apiProxy},f=function(){return""+O.host+O.apiPublic},h=function(e){return O.apiBasePath()+"/entityCompetency/getEntityById/"+e},m=function(){return O.apiBasePath()+"/entityCompetency/getAllEntity"},y=function(){return O.apiBaseProxy()+"/user/v1/passbook"},b=function(){return O.apiBasePublic()+"/publicSearch/getCourses"},v=function(e,t){return O.apiBaseProxy()+"/action/content/v3/hierarchy/"+e+"?hierarchyType="+t},x=function(e){return O.apiBaseProxy()+"/api/user/v2/read/"+e},P=function(e){return O.apiBaseProxy()+"/read/content-progres/"+e},j=function(){return""+O.mobileHost+O.apiPublic+"/mobileApp/getAllEntity"},k=function(){return O.mobileHost+"/api/user/v1/passbook"},C=function(e){return O.mobileHost+"/api/user/v2/read/"+e},M=function(e){return""+O.mobileHost+O.apiPublic+"/mobileApp/getEntityById/"+e},H=function(){return""+O.mobileHost+O.apiPublic+"/publicSearch/getCourses"},w=function(){return O.mobileHost+"/api/course/v1/content/state/read"},I=function(){return""+O.mobileHost+O.apiPublic+"/competencyAssets/rolesMappingData"},B=function(){return""+O.mobileHost+O.apiPublic+"/competencyAssets/roleWiseCompetencyData"},O={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:d,apiBaseProxy:g,apiBasePublic:f,getEntityById:h,getAllEntity:m,getUserPassbook:y,getSearch:b,getHierachyDetails:v,getUserdetailsFromRegistry:x,getContentProgress:P,getAllEntityMobile:j,getUserPassbookMobile:k,getUserdetailsMobile:C,getEntityByIdMobile:M,getSearchMobile:H,getContentProgressMobile:w,getRoleMapping:I,getRoleWiseCompetency:B},S=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?u({},t,e):u({},t)},e.prototype.setHeader=function(e,t){var r={Authorization:O.authorization,"X-authenticated-user-token":e?e.access_token:"",Accept:"application/json"};return t?u({},r,t):u({},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=l([t.Injectable({providedIn:"root"})],e)}(),A=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)},l([t.Input()],e.prototype,"data",void 0),e=l([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)}(),E=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"):"कोई परिणाम नहीं मिला"},l([t.Input()],e.prototype,"data",void 0),l([t.Input()],e.prototype,"languagePreferred",void 0),e=l([t.Component({selector:"lib-no-result",template:'<div class="no-data-container pt-2" >\n <div class="no-data-text">{{data | translate}}</div>\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)}(),_=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=l([t.Pipe({name:"removeDuplicatesPipe"})],e)}(),z=function(){function e(){}return e=l([t.NgModule({imports:[s.CommonModule,r.HttpClientModule,c.TranslateModule],declarations:[A,E,_],exports:[A,E,_],providers:[S]})],e)}();e.AppLoaderComponent=A,e.CoreModule=z,e.DataService=S,e.NoResultComponent=E,e.RemoveDuplicatesPipe=_,e.urlConfig=O,e.ɵ0=d,e.ɵ1=g,e.ɵ10=j,e.ɵ11=k,e.ɵ12=C,e.ɵ13=M,e.ɵ14=H,e.ɵ15=w,e.ɵ16=I,e.ɵ17=B,e.ɵ2=f,e.ɵ3=h,e.ɵ4=m,e.ɵ5=y,e.ɵ6=b,e.ɵ7=v,e.ɵ8=x,e.ɵ9=P,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-core.umd.min.js.map |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('rxjs'), require('lodash-es'), require('@angular/common'), require('@angular/material'), require('@ngx-translate/core')) : | ||
typeof define === 'function' && define.amd ? define('@aastrika_npmjs/comptency/entry-module', ['exports', '@angular/core', '@angular/router', 'rxjs', 'lodash-es', '@angular/common', '@angular/material', '@ngx-translate/core'], factory) : | ||
(global = global || self, factory((global.aastrika_npmjs = global.aastrika_npmjs || {}, global.aastrika_npmjs.comptency = global.aastrika_npmjs.comptency || {}, global.aastrika_npmjs.comptency['entry-module'] = {}), global.ng.core, global.ng.router, global.rxjs, global.lodashEs, global.ng.common, global.ng.material, global.core$1)); | ||
}(this, (function (exports, core, router, rxjs, lodashEs, common, material, core$1) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('rxjs'), require('lodash-es'), require('@angular/common'), require('@angular/material/icon'), require('@ngx-translate/core')) : | ||
typeof define === 'function' && define.amd ? define('@aastrika_npmjs/comptency/entry-module', ['exports', '@angular/core', '@angular/router', 'rxjs', 'lodash-es', '@angular/common', '@angular/material/icon', '@ngx-translate/core'], factory) : | ||
(global = global || self, factory((global.aastrika_npmjs = global.aastrika_npmjs || {}, global.aastrika_npmjs.comptency = global.aastrika_npmjs.comptency || {}, global.aastrika_npmjs.comptency['entry-module'] = {}), global.ng.core, global.ng.router, global.rxjs, global.lodashEs, global.ng.common, global.ng.material.icon, global.core$1)); | ||
}(this, (function (exports, core, router, rxjs, lodashEs, common, icon, core$1) { 'use strict'; | ||
@@ -245,3 +245,3 @@ /*! ***************************************************************************** | ||
selector: 'lib-slef-assessment-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -268,3 +268,3 @@ }) | ||
selector: 'lib-competency-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -349,3 +349,3 @@ }) | ||
router.RouterModule, | ||
material.MatIconModule, | ||
icon.MatIconModule, | ||
core$1.TranslateModule | ||
@@ -352,0 +352,0 @@ ], |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/router"),require("rxjs"),require("lodash-es"),require("@angular/common"),require("@angular/material"),require("@ngx-translate/core")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/entry-module",["exports","@angular/core","@angular/router","rxjs","lodash-es","@angular/common","@angular/material","@ngx-translate/core"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency["entry-module"]={}),e.ng.core,e.ng.router,e.rxjs,e.lodashEs,e.ng.common,e.ng.material,e.core$1)}(this,(function(e,t,n,o,r,a,i,c){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/router"),require("rxjs"),require("lodash-es"),require("@angular/common"),require("@angular/material/icon"),require("@ngx-translate/core")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/entry-module",["exports","@angular/core","@angular/router","rxjs","lodash-es","@angular/common","@angular/material/icon","@ngx-translate/core"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency["entry-module"]={}),e.ng.core,e.ng.router,e.rxjs,e.lodashEs,e.ng.common,e.ng.material.icon,e.core$1)}(this,(function(e,t,n,o,r,a,i,c){"use strict"; | ||
/*! ***************************************************************************** | ||
@@ -15,3 +15,3 @@ Copyright (c) Microsoft Corporation. | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */function u(e,t,n,o){var r,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(a<3?r(i):a>3?r(t,n,i):r(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,o){t(n,o,e)}}var p=function(){function e(e){this.router=e,this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},e.ctorParameters=function(){return[{type:n.Router}]},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-slef-assessment-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()" i18n> {{\'SELF_ASSESSMENTS\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),l=function(){function e(){this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-competency-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()" i18n> {{\'COMPETENCY_DASHBOARD\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),f=function(){},g=function(){function e(e){this.config=e,this.config$=new o.BehaviorSubject({}),this._config=this.config$.asObservable(),console.log("log in config service ",e),r.isEmpty(e)||(console.log("context log in config service ------ ",e),this.setConfig(e))}return e.prototype.setConfig=function(e){this.config$.next(e)},e.prototype.getConfig=function(){var e;return this._config.subscribe((function(t){if(r.isEmpty(t)){var n=JSON.parse(localStorage.getItem("competency"));e=n}else e=t})),e},e.prototype.clearConfig=function(){this.config$.next({})},e.ctorParameters=function(){return[{type:f,decorators:[{type:t.Optional},{type:t.Inject,args:["config"]}]}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject("config",8))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"}),s(0,t.Optional()),s(0,t.Inject("config"))],e)}(),d=function(){function e(){}var o;return o=e,e.forRoot=function(e){return{ngModule:o,providers:[g,{provide:"config",useValue:e.config}]}},e=o=u([t.NgModule({declarations:[p,l],imports:[a.CommonModule,n.RouterModule,i.MatIconModule,c.TranslateModule],exports:[p,l],providers:[]})],e)}();e.CompetencyEntryComponent=l,e.ConfigService=g,e.EntryModule=d,e.SlefAssessmentEntryComponent=p,e.ɵa=f,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */function u(e,t,n,o){var r,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(a<3?r(i):a>3?r(t,n,i):r(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,o){t(n,o,e)}}var p=function(){function e(e){this.router=e,this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},e.ctorParameters=function(){return[{type:n.Router}]},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-slef-assessment-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()"> {{\'SELF_ASSESSMENTS\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),l=function(){function e(){this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-competency-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()"> {{\'COMPETENCY_DASHBOARD\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),f=function(){},g=function(){function e(e){this.config=e,this.config$=new o.BehaviorSubject({}),this._config=this.config$.asObservable(),console.log("log in config service ",e),r.isEmpty(e)||(console.log("context log in config service ------ ",e),this.setConfig(e))}return e.prototype.setConfig=function(e){this.config$.next(e)},e.prototype.getConfig=function(){var e;return this._config.subscribe((function(t){if(r.isEmpty(t)){var n=JSON.parse(localStorage.getItem("competency"));e=n}else e=t})),e},e.prototype.clearConfig=function(){this.config$.next({})},e.ctorParameters=function(){return[{type:f,decorators:[{type:t.Optional},{type:t.Inject,args:["config"]}]}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject("config",8))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"}),s(0,t.Optional()),s(0,t.Inject("config"))],e)}(),d=function(){function e(){}var o;return o=e,e.forRoot=function(e){return{ngModule:o,providers:[g,{provide:"config",useValue:e.config}]}},e=o=u([t.NgModule({declarations:[p,l],imports:[a.CommonModule,n.RouterModule,i.MatIconModule,c.TranslateModule],exports:[p,l],providers:[]})],e)}();e.CompetencyEntryComponent=l,e.ConfigService=g,e.EntryModule=d,e.SlefAssessmentEntryComponent=p,e.ɵa=f,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-entry-module.umd.min.js.map |
@@ -5,7 +5,6 @@ /** | ||
export * from './public-api'; | ||
export { ActiveSummaryComponent as ɵc } from './components/active-summary/active-summary.component'; | ||
export { CompetencyAccordionComponent as ɵd } from './components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyAccordionComponent as ɵc } from './components/competency-accordion/competency-accordion.component'; | ||
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 { ConfigService as ɵd } from './services/config.service'; | ||
export { ConfigurationContext as ɵe } 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 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":32,"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 *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\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":40,"character":26},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":42,"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"} | ||
{"__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\">{{'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\">{{'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\">{{'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":32,"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\">{{'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 label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\">{{'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 label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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 label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\">{{'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 label=\"{{'PASSBOOK' | translate}}\"> -->\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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":20,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ActiveSummaryComponent"},{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material/tabs","name":"MatTabsModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material/expansion","name":"MatExpansionModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/material/progress-bar","name":"MatProgressBarModule","line":31,"character":4},{"__symbolic":"reference","module":"@angular/material/progress-spinner","name":"MatProgressSpinnerModule","line":32,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":33,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":34,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":35,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":36,"character":4}],"exports":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ActiveSummaryComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"CompetencyModule"},"providers":[{"__symbolic":"reference","name":"ɵd"},{"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"}]}},"ActiveSummaryComponent":{"__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 *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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\">{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\">{{'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\">{{'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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\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":40,"character":26},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":42,"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"}]}},"ɵ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":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\">{{'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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" (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\">{{'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"}]}},"ɵd":{"__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":"ɵe"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵe":{"__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","ActiveSummaryComponent":"./components/active-summary/active-summary.component","ɵa":"./services/gained.service","ɵb":"./services/active-summary.service","ɵc":"./components/competency-accordion/competency-accordion.component","ɵd":"./services/config.service","ɵe":"./services/configuration-context"},"importAs":"@aastrika_npmjs/comptency/competency"} |
@@ -6,1 +6,2 @@ export * from './components/required-comptency-card/required-comptency-card.component'; | ||
export * from './services/request-util'; | ||
export * from './components/active-summary/active-summary.component'; |
@@ -5,3 +5,1 @@ /** | ||
export * from './public-api'; | ||
export { NoResultComponent as ɵa } from './components/no-result/no-result.component'; | ||
export { RemoveDuplicatesPipe as ɵb } from './pipe/remove-duplicates.pipe'; |
@@ -1,1 +0,1 @@ | ||
{"__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":13,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":16,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":17,"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 pt-2\" >\n <div class=\"no-data-text\">{{data | translate}}</div>\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":13,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":15,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":16,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":17,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"NoResultComponent"},{"__symbolic":"reference","name":"RemoveDuplicatesPipe"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"NoResultComponent"},{"__symbolic":"reference","name":"RemoveDuplicatesPipe"}],"providers":[{"__symbolic":"reference","name":"DataService"}]}]}],"members":{}},"NoResultComponent":{"__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 pt-2\" >\n <div class=\"no-data-text\">{{data | translate}}</div>\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"}]}},"RemoveDuplicatesPipe":{"__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","NoResultComponent":"./components/no-result/no-result.component","RemoveDuplicatesPipe":"./pipe/remove-duplicates.pipe"},"importAs":"@aastrika_npmjs/comptency/core"} |
@@ -5,1 +5,3 @@ export * from './config/url.config'; | ||
export * from './core.module'; | ||
export * from './components/no-result/no-result.component'; | ||
export * from './pipe/remove-duplicates.pipe'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"SlefAssessmentEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"CompetencyEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"EntryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ConfigService"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"ɵa":{"__symbolic":"class","members":{}}},"origins":{"SlefAssessmentEntryComponent":"./components/slef-assessment-entry/slef-assessment-entry.component","CompetencyEntryComponent":"./components/competency-entry/competency-entry.component","ConfigService":"./services/config.service","EntryModule":"./entry-module","ɵa":"./services/configuration-context"},"importAs":"@aastrika_npmjs/comptency/entry-module"} | ||
{"__symbolic":"module","version":4,"metadata":{"SlefAssessmentEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"CompetencyEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"EntryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ConfigService"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"ɵa":{"__symbolic":"class","members":{}}},"origins":{"SlefAssessmentEntryComponent":"./components/slef-assessment-entry/slef-assessment-entry.component","CompetencyEntryComponent":"./components/competency-entry/competency-entry.component","ConfigService":"./services/config.service","EntryModule":"./entry-module","ɵa":"./services/configuration-context"},"importAs":"@aastrika_npmjs/comptency/entry-module"} |
@@ -5,18 +5,10 @@ /** | ||
export * from './public-api'; | ||
export { ActiveSummaryComponent as ɵm } from './competency/components/active-summary/active-summary.component'; | ||
export { CompetencyAccordionComponent as ɵn } from './competency/components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyDashboardComponent as ɵl } from './competency/components/competency-dashboard/competency-dashboard.component'; | ||
export { GainedComptencyCardComponent as ɵi } from './competency/components/gained-comptency-card/gained-comptency-card.component'; | ||
export { RequiredComptencyCardComponent as ɵh } from './competency/components/required-comptency-card/required-comptency-card.component'; | ||
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'; | ||
export { CompetencyEntryComponent as ɵb } from './entry-module/components/competency-entry/competency-entry.component'; | ||
export { SlefAssessmentEntryComponent as ɵa } from './entry-module/components/slef-assessment-entry/slef-assessment-entry.component'; | ||
export { ConfigService as ɵc } from './entry-module/services/config.service'; | ||
export { ConfigurationContext as ɵd } from './entry-module/services/configuration-context'; | ||
export { SelfAssessmentCardComponent as ɵe } from './self-assessment/components/self-assessment-card/self-assessment-card.component'; | ||
export { SelfAssessmentComponent as ɵg } from './self-assessment/components/self-assessment/self-assessment.component'; | ||
export { SelfAssessmentService as ɵf } from './self-assessment/service/self-assessment.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImFhc3RyaWthX25wbWpzLWNvbXB0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxpRUFBaUUsQ0FBQztBQUM3RyxPQUFPLEVBQUMsNEJBQTRCLElBQUksRUFBRSxFQUFDLE1BQU0sNkVBQTZFLENBQUM7QUFDL0gsT0FBTyxFQUFDLDRCQUE0QixJQUFJLEVBQUUsRUFBQyxNQUFNLDZFQUE2RSxDQUFDO0FBQy9ILE9BQU8sRUFBQyw0QkFBNEIsSUFBSSxFQUFFLEVBQUMsTUFBTSwrRUFBK0UsQ0FBQztBQUNqSSxPQUFPLEVBQUMsOEJBQThCLElBQUksRUFBRSxFQUFDLE1BQU0sbUZBQW1GLENBQUM7QUFDdkksT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQ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XNzbWVudC5zZXJ2aWNlJzsiXX0= | ||
export { CompetencyAccordionComponent as ɵf } from './competency/components/competency-accordion/competency-accordion.component'; | ||
export { ActiveSummaryService as ɵe } from './competency/services/active-summary.service'; | ||
export { ConfigService as ɵg } from './competency/services/config.service'; | ||
export { ConfigurationContext as ɵh } from './competency/services/configuration-context'; | ||
export { GainedService as ɵd } from './competency/services/gained.service'; | ||
export { ConfigService as ɵa } from './entry-module/services/config.service'; | ||
export { ConfigurationContext as ɵb } from './entry-module/services/configuration-context'; | ||
export { SelfAssessmentService as ɵc } from './self-assessment/service/self-assessment.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImFhc3RyaWthX25wbWpzLWNvbXB0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyw0QkFBNEIsSUFBSSxFQUFFLEVBQUMsTUFBTSw2RUFBNkUsQ0FBQztBQUMvSCxPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLE1BQU0sOENBQThDLENBQUM7QUFDeEYsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxzQ0FBc0MsQ0FBQztBQUN6RSxPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLE1BQU0sNkNBQTZDLENBQUM7QUFDdkYsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSxzQ0FBc0MsQ0FBQztBQUN6RSxPQUFPLEVBQUMsYUFBYSxJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBQzNFLE9BQU8sRUF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VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7U2VsZkFzc2Vzc21lbnRTZXJ2aWNlIGFzIMm1Y30gZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvc2VydmljZS9zZWxmLWFzc2Vzc21lbnQuc2VydmljZSc7Il19 |
@@ -5,8 +5,7 @@ /** | ||
export * from './public-api'; | ||
export { ActiveSummaryComponent as ɵc } from './components/active-summary/active-summary.component'; | ||
export { CompetencyAccordionComponent as ɵd } from './components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyAccordionComponent as ɵc } from './components/competency-accordion/competency-accordion.component'; | ||
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 { ConfigService as ɵd } from './services/config.service'; | ||
export { ConfigurationContext as ɵe } from './services/configuration-context'; | ||
export { GainedService as ɵa } from './services/gained.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvbXBldGVuY3kuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvbXBldGVuY3kvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3ktY29tcGV0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxzQkFBc0IsSUFBSSxFQUFFLEVBQUMsTUFBTSxzREFBc0QsQ0FBQztBQUNsRyxPQUFPLEVBQUMsNEJBQTRCLElBQUksRUFBRSxFQUFDLE1BQU0sa0VBQWtFLENBQUM7QUFDcEgsT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLG1DQUFtQyxDQUF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JztcbmV4cG9ydCB7Q29uZmlnU2VydmljZSBhcyDJtWR9IGZyb20gJy4vc2VydmljZXMvY29uZmlnLnNlcnZpY2UnO1xuZXhwb3J0IHtDb25maWd1cmF0aW9uQ29udGV4dCBhcyDJtWV9IGZyb20gJy4vc2VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7R2FpbmVkU2VydmljZSBhcyDJtWF9IGZyb20gJy4vc2VydmljZXMvZ2FpbmVkLnNlcnZpY2UnOyJdfQ== |
@@ -10,3 +10,7 @@ var CompetencyModule_1; | ||
import { ActiveSummaryComponent } from './components/active-summary/active-summary.component'; | ||
import { MatTabsModule, MatIconModule, MatExpansionModule, MatProgressBarModule, MatProgressSpinnerModule } from '@angular/material'; | ||
import { MatTabsModule } from '@angular/material/tabs'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { MatExpansionModule } from '@angular/material/expansion'; | ||
import { MatProgressBarModule } from '@angular/material/progress-bar'; | ||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; | ||
import { CoreModule } from '@aastrika_npmjs/comptency/core'; | ||
@@ -60,2 +64,2 @@ import { CompetencyAccordionComponent } from './components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvbXBldGVuY3kvIiwic291cmNlcyI6WyJjb21wZXRlbmN5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXVCLE1BQU0sZUFBZSxDQUFDO0FBQzlELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFB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h0KTogTW9kdWxlV2l0aFByb3ZpZGVycyB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBDb21wZXRlbmN5TW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbQ29uZmlnU2VydmljZSxcbiAgICAgICAge3Byb3ZpZGU6ICdjb25maWcnLCB1c2VWYWx1ZTogY29uZmlnQ29udGV4dC5jb25maWd9XG4gICAgICBdXG4gICAgfVxuICB9XG4gfVxuIl19 |
@@ -239,3 +239,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-active-summary', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<!-- <ng-container *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n</ng-container>\n", | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<!-- <ng-container *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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\">{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\">{{'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\">{{'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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n</ng-container>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -246,2 +246,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}.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}"] | ||
export { ActiveSummaryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZlLXN1bW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsaUJBQWlCLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxFQUFFLFFBQVEsRUFBb0IsTUFBTSxNQUFNLENBQUM7QUFDbEQsT0FBTyxLQUFLLENBQUMsTUFBTSxXQUFXLENBQUM7QUFDL0IsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUM5RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQU9sRixJQUFhLHNCQUFzQixHQUFuQyxNQUFhLHNCQUFzQjtJQXVCakMsWUFDUyxvQkFBMEMsRUFDMUMsYUFBNEIsRUFDNUIsYU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zXG4gICAgICB9XG4gICAgKVxuICB9XG5cbiAgZ2V0QXNzZXNzbWVudEJ0blR5cGUoZGF0YSl7XG4gICAgXy5mb3JFYWNoKCBkYXRhLCAodmFsdWU6IGFueSkgPT4ge1xuICAgICAgICAgICAgdGhpcy5nZXRBc3Nlc3NtZW50UHJvZ3Jlc3ModmFsdWUpLnN1YnNjcmliZSgocmVzKSA9PiB7XG4gICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCAmJiB2YWx1ZS5jaGlsZENvbnRlbnQgPT09IHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJydcbiAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOmFueSk9PntcbiAgICAgICAgICAgICAgICAgICAgICBpZihpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCApe1xuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdET05FJ1xuICAgICAgICAgICAgICAgICAgICAgIH1lbHNle1xuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJ1xuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICBcbiAgICAgICAgICAgICAgaWYocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPT0gMCApIHtcbiAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSlcbiAgICAgICAgICB9KVxuICB9XG4gIGdldEFzc2Vzc21lbnRQcm9ncmVzcyhkYXRhKSB7XG4gICAgY29uc3QgcmVxYm9keSA9IHtcbiAgICAgIHJlcXVlc3Q6IHtcbiAgICAgICAgdXNlcklkOiB0aGlzLmNvbmZpZ1NlcnZpY2UuZ2V0Q29uZmlnKCkuaWQsXG4gICAgICAgIGJhdGNoSWQ6IGRhdGEuYmF0Y2hJZCxcbiAgICAgICAgY291cnNlSWQ6IGRhdGEuY29udGVudElkLFxuICAgICAgICBjb250ZW50SWRzOiBbXSxcbi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vbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCApe1xuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdET05FJ1xuICAgICAgICAgICAgICAgICAgICAgIH1lbHNle1xuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJ1xuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICBcbiAgICAgICAgICAgICAgaWYocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPT0gMCApIHtcbiAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgIGNvdX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6IGFueSkge1xuICAgIGNvbnN0IHJlcUJvZHkgPSB7XG4gICAgICBmaWx0ZXI6IHtcbiAgICAgICAgXCJpc0RldGFpbFwiOiB0cnVlXG4gICAgICB9LFxuICAgICAgaWQ6IGlkXG4gICAgfTtcbiAgICByZXR1cm4gdGhpcy5hY3RpdmVTdW1tYXJ5U2VydmljZS5nZXRBY3Rpdml0eUJ5SWQocmVxQm9keSlcbiAgfVxuICBnZXRBdmVyYWdlcGVyY2VudGFnZShkYXRhKSB7XG4gICAgbGV0IHRvdGFsTGVuZ3RoID0gZGF0YS5sZW5ndGhcbiAgICBsZXQgcGVyY2VudGFnZSA9IFtdXG4gICAgbGV0IHRvdGFsUGVyY2VudCA9IDBcbiAgICBfLmZvckVhY2goZGF0YSwgKHZhbHVlOiBhbnkpID0+IHtcbiAgICAgIHBlcmNlbnRhZ2UucHVzaCh2YWx1ZS5jb21wbGV0aW9uUGVyY2VudGFnZSlcbiAgICB9KVxuICAgIHRvdGFsUGVyY2VudCA9IF8ucm91bmQoXy5zdW0ocGVyY2VudGFnZSkgLyB0b3RhbExlbmd0aClcbiAgICByZXR1cm4gdG90YWxQZXJjZW50XG4gIH1cblxuICBnZXRDb21wZXRlbmN5Q291cnNlKCkge1xuICAgIGxldCBhc3Nlc3NEYXRhO1xuICAgIGFzc2Vzc0RhdGEgPSB0aGlzLmFjdGl2ZVN1bW1hcnlTZXJ2aWNlLmdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKHRoaXMubGFuZ3VhZ2UpXG4gICAgcmV0dXJuIGFzc2Vzc0RhdGE7XG4gIH1cbiAgXG4gIG5nT25EZXN0cm95KCkge1xuICAgIGlmICh0aGlzLnVuc3Vic2NyaWJlKSB7XG4gICAgICB0aGlzLnVuc3Vic2NyaWJlLnVuc3Vic2NyaWJlKClcbiAgICB9XG5cbiAgfVxufVxuIl19 |
@@ -50,3 +50,3 @@ import * as tslib_1 from "tslib"; | ||
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>", | ||
template: "<div class=\"competency-badge\">{{'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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" (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\">{{'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}"] | ||
@@ -56,2 +56,2 @@ }) | ||
export { CompetencyAccordionComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1hY2NvcmRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9jb21wZXRlbmN5LWFjY29yZGlvbi9jb21wZXRlbmN5LWFjY29yZGlvbi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQVF6QyxJQUFhLDRCQUE0QixHQUF6QyxNQUFhLDRCQUE0QjtJQUl2QyxZQUNVLE1BQWM7UUFBZCxXQUFNLEdBQU4sTUFBTSxDQUFRO0lBQ3BCLENBQUM7SUFFTCxRQUFRO1FBQ04sMENBQTBDO0lBQzVDLENBQUM7SUFFRCxXQUFXLENBQUMsSUFBSTtRQUNmLG9DQUFvQztRQUVuQyxJQUFJLElBQUksRUFBRTtZQUNSLElBQUksRUFBRSxHQUFHLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLElBQU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lJRFxuICAgICAgdGhpcy5yb3V0ZXIubmF2aWdhdGUoWycvYXBwL3NlYXJjaCddLCB7XG4gICAgICAgIHF1ZXJ5UGFyYW1zOiB7IHE6IFtcbiAgICAgICAgICBgJHtpZH0tMWAsXG4gICAgICAgICAgYCR7aWR9LTJgLFxuICAgICAgICAgIGAke2lkfS0zYCxcbiAgICAgICAgICBgJHtpZH0tNGAsXG4gICAgICAgICAgYCR7aWR9LTVgXG4gICAgICAgIF0gLCBcbiAgICAgICAgY29tcGV0ZW5jeTogdHJ1ZSxcbiAgICAgICAgcmVkaXJlY3Q6ICdhcHAvdXNlci9jb21wZXRlbmN5J1xuICAgICAgfSxcbiAgICAgICAgcXVlcnlQYXJhbXNIYW5kbGluZzogJ21lcmdlJyxcbiAgICAgIH0pXG4gICAgICBcbiAgICB9XG4gIH1cbiAgc3RhcnRTZWxmQXNzZXNtZW50KGRhdGEpe1xuICAgIC8vIGNvbnNvbGUubG9nKFwicXVlcnkgZGF0YSBcIiwgZGF0YSlcbiAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZShbYGFwcC91c2VyL3NlbGYtYXNzZXNzbWVudGBdLCB7IHF1ZXJ5UGFyYW1zOiBkYXRhIH0pIFxuICB9XG59XG4iXX0= |
@@ -61,3 +61,3 @@ import * as tslib_1 from "tslib"; | ||
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 <!-- 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>", | ||
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\">{{'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 label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\">{{'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 label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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 label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\">{{'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 label=\"{{'PASSBOOK' | translate}}\"> -->\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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, | ||
@@ -68,2 +68,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1kYXNoYm9hcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5j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ptency-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 <!-- <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\">{{'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\">{{'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\">{{'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, | ||
@@ -109,2 +109,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkL2dhaW5lZC1jb21wdGVuY3ktY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDaEMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzlELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEtBQUssQ0FBQyxNQUFNLFdBQVcsQ0FBQztBQUMvQixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFPdkUsSUFBYSw0QkFBNEIsR0FBekMsTUFBYSw0QkFBNEI7SUFZdkMsSUFBSTtJQUNKLDhHQUE4RztJQUM5RyxvSUFBb0k7SUFDcEksSUFBSTtJQUVKLFlBQ1MsYUFBNEIsRUFDNUIsYUFBNEIsRUFDNUIsb0JBQTBDO1FBRjFDLGtCQUFhLEdBQWIsYUFBYSxDQUFlO1FBQzVCLGt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ZWxlY3RlZFByb2ZpY2llbmN5SW5kZXhcbiAgICB9XG4gICAgdGhpcy5zZWxlY3RlZERpc3BsYXlMZXZlbCA9IHNlbGVjdGVkRGlzcGxheUxldmVsXG4gIH1cbn1cbiJdfQ== |
@@ -6,2 +6,3 @@ export * from './components/required-comptency-card/required-comptency-card.component'; | ||
export * from './services/request-util'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3RUFBd0UsQ0FBQTtBQUN0RixjQUFjLG9FQUFvRSxDQUFBO0FBQ2xGLGNBQWMsa0VBQWtFLENBQUE7QUFDaEYsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL3JlcXVpcmVkLWNvbXB0ZW5jeS1jYXJkL3JlcXVpcmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cy9nYWluZWQtY29tcHRlbmN5LWNhcmQvZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cy9jb21wZXRlbmN5LWRhc2hib2FyZC9jb21wZXRlbmN5LWRhc2hib2FyZC5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2NvbXBldGVuY3kubW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9yZXF1ZXN0LXV0aWwnIl19 | ||
export * from './components/active-summary/active-summary.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3RUFBd0UsQ0FBQTtBQUN0RixjQUFjLG9FQUFvRSxDQUFBO0FBQ2xGLGNBQWMsa0VBQWtFLENBQUE7QUFDaEYsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBO0FBQ3ZDLGNBQWMsc0RBQXNELENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvcmVxdWlyZWQtY29tcHRlbmN5LWNhcmQvcmVxdWlyZWQtY29tcHRlbmN5LWNhcmQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL2dhaW5lZC1jb21wdGVuY3ktY2FyZC9nYWluZWQtY29tcHRlbmN5LWNhcmQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL2NvbXBldGVuY3ktZGFzaGJvYXJkL2NvbXBldGVuY3ktZGFzaGJvYXJkLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcGV0ZW5jeS5tb2R1bGUnXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL3JlcXVlc3QtdXRpbCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQnIl19 |
@@ -5,4 +5,2 @@ /** | ||
export * from './public-api'; | ||
export { NoResultComponent as ɵa } from './components/no-result/no-result.component'; | ||
export { RemoveDuplicatesPipe as ɵb } from './pipe/remove-duplicates.pipe'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvcmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvcmUvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3ktY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSw0Q0FBNEMsQ0FBQztBQUNuRixPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLE1BQU0sK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7Tm9SZXN1bHRDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2NvbXBvbmVudHMvbm8tcmVzdWx0L25vLXJlc3VsdC5jb21wb25lbnQnO1xuZXhwb3J0IHtSZW1vdmVEdXBsaWNhdGVzUGlwZSBhcyDJtWJ9IGZyb20gJy4vcGlwZS9yZW1vdmUtZHVwbGljYXRlcy5waXBlJzsiXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvcmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvcmUvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3ktY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19 |
@@ -5,2 +5,4 @@ export * from './config/url.config'; | ||
export * from './core.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBO0FBQ3ZDLGNBQWMsOENBQThDLENBQUE7QUFDNUQsY0FBYyxlQUFlLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbmZpZy91cmwuY29uZmlnJ1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9kYXRhLnNlcnZpY2UnXG5leHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvYXBwLWxvYWRlci9hcHAtbG9hZGVyLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29yZS5tb2R1bGUnIl19 | ||
export * from './components/no-result/no-result.component'; | ||
export * from './pipe/remove-duplicates.pipe'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBO0FBQ3ZDLGNBQWMsOENBQThDLENBQUE7QUFDNUQsY0FBYyxlQUFlLENBQUE7QUFDN0IsY0FBYyw0Q0FBNEMsQ0FBQTtBQUMxRCxjQUFjLCtCQUErQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maWcvdXJsLmNvbmZpZydcbmV4cG9ydCAqIGZyb20gJy4vc2VydmljZXMvZGF0YS5zZXJ2aWNlJ1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL2FwcC1sb2FkZXIvYXBwLWxvYWRlci5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2NvcmUubW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL25vLXJlc3VsdC9uby1yZXN1bHQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9waXBlL3JlbW92ZS1kdXBsaWNhdGVzLnBpcGUnIl19 |
@@ -19,3 +19,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-competency-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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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0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLEVBQUMsWUFBWSxFQUFDLElBQUksRUFBQyxDQUFDLENBQUE7SUFDNUMsQ0FBQztDQUVGLENBQUE7QUFWVztJQUFULE1BQU0sRUFBRTs2REFBcUQ7QUFEbkQsd0JBQXdCO0lBTHBDLFNBQVMsQ0FBQztRQUNULFFBQVEsRUFBRSxzQkFBc0I7UUFDaEMsc0lBQWdEOztLQUVqRCxDQUFDO0dBQ1csd0JBQXdCLENBV3BDO1NBWFksd0JBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBFdmVudEVtaXR0ZXIsIE9uSW5pdCwgT3V0cHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2xpYi1jb21wZXRlbmN5LWVudHJ5JyxcbiAgdGVtcGxhdGVVcmw6ICcuL2NvbXBldGVuY3ktZW50cnkuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9jb21wZXRlbmN5LWVudHJ5LmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQ29tcGV0ZW5jeUVudHJ5Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQE91dHB1dCgpIHN0YXRlQ2hhbmdlOiBFdmVudEVtaXR0ZXI8YW55PiA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbiAgbmF2aWdhdGVUbygpe1xuICAgIHRoaXMuc3RhdGVDaGFuZ2UuZW1pdCh7J25hdmlnYXRpb24nOnRydWV9KVxuICB9XG5cbn1cbiJdfQ== |
@@ -24,3 +24,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-slef-assessment-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -30,2 +30,2 @@ }) | ||
export { SlefAssessmentEntryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xlZi1hc3Nlc3NtZW50LWVudHJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJlbnRyeS1tb2R1bGUvY29tcG9uZW50cy9zbGVmLWFzc2Vzc21lbnQtZW50cnkvc2xlZi1hc3Nlc3NtZW50LWVudHJ5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3hFLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQU16QyxJQUFhLDRCQUE0QixHQUF6QyxNQUFhLDRCQUE0QjtJQUV2QyxZQUFtQixNQUFhO1FBQWIsV0FBTSxHQUFOLE1BQU0sQ0FBTztRQUR0QixnQkFBVyxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO0lBQzFCL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UNXLDRCQUE0QixDQVd4QztTQVhZLDRCQUE0QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgRXZlbnRFbWl0dGVyLCBPbkluaXQsIE91dHB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUm91dGVyIH0gZnJvbSAnQGFuZ3VsYXIvcm91dGVyJztcbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2xpYi1zbGVmLWFzc2Vzc21lbnQtZW50cnknLFxuICB0ZW1wbGF0ZVVybDogJy4vc2xlZi1hc3Nlc3NtZW50LWVudHJ5LmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vc2xlZi1hc3Nlc3NtZW50LWVudHJ5LmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgU2xlZkFzc2Vzc21lbnRFbnRyeUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBPdXRwdXQoKSBzdGF0ZUNoYW5nZTogRXZlbnRFbWl0dGVyPGFueT4gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIGNvbnN0cnVjdG9yKHB1YmxpYyByb3V0ZXI6Um91dGVyKSB7IH1cblxuICBuZ09uSW5pdCgpIHtcbiAgfVxuXG4gIG5hdmlnYXRlVG8oKXtcbiAgICB0aGlzLnN0YXRlQ2hhbmdlLmVtaXQoeyduYXZpZ2F0aW9uJzp0cnVlfSlcbiAgfVxuXG59XG4iXX0= |
@@ -7,3 +7,3 @@ var EntryModule_1; | ||
import { CompetencyEntryComponent } from './components/competency-entry/competency-entry.component'; | ||
import { MatIconModule } from '@angular/material'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { RouterModule } from '@angular/router'; | ||
@@ -44,2 +44,2 @@ import { ConfigService } from './services/config.service'; | ||
export { EntryModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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nQsIENvbXBldGVuY3lFbnRyeUNvbXBvbmVudCxdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJvdXRlck1vZHVsZSxcbiAgICBNYXRJY29uTW9kdWxlLFxuICAgIFRyYW5zbGF0ZU1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgU2xlZkFzc2Vzc21lbnRFbnRyeUNvbXBvbmVudCxcbiAgICBDb21wZXRlbmN5RW50cnlDb21wb25lbnQsXG4gIF0sXG4gIHByb3ZpZGVyczpbXVxufSlcbmV4cG9ydCBjbGFzcyBFbnRyeU1vZHVsZSB7XG4gIC8qKlxuICogVGFrZSB0aGUgY29uZmlnIGZyb20gY29uc3VtaW5nIGFwcHNcbiAqXG4gKiBAYXV0aG9yIEFtYW4gS3VtYXIgU2hhcm1hIDxhbWFua3VtYXIuc2hhcm1hQHRhcmVudG8uY29tPlxuICovXG4gIHN0YXRpYyBmb3JSb290KGNvbmZpZ0NvbnRleHQ6IENvbmZpZ3VyYXRpb25Db250ZXh0KTogTW9kdWxlV2l0aFByb3ZpZGVycyB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBFbnRyeU1vZHVsZSxcbiAgICAgIHByb3ZpZGVyczogW0NvbmZpZ1NlcnZpY2UsXG4gICAgICAgIHtwcm92aWRlOiAnY29uZmlnJywgdXNlVmFsdWU6IGNvbmZpZ0NvbnRleHQuY29uZmlnfVxuICAgICAgXVxuICAgIH1cbiAgfVxufVxuIl19 |
@@ -7,2 +7,11 @@ /* | ||
export * from './competency/competency.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBZSw2QkFBNkIsQ0FBQTtBQUM1QyxjQUFjLDBDQUEwQyxDQUFBO0FBQ3hELGNBQWMsZ0NBQWdDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGNvbXBldGVuY3ktdWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICAnLi9lbnRyeS1tb2R1bGUvZW50cnktbW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50Lm1vZHVsZSdcbmV4cG9ydCAqIGZyb20gJy4vY29tcGV0ZW5jeS9jb21wZXRlbmN5Lm1vZHVsZSciXX0= | ||
export * from './self-assessment/components/self-assessment-card/self-assessment-card.component'; | ||
export * from './self-assessment/components/self-assessment/self-assessment.component'; | ||
export * from './competency/components/required-comptency-card/required-comptency-card.component'; | ||
export * from './competency/components/active-summary/active-summary.component'; | ||
export * from './competency/components/gained-comptency-card/gained-comptency-card.component'; | ||
export * from './competency/components/competency-dashboard/competency-dashboard.component'; | ||
export * from './competency/components/active-summary/active-summary.component'; | ||
export * from './entry-module/components/competency-entry/competency-entry.component'; | ||
export * from './entry-module/components/slef-assessment-entry/slef-assessment-entry.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBZSw2QkFBNkIsQ0FBQTtBQUM1QyxjQUFjLDBDQUEwQyxDQUFBO0FBQ3hELGNBQWMsZ0NBQWdDLENBQUE7QUFDOUMsY0FBYyxrRkFBa0YsQ0FBQTtBQUNoRyxjQUFjLHdFQUF3RSx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wb25lbnRzL2dhaW5lZC1jb21wdGVuY3ktY2FyZC9nYWluZWQtY29tcHRlbmN5LWNhcmQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9jb21wZXRlbmN5L2NvbXBvbmVudHMvY29tcGV0ZW5jeS1kYXNoYm9hcmQvY29tcGV0ZW5jeS1kYXNoYm9hcmQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9jb21wZXRlbmN5L2NvbXBvbmVudHMvYWN0aXZlLXN1bW1hcnkvYWN0aXZlLXN1bW1hcnkuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9lbnRyeS1tb2R1bGUvY29tcG9uZW50cy9jb21wZXRlbmN5LWVudHJ5L2NvbXBldGVuY3ktZW50cnkuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9lbnRyeS1tb2R1bGUvY29tcG9uZW50cy9zbGVmLWFzc2Vzc21lbnQtZW50cnkvc2xlZi1hc3Nlc3NtZW50LWVudHJ5LmNvbXBvbmVudCciXX0= |
@@ -81,3 +81,3 @@ import * as tslib_1 from "tslib"; | ||
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", | ||
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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container>\n </ng-container>\n\n <button class=\"btn-long\" (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}"] | ||
@@ -87,2 +87,2 @@ }) | ||
export { SelfAssessmentCardComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbInNlbGYtYXNzZXNzbWVudC9jb21wb25lbnRzL3NlbGYtYXNzZXNzbWVudC1jYXJkL3NlbGYtYXNzZXNzbWVudC1jYXJkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sR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CR7ZGF0YS5jb21wZXRlbmN5SUR9LTNgLFxuICAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS00YCxcbiAgICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tNWBcbiAgICAgICAgXSAsXG4gICAgICAgIGNvbXBldGVuY3k6IHRydWUsXG4gICAgICAgIHJlZGlyZWN0OiAnYXBwL3VzZXIvY29tcGV0ZW5jeSdcbiAgICAgIH0sXG4gICAgICAgIHF1ZXJ5UGFyYW1zSGFuZGxpbmc6ICdtZXJnZScsXG4gICAgICB9KVxuICAgICAgLy8gcmVxQm9keSA9IHtcbiAgICAgIC8vICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgIC8vICAgICBcImZpbHRlcnNcIjoge1xuICAgICAgLy8gICAgICAgXCJjb21wZXRlbmN5U2VhcmNoXCI6IFtcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTFgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tMmAsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS0zYCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTRgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tNWBcbiAgICAgIC8vICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgIFwicHJpbWFyeUNhdGVnb3J5XCI6IFtcbiAgICAgIC8vICAgICAgICAgICBcIkNvdXJzZVwiXG4gICAgICAvLyAgICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgICAgXCJjb250ZW50VHlwZVwiOiBbXG4gICAgICAvLyAgICAgICAgICAgICBcIkNvdXJzZVwiXG4gICAgICAvLyAgICAgICAgICAgXSxcbiAgICAgIC8vICAgICAgICAgICAgIFwic3RhdHVzXCI6IFtcbiAgICAgIC8vICAgICAgICAgICAgICAgXCJMaXZlXCJcbiAgICAgIC8vICAgICAgICAgICAgIF1cbiAgICAgIC8vICAgICB9LFxuICAgICAgLy8gICAgIFwic29ydF9ieVwiOiB7XG4gICAgICAvLyAgICAgICBcImxhc3RVcGRhdGVkT25cIjogXCJkZXNjXCJcbiAgICAgIC8vICAgICB9XG4gICAgICAvLyAgIH0sXG4gICAgICAvLyAgIFwic29ydFwiOiBbXG4gICAgICAvLyAgICAge1xuICAgICAgLy8gICAgICAgXCJsYXN0VXBkYXRlZE9uXCI6IFwiZGVzY1wiXG4gICAgICAvLyAgICAgfVxuICAgICAgLy8gICBdXG4gICAgICAvLyB9XG5cbiAgICAgIC8vIHRoaXMuc2VsZkFzc2Vzc21lbnRTZXJ2aWNlLmdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKHJlcUJvZHkpLnN1YnNjcmliZShcbiAgICAgIC8vICAgcmVzID0+IHtcblxuICAgICAgICAgIFxuICAgICAgLy8gICB9XG4gICAgICAvLyApXG4gICAgfVxuICB9XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbInNlbGYtYXNzZXNzbWVudC9jb21wb25lbnRzL3NlbGYtYXNzZXNzbWVudC1jYXJkL3NlbGYtYXNzZXNzbWVudC1jYXJkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBTTlFLElB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EuY29tcGV0ZW5jeUlEfS00YCxcbiAgICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tNWBcbiAgICAgICAgXSAsXG4gICAgICAgIGNvbXBldGVuY3k6IHRydWUsXG4gICAgICAgIHJlZGlyZWN0OiAnYXBwL3VzZXIvY29tcGV0ZW5jeSdcbiAgICAgIH0sXG4gICAgICAgIHF1ZXJ5UGFyYW1zSGFuZGxpbmc6ICdtZXJnZScsXG4gICAgICB9KVxuICAgICAgLy8gcmVxQm9keSA9IHtcbiAgICAgIC8vICAgXCJyZXF1ZXN0XCI6IHtcbiAgICAgIC8vICAgICBcImZpbHRlcnNcIjoge1xuICAgICAgLy8gICAgICAgXCJjb21wZXRlbmN5U2VhcmNoXCI6IFtcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTFgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tMmAsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS0zYCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTRgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tNWBcbiAgICAgIC8vICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgIFwicHJpbWFyeUNhdGVnb3J5XCI6IFtcbiAgICAgIC8vICAgICAgICAgICBcIkNvdXJzZVwiXG4gICAgICAvLyAgICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgICAgXCJjb250ZW50VHlwZVwiOiBbXG4gICAgICAvLyAgICAgICAgICAgICBcIkNvdXJzZVwiXG4gICAgICAvLyAgICAgICAgICAgXSxcbiAgICAgIC8vICAgICAgICAgICAgIFwic3RhdHVzXCI6IFtcbiAgICAgIC8vICAgICAgICAgICAgICAgXCJMaXZlXCJcbiAgICAgIC8vICAgICAgICAgICAgIF1cbiAgICAgIC8vICAgICB9LFxuICAgICAgLy8gICAgIFwic29ydF9ieVwiOiB7XG4gICAgICAvLyAgICAgICBcImxhc3RVcGRhdGVkT25cIjogXCJkZXNjXCJcbiAgICAgIC8vICAgICB9XG4gICAgICAvLyAgIH0sXG4gICAgICAvLyAgIFwic29ydFwiOiBbXG4gICAgICAvLyAgICAge1xuICAgICAgLy8gICAgICAgXCJsYXN0VXBkYXRlZE9uXCI6IFwiZGVzY1wiXG4gICAgICAvLyAgICAgfVxuICAgICAgLy8gICBdXG4gICAgICAvLyB9XG5cbiAgICAgIC8vIHRoaXMuc2VsZkFzc2Vzc21lbnRTZXJ2aWNlLmdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKHJlcUJvZHkpLnN1YnNjcmliZShcbiAgICAgIC8vICAgcmVzID0+IHtcblxuICAgICAgICAgIFxuICAgICAgLy8gICB9XG4gICAgICAvLyApXG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -47,3 +47,8 @@ import * as tslib_1 from "tslib"; | ||
return this.getUserDetails().pipe(mergeMap((res) => { | ||
this.language = !this.language ? res.profileDetails.preferences.language || 'en' : this.language; | ||
if (res.profileDetails.preferences.language !== this.language) { | ||
this.language = res.profileDetails.preferences.language; | ||
} | ||
else { | ||
this.language = !this.language ? 'en' : this.language; | ||
} | ||
if (this.language) { | ||
@@ -158,2 +163,2 @@ return this.getCompetencyCourse(); | ||
export { SelfAssessmentComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBT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W5ndWFnZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmdldENvbXBldGVuY3lDb3Vyc2UoKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIG1lcmdlTWFwKChyZXM6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBjb25zdCBhc3Nlc3NEYXRhID0gdGhpcy5yZXF1ZXN0VXRpbC5mb3JtYXRlZENvbXBldGVuY3lDb3Vyc2VEYXRhKHJlcyk7XG4gICAgICAgICAgICAgIHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhID0gdGhpcy5nZXRDb21wZXRlbmN5RmlsdGVyKGFzc2Vzc0RhdGEpO1xuXG4gICAgICAgICAgICAgIGlmKHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhLmxlbmd0aCA+IDAgKXtcbiAgICAgICAgICAgICAgICByZXR1cm4gZm9ya0pvaW4oXG4gICAgICAgICAgICAgICAgICBfLm1hcCh0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSwgKHZhbHVlOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZ2V0UHJvZ3Jlc3ModmFsdWUpLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgbWFwKChyZXMpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwICYmIHZhbHVlLmNoaWxkQ29udGVudCA9PT0gcmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJyc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBfLmZvckVhY2gocmVzLnJlc3VsdC5jb250ZW50TGlzdCwgKGl0ZW06IGFueSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSA9PT0gMTAwICYmIGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgIT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnUkVTVU1FJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IHR5cGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICBcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgdGhpcy5sb2FkaW5nID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG9mKG51bGwpXG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICBcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgKTtcbiAgICAgICAgfSlcbiAgICAgIClcbiAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgY29uc29sZS5sb2coJ3NlbGYnLCB0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSk7XG4gICAgICB9KTtcbiAgfVxuXG5cblxuICBnZXRDb21wZXRlbmN5RmlsdGVyKGRhdGEpIHtcbiAgICBsZXQgcmVzdWx0ID0gW11cbiAgICBfLmZvckVhY2godGhpcy5yb2xlQ29tcGV0ZW5jeURhdGEsICh2YWx1ZSkgPT4ge1xuICAgICAgLy8gY29uc29sZS5sb2coXCJkYXRhXCIsIHZhbHVlKVxuICAgICAgXy5mb3JFYWNoKGRhdGEsIChpdGVtKSA9PiB7XG4gICAgICAgIGlmIChpdGVtLmNvbXBldGVu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AgICAgICAgICBpZih0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YS5sZW5ndGggPiAwICl7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZvcmtKb2luKFxuICAgICAgICAgICAgICAgICAgXy5tYXAodGhpcy5zZWxmQXNzZXNzbWVudERhdGEsICh2YWx1ZTogYW55KSA9PlxuICAgICAgICAgICAgICAgICAgICB0aGlzLmdldFByb2dyZXNzKHZhbHVlKS5waXBlKFxuICAgICAgICAgICAgICAgICAgICAgIG1hcCgocmVzKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCAmJiB2YWx1ZS5jaGlsZENvbnRlbnQgPT09IHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdHlwZSA9ICcnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdET05FJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiB0eXBlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRScsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1NUQVJUJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgIH1lbHNle1x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lLmdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKHRoaXMubGFuZ3VhZ2UpXG4gIH1cblxuICBnZXRQcm9ncmVzcyhkYXRhKSB7XG4gICAgY29uc3QgcmVxYm9keSA9IHtcbiAgICAgIHJlcXVlc3Q6IHtcbiAgICAgICAgdXNlcklkOiB0aGlzLmNvbmZpZ1NlcnZpY2UuZ2V0Q29uZmlnKCkuaWQsXG4gICAgICAgIGJhdGNoSWQ6IGRhdGEuYmF0Y2hJZCxcbiAgICAgICAgY291cnNlSWQ6IGRhdGEuY29udGVudElkLFxuICAgICAgICBjb250ZW50SWRzOiBbXSxcbiAgICAgICAgZmllbGRzOiBbJ3Byb2dyZXNzZGV0YWlscyddLFxuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB0aGlzLnNlbGZBc3Nlc3NtZW50U2VydmljZS5mZXRjaFByZ3Jlc3NEZXRhaWxzKHJlcWJvZHkpXG4gIH1cbiAgbmF2aWdhdGVCYWNrKCkge1xuICAgIHRoaXMubG9jYXRpb24uYmFjaygpXG4gIH1cblxufVxuIl19 |
@@ -6,3 +6,3 @@ import * as tslib_1 from "tslib"; | ||
import { SelfAssessmentComponent } from './components/self-assessment/self-assessment.component'; | ||
import { MatIconModule } from '@angular/material'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { HttpClientModule } from '@angular/common/http'; | ||
@@ -27,2 +27,2 @@ import { CoreModule } from '@aastrika_npmjs/comptency/core'; | ||
export { SelfAssessmentModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0F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uZW50LCBTZWxmQXNzZXNzbWVudENvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgU2VsZkFzc2Vzc21lbnRNb2R1bGUgeyB9XG4iXX0= |
@@ -5,18 +5,10 @@ /** | ||
export * from './public-api'; | ||
export { ActiveSummaryComponent as ɵm } from './competency/components/active-summary/active-summary.component'; | ||
export { CompetencyAccordionComponent as ɵn } from './competency/components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyDashboardComponent as ɵl } from './competency/components/competency-dashboard/competency-dashboard.component'; | ||
export { GainedComptencyCardComponent as ɵi } from './competency/components/gained-comptency-card/gained-comptency-card.component'; | ||
export { RequiredComptencyCardComponent as ɵh } from './competency/components/required-comptency-card/required-comptency-card.component'; | ||
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'; | ||
export { CompetencyEntryComponent as ɵb } from './entry-module/components/competency-entry/competency-entry.component'; | ||
export { SlefAssessmentEntryComponent as ɵa } from './entry-module/components/slef-assessment-entry/slef-assessment-entry.component'; | ||
export { ConfigService as ɵc } from './entry-module/services/config.service'; | ||
export { ConfigurationContext as ɵd } from './entry-module/services/configuration-context'; | ||
export { SelfAssessmentCardComponent as ɵe } from './self-assessment/components/self-assessment-card/self-assessment-card.component'; | ||
export { SelfAssessmentComponent as ɵg } from './self-assessment/components/self-assessment/self-assessment.component'; | ||
export { SelfAssessmentService as ɵf } from './self-assessment/service/self-assessment.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImFhc3RyaWthX25wbWpzLWNvbXB0ZW5jeS50cyJdLCJuY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ljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7U2VsZkFzc2Vzc21lbnRDYXJkQ29tcG9uZW50IGFzIMm1ZX0gZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQtY2FyZC9zZWxmLWFzc2Vzc21lbnQtY2FyZC5jb21wb25lbnQnO1xuZXhwb3J0IHtTZWxmQXNzZXNzbWVudENvbXBvbmVudCBhcyDJtWd9IGZyb20gJy4vc2VsZi1hc3Nlc3NtZW50L2NvbXBvbmVudHMvc2VsZi1hc3Nlc3NtZW50L3NlbGYtYXNzZXNzbWVudC5jb21wb25lbnQnO1xuZXhwb3J0IHtTZWxmQXNzZXNzbWVudFNlcnZpY2UgYXMgybVmfSBmcm9tICcuL3NlbGYtYXNzZXNzbWVudC9zZXJ2aWNlL3NlbGYtYXNzZXNzbWVudC5zZXJ2aWNlJzsiXX0= | ||
export { CompetencyAccordionComponent as ɵf } from './competency/components/competency-accordion/competency-accordion.component'; | ||
export { ActiveSummaryService as ɵe } from './competency/services/active-summary.service'; | ||
export { ConfigService as ɵg } from './competency/services/config.service'; | ||
export { ConfigurationContext as ɵh } from './competency/services/configuration-context'; | ||
export { GainedService as ɵd } from './competency/services/gained.service'; | ||
export { ConfigService as ɵa } from './entry-module/services/config.service'; | ||
export { ConfigurationContext as ɵb } from './entry-module/services/configuration-context'; | ||
export { SelfAssessmentService as ɵc } from './self-assessment/service/self-assessment.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImFhc3RyaWthX25wbWpzLWNvbXB0ZW5jeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILG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dTZXJ2aWNlIGFzIMm1Z30gZnJvbSAnLi9jb21wZXRlbmN5L3NlcnZpY2VzL2NvbmZpZy5zZXJ2aWNlJztcbmV4cG9ydCB7Q29uZmlndXJhdGlvbkNvbnRleHQgYXMgybVofSBmcm9tICcuL2NvbXBldGVuY3kvc2VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7R2FpbmVkU2VydmljZSBhcyDJtWR9IGZyb20gJy4vY29tcGV0ZW5jeS9zZXJ2aWNlcy9nYWluZWQuc2VydmljZSc7XG5leHBvcnQge0NvbmZpZ1NlcnZpY2UgYXMgybVhfSBmcm9tICcuL2VudHJ5LW1vZHVsZS9zZXJ2aWNlcy9jb25maWcuc2VydmljZSc7XG5leHBvcnQge0NvbmZpZ3VyYXRpb25Db250ZXh0IGFzIMm1Yn0gZnJvbSAnLi9lbnRyeS1tb2R1bGUvc2VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7U2VsZkFzc2Vzc21lbnRTZXJ2aWNlIGFzIMm1Y30gZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvc2VydmljZS9zZWxmLWFzc2Vzc21lbnQuc2VydmljZSc7Il19 |
@@ -5,8 +5,7 @@ /** | ||
export * from './public-api'; | ||
export { ActiveSummaryComponent as ɵc } from './components/active-summary/active-summary.component'; | ||
export { CompetencyAccordionComponent as ɵd } from './components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyAccordionComponent as ɵc } from './components/competency-accordion/competency-accordion.component'; | ||
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 { ConfigService as ɵd } from './services/config.service'; | ||
export { ConfigurationContext as ɵe } from './services/configuration-context'; | ||
export { GainedService as ɵa } from './services/gained.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJ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QUM7QUFDNUUsT0FBTyxFQUFDLGFBQWEsSUFBSSxFQUFFLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtDb21wZXRlbmN5QWNjb3JkaW9uQ29tcG9uZW50IGFzIMm1Y30gZnJvbSAnLi9jb21wb25lbnRzL2NvbXBldGVuY3ktYWNjb3JkaW9uL2NvbXBldGVuY3ktYWNjb3JkaW9uLmNvbXBvbmVudCc7XG5leHBvcnQge0FjdGl2ZVN1bW1hcnlTZXJ2aWNlIGFzIMm1Yn0gZnJvbSAnLi9zZXJ2aWNlcy9hY3RpdmUtc3VtbWFyeS5zZXJ2aWNlJztcbmV4cG9ydCB7Q29uZmlnU2VydmljZSBhcyDJtWR9IGZyb20gJy4vc2VydmljZXMvY29uZmlnLnNlcnZpY2UnO1xuZXhwb3J0IHtDb25maWd1cmF0aW9uQ29udGV4dCBhcyDJtWV9IGZyb20gJy4vc2VydmljZXMvY29uZmlndXJhdGlvbi1jb250ZXh0JztcbmV4cG9ydCB7R2FpbmVkU2VydmljZSBhcyDJtWF9IGZyb20gJy4vc2VydmljZXMvZ2FpbmVkLnNlcnZpY2UnOyJdfQ== |
@@ -9,3 +9,7 @@ import * as tslib_1 from "tslib"; | ||
import { ActiveSummaryComponent } from './components/active-summary/active-summary.component'; | ||
import { MatTabsModule, MatIconModule, MatExpansionModule, MatProgressBarModule, MatProgressSpinnerModule } from '@angular/material'; | ||
import { MatTabsModule } from '@angular/material/tabs'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { MatExpansionModule } from '@angular/material/expansion'; | ||
import { MatProgressBarModule } from '@angular/material/progress-bar'; | ||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; | ||
import { CoreModule } from '@aastrika_npmjs/comptency/core'; | ||
@@ -64,2 +68,2 @@ import { CompetencyAccordionComponent } from './components/competency-accordion/competency-accordion.component'; | ||
export { CompetencyModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvbXBldGVuY3kvIiwic291cmNlcyI6WyJjb21wZXRlbmN5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBdUIsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFBO0FBQ3ZELE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLHdFQUF3RSxDQUFDO0FBQ3hILE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLG9FQUFvRSxDQUFDO0FBQ2xILE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGtFQUFrRSxDQUFDO0FBQ2hILE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQzlGLE9BQU8sRUFDTCxhQUFhLEVBQ2IsYUFBYSxFQUNiLGtCQUFrQixFQUNsQixvQkFBb0IsRUFDcEIsd0JBQXdCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN0RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDNUQsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sa0VBQWtFLENBQUM7QUFDaEgsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDakY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IdHRwQ2xpZW50TW9kdWxlLFxuICAgIENvcmVNb2R1bGUsXG4gICAgU2VsZkFzc2Vzc21lbnRNb2R1bGUsXG4gICAgVHJhbnNsYXRlTW9kdWxlXG4gIF0sXG4gIGV4cG9ydHM6IFtSZXF1aXJlZENvbXB0ZW5jeUNhcmRDb21wb25lbnQsXG4gICAgR2FpbmVkQ29tcHRlbmN5Q2FyZENvbXBvbmVudCxcbiAgICBDb21wZXRlbmN5RGFzaGJvYXJkQ29tcG9uZW50LFxuICAgIEFjdGl2ZVN1bW1hcnlDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBDb21wZXRlbmN5TW9kdWxlIHtcbiAgLyoqXG4gKiBUYWtlIHRoZSBjb25maWcgZnJvbSBjb25zdW1pbmcgYXBwc1xuICpcbiAqIEBhdXRob3IgQW1hbiBLdW1hciBTaGFybWEgPGFtYW5rdW1hci5zaGFybWFAdGFyZW50by5jb20+XG4gKi9cbiAgc3RhdGljIGZvclJvb3QoY29uZmlnQ29udGV4dDogQ29uZmlndXJhdGlvbkNvbnRleHQpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IENvbXBldGVuY3lNb2R1bGUsXG4gICAgICBwcm92aWRlcnM6IFtDb25maWdTZXJ2aWNlLFxuICAgICAgICB7cHJvdmlkZTogJ2NvbmZpZycsIHVzZVZhbHVlOiBjb25maWdDb250ZXh0LmNvbmZpZ31cbiAgICAgIF1cbiAgICB9XG4gIH1cbiB9XG4iXX0= |
@@ -243,3 +243,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-active-summary', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<!-- <ng-container *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n</ng-container>\n", | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<!-- <ng-container *ngIf=\"roleactivitySummaries.length > 0; else noData \" > -->\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\">{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\">{{'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\">{{'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<!-- </ng-container> -->\n\n\n\n<ng-container *ngIf=\"showNodata\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n</ng-container>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -252,2 +252,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}.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}"] | ||
export { ActiveSummaryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZlLXN1bW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsaUJBQWlCLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFB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mVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHR5cGUgPSAnJ1xuICAgICAgICAgICAgICAgICAgICBfLmZvckVhY2gocmVzLnJlc3VsdC5jb250ZW50TGlzdCwgKGl0ZW06YW55KT0+e1xuICAgICAgICAgICAgICAgICAgICAgIGlmKGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwICl7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGVcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gIF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iAgICAgICAgdGhpcy5jb21wZXRlbmN5UHJvZ3Jlc3MgPSByZXNcbiAgICAgIH1cbiAgICApXG4gIH1cblxuICBnZXRBc3Nlc3NtZW50QnRuVHlwZShkYXRhKXtcbiAgICBfLmZvckVhY2goIGRhdGEsICh2YWx1ZTogYW55KSA9PiB7XG4gICAgICAgICAgICB0aGlzLmdldEFzc2Vzc21lbnRQcm9ncmVzcyh2YWx1ZSkuc3Vic2NyaWJlKChyZXMpID0+IHtcbiAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQpIHtcbiAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwICYmIHZhbHVlLmNoaWxkQ29udGVudCA9PT0gcmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHR5cGUgPSAnJ1xuICAgICAgICAgICAgICAgICAgICBfLmZvckVhY2gocmVzLnJlc3VsdC5jb250ZW50TGlzdCwgKGl0ZW06YW55KT0+e1xuICAgICAgICAgICAgICAgICAgICAgIGlmKGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwICl7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGVcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gIFxuICAgICAgICAgICAgICBpZihyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PSAwICkge1xuICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgIHR5cGU6ICdTVEFSVCdcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KVxuICAgICAgICAgIH0pXG4gIH1cbiAgZ2V0QXNzZXNzbWVudFByb2dyZXNzKGRhdGEpIHtcbiAgICBjb25zdCByZXFib2R5ID0ge1xuICAgICAgcmVxdWVzdDoge1xuICAgICAgICB1c2VySWQ6IHRoaXMuY29uZmlnU2VydmljZS5nZXRDb25maWcoKS5pZCxcbiAgICAgICAgYmF0Y2hJZDogZGF0YS5iYXRjaElkLFxuICAgICAgICBjb3Vyc2VJZDogZGF0YS5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WU6IGFueSkgPT4ge1xuICAgICAgcGVyY2VudGFnZS5wdXNoKHZhbHVlLmNvbXBsZXRpb25QZXJjZW50YWdlKVxuICAgIH0pXG4gICAgdG90YWxQZXJjZW50ID0gXy5yb3VuZChfLnN1bShwZXJjZW50YWdlKSAvIHRvdGFsTGVuZ3RoKVxuICAgIHJldHVybiB0b3RhbFBlcmNlbnRcbiAgfVxuXG4gIGdldENvbXBldGVuY3lDb3Vyc2UoKSB7XG4gICAgbGV0IGFzc2Vzc0RhdGE7XG4gICAgYXNzZXNzRGF0YSA9IHRoaXMuYWN0aXZlU3VtbWFyeVNlcnZpY2UuZ2V0Q29tcGV0ZW5jeUNvdXJzZUlkZW50aWZpZXIodGhpcy5sYW5ndWFnZSlcbiAgICByZXR1cm4gYXNzZXNzRGF0YTtcbiAgfVxuICBcbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgaWYgKHRoaXMudW5zdWJzY3JpYmUpIHtcbiAgICAgIHRoaXMudW5zdWJzY3JpYmUudW5zdWJzY3JpYmUoKVxuICAgIH1cblxuICB9XG59XG4iXX0= |
@@ -49,3 +49,3 @@ import * as tslib_1 from "tslib"; | ||
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>", | ||
template: "<div class=\"competency-badge\">{{'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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" (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\">{{'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}"] | ||
@@ -57,2 +57,2 @@ }) | ||
export { CompetencyAccordionComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1hY2NvcmRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3Ry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nNvbGUubG9nKFwicXVlcnkgZGF0YSBcIiwgZGF0YSlcbiAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZShbYGFwcC91c2VyL3NlbGYtYXNzZXNzbWVudGBdLCB7IHF1ZXJ5UGFyYW1zOiBkYXRhIH0pIFxuICB9XG59XG4iXX0= |
@@ -61,3 +61,3 @@ import * as tslib_1 from "tslib"; | ||
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 <!-- 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>", | ||
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\">{{'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 label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\">{{'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 label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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 label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\">{{'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 label=\"{{'PASSBOOK' | translate}}\"> -->\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\">{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\">{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\">{{'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, | ||
@@ -70,2 +70,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1kYXNoYm9hcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9jb21wZXRlbmN5LWRhc2hib2FyZC9jb21wZXRlbmN5LWRhc2hib2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBUTdFO0lBUUUsc0NBQXFCLE1BQWMsRUFDMUIsYUFBNEIsRUFDNUIsb0JBQTBDO1F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uICAgIHJldHVybiB0aGlzLmFjdGl2ZVN1bW1hcnlTZXJ2aWNlLmdldFVzZXJkZXRhaWxzRnJvbVJlZ2lzdHJ5KHJlcUJvZHkpXG4gIH1cbiAgbmF2aWdhdGVCYWNrKCkge1xuICAgIGlmKHRoaXMuaXNQYXNzYm9rICE9PSAnZmFsc2UnKXtcbiAgICAgIHRoaXMucm91dGVyLm5hdmlnYXRlKFtgL3Byb2ZpbGUtZGFzaGJvYXJkYF0pXG4gICAgfWVsc2V7XG4gICAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZShbYC9wYWdlL2hvbWVgXSlcbiAgICB9XG4gIH1cbiAgY2hhbmdlVGFiKGV2ZW50OmFueSl7XG4gICAgdGhpcy50YWJJbmRleCA9IGV2ZW50LmluZGV4O1xuICB9XG4gIHN0YXJ0U2VsZkFzc2Vzc21lbnQoKSB7XG4gICAgdGhpcy5zdGF0ZUNoYW5nZS5lbWl0KHsnbmF2aWdhdGlvbic6dHJ1ZX0pXG4gIH1cblxufVxuIl19 |
@@ -102,3 +102,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 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>", | ||
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\">{{'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\">{{'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\">{{'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, | ||
@@ -111,2 +111,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkL2dhaW5lZC1jb21wdGVuY3ktY2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyx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QgcmVxQm9keSA9IHtcbiAgICAgIFwic2VhcmNoXCI6IHtcbiAgICAgICAgXCJ0eXBlXCI6IFwiQ29tcGV0ZW5jeVwiXG4gICAgICB9XG4gICAgfTtcbiAgICByZXR1cm4gdGhpcy5nYWluZWRTZXJ2aWNlLmZldGNoQWxsRW50aXR5KHJlcUJvZHkpXG4gIH1cblxuICBzZWxlY3RMZXZlbChzZWxlY3RlZFByb2ZpY2llbmN5SW5kZXgsIHNlbGVjdGVkRGlzcGxheUxldmVsKSB7XG4gICAgaWYgKChzZWxlY3RlZFByb2ZpY2llbmN5SW5kZXggPT09IHRoaXMuc2VsZWN0ZWRQcm9maWNpZW5jeUluZGV4KSAmJiAoc2VsZWN0ZWREaXNwbGF5TGV2ZWwgPT09IC0xIHx8XG4gICAgICBzZWxlY3RlZERpc3BsYXlMZXZlbCA9PT0gdGhpcy5zZWxlY3RlZERpc3BsYXlMZXZlbCkpIHtcbiAgICAgIHRoaXMuc2VsZWN0ZWRQcm9maWNpZW5jeUluZGV4ID0gLTFcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5zZWxlY3RlZFByb2ZpY2llbmN5SW5kZXggPSBzZWxlY3RlZFByb2ZpY2llbmN5SW5kZXhcbiAgICB9XG4gICAgdGhpcy5zZWxlY3RlZERpc3BsYXlMZXZlbCA9IHNlbGVjdGVkRGlzcGxheUxldmVsXG4gIH1cbn1cbiJdfQ== |
@@ -6,2 +6,3 @@ export * from './components/required-comptency-card/required-comptency-card.component'; | ||
export * from './services/request-util'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3RUFBd0UsQ0FBQTtBQUN0RixjQUFjLG9FQUFvRSxDQUFBO0FBQ2xGLGNBQWMsa0VBQWtFLENBQUE7QUFDaEYsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL3JlcXVpcmVkLWNvbXB0ZW5jeS1jYXJkL3JlcXVpcmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cy9nYWluZWQtY29tcHRlbmN5LWNhcmQvZ2FpbmVkLWNvbXB0ZW5jeS1jYXJkLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cy9jb21wZXRlbmN5LWRhc2hib2FyZC9jb21wZXRlbmN5LWRhc2hib2FyZC5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2NvbXBldGVuY3kubW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9yZXF1ZXN0LXV0aWwnIl19 | ||
export * from './components/active-summary/active-summary.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx3RUFBd0UsQ0FBQTtBQUN0RixjQUFjLG9FQUFvRSxDQUFBO0FBQ2xGLGNBQWMsa0VBQWtFLENBQUE7QUFDaEYsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBO0FBQ3ZDLGNBQWMsc0RBQXNELENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvcmVxdWlyZWQtY29tcHRlbmN5LWNhcmQvcmVxdWlyZWQtY29tcHRlbmN5LWNhcmQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL2dhaW5lZC1jb21wdGVuY3ktY2FyZC9nYWluZWQtY29tcHRlbmN5LWNhcmQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL2NvbXBldGVuY3ktZGFzaGJvYXJkL2NvbXBldGVuY3ktZGFzaGJvYXJkLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcGV0ZW5jeS5tb2R1bGUnXG5leHBvcnQgKiBmcm9tICcuL3NlcnZpY2VzL3JlcXVlc3QtdXRpbCdcbmV4cG9ydCAqIGZyb20gJy4vY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQnIl19 |
@@ -5,4 +5,2 @@ /** | ||
export * from './public-api'; | ||
export { NoResultComponent as ɵa } from './components/no-result/no-result.component'; | ||
export { RemoveDuplicatesPipe as ɵb } from './pipe/remove-duplicates.pipe'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvcmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvcmUvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3ktY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSw0Q0FBNEMsQ0FBQztBQUNuRixPQUFPLEVBQUMsb0JBQW9CLElBQUksRUFBRSxFQUFDLE1BQU0sK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7Tm9SZXN1bHRDb21wb25lbnQgYXMgybVhfSBmcm9tICcuL2NvbXBvbmVudHMvbm8tcmVzdWx0L25vLXJlc3VsdC5jb21wb25lbnQnO1xuZXhwb3J0IHtSZW1vdmVEdXBsaWNhdGVzUGlwZSBhcyDJtWJ9IGZyb20gJy4vcGlwZS9yZW1vdmUtZHVwbGljYXRlcy5waXBlJzsiXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWFzdHJpa2FfbnBtanMtY29tcHRlbmN5LWNvcmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5L2NvcmUvIiwic291cmNlcyI6WyJhYXN0cmlrYV9ucG1qcy1jb21wdGVuY3ktY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19 |
@@ -5,2 +5,4 @@ export * from './config/url.config'; | ||
export * from './core.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBO0FBQ3ZDLGNBQWMsOENBQThDLENBQUE7QUFDNUQsY0FBYyxlQUFlLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbmZpZy91cmwuY29uZmlnJ1xuZXhwb3J0ICogZnJvbSAnLi9zZXJ2aWNlcy9kYXRhLnNlcnZpY2UnXG5leHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvYXBwLWxvYWRlci9hcHAtbG9hZGVyLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vY29yZS5tb2R1bGUnIl19 | ||
export * from './components/no-result/no-result.component'; | ||
export * from './pipe/remove-duplicates.pipe'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbInB1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHlCQUF5QixDQUFBO0FBQ3ZDLGNBQWMsOENBQThDLENBQUE7QUFDNUQsY0FBYyxlQUFlLENBQUE7QUFDN0IsY0FBYyw0Q0FBNEMsQ0FBQTtBQUMxRCxjQUFjLCtCQUErQixDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb25maWcvdXJsLmNvbmZpZydcbmV4cG9ydCAqIGZyb20gJy4vc2VydmljZXMvZGF0YS5zZXJ2aWNlJ1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL2FwcC1sb2FkZXIvYXBwLWxvYWRlci5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2NvcmUubW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzL25vLXJlc3VsdC9uby1yZXN1bHQuY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9waXBlL3JlbW92ZS1kdXBsaWNhdGVzLnBpcGUnIl19 |
@@ -18,3 +18,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-competency-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -26,2 +26,2 @@ }) | ||
export { CompetencyEntryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1lbnRyeS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5LyIsInNvdXJjZXMiOlsiZW50cnktbW9kdWxlL2NvbXBvbmVudHMvY29tcGV0ZW5jeS1lbnRyeS9jb21wZXRlbmN5LWVudHJ5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBT3hF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ZWxlY3RvcjogJ2xpYi1jb21wZXRlbmN5LWVudHJ5JyxcbiAgdGVtcGxhdGVVcmw6ICcuL2NvbXBldGVuY3ktZW50cnkuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9jb21wZXRlbmN5LWVudHJ5LmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgQ29tcGV0ZW5jeUVudHJ5Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQE91dHB1dCgpIHN0YXRlQ2hhbmdlOiBFdmVudEVtaXR0ZXI8YW55PiA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbiAgbmF2aWdhdGVUbygpe1xuICAgIHRoaXMuc3RhdGVDaGFuZ2UuZW1pdCh7J25hdmlnYXRpb24nOnRydWV9KVxuICB9XG5cbn1cbiJdfQ== |
@@ -23,3 +23,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-slef-assessment-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -31,2 +31,2 @@ }) | ||
export { SlefAssessmentEntryCompon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ydCBjbGFzcyBTbGVmQXNzZXNzbWVudEVudHJ5Q29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQE91dHB1dCgpIHN0YXRlQ2hhbmdlOiBFdmVudEVtaXR0ZXI8YW55PiA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgY29uc3RydWN0b3IocHVibGljIHJvdXRlcjpSb3V0ZXIpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbiAgbmF2aWdhdGVUbygpe1xuICAgIHRoaXMuc3RhdGVDaGFuZ2UuZW1pdCh7J25hdmlnYXRpb24nOnRydWV9KVxuICB9XG5cbn1cbiJdfQ== |
@@ -6,3 +6,3 @@ import * as tslib_1 from "tslib"; | ||
import { CompetencyEntryComponent } from './components/competency-entry/competency-entry.component'; | ||
import { MatIconModule } from '@angular/material'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { RouterModule } from '@angular/router'; | ||
@@ -48,2 +48,2 @@ import { ConfigService } from './services/config.service'; | ||
export { EntryModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktbW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbImVudHJ5LW1vZHVsZS9lbnRyeS1tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQXNCLE1BQU0sZUFBZSxDQUFDO0FBQzdELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxvRUFBb0UsQ0FBQztBQUNsSCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwwREFBMEQsQ0FBQztBQUNwRyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sbUJ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BhdXRob3IgQW1hbiBLdW1hciBTaGFybWEgPGFtYW5rdW1hci5zaGFybWFAdGFyZW50by5jb20+XG4gKi9cbiAgc3RhdGljIGZvclJvb3QoY29uZmlnQ29udGV4dDogQ29uZmlndXJhdGlvbkNvbnRleHQpOiBNb2R1bGVXaXRoUHJvdmlkZXJzIHtcbiAgICByZXR1cm4ge1xuICAgICAgbmdNb2R1bGU6IEVudHJ5TW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbQ29uZmlnU2VydmljZSxcbiAgICAgICAge3Byb3ZpZGU6ICdjb25maWcnLCB1c2VWYWx1ZTogY29uZmlnQ29udGV4dC5jb25maWd9XG4gICAgICBdXG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -7,2 +7,11 @@ /* | ||
export * from './competency/competency.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBZSw2QkFBNkIsQ0FBQTtBQUM1QyxjQUFjLDBDQUEwQyxDQUFBO0FBQ3hELGNBQWMsZ0NBQWdDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGNvbXBldGVuY3ktdWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICAnLi9lbnRyeS1tb2R1bGUvZW50cnktbW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50Lm1vZHVsZSdcbmV4cG9ydCAqIGZyb20gJy4vY29tcGV0ZW5jeS9jb21wZXRlbmN5Lm1vZHVsZSciXX0= | ||
export * from './self-assessment/components/self-assessment-card/self-assessment-card.component'; | ||
export * from './self-assessment/components/self-assessment/self-assessment.component'; | ||
export * from './competency/components/required-comptency-card/required-comptency-card.component'; | ||
export * from './competency/components/active-summary/active-summary.component'; | ||
export * from './competency/components/gained-comptency-card/gained-comptency-card.component'; | ||
export * from './competency/components/competency-dashboard/competency-dashboard.component'; | ||
export * from './competency/components/active-summary/active-summary.component'; | ||
export * from './entry-module/components/competency-entry/competency-entry.component'; | ||
export * from './entry-module/components/slef-assessment-entry/slef-assessment-entry.component'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBZSw2QkFBNkIsQ0FBQTtBQUM1QyxjQUFjLDBDQUEwQyxDQUFBO0FBQ3hELGNBQWMsZ0NBQWdDLENBQUE7QUFDOUMsY0FBYyxrRkFBa0YsQ0FBQTtBQUNoRyxjQUFjLHdFQUF3RSxDQUFBO0FBQ3RGLGNBQWMsbUZBQW1GLENBQUE7QUFDakcsY0FBYyxpRUFBaUUsQ0FBQTtBQUMvRSxjQUFjLCtFQUErRSxDQUFBO0FBQzdGLGNBQWMsNkVBQTZFLENBQUE7QUFDM0YsY0FBYyxpRUFBaUUsQ0FBQTtBQUMvRSxjQUFjLHVFQUF1RSxDQUFBO0FBQ3JGLGNBQWMsaUZBQWlGLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGNvbXBldGVuY3ktdWlcbiAqL1xuXG5leHBvcnQgKiBmcm9tICAnLi9lbnRyeS1tb2R1bGUvZW50cnktbW9kdWxlJ1xuZXhwb3J0ICogZnJvbSAnLi9zZWxmLWFzc2Vzc21lbnQvc2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hwb3J0ICogZnJvbSAnLi9lbnRyeS1tb2R1bGUvY29tcG9uZW50cy9zbGVmLWFzc2Vzc21lbnQtZW50cnkvc2xlZi1hc3Nlc3NtZW50LWVudHJ5LmNvbXBvbmVudCciXX0= |
@@ -80,3 +80,3 @@ import * as tslib_1 from "tslib"; | ||
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", | ||
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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container>\n </ng-container>\n\n <button class=\"btn-long\" (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}"] | ||
@@ -88,2 +88,2 @@ }) | ||
export { SelfAssessmentCardComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS8iLCJzb3VyY2VzIjpbInNlbGYtYXNzZXNzbWVudC9jb21wb25lbnRzL3NlbGYtYXNzZXNzbWVudC1jYXJkL3NlbGYtYXNzZXNzbWVudC1jYXJkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBTTlFO0lBTUUscUNBQ1UsTUFBYyxFQUNkLHFCQUE0QztRQUQ1QyxXQUFNLEdBQU4sTUFBTSxDQUFRO1FBQ2QsMEJBQXFCLEdBQXJCLHFCQUFxQixDQUF1QjtJQUNsRCxDQUFDO0lBRUwsOENBQVEsR0FBUjtJQUNBLENBQUM7SUFDRCx3REFBa0IsR0FBbEIsVUFBbUIsSUFBUztRQUMxQixPQUFPLENBQUMsR0FBRyxDQUFDLGFBQWEsRUFBRSxJQUFJLENBQUMsQ0FBQTtRQUNoQyxJQUFJLENBQUMsTUFBTSxDQUFDLFFBQVEsQ0FBQyxDQUFDLDBCQUEwQixDQUFDLEVBQUUsRUFBRSxXQUFXLEVBQUU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NlYXJjaFwiOiBbXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS0xYCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTJgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tM2AsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS00YCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTVgXG4gICAgICAvLyAgICAgICBdLFxuICAgICAgLy8gICAgICAgICBcInByaW1hcnlDYXRlZ29yeVwiOiBbXG4gICAgICAvLyAgICAgICAgICAgXCJDb3Vyc2VcIlxuICAgICAgLy8gICAgICAgICBdLFxuICAgICAgLy8gICAgICAgICAgIFwiY29udGVudFR5cGVcIjogW1xuICAgICAgLy8gICAgICAgICAgICAgXCJDb3Vyc2VcIlxuICAgICAgLy8gICAgICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgICAgICBcInN0YXR1c1wiOiBbXG4gICAgICAvLyAgICAgICAgICAgICAgIFwiTGl2ZVwiXG4gICAgICAvLyAgICAgICAgICAgICBdXG4gICAgICAvLyAgICAgfSxcbiAgICAgIC8vICAgICBcInNvcnRfYnlcIjoge1xuICAgICAgLy8gICAgICAgXCJsYXN0VXBkYXRlZE9uXCI6IFwiZGVzY1wiXG4gICAgICAvLyAgICAgfVxuICAgICAgLy8gICB9LFxuICAgICAgLy8gICBcInNvcnRcIjogW1xuICAgICAgLy8gICAgIHtcbiAgICAgIC8vICAgICAgIFwibGFzdFVwZGF0ZWRPblwiOiBcImRlc2NcIlxuICAgICAgLy8gICAgIH1cbiAgICAgIC8vICAgXVxuICAgICAgLy8gfVxuXG4gICAgICAvLyB0aGlzLnNlbGZBc3Nlc3NtZW50U2VydmljZS5nZXRDb21wZXRlbmN5Q291cnNlSWRlbnRpZmllcihyZXFCb2R5KS5zdWJzY3JpYm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biAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTJgLFxuICAgICAgLy8gICAgICAgICBgJHtkYXRhLmNvbXBldGVuY3lJRH0tM2AsXG4gICAgICAvLyAgICAgICAgIGAke2RhdGEuY29tcGV0ZW5jeUlEfS00YCxcbiAgICAgIC8vICAgICAgICAgYCR7ZGF0YS5jb21wZXRlbmN5SUR9LTVgXG4gICAgICAvLyAgICAgICBdLFxuICAgICAgLy8gICAgICAgICBcInByaW1hcnlDYXRlZ29yeVwiOiBbXG4gICAgICAvLyAgICAgICAgICAgXCJDb3Vyc2VcIlxuICAgICAgLy8gICAgICAgICBdLFxuICAgICAgLy8gICAgICAgICAgIFwiY29udGVudFR5cGVcIjogW1xuICAgICAgLy8gICAgICAgICAgICAgXCJDb3Vyc2VcIlxuICAgICAgLy8gICAgICAgICAgIF0sXG4gICAgICAvLyAgICAgICAgICAgICBcInN0YXR1c1wiOiBbXG4gICAgICAvLyAgICAgICAgICAgICAgIFwiTGl2ZVwiXG4gICAgICAvLyAgICAgICAgICAgICBdXG4gICAgICAvLyAgICAgfSxcbiAgICAgIC8vICAgICBcInNvcnRfYnlcIjoge1xuICAgICAgLy8gICAgICAgXCJsYXN0VXBkYXRlZE9uXCI6IFwiZGVzY1wiXG4gICAgICAvLyAgICAgfVxuICAgICAgLy8gICB9LFxuICAgICAgLy8gICBcInNvcnRcIjogW1xuICAgICAgLy8gICAgIHtcbiAgICAgIC8vICAgICAgIFwibGFzdFVwZGF0ZWRPblwiOiBcImRlc2NcIlxuICAgICAgLy8gICAgIH1cbiAgICAgIC8vICAgXVxuICAgICAgLy8gfVxuXG4gICAgICAvLyB0aGlzLnNlbGZBc3Nlc3NtZW50U2VydmljZS5nZXRDb21wZXRlbmN5Q291cnNlSWRlbnRpZmllcihyZXFCb2R5KS5zdWJzY3JpYmUoXG4gICAgICAvLyAgIHJlcyA9PiB7XG5cbiAgICAgICAgICBcbiAgICAgIC8vICAgfVxuICAgICAgLy8gKVxuICAgIH1cbiAgfVxufVxuIl19 |
@@ -50,3 +50,8 @@ import * as tslib_1 from "tslib"; | ||
return _this.getUserDetails().pipe(mergeMap(function (res) { | ||
_this.language = !_this.language ? res.profileDetails.preferences.language || 'en' : _this.language; | ||
if (res.profileDetails.preferences.language !== _this.language) { | ||
_this.language = res.profileDetails.preferences.language; | ||
} | ||
else { | ||
_this.language = !_this.language ? 'en' : _this.language; | ||
} | ||
if (_this.language) { | ||
@@ -164,2 +169,2 @@ return _this.getCompetencyCourse(); | ||
export { SelfAssessmentComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzFDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNqRSxPQUFPLEVBQUUsR0FBRyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQy9DLE9BQU8sS0FBSyxDQUFDLE1BQU0sV0FBVyxDQUFDO0FBQy9CLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2RSxPQUFPLEtBQUssa0JBQWt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ICAgICAgICAgICByZXR1cm4gZm9ya0pvaW4oXG4gICAgICAgICAgICAgICAgICBfLm1hcCh0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSwgKHZhbHVlOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZ2V0UHJvZ3Jlc3ModmFsdWUpLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgbWFwKChyZXMpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwICYmIHZhbHVlLmNoaWxkQ29udGVudCA9PT0gcmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJyc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBfLmZvckVhY2gocmVzLnJlc3VsdC5jb250ZW50TGlzdCwgKGl0ZW06IGFueSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAoaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSA9PT0gMTAwICYmIGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgIT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnUkVTVU1FJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6IHR5cGUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICBcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgdGhpcy5sb2FkaW5nID0gZmFsc2U7XG4gICAgICAg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dlID8gJ2VuJyA6IHRoaXMubGFuZ3VhZ2U7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgaWYgKHRoaXMubGFuZ3VhZ2UpIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gdGhpcy5nZXRDb21wZXRlbmN5Q291cnNlKCk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgcmV0dXJuIG9mKG51bGwpO1xuICAgICAgICAgICAgfSksXG4gICAgICAgICAgICBtZXJnZU1hcCgocmVzOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgY29uc3QgYXNzZXNzRGF0YSA9IHRoaXMucmVxdWVzdFV0aWwuZm9ybWF0ZWRDb21wZXRlbmN5Q291cnNlRGF0YShyZXMpO1xuICAgICAgICAgICAgICB0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSA9IHRoaXMuZ2V0Q29tcGV0ZW5jeUZpbHRlcihhc3Nlc3NEYXRhKTtcblxuICAgICAgICAgICAgICBpZih0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YS5sZW5ndGggPiAwICl7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGZvcmtKb2luKFxuICAgICAgICAgICAgICAgICAgXy5tYXAodGhpcy5zZWxmQXNzZXNzbWVudERhdGEsICh2YWx1ZTogYW55KSA9PlxuICAgICAgICAgICAgICAgICAgICB0aGlzLmdldFByb2dyZXNzKHZhbHVlKS5waXBlKFxuICAgICAgICAgICAgICAgICAgICAgIG1hcCgocmVzKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCAmJiB2YWx1ZS5jaGlsZENvbnRlbnQgPT09IHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsZXQgdHlwZSA9ICcnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKGl0ZW0uY29tcGxldGlvblBlcmNlbnRhZ2UgPT09IDEwMCAmJiBpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlICE9PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdET05FJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiB0eXBlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRScsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgXG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPT09IDApIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1NUQVJUJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgIH1lbHNle1xuICAgICAgICAgICAgICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIHJldHVybiBvZihudWxsKVxuICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgXG4gICAgICAgICAgICB9KVxuICAgICAgICAgICk7XG4gICAgICAgIH0pXG4gICAgICApXG4gICAgICAuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgdGhpcy5sb2FkaW5nID0gZmFsc2U7XG4gICAgICAgIGNvbnNvbGUubG9nKCdzZWxmJywgdGhpcy5zZWxmQXNzZXNzbWVudERhdGEpO1xuICAgICAgfSk7XG4gIH1cblxuXG5cbiAgZ2V0Q29tcGV0ZW5jeUZpbHRlcihkYXRhKSB7XG4gICAgbGV0IHJlc3VsdCA9IFtdXG4gICAgXy5mb3JFYWNoKHRoaXMucm9sZUNvbXBldGVuY3lEYXRhLCAodmFsdWUpID0+IHtcbiAgICAgIC8vIGNvbnNvbGUubG9nKFwiZGF0YVwiLCB2YWx1ZSlcbiAgICA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9jYXRpb24uYmFjaygpXG4gIH1cblxufVxuIl19 |
@@ -6,3 +6,3 @@ import * as tslib_1 from "tslib"; | ||
import { SelfAssessmentComponent } from './components/self-assessment/self-assessment.component'; | ||
import { MatIconModule } from '@angular/material'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { HttpClientModule } from '@angular/common/http'; | ||
@@ -30,2 +30,2 @@ import { CoreModule } from '@aastrika_npmjs/comptency/core'; | ||
export { SelfAssessmentModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRyxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sa0VBQWtFLENBQUM7QUFDL0csT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sd0RBQXdELENBQUM7QUFDakcsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUM1RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFjdEQ7SUFBQTtJQUFvQyxDQUFDO0lBQXhCLG9CQUFvQjtRQVhoQyxRQUFRLENBQUM7WUFDUixZQU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wQ2xpZW50TW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uL2h0dHAnO1xuaW1wb3J0IHsgQ29yZU1vZHVsZSB9IGZyb20gJ0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZSc7XG5pbXBvcnQgeyBUcmFuc2xhdGVNb2R1bGUgfSBmcm9tICdAbmd4LXRyYW5zbGF0ZS9jb3JlJztcblxuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtTZWxmQXNzZXNzbWVudENhcmRDb21wb25lbnQsIFNlbGZBc3Nlc3NtZW50Q29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBNYXRJY29uTW9kdWxlLFxuICAgIEh0dHBDbGllbnRNb2R1bGUsXG4gICAgQ29yZU1vZHVsZSxcbiAgICBUcmFuc2xhdGVNb2R1bGVcbiAgXSxcbiAgZXhwb3J0czpbU2VsZkFzc2Vzc21lbnRDYXJkQ29tcG9uZW50LCBTZWxmQXNzZXNzbWVudENvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgU2VsZkFzc2Vzc21lbnRNb2R1bGUgeyB9XG4iXX0= |
@@ -249,3 +249,3 @@ import { __decorate } from 'tslib'; | ||
export { AppLoaderComponent, CoreModule, DataService, urlConfig, ɵ0, ɵ1, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, NoResultComponent as ɵa, RemoveDuplicatesPipe as ɵb }; | ||
export { AppLoaderComponent, CoreModule, DataService, NoResultComponent, RemoveDuplicatesPipe, urlConfig, ɵ0, ɵ1, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9 }; | ||
//# sourceMappingURL=aastrika_npmjs-comptency-core.js.map |
@@ -7,3 +7,3 @@ import { __decorate, __param } from 'tslib'; | ||
import { CommonModule } from '@angular/common'; | ||
import { MatIconModule } from '@angular/material'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { TranslateModule } from '@ngx-translate/core'; | ||
@@ -31,3 +31,3 @@ | ||
selector: 'lib-slef-assessment-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -53,3 +53,3 @@ }) | ||
selector: 'lib-competency-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -56,0 +56,0 @@ }) |
@@ -262,3 +262,3 @@ import { __assign, __decorate } from 'tslib'; | ||
export { AppLoaderComponent, CoreModule, DataService, urlConfig, ɵ0, ɵ1, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, NoResultComponent as ɵa, RemoveDuplicatesPipe as ɵb }; | ||
export { AppLoaderComponent, CoreModule, DataService, NoResultComponent, RemoveDuplicatesPipe, urlConfig, ɵ0, ɵ1, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15, ɵ16, ɵ17, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9 }; | ||
//# sourceMappingURL=aastrika_npmjs-comptency-core.js.map |
@@ -7,3 +7,3 @@ import { __decorate, __param } from 'tslib'; | ||
import { CommonModule } from '@angular/common'; | ||
import { MatIconModule } from '@angular/material'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
import { TranslateModule } from '@ngx-translate/core'; | ||
@@ -30,3 +30,3 @@ | ||
selector: 'lib-slef-assessment-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -53,3 +53,3 @@ }) | ||
selector: 'lib-competency-entry', | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n", | ||
template: "<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\"> {{'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}"] | ||
@@ -56,0 +56,0 @@ }) |
{ | ||
"name": "@aastrika_npmjs/comptency", | ||
"version": "0.0.57", | ||
"version": "0.0.58", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^8.2.14", |
export * from './entry-module/entry-module'; | ||
export * from './self-assessment/self-assessment.module'; | ||
export * from './competency/competency.module'; | ||
export * from './self-assessment/components/self-assessment-card/self-assessment-card.component'; | ||
export * from './self-assessment/components/self-assessment/self-assessment.component'; | ||
export * from './competency/components/required-comptency-card/required-comptency-card.component'; | ||
export * from './competency/components/active-summary/active-summary.component'; | ||
export * from './competency/components/gained-comptency-card/gained-comptency-card.component'; | ||
export * from './competency/components/competency-dashboard/competency-dashboard.component'; | ||
export * from './competency/components/active-summary/active-summary.component'; | ||
export * from './entry-module/components/competency-entry/competency-entry.component'; | ||
export * from './entry-module/components/slef-assessment-entry/slef-assessment-entry.component'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"SelfAssessmentCardComponent":{"__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":"SelfAssessmentService"}]}],"ngOnInit":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}]}},"SelfAssessmentComponent":{"__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\" [languagePreferred]=\"language\"></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":31,"character":22},{"__symbolic":"reference","name":"SelfAssessmentService"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":33,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"SelfAssessmentService":{"__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":{}}},"SelfAssessmentModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SelfAssessmentCardComponent"},{"__symbolic":"reference","name":"SelfAssessmentComponent"}],"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":"SelfAssessmentCardComponent"},{"__symbolic":"reference","name":"SelfAssessmentComponent"}]}]}],"members":{}}},"origins":{"SelfAssessmentCardComponent":"./components/self-assessment-card/self-assessment-card.component","SelfAssessmentComponent":"./components/self-assessment/self-assessment.component","SelfAssessmentService":"./service/self-assessment.service","SelfAssessmentModule":"./self-assessment.module"},"importAs":"@aastrika_npmjs/comptency/self-assessment"} | ||
{"__symbolic":"module","version":4,"metadata":{"SelfAssessmentCardComponent":{"__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 {{'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 {{'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 {{'DONE' | translate}}\n </button>\n </ng-container>\n </ng-container>\n\n <button class=\"btn-long\" (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":"SelfAssessmentService"}]}],"ngOnInit":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}]}},"SelfAssessmentComponent":{"__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\" [languagePreferred]=\"language\"></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":31,"character":22},{"__symbolic":"reference","name":"SelfAssessmentService"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":33,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"SelfAssessmentService":{"__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":{}}},"SelfAssessmentModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SelfAssessmentCardComponent"},{"__symbolic":"reference","name":"SelfAssessmentComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material/icon","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":"SelfAssessmentCardComponent"},{"__symbolic":"reference","name":"SelfAssessmentComponent"}]}]}],"members":{}}},"origins":{"SelfAssessmentCardComponent":"./components/self-assessment-card/self-assessment-card.component","SelfAssessmentComponent":"./components/self-assessment/self-assessment.component","SelfAssessmentService":"./service/self-assessment.service","SelfAssessmentModule":"./self-assessment.module"},"importAs":"@aastrika_npmjs/comptency/self-assessment"} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
28397828
292807