File

src/app/components/course/course.component.ts

Description

Course component ~extends PropertyComponent

Extends

PropertyComponent

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(datePipe: DatePipe, portfolioService: PortfolioService, inputService: InputService, uiService: UiService, dataService: DataService, excelDateFormatterService: ExcelDateFormatterService, classifierService: ClassifierService)

Constructs the Course component.

Parameters :
Name Type Optional Description
datePipe DatePipe No

The data pipe injected dependency.

portfolioService PortfolioService No

The portfolio service injected dependency.

inputService InputService No

The input service injected dependency.

uiService UiService No

The ui service injected dependency.

dataService DataService No

The data service injected dependency.

excelDateFormatterService ExcelDateFormatterService No

The Excel date formatter service injected dependency.

classifierService ClassifierService No

The classifier service injected dependency.

Inputs

propertyName
Type : Indexable

Injected propery name setter.

Methods

completed
completed(propertyName: Accomplishment)

Calculate and format completed date.

Parameters :
Name Type Optional
propertyName Accomplishment No
Returns : any
expired
expired(propertyName: Accomplishment)

Calculate whether completed date is in the past.

Parameters :
Name Type Optional
propertyName Accomplishment No
Returns : boolean
expiresLabel
expiresLabel(propertyName: Accomplishment)

Calculate expires label.

Parameters :
Name Type Optional
propertyName Accomplishment No
Returns : any
getAccomplishmentAuthorityImageUri
getAccomplishmentAuthorityImageUri(imageName: string)

Get accomplishment authority image uri delegate.

Parameters :
Name Type Optional
imageName string No
Returns : any
getAccomplishmentCertificateImageUri
getAccomplishmentCertificateImageUri(imageName: string, full: boolean)

Get accomplishment certificate image uri delegate.

Parameters :
Name Type Optional Default value
imageName string No
full boolean No false
Returns : any
getAccomplishmentCertificateLogoImageUri
getAccomplishmentCertificateLogoImageUri(imageName: string, full: boolean)

Get accomplishment certificate logo image uri delegate.

Parameters :
Name Type Optional Default value
imageName string No
full boolean No false
Returns : any
sameFormattedDate
sameFormattedDate(propertyName: Accomplishment)

Check if the started formatted date is the same as the completed formatted date.

Parameters :
Name Type Optional
propertyName Accomplishment No
Returns : boolean
started
started(propertyName: Accomplishment)

Calculate and format started date.

Parameters :
Name Type Optional
propertyName Accomplishment No
Returns : any
Public trackByFn
trackByFn(index: any, item: any)

TrackBy iterator help function.

Parameters :
Name Type Optional
index any No
item any No
Returns : any
rotateDateFormat
rotateDateFormat()

Rotate date format changer.

Returns : void
getBackgroundLogoImageUri
getBackgroundLogoImageUri(imageName: string)

Get background logoimage uri delegate.

Parameters :
Name Type Optional
imageName string No
Returns : any
getJsDateValueFromExcel
getJsDateValueFromExcel(excelDate: any)

Get JS date value from Excel delegate.

Parameters :
Name Type Optional
excelDate any No
Returns : any
getSafeUri
getSafeUri(url: string)

Get safe uri delegate.

Parameters :
Name Type Optional
url string No
Returns : any
linkLabel
linkLabel(key: string | undefined)

Link label delegate.

Parameters :
Name Type Optional
key string | undefined No
Returns : string

Properties

Public Readonly classifierService
Type : ClassifierService
The classifier service injected dependency.
Optional clickableDateFormat
Type : ElementRef<HTMLSpanElement>
Decorators :
@ViewChild('clickableDateFormat')

Date Format clickable element.

Public Readonly dataService
Type : DataService
The data service injected dependency.
Public Readonly datePipe
Type : DatePipe
The data pipe injected dependency.
Public Readonly excelDateFormatterService
Type : ExcelDateFormatterService
The Excel date formatter service injected dependency.
Public Readonly inputService
Type : InputService
The input service injected dependency.
Public Readonly portfolioService
Type : PortfolioService
The portfolio service injected dependency.
Public Readonly uiService
Type : UiService
The ui service injected dependency.

Accessors

type
gettype()

Property name type getter.

Returns : string
defaultDateFormat
getdefaultDateFormat()

Default date format getter.

showLevel
getshowLevel()

Whether to show property level.

level
getlevel()

The property level calculated.

./course.component.scss

@use "../property/property.component.scss";
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""