@aastrika_npmjs/comptency
Advanced tools
Comparing version 0.0.54 to 0.0.55
@@ -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\"></lib-no-result>\n </ng-container>\n </ng-template>\n</div>\n","styles":[""]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"Location","line":30,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lib-required-comptency-card","template":"<lib-self-assessment [language]=\"seletectedLang\" [position]=\"position\"></lib-self-assessment>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lib-gained-comptency-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\n <ng-container *ngFor=\"let proficency of gainedproficencyData; let i = index\">\n <div class=\"card-container example-container container-balanced\">\n <ng-container *ngIf=\"proficency?.title\">\n <div class=\"title\">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class=\"levelsTitle\" i18n>{{'LEVELS' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)=\"$event.stopPropagation()\" class=\"level mb-1\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class=\"log-header\" i18n>{{'LOG' | translate}}</span>\n <ng-container *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full gap-1\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n <!-- <hr> -->\n </ng-container>\n</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":30,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getAllUserPassbook":[{"__symbolic":"method"}],"getAllEntity":[{"__symbolic":"method"}],"selectLevel":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":15,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":21,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":21,"character":53}]}],"fetchUserPassbook":[{"__symbolic":"method"}],"fetchAllEntity":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵk":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":14,"character":42},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":16,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":16,"character":53}]}],"getActivityById":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}],"getRolesMapping":[{"__symbolic":"method"}],"getRolesWiseCompetency":[{"__symbolic":"method"}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-competency-dashboard","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":9,"character":17},"member":"None"},"template":"<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\">chevron_left</mat-icon>\n\n <h1 *ngIf=\"isPassbok == 'false'\" class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <ng-container *ngIf=\"isPassbok == 'false'; else onlyPassbok\">\n <mat-tab-group [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\" class=\"remove-border-bottom\"\n animationDuration=\"0ms\" [selectedIndex]=\"tabIndex\" (selectedTabChange)=\"changeTab($event)\">\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" [desigination]=\"role\"\n *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card [language]=\"language\" *ngIf=\"tabIndex === 1\"></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card [language]=\"language\" [role]=\"role\"\n *ngIf=\"tabIndex === 2\"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n <!-- <mat-tab-group class=\"remove-border-bottom\"\n animationDuration=\"0ms\"> -->\n <!-- gained as Passbook -->\n <!-- <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\"> -->\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card [language]=\"language\"></lib-gained-comptency-card>\n <!-- </mat-tab> -->\n\n \n <!-- </mat-tab-group> -->\n </ng-template>\n\n </div>\n</div>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":19,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":20,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"lib-active-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let role of roleactivitySummaries\">\n <div class=\"activity-card-container\">\n <mat-accordion>\n <mat-expansion-panel\n class=\"\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n >\n <mat-expansion-panel-header\n id=\"activity-header\"\n class=\"flex-between items-center w-full\"\n collapsedHeight=\"auto\"\n expandedHeight=\"auto\"\n >\n\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngIf=\"role?.roles\">\n <div class=\"flex flex-column w-full\">\n <div class=\"role-title\">{{ role?.roles }}</div>\n <div class=\"progress-status-none\" *ngIf=\"role?.averagePercentage == 0\"></div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage < 100 && role?.averagePercentage != 0\" i18n>{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\" i18n>{{'COMPLETED' | translate}}</div>\n <ng-container >\n <div [ngClass]=\"{'green-bar': role?.averagePercentage == 100 , 'warn-bar': role?.averagePercentage < 100 && role?.averagePercentage != 0 }\">\n <mat-progress-bar mode=\"determinate\" value={{role?.averagePercentage}} class=\"mt-1\"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader>\n <div class=\"expand-container\" *ngIf=\"roleactivitySummaries.length>0\">\n <!-- list of activity -->\n <div class=\"activity-badge\" i18n>{{'ACTIVITIES' | translate}}</div>\n <ng-container\n *ngFor=\"let activity of (role?.activities| removeDuplicatesPipe:['cid', 'name'] ); let i = index\"\n >\n <div class=\"activity-title\" *ngIf=\"activity.title\">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf=\"role?.activities\">\n <lib-competency-accordion [competencyList]=\"role?.activities\" [assessmentData]=\"assessmentData\" [assessBtnType]=\"btnType\"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"desigination":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":38,"character":26},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":40,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"getAssessmentBtnType":[{"__symbolic":"method"}],"getAssessmentProgress":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getRolesWiseCompetencyData":[{"__symbolic":"method"}],"getActivityByRole":[{"__symbolic":"method"}],"designationMap":[{"__symbolic":"method"}],"getActivityByRoleId":[{"__symbolic":"method"}],"getEntityById":[{"__symbolic":"method"}],"getAveragepercentage":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\" i18n>{{'COMPETENCIES' | translate}} :</div>\n<div *ngFor=\"let competency of (competencyList | removeDuplicatesPipe:['id', 'name']); let i = index; let last = last;\">\n <ng-container *ngIf=\"competency.competency\">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class=\"flex-between items-center w-full\" collapsedHeight=\"auto\"\n expandedHeight=\"auto\">\n <mat-panel-description class=\"panel-header-description\" (click)=\"$event.stopPropagation();\">\n <ng-container *ngIf=\"competency.competency\">\n <div class=\"flex flex-col\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"competency.completionPercentage == 100\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"competency.completionPercentage < 100\">\n <mat-progress-spinner diameter=\"20\" strokeWidth=\"2\" mode=\"determinate\"\n [value]=\"competency.completionPercentage\"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class=\"competency-title\">{{ competency.competency }}</div>\n </div>\n <div class=\"flex flex-row gap-3 mt-3\">\n <ng-container *ngFor=\"let btn of assessBtnType\">\n <ng-container *ngIf=\"btn.courseId == competency?.assessmentData?.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" i18n (click)=\"viewCourses(competency)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n <!-- <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader> -->\n <div class=\"expand-container\">\n <!-- list of levels -->\n <div class=\"Levels-badge\" i18n>{{'LEVELS' | translate}}</div>\n <ng-container *ngIf=\"competency.levelDescription !== ''; else manualLevel\">\n <ng-container *ngFor=\"let level of competency.levelDescription; let i = index\">\n <div class=\"flex flex-row gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor=\"let level of competency.levels; let i = index\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class=\"mt-3 mb-3\" [ngClass]=\"{'d-none' : last}\" />\n </ng-container>\n</div>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]}]}],"members":{"competencyList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"assessmentData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"assessBtnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}]}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵp"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵp":{"__symbolic":"class","members":{}}},"origins":{"EntryModule":"./entry-module/entry-module","SelfAssessmentModule":"./self-assessment/self-assessment.module","CompetencyModule":"./competency/competency.module","ɵa":"./entry-module/components/slef-assessment-entry/slef-assessment-entry.component","ɵb":"./entry-module/components/competency-entry/competency-entry.component","ɵc":"./entry-module/services/config.service","ɵd":"./entry-module/services/configuration-context","ɵe":"./self-assessment/components/self-assessment-card/self-assessment-card.component","ɵf":"./self-assessment/service/self-assessment.service","ɵg":"./self-assessment/components/self-assessment/self-assessment.component","ɵh":"./competency/components/required-comptency-card/required-comptency-card.component","ɵi":"./competency/components/gained-comptency-card/gained-comptency-card.component","ɵj":"./competency/services/gained.service","ɵk":"./competency/services/active-summary.service","ɵl":"./competency/components/competency-dashboard/competency-dashboard.component","ɵm":"./competency/components/active-summary/active-summary.component","ɵn":"./competency/components/competency-accordion/competency-accordion.component","ɵo":"./competency/services/config.service","ɵp":"./competency/services/configuration-context"},"importAs":"@aastrika_npmjs/comptency"} | ||
{"__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":30,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lib-required-comptency-card","template":"<lib-self-assessment [language]=\"seletectedLang\" [position]=\"position\"></lib-self-assessment>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lib-gained-comptency-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngIf=\"gainedproficencyData && gainedproficencyData.length > 0; else noData\">\n <ng-container *ngFor=\"let proficency of gainedproficencyData; let i = index\">\n <div class=\"card-container example-container container-balanced\">\n <ng-container *ngIf=\"proficency?.title\">\n <div class=\"title\">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class=\"levelsTitle\" i18n>{{'LEVELS' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel [expanded]=\"i === selectedProficiencyIndex\" class=\"w-full panel\" hideToggle>\n <mat-expansion-panel-header class=\"flex-between items-center panel-header w-full\">\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\">\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \" class=\"level mb-1\" [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\" [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)=\"$event.stopPropagation()\" class=\"level mb-1\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div class=\"level mb-1\" (click)=\"$event.stopPropagation(); selectLevel(i, -1)\">\n <mat-icon [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\">keyboard_arrow_down</mat-icon>\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class=\"log-header\" i18n>{{'LOG' | translate}}</span>\n <ng-container *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \">\n <ng-container *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \">\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex w-full gap-1\">\n <ng-container *ngIf=\"log.header\">\n <div class=\"log-level-id\" i18n>{{'LEVEL' | translate}} </div>\n <div>{{ log.level }}</div>\n <div>:</div>\n <div class=\"log-level-details\"> {{ log.header }}</div>\n <div class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div class=\"mt-2\" [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\">\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\" class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\">keyboard_arrow_down</mat-icon>\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n <!-- <hr> -->\n </ng-container>\n</ng-container>\n\n<ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\" [languagePreferred]=\"language\"></lib-no-result>\n </ng-container>\n</ng-template>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-level-details,.log-level-id{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":30,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getAllUserPassbook":[{"__symbolic":"method"}],"getAllEntity":[{"__symbolic":"method"}],"selectLevel":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":15,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":21,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":21,"character":53}]}],"fetchUserPassbook":[{"__symbolic":"method"}],"fetchAllEntity":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵk":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":14,"character":42},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":16,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":16,"character":53}]}],"getActivityById":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}],"getRolesMapping":[{"__symbolic":"method"}],"getRolesWiseCompetency":[{"__symbolic":"method"}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-competency-dashboard","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":9,"character":17},"member":"None"},"template":"<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\">chevron_left</mat-icon>\n\n <h1 *ngIf=\"isPassbok == 'false'\" class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <ng-container *ngIf=\"isPassbok == 'false'; else onlyPassbok\">\n <mat-tab-group [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\" class=\"remove-border-bottom\"\n animationDuration=\"0ms\" [selectedIndex]=\"tabIndex\" (selectedTabChange)=\"changeTab($event)\">\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" [desigination]=\"role\"\n *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card [language]=\"language\" *ngIf=\"tabIndex === 1\"></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card [language]=\"language\" [role]=\"role\"\n *ngIf=\"tabIndex === 2\"></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </ng-container>\n\n <ng-template #onlyPassbok>\n <!-- <mat-tab-group class=\"remove-border-bottom\"\n animationDuration=\"0ms\"> -->\n <!-- gained as Passbook -->\n <!-- <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\"> -->\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'FRMELEMNTS_LBL_OBSERVATION' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card [language]=\"language\"></lib-gained-comptency-card>\n <!-- </mat-tab> -->\n\n \n <!-- </mat-tab-group> -->\n </ng-template>\n\n </div>\n</div>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":19,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":20,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"lib-active-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let role of roleactivitySummaries\">\n <div class=\"activity-card-container\">\n <mat-accordion>\n <mat-expansion-panel\n class=\"\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n >\n <mat-expansion-panel-header\n id=\"activity-header\"\n class=\"flex-between items-center w-full\"\n collapsedHeight=\"auto\"\n expandedHeight=\"auto\"\n >\n\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngIf=\"role?.roles\">\n <div class=\"flex flex-column w-full\">\n <div class=\"role-title\">{{ role?.roles }}</div>\n <div class=\"progress-status-none\" *ngIf=\"role?.averagePercentage == 0\"></div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage < 100 && role?.averagePercentage != 0\" i18n>{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\" i18n>{{'COMPLETED' | translate}}</div>\n <ng-container >\n <div [ngClass]=\"{'green-bar': role?.averagePercentage == 100 , 'warn-bar': role?.averagePercentage < 100 && role?.averagePercentage != 0 }\">\n <mat-progress-bar mode=\"determinate\" value={{role?.averagePercentage}} class=\"mt-1\"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader>\n <div class=\"expand-container\" *ngIf=\"roleactivitySummaries.length>0\">\n <!-- list of activity -->\n <div class=\"activity-badge\" i18n>{{'ACTIVITIES' | translate}}</div>\n <ng-container\n *ngFor=\"let activity of (role?.activities| removeDuplicatesPipe:['cid', 'name'] ); let i = index\"\n >\n <div class=\"activity-title\" *ngIf=\"activity.title\">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf=\"role?.activities\">\n <lib-competency-accordion [competencyList]=\"role?.activities\" [assessmentData]=\"assessmentData\" [assessBtnType]=\"btnType\"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"desigination":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":38,"character":26},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":40,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"getAssessmentBtnType":[{"__symbolic":"method"}],"getAssessmentProgress":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getRolesWiseCompetencyData":[{"__symbolic":"method"}],"getActivityByRole":[{"__symbolic":"method"}],"designationMap":[{"__symbolic":"method"}],"getActivityByRoleId":[{"__symbolic":"method"}],"getEntityById":[{"__symbolic":"method"}],"getAveragepercentage":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\" i18n>{{'COMPETENCIES' | translate}} :</div>\n<div *ngFor=\"let competency of (competencyList | removeDuplicatesPipe:['id', 'name']); let i = index; let last = last;\">\n <ng-container *ngIf=\"competency.competency\">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class=\"flex-between items-center w-full\" collapsedHeight=\"auto\"\n expandedHeight=\"auto\">\n <mat-panel-description class=\"panel-header-description\" (click)=\"$event.stopPropagation();\">\n <ng-container *ngIf=\"competency.competency\">\n <div class=\"flex flex-col\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"competency.completionPercentage == 100\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"competency.completionPercentage < 100\">\n <mat-progress-spinner diameter=\"20\" strokeWidth=\"2\" mode=\"determinate\"\n [value]=\"competency.completionPercentage\"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class=\"competency-title\">{{ competency.competency }}</div>\n </div>\n <div class=\"flex flex-row gap-3 mt-3\">\n <ng-container *ngFor=\"let btn of assessBtnType\">\n <ng-container *ngIf=\"btn.courseId == competency?.assessmentData?.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" i18n (click)=\"viewCourses(competency)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n <!-- <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader> -->\n <div class=\"expand-container\">\n <!-- list of levels -->\n <div class=\"Levels-badge\" i18n>{{'LEVELS' | translate}}</div>\n <ng-container *ngIf=\"competency.levelDescription !== ''; else manualLevel\">\n <ng-container *ngFor=\"let level of competency.levelDescription; let i = index\">\n <div class=\"flex flex-row gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor=\"let level of competency.levels; let i = index\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class=\"mt-3 mb-3\" [ngClass]=\"{'d-none' : last}\" />\n </ng-container>\n</div>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]}]}],"members":{"competencyList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"assessmentData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"assessBtnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}]}},"ɵo":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵp"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵp":{"__symbolic":"class","members":{}}},"origins":{"EntryModule":"./entry-module/entry-module","SelfAssessmentModule":"./self-assessment/self-assessment.module","CompetencyModule":"./competency/competency.module","ɵa":"./entry-module/components/slef-assessment-entry/slef-assessment-entry.component","ɵb":"./entry-module/components/competency-entry/competency-entry.component","ɵc":"./entry-module/services/config.service","ɵd":"./entry-module/services/configuration-context","ɵe":"./self-assessment/components/self-assessment-card/self-assessment-card.component","ɵf":"./self-assessment/service/self-assessment.service","ɵg":"./self-assessment/components/self-assessment/self-assessment.component","ɵh":"./competency/components/required-comptency-card/required-comptency-card.component","ɵi":"./competency/components/gained-comptency-card/gained-comptency-card.component","ɵj":"./competency/services/gained.service","ɵk":"./competency/services/active-summary.service","ɵl":"./competency/components/competency-dashboard/competency-dashboard.component","ɵm":"./competency/components/active-summary/active-summary.component","ɵn":"./competency/components/competency-accordion/competency-accordion.component","ɵo":"./competency/services/config.service","ɵp":"./competency/services/configuration-context"},"importAs":"@aastrika_npmjs/comptency"} |
@@ -411,3 +411,3 @@ (function (global, factory) { | ||
selector: 'lib-no-result', | ||
template: "<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
template: "<div class=\"no-data-container pt-2\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
styles: [".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"] | ||
@@ -414,0 +414,0 @@ }) |
@@ -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")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/core",["exports","@angular/core","@angular/common/http","rxjs/operators","rxjs","@aastrika_npmjs/comptency/entry-module","lodash-es","@angular/common","lodash"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency.core={}),e.ng.core,e.ng.common.http,e.rxjs.operators,e.rxjs,e.aastrika_npmjs.comptency["entry-module"],e.lodashEs,e.ng.common,e.lodash)}(this,(function(e,t,r,n,o,i,a,s,p){"use strict"; | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */var c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function u(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}var l=function(){return""+B.host+B.apiSlug},d=function(){return""+B.host+B.apiProxy},g=function(){return""+B.host+B.apiPublic},f=function(e){return B.apiBasePath()+"/entityCompetency/getEntityById/"+e},h=function(){return B.apiBasePath()+"/entityCompetency/getAllEntity"},m=function(){return B.apiBaseProxy()+"/user/v1/passbook"},y=function(){return B.apiBasePublic()+"/publicSearch/getCourses"},b=function(e,t){return B.apiBaseProxy()+"/action/content/v3/hierarchy/"+e+"?hierarchyType="+t},v=function(e){return B.apiBaseProxy()+"/api/user/v2/read/"+e},x=function(e){return B.apiBaseProxy()+"/read/content-progres/"+e},P=function(){return""+B.mobileHost+B.apiPublic+"/mobileApp/getAllEntity"},j=function(){return B.mobileHost+"/api/user/v1/passbook"},k=function(e){return B.mobileHost+"/api/user/v2/read/"+e},C=function(e){return""+B.mobileHost+B.apiPublic+"/mobileApp/getEntityById/"+e},M=function(){return""+B.mobileHost+B.apiPublic+"/publicSearch/getCourses"},H=function(){return B.mobileHost+"/api/course/v1/content/state/read"},w=function(){return""+B.mobileHost+B.apiPublic+"/competencyAssets/rolesMappingData"},I=function(){return""+B.mobileHost+B.apiPublic+"/competencyAssets/roleWiseCompetencyData"},B={host:window.location.protocol+"//"+window.location.host||"https://sphere.aastrika.org",mobileHost:"https://sphere.aastrika.org",authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas",apiSlug:"/apis/protected/v8",apiProxy:"/apis/proxies/v8",apiPublic:"/apis/public/v8",apiBasePath:l,apiBaseProxy:d,apiBasePublic:g,getEntityById:f,getAllEntity:h,getUserPassbook:m,getSearch:y,getHierachyDetails:b,getUserdetailsFromRegistry:v,getContentProgress:x,getAllEntityMobile:P,getUserPassbookMobile:j,getUserdetailsMobile:k,getEntityByIdMobile:C,getSearchMobile:M,getContentProgressMobile:H,getRoleMapping:w,getRoleWiseCompetency:I},O=function(){function e(e,t){this.configService=t,this.http=e}return e.prototype.get=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session):e.header?e.header:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,r).pipe(n.mergeMap((function(e){var t=e.body;e.headers;return"OK"!==t.responseCode?o.throwError(t):o.of(t)})))},e.prototype.getwithouTAuthorization=function(e){this.configService.getConfig();var t={headers:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,t).pipe(n.mergeMap((function(e){var t=e.body;e.headers;return 200===t.status?o.of(t):o.throwError(t)})))},e.prototype.post=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session,e.header?e.header:""):e.header?e.header:this.getHeader(),params:e.param};return this.http.post(e.url,e.data,r).pipe(n.mergeMap((function(e){return 200===e.responseCode||"OK"===e.responseCode?o.of(e):o.throwError(e)})))},e.prototype.getHeader=function(e){var t={Accept:"application/json"};return e?c({},t,e):c({},t)},e.prototype.setHeader=function(e,t){var r={Authorization:B.authorization,"X-authenticated-user-token":e?e.access_token:"",Accept:"application/json"};return t?c({},r,t):c({},r)},e.ctorParameters=function(){return[{type:r.HttpClient},{type:i.ConfigService}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.HttpClient),t.ɵɵinject(i.ConfigService))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"})],e)}(),S=function(){function e(){}return e.prototype.ngOnInit=function(){this.headerMessage="Please wait",this.loaderMessage="We are fetching details",this.data&&(this.headerMessage=a.get(this.data,"headerMessage")||this.headerMessage,this.loaderMessage=a.get(this.data,"loaderMessage")||this.loaderMessage)},u([t.Input()],e.prototype,"data",void 0),e=u([t.Component({selector:"lib-app-loader",template:'<ng-container>\n <div class="loader-content">\n <p class="loader"></p>\n </div>\n</ng-container>\n ',styles:[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]})],e)}(),A=function(){function e(){}return e.prototype.ngOnInit=function(){this.setMessage()},e.prototype.setMessage=function(){this.message=p.get(this.data,"message")?p.get(this.data,"message"):" No result found",this.message="en"==this.languagePreferred?p.get(this.data,"message")?p.get(this.data,"message"):" No result found":p.get(this.data,"messageHi")?p.get(this.data,"messageHi"):"कोई परिणाम नहीं मिला"},u([t.Input()],e.prototype,"data",void 0),u([t.Input()],e.prototype,"languagePreferred",void 0),e=u([t.Component({selector:"lib-no-result",template:'<div class="no-data-container" >\n <ng-container >\n <div class="no-data-text">{{message}}</div>\n </ng-container>\n</div>\n',styles:[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"]})],e)}(),E=function(){function e(){}return e.prototype.transform=function(e,t){return e&&0!==e.length?e.filter((function(r,n){return e.findIndex((function(e){return t.every((function(t){return e[t]===r[t]}))}))===n})):e},e=u([t.Pipe({name:"removeDuplicatesPipe"})],e)}(),_=function(){function e(){}return e=u([t.NgModule({imports:[s.CommonModule,r.HttpClientModule],declarations:[S,A,E],exports:[S,A,E],providers:[O]})],e)}();e.AppLoaderComponent=S,e.CoreModule=_,e.DataService=O,e.urlConfig=B,e.ɵ0=l,e.ɵ1=d,e.ɵ10=P,e.ɵ11=j,e.ɵ12=k,e.ɵ13=C,e.ɵ14=M,e.ɵ15=H,e.ɵ16=w,e.ɵ17=I,e.ɵ2=g,e.ɵ3=f,e.ɵ4=h,e.ɵ5=m,e.ɵ6=y,e.ɵ7=b,e.ɵ8=v,e.ɵ9=x,e.ɵa=A,e.ɵb=E,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */var c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function u(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}var l=function(){return""+B.host+B.apiSlug},d=function(){return""+B.host+B.apiProxy},g=function(){return""+B.host+B.apiPublic},f=function(e){return B.apiBasePath()+"/entityCompetency/getEntityById/"+e},h=function(){return B.apiBasePath()+"/entityCompetency/getAllEntity"},m=function(){return B.apiBaseProxy()+"/user/v1/passbook"},y=function(){return B.apiBasePublic()+"/publicSearch/getCourses"},b=function(e,t){return B.apiBaseProxy()+"/action/content/v3/hierarchy/"+e+"?hierarchyType="+t},v=function(e){return B.apiBaseProxy()+"/api/user/v2/read/"+e},x=function(e){return B.apiBaseProxy()+"/read/content-progres/"+e},P=function(){return""+B.mobileHost+B.apiPublic+"/mobileApp/getAllEntity"},j=function(){return B.mobileHost+"/api/user/v1/passbook"},k=function(e){return B.mobileHost+"/api/user/v2/read/"+e},C=function(e){return""+B.mobileHost+B.apiPublic+"/mobileApp/getEntityById/"+e},M=function(){return""+B.mobileHost+B.apiPublic+"/publicSearch/getCourses"},H=function(){return B.mobileHost+"/api/course/v1/content/state/read"},w=function(){return""+B.mobileHost+B.apiPublic+"/competencyAssets/rolesMappingData"},I=function(){return""+B.mobileHost+B.apiPublic+"/competencyAssets/roleWiseCompetencyData"},B={host:window.location.protocol+"//"+window.location.host||"https://sphere.aastrika.org",mobileHost:"https://sphere.aastrika.org",authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas",apiSlug:"/apis/protected/v8",apiProxy:"/apis/proxies/v8",apiPublic:"/apis/public/v8",apiBasePath:l,apiBaseProxy:d,apiBasePublic:g,getEntityById:f,getAllEntity:h,getUserPassbook:m,getSearch:y,getHierachyDetails:b,getUserdetailsFromRegistry:v,getContentProgress:x,getAllEntityMobile:P,getUserPassbookMobile:j,getUserdetailsMobile:k,getEntityByIdMobile:C,getSearchMobile:M,getContentProgressMobile:H,getRoleMapping:w,getRoleWiseCompetency:I},O=function(){function e(e,t){this.configService=t,this.http=e}return e.prototype.get=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session):e.header?e.header:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,r).pipe(n.mergeMap((function(e){var t=e.body;e.headers;return"OK"!==t.responseCode?o.throwError(t):o.of(t)})))},e.prototype.getwithouTAuthorization=function(e){this.configService.getConfig();var t={headers:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,t).pipe(n.mergeMap((function(e){var t=e.body;e.headers;return 200===t.status?o.of(t):o.throwError(t)})))},e.prototype.post=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session,e.header?e.header:""):e.header?e.header:this.getHeader(),params:e.param};return this.http.post(e.url,e.data,r).pipe(n.mergeMap((function(e){return 200===e.responseCode||"OK"===e.responseCode?o.of(e):o.throwError(e)})))},e.prototype.getHeader=function(e){var t={Accept:"application/json"};return e?c({},t,e):c({},t)},e.prototype.setHeader=function(e,t){var r={Authorization:B.authorization,"X-authenticated-user-token":e?e.access_token:"",Accept:"application/json"};return t?c({},r,t):c({},r)},e.ctorParameters=function(){return[{type:r.HttpClient},{type:i.ConfigService}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.HttpClient),t.ɵɵinject(i.ConfigService))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"})],e)}(),S=function(){function e(){}return e.prototype.ngOnInit=function(){this.headerMessage="Please wait",this.loaderMessage="We are fetching details",this.data&&(this.headerMessage=a.get(this.data,"headerMessage")||this.headerMessage,this.loaderMessage=a.get(this.data,"loaderMessage")||this.loaderMessage)},u([t.Input()],e.prototype,"data",void 0),e=u([t.Component({selector:"lib-app-loader",template:'<ng-container>\n <div class="loader-content">\n <p class="loader"></p>\n </div>\n</ng-container>\n ',styles:[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]})],e)}(),A=function(){function e(){}return e.prototype.ngOnInit=function(){this.setMessage()},e.prototype.setMessage=function(){this.message=p.get(this.data,"message")?p.get(this.data,"message"):" No result found",this.message="en"==this.languagePreferred?p.get(this.data,"message")?p.get(this.data,"message"):" No result found":p.get(this.data,"messageHi")?p.get(this.data,"messageHi"):"कोई परिणाम नहीं मिला"},u([t.Input()],e.prototype,"data",void 0),u([t.Input()],e.prototype,"languagePreferred",void 0),e=u([t.Component({selector:"lib-no-result",template:'<div class="no-data-container pt-2" >\n <ng-container >\n <div class="no-data-text">{{message}}</div>\n </ng-container>\n</div>\n',styles:[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"]})],e)}(),E=function(){function e(){}return e.prototype.transform=function(e,t){return e&&0!==e.length?e.filter((function(r,n){return e.findIndex((function(e){return t.every((function(t){return e[t]===r[t]}))}))===n})):e},e=u([t.Pipe({name:"removeDuplicatesPipe"})],e)}(),_=function(){function e(){}return e=u([t.NgModule({imports:[s.CommonModule,r.HttpClientModule],declarations:[S,A,E],exports:[S,A,E],providers:[O]})],e)}();e.AppLoaderComponent=S,e.CoreModule=_,e.DataService=O,e.urlConfig=B,e.ɵ0=l,e.ɵ1=d,e.ɵ10=P,e.ɵ11=j,e.ɵ12=k,e.ɵ13=C,e.ɵ14=M,e.ɵ15=H,e.ɵ16=w,e.ɵ17=I,e.ɵ2=g,e.ɵ3=f,e.ɵ4=h,e.ɵ5=m,e.ɵ6=y,e.ɵ7=b,e.ɵ8=v,e.ɵ9=x,e.ɵa=A,e.ɵb=E,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-core.umd.min.js.map |
@@ -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":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"providers":[{"__symbolic":"reference","name":"DataService"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"lib-no-result","template":"<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n","styles":[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"languagePreferred":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setMessage":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"removeDuplicatesPipe"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"urlConfig":"./config/url.config","DataService":"./services/data.service","AppLoaderComponent":"./components/app-loader/app-loader.component","CoreModule":"./core.module","ɵa":"./components/no-result/no-result.component","ɵb":"./pipe/remove-duplicates.pipe"},"importAs":"@aastrika_npmjs/comptency/core"} | ||
{"__symbolic":"module","version":4,"metadata":{"urlConfig":{"__symbolic":"error","message":"Lambda not supported","line":12,"character":15,"module":"./config/url.config"},"DataService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":24,"character":20},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":24,"character":54}]}],"get":[{"__symbolic":"method"}],"getwithouTAuthorization":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"getHeader":[{"__symbolic":"method"}],"setHeader":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"AppLoaderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-app-loader","template":"<ng-container>\n <div class=\"loader-content\">\n <p class=\"loader\"></p>\n </div>\n</ng-container>\n ","styles":[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"CoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"providers":[{"__symbolic":"reference","name":"DataService"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"lib-no-result","template":"<div class=\"no-data-container pt-2\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n","styles":[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"languagePreferred":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setMessage":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"removeDuplicatesPipe"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"urlConfig":"./config/url.config","DataService":"./services/data.service","AppLoaderComponent":"./components/app-loader/app-loader.component","CoreModule":"./core.module","ɵa":"./components/no-result/no-result.component","ɵb":"./pipe/remove-duplicates.pipe"},"importAs":"@aastrika_npmjs/comptency/core"} |
@@ -24,3 +24,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-no-result', | ||
template: "<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
template: "<div class=\"no-data-container pt-2\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
styles: [".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"] | ||
@@ -30,2 +30,2 @@ }) | ||
export { NoResultComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tcmVzdWx0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvbm8tcmVzdWx0L25vLXJlc3VsdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sS0FBSyxDQUFDLE1BQU0sUUFBUSxDQUFDO0FBTzVCLElBQWEsaUJBQWlCLEdBQTlCLE1BQWEsaUJBQWlCO0lBWTVCLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7UUFDTixvQ0FBb0M7UUFDcEMsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDO0lBQ3BCLENBQUM7SUFFRCxVQUFVO1FBQ1IsSUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksRUFBRSxTQUFTLENBQUMsQ0FBQyxDQUFDLENBQUMsa0JBQWtCLENBQUE7UUFDN0YsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUMsaUJBQWlCLElBQUksSUFBSSxDQUFDLENBQUMsQ0FBRSxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0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9PSBcImVuXCIgPyAgXy5nZXQodGhpcy5kYXRhLCAnbWVzc2FnZScpID8gXy5nZXQodGhpcy5kYXRhLCAnbWVzc2FnZScpIDogJyBObyByZXN1bHQgZm91bmQnICA6IF8uZ2V0KHRoaXMuZGF0YSwgJ21lc3NhZ2VIaScpID8gXy5nZXQodGhpcy5kYXRhLCAnbWVzc2FnZUhpJykgOiAn4KSV4KWL4KSIIOCkquCksOCkv+Cko+CkvuCkriDgpKjgpLngpYDgpIIg4KSu4KS/4KSy4KS+J1xuICB9XG5cbn1cbiJdfQ== |
@@ -54,35 +54,41 @@ import * as tslib_1 from "tslib"; | ||
this.selfAssessmentData = this.getCompetencyFilter(assessData); | ||
return forkJoin(_.map(this.selfAssessmentData, (value) => this.getProgress(value).pipe(map((res) => { | ||
if (res.result) { | ||
if (res.result.contentList.length > 0) { | ||
if (res.result.contentList.length > 0 && value.childContent === res.result.contentList.length) { | ||
let type = ''; | ||
_.forEach(res.result.contentList, (item) => { | ||
if (item.completionPercentage === 100 && item.completionPercentage !== 0) { | ||
type = 'DONE'; | ||
} | ||
else { | ||
type = 'RESUME'; | ||
} | ||
}); | ||
this.btnType.push({ | ||
courseId: value.contentId, | ||
type: type, | ||
}); | ||
if (this.selfAssessmentData.length > 0) { | ||
return forkJoin(_.map(this.selfAssessmentData, (value) => this.getProgress(value).pipe(map((res) => { | ||
if (res.result) { | ||
if (res.result.contentList.length > 0) { | ||
if (res.result.contentList.length > 0 && value.childContent === res.result.contentList.length) { | ||
let type = ''; | ||
_.forEach(res.result.contentList, (item) => { | ||
if (item.completionPercentage === 100 && item.completionPercentage !== 0) { | ||
type = 'DONE'; | ||
} | ||
else { | ||
type = 'RESUME'; | ||
} | ||
}); | ||
this.btnType.push({ | ||
courseId: value.contentId, | ||
type: type, | ||
}); | ||
} | ||
else { | ||
this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'RESUME', | ||
}); | ||
} | ||
} | ||
else { | ||
this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'RESUME', | ||
}); | ||
} | ||
} | ||
} | ||
if (res.result.contentList.length === 0) { | ||
this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'START', | ||
}); | ||
} | ||
})))); | ||
if (res.result.contentList.length === 0) { | ||
this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'START', | ||
}); | ||
} | ||
})))); | ||
} | ||
else { | ||
this.loading = false; | ||
return of(null); | ||
} | ||
})); | ||
@@ -146,3 +152,3 @@ })) | ||
selector: 'lib-self-assessment', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"\" *ngIf=\"selfAssessmentData\">\n <ng-container *ngIf=\"selfAssessmentData.length > 0; else noData \">\n <ng-container *ngFor=\"let cardData of selfAssessmentData\">\n <ng-container *ngIf=\"cardData\">\n <lib-self-assessment-card [cardData]=\"cardData\" [btnType]=\"btnType\"></lib-self-assessment-card>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\"></lib-no-result>\n </ng-container>\n </ng-template>\n</div>\n", | ||
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: [""] | ||
@@ -152,2 +158,2 @@ }) | ||
export { SelfAssessmentComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50Lm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WFnZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmdldENvbXBldGVuY3lDb3Vyc2UoKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIG1lcmdlTWFwKChyZXM6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBjb25zdCBhc3Nlc3NEYXRhID0gdGhpcy5yZXF1ZXN0VXRpbC5mb3JtYXRlZENvbXBldGVuY3lDb3Vyc2VEYXRhKHJlcyk7XG4gICAgICAgICAgICAgIHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhID0gdGhpcy5nZXRDb21wZXRlbmN5RmlsdGVyKGFzc2Vzc0RhdGEpO1xuXG4gICAgICAgICAgICAgIHJldHVybiBmb3JrSm9pbihcbiAgICAgICAgICAgICAgICBfLm1hcCh0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSwgKHZhbHVlOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICB0aGlzLmdldFByb2dyZXNzKHZhbHVlKS5waXBlKFxuICAgICAgICAgICAgICAgICAgICBtYXAoKHJlcykgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDAgJiYgdmFsdWUuY2hpbGRDb250ZW50ID09PSByZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJyc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiB0eXBlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgKTtcbiAgICAgICAgfSlcbiAgICAgIClcbiAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgY29uc29sZS5sb2coJ3NlbGYnLCB0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSk7XG4gICAgICB9KTtcbiAgfVxuXG5cblxuICBnZXRDb21wZXRlbmN5RmlsdGVyKGRhdGEpIHtcbiAgICBsZXQgcmVzdWx0ID0gW11cbiAgICBfLmZvckVhY2godGhpcy5yb2xlQ29tcGV0ZW5jeURhdGEsICh2YWx1ZSkgPT4ge1xuICAgICAgLy8gY29uc29sZS5sb2coXCJkYXRhXCIsIHZhbHVlKVxuICAgICAgXy5mb3JFYWNoKGRhdGEsIChpdGVtKSA9PiB7XG4gICAgICAgIGlmIChpdGVtLmNvbXBldGVuY3lJRCA9PSB2YWx1ZSkge1xuICAgICAgICAgIHJlc3VsdC5wdXNoKGl0ZW0pO1xuICAgICAgICB9XG4gICAgICB9KVxuICAgIH0pXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxuXG4gIGdldFVzZXJEZXRhaWxzKCkge1xuICAgIGNvbnN0IHJlcUJvZHkgPSB7XG4gICAgICBpZDogdGhpcy5jb25maWdTZXJ2aWNlLmdldENvbmZpZygpLmlkXG4gICAgfVxuICAgIHJldHVybiB0aGlzLnNlbGZBc3Nlc3NtZW50U2VydmljZS5nZXRVc2V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UNvdXJzZSgpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiBvZihudWxsKTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgbWVyZ2VNYXAoKHJlczogYW55KSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IGFzc2Vzc0RhdGEgPSB0aGlzLnJlcXVlc3RVdGlsLmZvcm1hdGVkQ29tcGV0ZW5jeUNvdXJzZURhdGEocmVzKTtcbiAgICAgICAgICAgICAgdGhpcy5zZWxmQXNzZXNzbWVudERhdGEgPSB0aGlzLmdldENvbXBldGVuY3lGaWx0ZXIoYXNzZXNzRGF0YSk7XG5cbiAgICAgICAgICAgICAgaWYodGhpcy5zZWxmQXNzZXNzbWVudERhdGEubGVuZ3RoID4gMCApe1xuICAgICAgICAgICAgICAgIHJldHVybiBmb3JrSm9pbihcbiAgICAgICAgICAgICAgICAgIF8ubWFwKHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhLCAodmFsdWU6IGFueSkgPT5cbiAgICAgICAgICAgICAgICAgICAgdGhpcy5nZXRQcm9ncmVzcyh2YWx1ZSkucGlwZShcbiAgICAgICAgICAgICAgICAgICAgICBtYXAoKHJlcykgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDAgJiYgdmFsdWUuY2hpbGRDb250ZW50ID09PSByZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHR5cGUgPSAnJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF8uZm9yRWFjaChyZXMucmVzdWx0LmNvbnRlbnRMaXN0LCAoaXRlbTogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnRE9ORSc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogdHlwZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gIFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdTVEFSVCcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICB9ZWxzZXtcbiAgICAgICAgICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICByZXR1cm4gb2YobnVsbClcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICApO1xuICAgICAgICB9KVxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgICAgICBjb25zb2xlLmxvZygnc2VsZicsIHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhKTtcbiAgICAgIH0pO1xuICB9XG5cblxuXG4gIGdldENvbXBldGVuY3lGaWx0ZXIoZGF0YSkge1xuICAgIGxldCByZXN1bHQgPSBbXVxuICAgIF8uZm9yRWFjaCh0aGlzLnJvbGVDb21wZXRlbmN5RGF0YSwgKHZhbHVlKSA9PiB7XG4gICAgICAvLyBjb25zb2xlLmxvZyhcImRhdGFcIiwgdmFsdWUpXG4gICAgICBfLmZvckVhY2goZGF0YSwgKGl0ZW0pID0+IHtcbiAgICAgICAgaWYgKGl0ZW0uY29tcGV0ZW5jeUlEID09IHZhbHVlKSB7XG4gICAgICAgICAgcmVzdWx0LnB1c2goaXRlbSk7XG4gICAgICAgIH1cbiAgICAgIH0pXG4gICAgfSlcbiAgICByZXR1cm4gcmVzdWx0O1xuICB9XG5cbiAgZ2V0VXNlckRldGFpbHMoKSB7XG4gICAgY29uc3QgcmVxQm9keSA9IHtcbiAgICAgIGlkOiB0aGlzLmNvbmZpZ1NlcnZpY2UuZ2V0Q29uZmlnKCkuaWRcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMuc2VsZkFzc2Vzc21lbnRTZXJ2aWNlLmdldFVzZXJkZXRhaWxzRnJvbVJlZ2lzdHJ5KHJlcUJvZHkpXG4gIH1cblxuICBnZXRDb21wZXRlbmN5Q291cnNlKCkge1xuICAgIHJldHVybiB0aGlzLnNlbGZBc3Nlc3NtZW50U2VydmljZS5nZXRDb21wZXRlbmN5Q291cnNlSWRlbnRpZmllcih0aGlzLmxhbmd1YWdlKVxuICB9XG5cbiAgZ2V0UHJvZ3Jlc3MoZGF0YSkge1xuICAgIGNvbnN0IHJlcWJvZHkgPSB7XG4gICAgICByZXF1ZXN0OiB7XG4gICAgICAgIHVzZXJJZDogdGhpcy5jb25maWdTZXJ2aWNlLmdldENvbmZpZygpLmlkLFxuICAgICAgICBiYXRjaElkOiBkYXRhLmJhdGNoSWQsXG4gICAgICAgIGNvdXJzZUlkOiBkYXRhLmNvbnRlbnRJZCxcbiAgICAgICAgY29udGVudElkczogW10sXG4gICAgICAgIGZpZWxkczogWydwcm9ncmVzc2RldGFpbHMnXSxcbiAgICAgIH1cbiAgICB9XG5cbiAgICByZXR1cm4gdGhpcy5zZWxmQXNzZXNzbWVudFNlcnZpY2UuZmV0Y2hQcmdyZXNzRGV0YWlscyhyZXFib2R5KVxuICB9XG4gIG5hdmlnYXRlQmFjaygpIHtcbiAgICB0aGlzLmxvY2F0aW9uLmJhY2soKVxuICB9XG5cbn1cbiJdfQ== |
@@ -24,3 +24,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-no-result', | ||
template: "<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
template: "<div class=\"no-data-container pt-2\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
styles: [".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"] | ||
@@ -32,2 +32,2 @@ }) | ||
export { NoResultComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm8tcmVzdWx0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvbm8tcmVzdWx0L25vLXJlc3VsdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sS0FBSyxDQUFDLE1BQU0sUUFBUSxDQUFDO0FBTzVCO0lBWUU7SUFBZ0IsQ0FBQztJQUVqQixvQ0FBUSxHQUFSO1FBQ0Usb0NBQW9DO1FBQ3BDLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQztJQUNwQixDQUFDO0lBRUQsc0NBQVUsR0FBVjtRQUNFLElBQUksQ0FBQyxPQUFPLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDLGtCQUFrQixDQUFBO1FBQzdGLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLGlCQUFpQ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0YSwgJ21lc3NhZ2UnKSA6ICcgTm8gcmVzdWx0IGZvdW5kJ1xuICAgIHRoaXMubWVzc2FnZSA9IHRoaXMubGFuZ3VhZ2VQcmVmZXJyZWQgPT0gXCJlblwiID8gIF8uZ2V0KHRoaXMuZGF0YSwgJ21lc3NhZ2UnKSA/IF8uZ2V0KHRoaXMuZGF0YSwgJ21lc3NhZ2UnKSA6ICcgTm8gcmVzdWx0IGZvdW5kJyAgOiBfLmdldCh0aGlzLmRhdGEsICdtZXNzYWdlSGknKSA/IF8uZ2V0KHRoaXMuZGF0YSwgJ21lc3NhZ2VIaScpIDogJ+CkleCli+CkiCDgpKrgpLDgpL/gpKPgpL7gpK4g4KSo4KS54KWA4KSCIOCkruCkv+CksuCkvidcbiAgfVxuXG59XG4iXX0= |
@@ -57,37 +57,43 @@ import * as tslib_1 from "tslib"; | ||
_this.selfAssessmentData = _this.getCompetencyFilter(assessData); | ||
return forkJoin(_.map(_this.selfAssessmentData, function (value) { | ||
return _this.getProgress(value).pipe(map(function (res) { | ||
if (res.result) { | ||
if (res.result.contentList.length > 0) { | ||
if (res.result.contentList.length > 0 && value.childContent === res.result.contentList.length) { | ||
var type_1 = ''; | ||
_.forEach(res.result.contentList, function (item) { | ||
if (item.completionPercentage === 100 && item.completionPercentage !== 0) { | ||
type_1 = 'DONE'; | ||
} | ||
else { | ||
type_1 = 'RESUME'; | ||
} | ||
}); | ||
_this.btnType.push({ | ||
courseId: value.contentId, | ||
type: type_1, | ||
}); | ||
if (_this.selfAssessmentData.length > 0) { | ||
return forkJoin(_.map(_this.selfAssessmentData, function (value) { | ||
return _this.getProgress(value).pipe(map(function (res) { | ||
if (res.result) { | ||
if (res.result.contentList.length > 0) { | ||
if (res.result.contentList.length > 0 && value.childContent === res.result.contentList.length) { | ||
var type_1 = ''; | ||
_.forEach(res.result.contentList, function (item) { | ||
if (item.completionPercentage === 100 && item.completionPercentage !== 0) { | ||
type_1 = 'DONE'; | ||
} | ||
else { | ||
type_1 = 'RESUME'; | ||
} | ||
}); | ||
_this.btnType.push({ | ||
courseId: value.contentId, | ||
type: type_1, | ||
}); | ||
} | ||
else { | ||
_this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'RESUME', | ||
}); | ||
} | ||
} | ||
else { | ||
_this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'RESUME', | ||
}); | ||
} | ||
} | ||
} | ||
if (res.result.contentList.length === 0) { | ||
_this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'START', | ||
}); | ||
} | ||
if (res.result.contentList.length === 0) { | ||
_this.btnType.push({ | ||
courseId: value.contentId, | ||
type: 'START', | ||
}); | ||
} | ||
})); | ||
})); | ||
})); | ||
} | ||
else { | ||
_this.loading = false; | ||
return of(null); | ||
} | ||
})); | ||
@@ -150,3 +156,3 @@ })) | ||
selector: 'lib-self-assessment', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"\" *ngIf=\"selfAssessmentData\">\n <ng-container *ngIf=\"selfAssessmentData.length > 0; else noData \">\n <ng-container *ngFor=\"let cardData of selfAssessmentData\">\n <ng-container *ngIf=\"cardData\">\n <lib-self-assessment-card [cardData]=\"cardData\" [btnType]=\"btnType\"></lib-self-assessment-card>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\"></lib-no-result>\n </ng-container>\n </ng-template>\n</div>\n", | ||
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: [""] | ||
@@ -158,2 +164,2 @@ }) | ||
export { SelfAssessmentComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzFDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNqRSxPQUFPLEVBQUUsR0FBRyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQy9DLE9BQU8sS0FBSyxDQUFDLE1BQU0sV0FBVyxDQUFDO0FBQy9CLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2RSxPQUFPLEtBQUssa0JBQWtCLE1BQU0sb0NBQW9DLENBQUM7QUFDekUsT0FBTyxFQUFFLFFBQVEsRUFBRSxFQUFFLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFRcEM7SUFhRSxpQ0FDVSxRQUFrQixFQUNsQixxQkFBNEMsRUFDN0MsYUFBNEI7UUFGM0IsYUFBUSxHQUFSLFFBQVEsQ0FBVTtRQUNsQi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cm9maWxlRGV0YWlscyEucHJlZmVyZW5jZXMhLmxhbmd1YWdlIHx8ICdlbicgOiB0aGlzLmxhbmd1YWdlO1xuICAgICAgICAgICAgICBpZiAodGhpcy5sYW5ndWFnZSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmdldENvbXBldGVuY3lDb3Vyc2UoKTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICByZXR1cm4gb2YobnVsbCk7XG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIG1lcmdlTWFwKChyZXM6IGFueSkgPT4ge1xuICAgICAgICAgICAgICBjb25zdCBhc3Nlc3NEYXRhID0gdGhpcy5yZXF1ZXN0VXRpbC5mb3JtYXRlZENvbXBldGVuY3lDb3Vyc2VEYXRhKHJlcyk7XG4gICAgICAgICAgICAgIHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhID0gdGhpcy5nZXRDb21wZXRlbmN5RmlsdGVyKGFzc2Vzc0RhdGEpO1xuXG4gICAgICAgICAgICAgIHJldHVybiBmb3JrSm9pbihcbiAgICAgICAgICAgICAgICBfLm1hcCh0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSwgKHZhbHVlOiBhbnkpID0+XG4gICAgICAgICAgICAgICAgICB0aGlzLmdldFByb2dyZXNzKHZhbHVlKS5waXBlKFxuICAgICAgICAgICAgICAgICAgICBtYXAoKHJlcykgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDAgJiYgdmFsdWUuY2hpbGRDb250ZW50ID09PSByZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJyc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiB0eXBlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgKTtcbiAgICAgICAgfSlcbiAgICAgIClcbiAgICAgIC5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgY29uc29sZS5sb2coJ3NlbGYnLCB0aGlzLnNlbGZBc3Nlc3NtZW50RGF0YSk7XG4gICAgICB9KTtcbiAgfVxuXG5cblxuICBnZXRDb21wZXRlbmN5RmlsdGVyKGRhdGEpIHtcbiAgICBsZXQgcmVzdWx0ID0gW11cbiAgICBfLmZvckVhY2godGhpcy5yb2xlQ29tcGV0ZW5jeURhdGEsICh2YWx1ZSkgPT4ge1xuICAgICAgLy8gY29uc29sZS5sb2coXCJkYXRhXCIsIHZhbHVlKVxuICAgICAgXy5mb3JFYWNoKGRhdGEsIChpdGVtKSA9PiB7XG4gICAgICAgIGlmIChpdGVtLmNvbXBldGVuY3lJRCA9PSB2YWx1ZSkge1xuICAgICAgICAgIHJlc3VsdC5wdXNoKGl0ZW0pO1xuICAgICAgICB9XG4gICAgICB9KVxuICAgIH0pXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxuXG4gIGdldFVzZXJEZXRhaWxzKCkge1xuICAgIGNvbnN0IHJlcUJvZHkgPSB7XG4gICAg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YWdlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZ2V0Q29tcGV0ZW5jeUNvdXJzZSgpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiBvZihudWxsKTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgbWVyZ2VNYXAoKHJlczogYW55KSA9PiB7XG4gICAgICAgICAgICAgIGNvbnN0IGFzc2Vzc0RhdGEgPSB0aGlzLnJlcXVlc3RVdGlsLmZvcm1hdGVkQ29tcGV0ZW5jeUNvdXJzZURhdGEocmVzKTtcbiAgICAgICAgICAgICAgdGhpcy5zZWxmQXNzZXNzbWVudERhdGEgPSB0aGlzLmdldENvbXBldGVuY3lGaWx0ZXIoYXNzZXNzRGF0YSk7XG5cbiAgICAgICAgICAgICAgaWYodGhpcy5zZWxmQXNzZXNzbWVudERhdGEubGVuZ3RoID4gMCApe1xuICAgICAgICAgICAgICAgIHJldHVybiBmb3JrSm9pbihcbiAgICAgICAgICAgICAgICAgIF8ubWFwKHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhLCAodmFsdWU6IGFueSkgPT5cbiAgICAgICAgICAgICAgICAgICAgdGhpcy5nZXRQcm9ncmVzcyh2YWx1ZSkucGlwZShcbiAgICAgICAgICAgICAgICAgICAgICBtYXAoKHJlcykgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA+IDAgJiYgdmFsdWUuY2hpbGRDb250ZW50ID09PSByZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGV0IHR5cGUgPSAnJztcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIF8uZm9yRWFjaChyZXMucmVzdWx0LmNvbnRlbnRMaXN0LCAoaXRlbTogYW55KSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnRE9ORSc7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZTogdHlwZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gIFxuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdTVEFSVCcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICB9ZWxzZXtcbiAgICAgICAgICAgICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICByZXR1cm4gb2YobnVsbClcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIFxuICAgICAgICAgICAgfSlcbiAgICAgICAgICApO1xuICAgICAgICB9KVxuICAgICAgKVxuICAgICAgLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgICAgICBjb25zb2xlLmxvZygnc2VsZicsIHRoaXMuc2VsZkFzc2Vzc21lbnREYXRhKTtcbiAgICAgIH0pO1xuICB9XG5cblxuXG4gIGdldENvbXBldGVuY3lGaWx0ZXIoZGF0YSkge1xuICAgIGxldCByZXN1bHQgPSBbXVxuICAgIF8uZm9yRWFjaCh0aGlzLnJvbGVDb21wZXRlbmN5RGF0YSwgKHZhbHVlKSA9PiB7XG4gICAgICAvLyBjb25zb2xlLmxvZyhcImRhdGFcIiwgdmFsdWUpXG4gICAgICBfLmZvckVhY2goZGF0YSwgKGl0ZW0pID0+IHtcbiAgICAgICAgaWYgKGl0ZW0uY29tcGV0ZW5jeUlEID09IH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: 'lib-no-result', | ||
template: "<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
template: "<div class=\"no-data-container pt-2\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
styles: [".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"] | ||
@@ -194,0 +194,0 @@ }) |
@@ -196,3 +196,3 @@ import { __assign, __decorate } from 'tslib'; | ||
selector: 'lib-no-result', | ||
template: "<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
template: "<div class=\"no-data-container pt-2\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n", | ||
styles: [".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:16px;font-weight:900;color:#848886b3;padding:10px}"] | ||
@@ -199,0 +199,0 @@ }) |
{ | ||
"name": "@aastrika_npmjs/comptency", | ||
"version": "0.0.54", | ||
"version": "0.0.55", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^8.2.14", |
@@ -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\"></lib-no-result>\n </ng-container>\n </ng-template>\n</div>\n","styles":[""]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"Location","line":30,"character":22},{"__symbolic":"reference","name":"SelfAssessmentService"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"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 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":30,"character":22},{"__symbolic":"reference","name":"SelfAssessmentService"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":32,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"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"} |
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 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 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
28362645
292481