src/app/components/project-contributions/project-contributions.component.ts
Project contributions component ~extends ProjectListComponent
selector | app-project-contributions |
styleUrls | ./project-contributions.component.scss |
templateUrl | ./project-contributions.component.html |
Properties |
|
Methods |
|
Accessors |
constructor(portfolioService: PortfolioService, engine: EngineService, sorterService: SorterService, truncatorService: TruncatorService, uiService: UiService, excelDateFormatterService: ExcelDateFormatterService)
|
||||||||||||||||||||||||||||
Constructs the Project component.
Parameters :
|
Public frequency | ||||||
frequency(project: Project)
|
||||||
Frequency getter.
Parameters :
Returns :
any
|
Public getDecryptedProjectPeriod | ||||||
getDecryptedProjectPeriod(project: any)
|
||||||
Get decrypted project period delegate.
Parameters :
Returns :
string
|
Public getFrequencyStyle | ||||||
getFrequencyStyle(frequency: any[])
|
||||||
Frequency style delegate.
Parameters :
Returns :
any
|
Public getJsDateValueFromExcel | ||||||
getJsDateValueFromExcel(excelDate: any)
|
||||||
Get JS date value from Excel delegate.
Parameters :
Returns :
any
|
Public getProjectIsOnePersonTeam | ||||||
getProjectIsOnePersonTeam(project: any)
|
||||||
One person team project indicator delegate.
Parameters :
Returns :
boolean
|
Public toTitleCase | ||||||
toTitleCase(str: string | undefined)
|
||||||
To title case delegate.
Parameters :
Returns :
any
|
Public trackByFn |
trackByFn(index: any, item: any)
|
TrackBy iterator help function.
Returns :
any
|
Public Readonly portfolioService |
Type : PortfolioService
|
The portfolio service injected dependency.
|
Public Readonly sorterService |
Type : SorterService
|
Decorators :
@Inject(undefined)
|
The sorter service injected dependency.
|
Public Readonly truncatorService |
Type : TruncatorService
|
Decorators :
@Inject(undefined)
|
The truncator service injected dependency.
|
dateFormat |
getdateFormat()
|
Date format |
./project-contributions.component.scss
@use "../stylesheets/stylesheets.component.color.scss" as color;
table {
table-layout: fixed;
word-wrap: break-word;
font-size: 14px;
}
td, th {
padding: 1px 4px;
}
a {
padding: 0px;
margin: 0px;
}
.contributions-row {
border-color: color.$table-border-color;
border-style: solid;
border-width: 0px 0px 4px 0px;
}
.contemporary {
background-color: color.$contemporary-period-color;
}
.warning {
background-color: color.$modern-age-color;
}
.info {
background-color: color.$renaissance-color;
}
.success {
background-color: color.$dark-ages-color;
}
@media print {
.table td, .table th {
background-color: color.$list-back-color !important;
}
}