Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
cc790641
Commit
cc790641
authored
Jul 02, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feedback component added
parent
8c720bc7
Show whitespace changes
Inline
Side-by-side
Showing
125 changed files
with
120 additions
and
106 deletions
+120
-106
app.module.ts
frontend/angular/src/app/app.module.ts
+17
-2
app.routing.ts
frontend/angular/src/app/app.routing.ts
+1
-1
admin-portal-layout.component.ts
...rtal/admin-portal-layout/admin-portal-layout.component.ts
+0
-0
assessment.module.ts
...lar/src/app/my-career-web/assessment/assessment.module.ts
+0
-0
assessment.routing.ts
...ar/src/app/my-career-web/assessment/assessment.routing.ts
+0
-0
diversity-profile.component.html
...ssment/diversity-profile/diversity-profile.component.html
+0
-0
diversity-profile.component.scss
...ssment/diversity-profile/diversity-profile.component.scss
+1
-1
diversity-profile.component.ts
...sessment/diversity-profile/diversity-profile.component.ts
+0
-0
work-preference.component.html
...assessment/work-preference/work-preference.component.html
+0
-0
work-preference.component.scss
...assessment/work-preference/work-preference.component.scss
+1
-1
work-preference.component.ts
...b/assessment/work-preference/work-preference.component.ts
+0
-0
work-style.component.html
...areer-web/assessment/work-style/work-style.component.html
+0
-0
work-style.component.scss
...areer-web/assessment/work-style/work-style.component.scss
+1
-1
work-style.component.ts
...-career-web/assessment/work-style/work-style.component.ts
+0
-0
auth.module.ts
frontend/angular/src/app/my-career-web/auth/auth.module.ts
+0
-0
auth.routing.ts
frontend/angular/src/app/my-career-web/auth/auth.routing.ts
+0
-0
forgot-password.component.html
...r-web/auth/forgot-password/forgot-password.component.html
+0
-0
forgot-password.component.scss
...r-web/auth/forgot-password/forgot-password.component.scss
+0
-0
forgot-password.component.ts
...eer-web/auth/forgot-password/forgot-password.component.ts
+0
-0
login.component.html
...lar/src/app/my-career-web/auth/login/login.component.html
+0
-0
login.component.scss
...lar/src/app/my-career-web/auth/login/login.component.scss
+1
-1
login.component.ts
...gular/src/app/my-career-web/auth/login/login.component.ts
+5
-4
register.component.html
...c/app/my-career-web/auth/register/register.component.html
+0
-0
register.component.scss
...c/app/my-career-web/auth/register/register.component.scss
+1
-1
register.component.ts
...src/app/my-career-web/auth/register/register.component.ts
+0
-0
reset-password.component.html
...eer-web/auth/reset-password/reset-password.component.html
+0
-0
reset-password.component.scss
...eer-web/auth/reset-password/reset-password.component.scss
+0
-0
reset-password.component.ts
...areer-web/auth/reset-password/reset-password.component.ts
+14
-12
base-modal.component.ts
...ngular/src/app/my-career-web/base/base-modal.component.ts
+0
-0
base.component.ts
...tend/angular/src/app/my-career-web/base/base.component.ts
+0
-0
career-history.module.ts
...app/my-career-web/career-history/career-history.module.ts
+0
-0
career-history.routing.ts
...pp/my-career-web/career-history/career-history.routing.ts
+0
-0
career-history.component.html
...reer-history/career-history/career-history.component.html
+0
-0
career-history.component.scss
...reer-history/career-history/career-history.component.scss
+1
-1
career-history.component.ts
...career-history/career-history/career-history.component.ts
+0
-0
education.component.html
...history/career-history/education/education.component.html
+0
-0
education.component.scss
...history/career-history/education/education.component.scss
+0
-0
education.component.ts
...r-history/career-history/education/education.component.ts
+2
-2
publish.component.html
...eer-history/career-history/publish/publish.component.html
+0
-0
publish.component.scss
...eer-history/career-history/publish/publish.component.scss
+0
-0
publish.component.ts
...areer-history/career-history/publish/publish.component.ts
+1
-1
references.component.html
...story/career-history/references/references.component.html
+0
-0
references.component.scss
...story/career-history/references/references.component.scss
+0
-0
references.component.ts
...history/career-history/references/references.component.ts
+2
-2
skills.component.html
...areer-history/career-history/skills/skills.component.html
+0
-0
skills.component.scss
...areer-history/career-history/skills/skills.component.scss
+0
-0
skills.component.ts
.../career-history/career-history/skills/skills.component.ts
+1
-1
templates.component.html
...history/career-history/templates/templates.component.html
+0
-0
templates.component.scss
...history/career-history/templates/templates.component.scss
+0
-0
templates.component.ts
...r-history/career-history/templates/templates.component.ts
+1
-1
work-history.component.html
...y/career-history/work-history/work-history.component.html
+0
-0
work-history.component.scss
...y/career-history/work-history/work-history.component.scss
+0
-0
work-history.component.ts
...ory/career-history/work-history/work-history.component.ts
+1
-1
constants.ts
frontend/angular/src/app/my-career-web/config/constants.ts
+0
-0
dashboard.module.ts
...gular/src/app/my-career-web/dashboard/dashboard.module.ts
+0
-0
dashboard.routing.ts
...ular/src/app/my-career-web/dashboard/dashboard.routing.ts
+0
-0
dashboard.component.html
...y-career-web/dashboard/dashboard/dashboard.component.html
+0
-0
dashboard.component.scss
...y-career-web/dashboard/dashboard/dashboard.component.scss
+1
-1
dashboard.component.ts
.../my-career-web/dashboard/dashboard/dashboard.component.ts
+1
-1
go-premium.component.html
...career-web/dashboard/go-premium/go-premium.component.html
+0
-0
go-premium.component.scss
...career-web/dashboard/go-premium/go-premium.component.scss
+1
-1
go-premium.component.ts
...y-career-web/dashboard/go-premium/go-premium.component.ts
+0
-0
home.component.html
.../src/app/my-career-web/dashboard/home/home.component.html
+0
-0
home.component.scss
.../src/app/my-career-web/dashboard/home/home.component.scss
+1
-1
home.component.ts
...ar/src/app/my-career-web/dashboard/home/home.component.ts
+1
-1
left-sidebar.component.html
...er-web/dashboard/left-sidebar/left-sidebar.component.html
+0
-0
left-sidebar.component.scss
...er-web/dashboard/left-sidebar/left-sidebar.component.scss
+1
-1
left-sidebar.component.ts
...reer-web/dashboard/left-sidebar/left-sidebar.component.ts
+1
-1
profile-tasks.component.html
...-web/dashboard/profile-tasks/profile-tasks.component.html
+0
-0
profile-tasks.component.scss
...-web/dashboard/profile-tasks/profile-tasks.component.scss
+1
-1
profile-tasks.component.ts
...er-web/dashboard/profile-tasks/profile-tasks.component.ts
+1
-1
summary-report.component.html
...eb/dashboard/summary-report/summary-report.component.html
+0
-0
summary-report.component.scss
...eb/dashboard/summary-report/summary-report.component.scss
+0
-0
summary-report.component.ts
...-web/dashboard/summary-report/summary-report.component.ts
+0
-0
home.guard.ts
frontend/angular/src/app/my-career-web/guards/home.guard.ts
+5
-4
public.guard.ts
...tend/angular/src/app/my-career-web/guards/public.guard.ts
+3
-3
intro-letter.component.html
...eb/intro-letters/intro-letter/intro-letter.component.html
+0
-0
intro-letter.component.scss
...eb/intro-letters/intro-letter/intro-letter.component.scss
+0
-0
intro-letter.component.ts
...-web/intro-letters/intro-letter/intro-letter.component.ts
+1
-1
intro-letters.module.ts
...c/app/my-career-web/intro-letters/intro-letters.module.ts
+0
-0
intro-letters.routing.ts
.../app/my-career-web/intro-letters/intro-letters.routing.ts
+0
-0
intro-letters.component.html
.../intro-letters/intro-letters/intro-letters.component.html
+0
-0
intro-letters.component.scss
.../intro-letters/intro-letters/intro-letters.component.scss
+1
-1
intro-letters.component.ts
...eb/intro-letters/intro-letters/intro-letters.component.ts
+0
-0
wrapper.component.html
.../app/my-career-web/layouts/wrapper/wrapper.component.html
+2
-0
wrapper.component.scss
.../app/my-career-web/layouts/wrapper/wrapper.component.scss
+0
-0
wrapper.component.ts
...rc/app/my-career-web/layouts/wrapper/wrapper.component.ts
+13
-4
form-control.component.html
...er-web/mc-shared/form-control/form-control.component.html
+0
-0
form-control.component.scss
...er-web/mc-shared/form-control/form-control.component.scss
+0
-0
form-control.component.ts
...reer-web/mc-shared/form-control/form-control.component.ts
+0
-0
google-places-autocomplete.directive.ts
...eer-web/mc-shared/google-places-autocomplete.directive.ts
+0
-0
mc-shared.module.ts
...gular/src/app/my-career-web/mc-shared/mc-shared.module.ts
+1
-1
overlay.component.html
...pp/my-career-web/mc-shared/overlay/overlay.component.html
+0
-0
overlay.component.scss
...pp/my-career-web/mc-shared/overlay/overlay.component.scss
+0
-0
overlay.component.ts
.../app/my-career-web/mc-shared/overlay/overlay.component.ts
+0
-0
personal-details.component.html
...c-shared/personal-details/personal-details.component.html
+0
-0
personal-details.component.scss
...c-shared/personal-details/personal-details.component.scss
+1
-1
personal-details.component.ts
.../mc-shared/personal-details/personal-details.component.ts
+1
-1
truncate.pipe.ts
.../angular/src/app/my-career-web/mc-shared/truncate.pipe.ts
+0
-0
base.model.ts
frontend/angular/src/app/my-career-web/models/base.model.ts
+0
-0
candidate.model.ts
...d/angular/src/app/my-career-web/models/candidate.model.ts
+0
-0
career-profile.model.ts
...ular/src/app/my-career-web/models/career-profile.model.ts
+0
-0
career-skill.model.ts
...ngular/src/app/my-career-web/models/career-skill.model.ts
+0
-0
culture-element.model.ts
...lar/src/app/my-career-web/models/culture-element.model.ts
+0
-0
diversity-profile-question.model.ts
.../my-career-web/models/diversity-profile-question.model.ts
+0
-0
education.model.ts
...d/angular/src/app/my-career-web/models/education.model.ts
+0
-0
introduction-letter.model.ts
...src/app/my-career-web/models/introduction-letter.model.ts
+0
-0
question.model.ts
...nd/angular/src/app/my-career-web/models/question.model.ts
+0
-0
referee.model.ts
...end/angular/src/app/my-career-web/models/referee.model.ts
+0
-0
user.model.ts
frontend/angular/src/app/my-career-web/models/user.model.ts
+0
-0
work-experience.model.ts
...lar/src/app/my-career-web/models/work-experience.model.ts
+0
-0
work-preference-question.model.ts
...pp/my-career-web/models/work-preference-question.model.ts
+0
-0
work-style-question.model.ts
...src/app/my-career-web/models/work-style-question.model.ts
+0
-0
my-career-web.module.ts
...end/angular/src/app/my-career-web/my-career-web.module.ts
+3
-1
my-career-web.routing.ts
...nd/angular/src/app/my-career-web/my-career-web.routing.ts
+0
-0
assessment.service.ts
...ular/src/app/my-career-web/services/assessment.service.ts
+2
-2
auth.service.ts
...nd/angular/src/app/my-career-web/services/auth.service.ts
+17
-20
helper.service.ts
.../angular/src/app/my-career-web/services/helper.service.ts
+0
-0
intro-letter.service.ts
...ar/src/app/my-career-web/services/intro-letter.service.ts
+3
-3
personal-details.service.ts
...rc/app/my-career-web/services/personal-details.service.ts
+4
-4
toaster.service.ts
...angular/src/app/my-career-web/services/toaster.service.ts
+0
-0
welcome.component.html
...ular/src/app/my-career-web/welcome/welcome.component.html
+0
-0
welcome.component.scss
...ular/src/app/my-career-web/welcome/welcome.component.scss
+1
-1
welcome.component.ts
...ngular/src/app/my-career-web/welcome/welcome.component.ts
+0
-0
oneit.module.ts
frontend/angular/src/app/oneit/oneit.module.ts
+2
-17
No files found.
frontend/angular/src/app/app.module.ts
View file @
cc790641
import
{
CommonModule
,
DatePipe
}
from
'@angular/common'
;
import
{
HttpClientModule
}
from
'@angular/common/http'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
APP_INITIALIZER
,
NgModule
}
from
'@angular/core'
;
import
{
FormBuilder
,
FormsModule
}
from
'@angular/forms'
;
import
{
BrowserModule
}
from
'@angular/platform-browser'
;
import
{
BrowserAnimationsModule
}
from
'@angular/platform-browser/animations'
;
...
...
@@ -40,7 +40,8 @@ import { SelectTwoComponent } from './components/select-2/select-2.component';
import
{
FullLayoutComponent
}
from
'./oneit/components/full-layout/full-layout.component'
;
import
{
OneITModule
}
from
'./oneit/oneit.module'
;
import
{
GoogleTagManagerService
}
from
'./services/google-tag-manager.service'
;
import
{
StartUpService
}
from
'./oneit/services/startup.service'
;
import
{
ConfigService
}
from
'./oneit/services/config.service'
;
@
NgModule
({
imports
:
[
...
...
@@ -84,6 +85,12 @@ import { GoogleTagManagerService } from './services/google-tag-manager.service';
MatricsReportComponent
],
providers
:
[
{
provide
:
APP_INITIALIZER
,
useFactory
:
startup
,
deps
:
[
StartUpService
],
multi
:
true
},
FormBuilder
,
ConfirmationService
,
AdminPortalLayoutService
,
...
...
@@ -92,6 +99,8 @@ import { GoogleTagManagerService } from './services/google-tag-manager.service';
EditWorkflowTemplateService
,
MessageEngineService
,
DatePipe
,
StartUpService
,
ConfigService
,
SearchApplicantService
,
GoogleTagManagerService
,
MyCareerUsersService
,
...
...
@@ -106,3 +115,9 @@ export class AppModule {
constructor
()
{
}
}
export
function
startup
(
startUpService
:
StartUpService
)
{
return
()
=>
{
return
startUpService
.
start
();
}
}
frontend/angular/src/app/app.routing.ts
View file @
cc790641
...
...
@@ -180,7 +180,7 @@ export const routes: Routes = [
{
path
:
'my-career-web'
,
// @ts-ignore
loadChildren
:
"./
components/
my-career-web/my-career-web.module#MyCareerWebModule"
loadChildren
:
"./my-career-web/my-career-web.module#MyCareerWebModule"
}
];
...
...
frontend/angular/src/app/components/admin-portal/admin-portal-layout/admin-portal-layout.component.ts
View file @
cc790641
frontend/angular/src/app/
components/
my-career-web/assessment/assessment.module.ts
→
frontend/angular/src/app/my-career-web/assessment/assessment.module.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/assessment.routing.ts
→
frontend/angular/src/app/my-career-web/assessment/assessment.routing.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/diversity-profile/diversity-profile.component.html
→
frontend/angular/src/app/my-career-web/assessment/diversity-profile/diversity-profile.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/diversity-profile/diversity-profile.component.scss
→
frontend/angular/src/app/my-career-web/assessment/diversity-profile/diversity-profile.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.assessment-wrapper
{
background
:
#FAFCFD
;
...
...
frontend/angular/src/app/
components/
my-career-web/assessment/diversity-profile/diversity-profile.component.ts
→
frontend/angular/src/app/my-career-web/assessment/diversity-profile/diversity-profile.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/work-preference/work-preference.component.html
→
frontend/angular/src/app/my-career-web/assessment/work-preference/work-preference.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/work-preference/work-preference.component.scss
→
frontend/angular/src/app/my-career-web/assessment/work-preference/work-preference.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.assessment-wrapper
{
background
:
#FAFCFD
;
...
...
frontend/angular/src/app/
components/
my-career-web/assessment/work-preference/work-preference.component.ts
→
frontend/angular/src/app/my-career-web/assessment/work-preference/work-preference.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/work-style/work-style.component.html
→
frontend/angular/src/app/my-career-web/assessment/work-style/work-style.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/assessment/work-style/work-style.component.scss
→
frontend/angular/src/app/my-career-web/assessment/work-style/work-style.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.assessment-wrapper
{
background
:
#FAFCFD
;
...
...
frontend/angular/src/app/
components/
my-career-web/assessment/work-style/work-style.component.ts
→
frontend/angular/src/app/my-career-web/assessment/work-style/work-style.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/auth.module.ts
→
frontend/angular/src/app/my-career-web/auth/auth.module.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/auth.routing.ts
→
frontend/angular/src/app/my-career-web/auth/auth.routing.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/forgot-password/forgot-password.component.html
→
frontend/angular/src/app/my-career-web/auth/forgot-password/forgot-password.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/forgot-password/forgot-password.component.scss
→
frontend/angular/src/app/my-career-web/auth/forgot-password/forgot-password.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/forgot-password/forgot-password.component.ts
→
frontend/angular/src/app/my-career-web/auth/forgot-password/forgot-password.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/login/login.component.html
→
frontend/angular/src/app/my-career-web/auth/login/login.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/login/login.component.scss
→
frontend/angular/src/app/my-career-web/auth/login/login.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.auth-wrapper
{
margin-bottom
:
45px
;
...
...
frontend/angular/src/app/
components/
my-career-web/auth/login/login.component.ts
→
frontend/angular/src/app/my-career-web/auth/login/login.component.ts
View file @
cc790641
...
...
@@ -2,12 +2,12 @@ import { Component, ViewChild } from '@angular/core';
import
{
NgForm
}
from
'@angular/forms'
;
import
{
Router
}
from
'@angular/router'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
environment
}
from
'../../../../../environments/environment'
;
import
{
AppService
}
from
'../../../../app.service'
;
import
{
AppService
}
from
'../../../app.service'
;
import
{
BaseComponent
}
from
'../../base/base.component'
;
import
{
EXTERNAL_LINKS
}
from
'../../config/constants'
;
import
{
AuthService
}
from
'../../services/auth.service'
;
import
{
HelperService
}
from
'../../services/helper.service'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
@
Component
({
selector
:
'app-login'
,
...
...
@@ -29,14 +29,15 @@ export class LoginComponent extends BaseComponent {
private
hs
:
HelperService
,
private
as
:
AuthService
,
private
r
:
Router
,
private
aps
:
AppService
private
aps
:
AppService
,
private
us
:
UtilsService
)
{
super
();
}
login
():
void
{
if
(
this
.
form
.
invalid
)
{
return
this
.
hs
.
validateAllFormFields
(
this
.
form
);
return
this
.
us
.
showAllErrorMessages
(
);
}
this
.
isLoading
=
true
;
this
.
as
.
login
(
this
.
loginForm
)
...
...
frontend/angular/src/app/
components/
my-career-web/auth/register/register.component.html
→
frontend/angular/src/app/my-career-web/auth/register/register.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/register/register.component.scss
→
frontend/angular/src/app/my-career-web/auth/register/register.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.auth-wrapper
{
margin-bottom
:
85px
;
...
...
frontend/angular/src/app/
components/
my-career-web/auth/register/register.component.ts
→
frontend/angular/src/app/my-career-web/auth/register/register.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/reset-password/reset-password.component.html
→
frontend/angular/src/app/my-career-web/auth/reset-password/reset-password.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/reset-password/reset-password.component.scss
→
frontend/angular/src/app/my-career-web/auth/reset-password/reset-password.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/auth/reset-password/reset-password.component.ts
→
frontend/angular/src/app/my-career-web/auth/reset-password/reset-password.component.ts
View file @
cc790641
...
...
@@ -7,6 +7,7 @@ import { AuthService } from '../../services/auth.service';
import
{
HelperService
}
from
'../../services/helper.service'
;
import
{
ToasterService
}
from
'../../services/toaster.service'
;
import
{
EXTERNAL_LINKS
}
from
'../../config/constants'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
@
Component
({
selector
:
'app-reset-password'
,
...
...
@@ -26,17 +27,18 @@ export class ResetPasswordComponent extends BaseComponent implements OnInit {
@
ViewChild
(
'form'
)
form
:
NgForm
;
constructor
(
private
hs
:
HelperService
,
private
ar
:
ActivatedRoute
,
private
ts
:
ToasterService
,
private
as
:
AuthService
,
private
r
:
Router
private
helperService
:
HelperService
,
private
activatedRoute
:
ActivatedRoute
,
private
toasterService
:
ToasterService
,
private
authService
:
AuthService
,
private
utilsService
:
UtilsService
,
private
router
:
Router
)
{
super
();
}
ngOnInit
():
void
{
this
.
a
r
.
params
this
.
a
ctivatedRoute
.
params
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
params
=>
{
if
(
params
.
token
)
{
...
...
@@ -47,22 +49,22 @@ export class ResetPasswordComponent extends BaseComponent implements OnInit {
reset
():
void
{
if
(
this
.
form
.
invalid
)
{
return
this
.
hs
.
validateAllFormFields
(
this
.
form
);
return
this
.
utilsService
.
showAllErrorMessages
(
);
}
const
formData
=
{
resetToken
:
this
.
resetToken
,
newPassword
:
this
.
resetForm
.
password
};
this
.
isLoading
=
true
;
this
.
a
s
.
reset
(
formData
)
this
.
a
uthService
.
reset
(
formData
)
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
response
=>
{
this
.
isLoading
=
false
;
this
.
h
s
.
oneItHttpResponse
(
response
);
this
.
h
elperService
.
oneItHttpResponse
(
response
);
if
(
response
.
passwordChanged
)
{
this
.
t
s
.
success
(
'Password changed.'
);
this
.
r
.
navigate
([
'/my-career-web/auth/login'
]);
this
.
t
oasterService
.
success
(
'Password changed.'
);
this
.
r
outer
.
navigate
([
'/my-career-web/auth/login'
]);
}
},
err
=>
{
this
.
hs
.
handleHttpError
(
err
);
this
.
isLoading
=
false
;
this
.
utilsService
.
handleError
(
err
);
});
}
...
...
frontend/angular/src/app/
components/
my-career-web/base/base-modal.component.ts
→
frontend/angular/src/app/my-career-web/base/base-modal.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/base/base.component.ts
→
frontend/angular/src/app/my-career-web/base/base.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history.module.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history.module.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history.routing.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history.routing.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/career-history.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/career-history.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/career-history.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/career-history.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.assessment-wrapper
{
background
:
#FAFCFD
;
...
...
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/career-history.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/career-history.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/education/education.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/education/education.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/education/education.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/education/education.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/education/education.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/education/education.component.ts
View file @
cc790641
...
...
@@ -2,13 +2,13 @@ import { Component, EventEmitter, OnInit, Output, ViewChild } from '@angular/cor
import
{
PersonalDetailsService
}
from
'../../../services/personal-details.service'
;
import
{
CareerProfileModel
}
from
'../../../models/career-profile.model'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
UtilsService
}
from
'../../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../../oneit/services/utils.service'
;
import
{
ConfirmationService
}
from
'primeng/api'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
BaseComponent
}
from
'../../../base/base.component'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
EducationModel
}
from
'../../../models/education.model'
;
import
{
environment
}
from
'../../../../../
../
environments/environment'
;
import
{
environment
}
from
'../../../../../environments/environment'
;
@
Component
({
selector
:
'app-education'
,
...
...
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/publish/publish.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/publish/publish.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/publish/publish.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/publish/publish.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/publish/publish.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/publish/publish.component.ts
View file @
cc790641
...
...
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
import
{
PersonalDetailsService
}
from
'../../../services/personal-details.service'
;
import
{
CareerProfileModel
}
from
'../../../models/career-profile.model'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
UtilsService
}
from
'../../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../../oneit/services/utils.service'
;
import
{
BaseComponent
}
from
'../../../base/base.component'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
...
...
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/references/references.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/references/references.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/references/references.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/references/references.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/references/references.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/references/references.component.ts
View file @
cc790641
...
...
@@ -2,13 +2,13 @@ import { Component, EventEmitter, OnInit, Output, ViewChild } from '@angular/cor
import
{
PersonalDetailsService
}
from
'../../../services/personal-details.service'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
CareerProfileModel
}
from
'../../../models/career-profile.model'
;
import
{
UtilsService
}
from
'../../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../../oneit/services/utils.service'
;
import
{
ConfirmationService
}
from
'primeng/api'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
BaseComponent
}
from
'../../../base/base.component'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
RefereeModel
}
from
'../../../models/referee.model'
;
import
{
environment
}
from
'../../../../../
../
environments/environment'
;
import
{
environment
}
from
'../../../../../environments/environment'
;
@
Component
({
selector
:
'app-references'
,
...
...
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/skills/skills.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/skills/skills.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/skills/skills.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/skills/skills.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/skills/skills.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/skills/skills.component.ts
View file @
cc790641
...
...
@@ -3,7 +3,7 @@ import { BaseComponent } from '../../../base/base.component';
import
{
CareerProfileModel
}
from
'../../../models/career-profile.model'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
PersonalDetailsService
}
from
'../../../services/personal-details.service'
;
import
{
UtilsService
}
from
'../../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../../oneit/services/utils.service'
;
import
{
ConfirmationService
}
from
'primeng/api'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
...
...
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/templates/templates.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/templates/templates.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/templates/templates.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/templates/templates.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/templates/templates.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/templates/templates.component.ts
View file @
cc790641
...
...
@@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core';
import
{
BaseComponent
}
from
'../../../base/base.component'
;
import
{
CareerProfileModel
}
from
'../../../models/career-profile.model'
;
import
{
PersonalDetailsService
}
from
'../../../services/personal-details.service'
;
import
{
UtilsService
}
from
'../../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../../oneit/services/utils.service'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
...
...
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/work-history/work-history.component.html
→
frontend/angular/src/app/my-career-web/career-history/career-history/work-history/work-history.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/work-history/work-history.component.scss
→
frontend/angular/src/app/my-career-web/career-history/career-history/work-history/work-history.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/career-history/career-history/work-history/work-history.component.ts
→
frontend/angular/src/app/my-career-web/career-history/career-history/work-history/work-history.component.ts
View file @
cc790641
...
...
@@ -4,7 +4,7 @@ import { takeUntil } from 'rxjs/operators';
import
{
CareerProfileModel
}
from
'../../../models/career-profile.model'
;
import
{
PersonalDetailsService
}
from
'../../../services/personal-details.service'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
UtilsService
}
from
'../../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../../oneit/services/utils.service'
;
import
{
WorkExperienceModel
}
from
'../../../models/work-experience.model'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
ConfirmationService
}
from
'primeng/api'
;
...
...
frontend/angular/src/app/
components/
my-career-web/config/constants.ts
→
frontend/angular/src/app/my-career-web/config/constants.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/dashboard.module.ts
→
frontend/angular/src/app/my-career-web/dashboard/dashboard.module.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/dashboard.routing.ts
→
frontend/angular/src/app/my-career-web/dashboard/dashboard.routing.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/dashboard/dashboard.component.html
→
frontend/angular/src/app/my-career-web/dashboard/dashboard/dashboard.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/dashboard/dashboard.component.scss
→
frontend/angular/src/app/my-career-web/dashboard/dashboard/dashboard.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.dashboard-wrapper
{
display
:
flex
;
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/dashboard/dashboard.component.ts
→
frontend/angular/src/app/my-career-web/dashboard/dashboard/dashboard.component.ts
View file @
cc790641
...
...
@@ -5,7 +5,7 @@ import { AuthService } from '../../services/auth.service';
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
PersonalDetailsService
}
from
'../../services/personal-details.service'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
environment
}
from
'../../../../
../
environments/environment'
;
import
{
environment
}
from
'../../../../environments/environment'
;
@
Component
({
selector
:
'app-dashboard'
,
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/go-premium/go-premium.component.html
→
frontend/angular/src/app/my-career-web/dashboard/go-premium/go-premium.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/go-premium/go-premium.component.scss
→
frontend/angular/src/app/my-career-web/dashboard/go-premium/go-premium.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.content-wrapper
{
padding
:
20px
118px
;
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/go-premium/go-premium.component.ts
→
frontend/angular/src/app/my-career-web/dashboard/go-premium/go-premium.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/home/home.component.html
→
frontend/angular/src/app/my-career-web/dashboard/home/home.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/home/home.component.scss
→
frontend/angular/src/app/my-career-web/dashboard/home/home.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.home-wrapper
{
.home-header
{
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/home/home.component.ts
→
frontend/angular/src/app/my-career-web/dashboard/home/home.component.ts
View file @
cc790641
...
...
@@ -3,7 +3,7 @@ import { BaseComponent } from '../../base/base.component';
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
PersonalDetailsService
}
from
'../../services/personal-details.service'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
UtilsService
}
from
'../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
import
{
HelperService
}
from
'../../services/helper.service'
;
@
Component
({
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/left-sidebar/left-sidebar.component.html
→
frontend/angular/src/app/my-career-web/dashboard/left-sidebar/left-sidebar.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/left-sidebar/left-sidebar.component.scss
→
frontend/angular/src/app/my-career-web/dashboard/left-sidebar/left-sidebar.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.left-sidebar
{
padding
:
26px
26px
0
0
;
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/left-sidebar/left-sidebar.component.ts
→
frontend/angular/src/app/my-career-web/dashboard/left-sidebar/left-sidebar.component.ts
View file @
cc790641
...
...
@@ -6,7 +6,7 @@ import { BaseComponent } from '../../base/base.component';
import
{
EXTERNAL_LINKS
}
from
'../../config/constants'
;
import
{
PersonalDetailsService
}
from
'../../services/personal-details.service'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
environment
}
from
'../../../../
../
environments/environment'
;
import
{
environment
}
from
'../../../../environments/environment'
;
@
Component
({
selector
:
'app-left-sidebar'
,
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/profile-tasks/profile-tasks.component.html
→
frontend/angular/src/app/my-career-web/dashboard/profile-tasks/profile-tasks.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/profile-tasks/profile-tasks.component.scss
→
frontend/angular/src/app/my-career-web/dashboard/profile-tasks/profile-tasks.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../../
styles/my-career-styles/variables"
;
.right-sidebar
{
padding
:
26px
24px
;
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/profile-tasks/profile-tasks.component.ts
→
frontend/angular/src/app/my-career-web/dashboard/profile-tasks/profile-tasks.component.ts
View file @
cc790641
...
...
@@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import
{
BaseComponent
}
from
'../../base/base.component'
;
import
{
PersonalDetailsService
}
from
'../../services/personal-details.service'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
UtilsService
}
from
'../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
HelperService
}
from
'../../services/helper.service'
;
...
...
frontend/angular/src/app/
components/
my-career-web/dashboard/summary-report/summary-report.component.html
→
frontend/angular/src/app/my-career-web/dashboard/summary-report/summary-report.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/summary-report/summary-report.component.scss
→
frontend/angular/src/app/my-career-web/dashboard/summary-report/summary-report.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/dashboard/summary-report/summary-report.component.ts
→
frontend/angular/src/app/my-career-web/dashboard/summary-report/summary-report.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/guards/home.guard.ts
→
frontend/angular/src/app/my-career-web/guards/home.guard.ts
View file @
cc790641
...
...
@@ -2,9 +2,9 @@ import { Injectable } from '@angular/core';
import
{
ActivatedRouteSnapshot
,
CanActivate
,
Router
,
RouterStateSnapshot
}
from
'@angular/router'
;
import
{
Observable
}
from
'rxjs/Observable'
;
import
{
of
}
from
'rxjs/observable/of'
;
import
{
environment
}
from
'../../../
../
environments/environment'
;
import
{
ApiService
}
from
'../../
../
oneit/services/api.service'
;
import
{
UtilsService
}
from
'../../
../
oneit/services/utils.service'
;
import
{
environment
}
from
'../../../environments/environment'
;
import
{
ApiService
}
from
'../../oneit/services/api.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
@
Injectable
()
export
class
HomeGuard
implements
CanActivate
{
...
...
@@ -26,7 +26,8 @@ export class HomeGuard implements CanActivate {
return
this
.
as
.
post
(
'svc/EnvironmentInformation'
,
params
)
.
map
(
data
=>
{
if
(
this
.
us
.
isSuccessfulResponse
(
data
))
{
// if (this.us.isSuccessfulResponse(data)) {
if
(
data
.
result
===
'ok'
)
{
if
(
data
.
UserName
!==
'noprivauthtoken'
)
{
return
true
;
}
...
...
frontend/angular/src/app/
components/
my-career-web/guards/public.guard.ts
→
frontend/angular/src/app/my-career-web/guards/public.guard.ts
View file @
cc790641
...
...
@@ -2,9 +2,9 @@ import { Injectable } from '@angular/core';
import
{
ActivatedRouteSnapshot
,
CanActivate
,
Router
,
RouterStateSnapshot
}
from
'@angular/router'
;
import
{
Observable
}
from
'rxjs/Observable'
;
import
{
of
}
from
'rxjs/observable/of'
;
import
{
environment
}
from
'../../../
../
environments/environment'
;
import
{
ApiService
}
from
'../../
../
oneit/services/api.service'
;
import
{
UtilsService
}
from
'../../
../
oneit/services/utils.service'
;
import
{
environment
}
from
'../../../environments/environment'
;
import
{
ApiService
}
from
'../../oneit/services/api.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
@
Injectable
()
...
...
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letter/intro-letter.component.html
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letter/intro-letter.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letter/intro-letter.component.scss
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letter/intro-letter.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letter/intro-letter.component.ts
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letter/intro-letter.component.ts
View file @
cc790641
...
...
@@ -3,7 +3,7 @@ import { BaseComponent } from '../../base/base.component';
import
{
IntroductionLetterModel
}
from
'../../models/introduction-letter.model'
;
import
{
ActivatedRoute
,
Router
}
from
'@angular/router'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
UtilsService
}
from
'../../../
../
oneit/services/utils.service'
;
import
{
UtilsService
}
from
'../../../oneit/services/utils.service'
;
import
{
PersonalDetailsService
}
from
'../../services/personal-details.service'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
HelperService
}
from
'../../services/helper.service'
;
...
...
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letters.module.ts
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letters.module.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letters.routing.ts
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letters.routing.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letters/intro-letters.component.html
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letters/intro-letters.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letters/intro-letters.component.scss
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letters/intro-letters.component.scss
View file @
cc790641
@import
"../../../../
../
styles/my-career-styles/variables"
;
@import
"../../../../styles/my-career-styles/variables"
;
.intro-letters
{
margin-top
:
24px
;
...
...
frontend/angular/src/app/
components/
my-career-web/intro-letters/intro-letters/intro-letters.component.ts
→
frontend/angular/src/app/my-career-web/intro-letters/intro-letters/intro-letters.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/layouts/wrapper/wrapper.component.html
→
frontend/angular/src/app/my-career-web/layouts/wrapper/wrapper.component.html
View file @
cc790641
...
...
@@ -23,4 +23,6 @@
</p-toast>
<router-outlet
#
o=
"outlet"
></router-outlet>
<app-feedback></app-feedback>
</div>
frontend/angular/src/app/
components/
my-career-web/layouts/wrapper/wrapper.component.scss
→
frontend/angular/src/app/my-career-web/layouts/wrapper/wrapper.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/layouts/wrapper/wrapper.component.ts
→
frontend/angular/src/app/my-career-web/layouts/wrapper/wrapper.component.ts
View file @
cc790641
import
{
animate
,
style
,
transition
,
trigger
}
from
'@angular/animations'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
MsgsService
}
from
'../../../oneit/services/msgs.service'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
BaseComponent
}
from
'../../base/base.component'
;
@
Component
({
selector
:
'app-wrapper'
,
...
...
@@ -15,14 +18,20 @@ import { Component, OnInit } from '@angular/core';
)
]
})
export
class
WrapperComponent
implements
OnInit
{
export
class
WrapperComponent
extends
BaseComponent
implements
OnInit
{
constructor
()
{
//
constructor
(
private
msgService
:
MsgsService
)
{
super
();
}
ngOnInit
()
{
//
this
.
msgService
.
errorMsgsUpdated
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
error
=>
{
// console.log(error);
});
}
}
frontend/angular/src/app/
components/
my-career-web/mc-shared/form-control/form-control.component.html
→
frontend/angular/src/app/my-career-web/mc-shared/form-control/form-control.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/form-control/form-control.component.scss
→
frontend/angular/src/app/my-career-web/mc-shared/form-control/form-control.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/form-control/form-control.component.ts
→
frontend/angular/src/app/my-career-web/mc-shared/form-control/form-control.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/google-places-autocomplete.directive.ts
→
frontend/angular/src/app/my-career-web/mc-shared/google-places-autocomplete.directive.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/mc-shared.module.ts
→
frontend/angular/src/app/my-career-web/mc-shared/mc-shared.module.ts
View file @
cc790641
import
{
CommonModule
}
from
'@angular/common'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
FormsModule
,
ReactiveFormsModule
}
from
'@angular/forms'
;
import
{
PrimeNGModules
}
from
'../../
../
utils/common.modules.import'
;
import
{
PrimeNGModules
}
from
'../../utils/common.modules.import'
;
import
{
AssessmentService
}
from
'../services/assessment.service'
;
import
{
HelperService
}
from
'../services/helper.service'
;
import
{
PersonalDetailsService
}
from
'../services/personal-details.service'
;
...
...
frontend/angular/src/app/
components/
my-career-web/mc-shared/overlay/overlay.component.html
→
frontend/angular/src/app/my-career-web/mc-shared/overlay/overlay.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/overlay/overlay.component.scss
→
frontend/angular/src/app/my-career-web/mc-shared/overlay/overlay.component.scss
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/overlay/overlay.component.ts
→
frontend/angular/src/app/my-career-web/mc-shared/overlay/overlay.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/personal-details/personal-details.component.html
→
frontend/angular/src/app/my-career-web/mc-shared/personal-details/personal-details.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/mc-shared/personal-details/personal-details.component.scss
→
frontend/angular/src/app/my-career-web/mc-shared/personal-details/personal-details.component.scss
View file @
cc790641
@import
"../../../../
../
styles/my-career-styles/variables"
;
@import
"../../../../styles/my-career-styles/variables"
;
.personal-details
{
...
...
frontend/angular/src/app/
components/
my-career-web/mc-shared/personal-details/personal-details.component.ts
→
frontend/angular/src/app/my-career-web/mc-shared/personal-details/personal-details.component.ts
View file @
cc790641
import
{
Component
,
EventEmitter
,
Input
,
OnInit
,
Output
,
ViewChild
}
from
'@angular/core'
;
import
{
NgForm
}
from
'@angular/forms'
;
import
{
takeUntil
}
from
'rxjs/operators'
;
import
{
AppService
}
from
'../../../
../
app.service'
;
import
{
AppService
}
from
'../../../app.service'
;
import
{
BaseComponent
}
from
'../../base/base.component'
;
import
{
CareerProfileModel
}
from
'../../models/career-profile.model'
;
import
{
HelperService
}
from
'../../services/helper.service'
;
...
...
frontend/angular/src/app/
components/
my-career-web/mc-shared/truncate.pipe.ts
→
frontend/angular/src/app/my-career-web/mc-shared/truncate.pipe.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/base.model.ts
→
frontend/angular/src/app/my-career-web/models/base.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/candidate.model.ts
→
frontend/angular/src/app/my-career-web/models/candidate.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/career-profile.model.ts
→
frontend/angular/src/app/my-career-web/models/career-profile.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/career-skill.model.ts
→
frontend/angular/src/app/my-career-web/models/career-skill.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/culture-element.model.ts
→
frontend/angular/src/app/my-career-web/models/culture-element.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/diversity-profile-question.model.ts
→
frontend/angular/src/app/my-career-web/models/diversity-profile-question.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/education.model.ts
→
frontend/angular/src/app/my-career-web/models/education.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/introduction-letter.model.ts
→
frontend/angular/src/app/my-career-web/models/introduction-letter.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/question.model.ts
→
frontend/angular/src/app/my-career-web/models/question.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/referee.model.ts
→
frontend/angular/src/app/my-career-web/models/referee.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/user.model.ts
→
frontend/angular/src/app/my-career-web/models/user.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/work-experience.model.ts
→
frontend/angular/src/app/my-career-web/models/work-experience.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/work-preference-question.model.ts
→
frontend/angular/src/app/my-career-web/models/work-preference-question.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/models/work-style-question.model.ts
→
frontend/angular/src/app/my-career-web/models/work-style-question.model.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/my-career-web.module.ts
→
frontend/angular/src/app/my-career-web/my-career-web.module.ts
View file @
cc790641
...
...
@@ -9,12 +9,14 @@ import { McSharedModule } from './mc-shared/mc-shared.module';
import
{
MyCareerWebRouting
}
from
'./my-career-web.routing'
;
import
{
AuthService
}
from
'./services/auth.service'
;
import
{
WelcomeComponent
}
from
'./welcome/welcome.component'
;
import
{
OneITModule
}
from
'../oneit/oneit.module'
;
@
NgModule
({
imports
:
[
CommonModule
,
McSharedModule
,
MyCareerWebRouting
MyCareerWebRouting
,
OneITModule
],
providers
:
[
AuthService
,
...
...
frontend/angular/src/app/
components/
my-career-web/my-career-web.routing.ts
→
frontend/angular/src/app/my-career-web/my-career-web.routing.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/services/assessment.service.ts
→
frontend/angular/src/app/my-career-web/services/assessment.service.ts
View file @
cc790641
import
{
Injectable
}
from
'@angular/core'
;
import
{
Observable
}
from
'rxjs'
;
import
{
SearchService
}
from
'../../
../
oneit/services/search.service'
;
import
{
UtilsService
}
from
'../../
../
oneit/services/utils.service'
;
import
{
SearchService
}
from
'../../oneit/services/search.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
@
Injectable
()
export
class
AssessmentService
{
...
...
frontend/angular/src/app/
components/
my-career-web/services/auth.service.ts
→
frontend/angular/src/app/my-career-web/services/auth.service.ts
View file @
cc790641
import
{
Injectable
}
from
'@angular/core'
;
import
{
Observable
}
from
'rxjs'
;
import
{
environment
}
from
'../../../../environments/environment'
;
import
{
ApiService
}
from
'../../../oneit/services/api.service'
;
import
{
environment
}
from
'../../../environments/environment'
;
import
{
ApiService
}
from
'../../oneit/services/api.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
@
Injectable
()
export
class
AuthService
{
...
...
@@ -9,50 +10,46 @@ export class AuthService {
env
=
environment
.
envName
;
constructor
(
private
as
:
ApiService
private
apiService
:
ApiService
,
private
utilsService
:
UtilsService
)
{
}
login
(
formData
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
as
.
post
(
'svc/Login'
,
formData
);
}
googleLogin
(
formData
=
{}
as
any
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
as
.
post
(
'svc/LoginWithGoogle'
,
formData
);
}
linkedinLogin
(
formData
=
{}
as
any
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
as
.
post
(
'svc/LoginWithGoogle'
,
formData
);
return
this
.
apiService
.
post
(
'svc/Login'
,
formData
);
}
forgot
(
formData
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
a
s
.
post
(
'svc/RequestPasswordReset'
,
formData
);
return
this
.
a
piService
.
post
(
'svc/RequestPasswordReset'
,
formData
);
}
register
(
formData
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
a
s
.
post
(
'svc/RegisterMyCareerUser'
,
formData
);
return
this
.
a
piService
.
post
(
'svc/RegisterMyCareerUser'
,
formData
);
}
reset
(
formData
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
a
s
.
post
(
'svc/PasswordChange'
,
formData
);
return
this
.
a
piService
.
post
(
'svc/PasswordChange'
,
formData
);
}
logout
(
formData
=
{}
as
any
):
Observable
<
any
>
{
formData
.
environment
=
this
.
env
;
return
this
.
as
.
post
(
'svc/Logout'
,
formData
);
return
this
.
apiService
.
post
(
'svc/Logout'
,
formData
)
.
map
(
data
=>
{
if
(
this
.
utilsService
.
isSuccessfulResponse
(
data
))
{
return
data
;
}
}
);
}
}
frontend/angular/src/app/
components/
my-career-web/services/helper.service.ts
→
frontend/angular/src/app/my-career-web/services/helper.service.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/services/intro-letter.service.ts
→
frontend/angular/src/app/my-career-web/services/intro-letter.service.ts
View file @
cc790641
import
{
Injectable
}
from
'@angular/core'
;
import
{
UtilsService
}
from
'../../
../
oneit/services/utils.service'
;
import
{
SearchService
}
from
'../../
../
oneit/services/search.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
import
{
SearchService
}
from
'../../oneit/services/search.service'
;
import
{
Observable
}
from
'rxjs'
;
import
{
SERVICES
}
from
'../config/constants'
;
import
{
SaveService
}
from
'../../
../
oneit/services/save.service'
;
import
{
SaveService
}
from
'../../oneit/services/save.service'
;
import
{
IntroductionLetterModel
}
from
'../models/introduction-letter.model'
;
@
Injectable
()
...
...
frontend/angular/src/app/
components/
my-career-web/services/personal-details.service.ts
→
frontend/angular/src/app/my-career-web/services/personal-details.service.ts
View file @
cc790641
import
{
Injectable
}
from
'@angular/core'
;
import
{
Observable
,
Subject
}
from
'rxjs'
;
import
{
EnumService
}
from
'../../
../
oneit/services/enum.service'
;
import
{
SaveService
}
from
'../../
../
oneit/services/save.service'
;
import
{
SearchService
}
from
'../../
../
oneit/services/search.service'
;
import
{
UtilsService
}
from
'../../
../
oneit/services/utils.service'
;
import
{
EnumService
}
from
'../../oneit/services/enum.service'
;
import
{
SaveService
}
from
'../../oneit/services/save.service'
;
import
{
SearchService
}
from
'../../oneit/services/search.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
import
{
SERVICES
}
from
'../config/constants'
;
import
{
CareerProfileModel
}
from
'../models/career-profile.model'
;
...
...
frontend/angular/src/app/
components/
my-career-web/services/toaster.service.ts
→
frontend/angular/src/app/my-career-web/services/toaster.service.ts
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/welcome/welcome.component.html
→
frontend/angular/src/app/my-career-web/welcome/welcome.component.html
View file @
cc790641
File moved
frontend/angular/src/app/
components/
my-career-web/welcome/welcome.component.scss
→
frontend/angular/src/app/my-career-web/welcome/welcome.component.scss
View file @
cc790641
@import
"
~
styles/my-career-styles/variables"
;
@import
"
../../../
styles/my-career-styles/variables"
;
.login-wrapper
{
position
:
relative
;
...
...
frontend/angular/src/app/
components/
my-career-web/welcome/welcome.component.ts
→
frontend/angular/src/app/my-career-web/welcome/welcome.component.ts
View file @
cc790641
File moved
frontend/angular/src/app/oneit/oneit.module.ts
View file @
cc790641
import
{
CommonModule
,
DecimalPipe
}
from
'@angular/common'
;
import
{
HTTP_INTERCEPTORS
}
from
'@angular/common/http'
;
import
{
APP_INITIALIZER
,
NgModule
}
from
'@angular/core'
;
import
{
NgModule
}
from
'@angular/core'
;
import
{
PrimeNGModules
}
from
'./../utils/common.modules.import'
;
import
{
AccessDeniedComponent
}
from
'./components/access-denied/access-denied.component'
;
import
{
BreadcrumbComponent
}
from
'./components/breadcrumb/breadcrumb.component'
;
...
...
@@ -32,14 +32,13 @@ import { ShortenPipe } from './pipes/shorten.pipe';
import
{
SortPipe
}
from
'./pipes/sort.pipe'
;
import
{
TranslatePipe
}
from
'./pipes/translate.pipe'
;
import
{
ApiService
}
from
'./services/api.service'
;
import
{
ConfigService
}
from
'./services/config.service'
;
import
{
EnumService
}
from
'./services/enum.service'
;
import
{
IframeMsgHandlingService
}
from
'./services/iframe-msg-handling.service'
;
import
{
MenuService
}
from
'./services/menu.service'
;
import
{
MsgsService
}
from
'./services/msgs.service'
;
import
{
SaveService
}
from
'./services/save.service'
;
import
{
SearchService
}
from
'./services/search.service'
;
import
{
StartUpService
}
from
'./services/startup.service'
;
import
{
TranslateService
}
from
'./services/translate.service'
;
import
{
UserService
}
from
'./services/user.service'
;
import
{
UtilsService
}
from
'./services/utils.service'
;
...
...
@@ -52,18 +51,11 @@ import { UtilsService } from './services/utils.service';
],
providers
:
[
{
provide
:
APP_INITIALIZER
,
useFactory
:
startup
,
deps
:
[
StartUpService
],
multi
:
true
},
{
provide
:
HTTP_INTERCEPTORS
,
multi
:
true
,
useClass
:
NoopHttpInterceptor
},
ApiService
,
ConfigService
,
UtilsService
,
SearchService
,
EnumService
,
...
...
@@ -75,7 +67,6 @@ import { UtilsService } from './services/utils.service';
MessageSourceConfig
,
MsgsService
,
MenuService
,
StartUpService
,
TranslateService
,
UserService
,
DecimalPipe
,
...
...
@@ -131,9 +122,3 @@ import { UtilsService } from './services/utils.service';
]
})
export
class
OneITModule
{
}
export
function
startup
(
startUpService
:
StartUpService
)
{
return
()
=>
{
return
startUpService
.
start
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment