context-dashboard/dashboard-detail.component.ts
selector | c8y-dashboard-detail |
templateUrl | ./dashboard-detail.component.html |
Properties |
|
Methods |
Accessors |
constructor(modal: BsModalRef, iconList: string[], contextDashboardService: ContextDashboardService, navigatorService: NavigatorService, permissionsService: Permissions, translateService: TranslateService)
|
|||||||||||||||||||||
Parameters :
|
close |
close()
|
Returns :
void
|
getDashboardPreviewStyle |
getDashboardPreviewStyle()
|
Returns :
{}
|
ngAfterContentInit |
ngAfterContentInit()
|
Returns :
void
|
save |
save()
|
Returns :
void
|
selectIcon | ||||
selectIcon(icon)
|
||||
Parameters :
Returns :
void
|
setTitle |
setTitle()
|
Returns :
void
|
setupApplyToDevicesOfTypeCheckbox |
setupApplyToDevicesOfTypeCheckbox()
|
Returns :
void
|
updateFiltered | ||||||
updateFiltered(term: string)
|
||||||
Parameters :
Returns :
void
|
applyToDevicesOfTypePermitted |
Type : boolean
|
currentDashboard |
Type : ContextDashboard
|
dashboard |
Type : ContextDashboard
|
dashboardDetailForm |
Type : NgForm
|
Decorators :
@ViewChild('dashboardDetailForm', {static: true})
|
dashboardName |
Type : string
|
Readonly DEFAULT_DASHBOARD_ICON |
Type : string
|
Default value : 'th'
|
Readonly DEFAULT_DASHBOARD_MARGIN |
Type : number
|
Default value : 12
|
Readonly DEFAULT_DASHBOARD_PRIORITY |
Type : number
|
Default value : 10000
|
deviceType |
Type : string
|
filteredIcons |
Type : string[]
|
icons |
Type : string[]
|
isDeviceType |
Type : boolean
|
isNamedDashboard |
Type : boolean
|
isReport |
Type : boolean
|
namePlaceholder |
Type : string
|
navigatorNodes$ |
Type : Observable<NavigatorNode[]>
|
possibleStyling |
Type : object
|
Default value : { DASHBOARD_THEME_CLASSES, WIDGET_HEADER_CLASSES }
|
result |
Type : Promise<ContextDashboard>
|
Default value : new Promise((resolve, reject) => {
this._save = resolve;
this._cancel = reject;
})
|
styling |
Type : object
|
Default value : {
themeClass: 'dashboard-theme-light',
headerClass: 'panel-title-regular'
}
|
title |
Type : string
|
applyToDevicesOfTypeTitle |
getapplyToDevicesOfTypeTitle()
|