context-dashboard/context-dashboard.service.ts
Properties |
|
Methods |
|
Accessors |
constructor(inventory: InventoryService, tabs: TabsService, modal: ModalService, translateService: TranslateService, router: Router, navigator: NavigatorService, permissions: Permissions, alert: AlertService)
|
|||||||||||||||||||||||||||
Parameters :
|
activateDashboards | |||||||||
activateDashboards(route: ActivatedRouteSnapshot, types: ContextDashboardType[])
|
|||||||||
Parameters :
Returns :
Observable<boolean | []>
|
canEditDashboard | ||||
canEditDashboard(mo)
|
||||
Parameters :
Returns :
any
|
Async create | ||||||||||||||||
create(dashboardCfg: ContextDashboard, context?: ContextData, name: string)
|
||||||||||||||||
Parameters :
Returns :
unknown
|
Async delete | ||||||||||||
delete(dashboard: ContextDashboardManagedObject, withConfirmation: boolean)
|
||||||||||||
Parameters :
Returns :
any
|
Async detail | ||||||
detail(dashboardMO: ContextDashboardManagedObject)
|
||||||
Parameters :
Returns :
unknown
|
getDashboard$ | ||||||||||||
getDashboard$(dashboardIdOrName, dashboardType: ContextDashboardType[], mo?: IManagedObject)
|
||||||||||||
Parameters :
Returns :
any
|
getFilteredDashboardStyles | ||||||
getFilteredDashboardStyles(styleList: string[])
|
||||||
Parameters :
Returns :
any
|
getNamedDashboardOrCreate | ||||||||||||
getNamedDashboardOrCreate(name: string, defaultWidgets: Widget[], context?: ContextData)
|
||||||||||||
Parameters :
Returns :
any
|
getStyling | ||||||||
getStyling(styleList, styleName, defaultValue)
|
||||||||
Parameters :
Returns :
any
|
isDeviceDashboard | ||||||
isDeviceDashboard(dashboard: Partial
|
||||||
Parameters :
Returns :
boolean
|
isDeviceType | ||||||
isDeviceType(dashboard: Partial
|
||||||
Parameters :
Returns :
any
|
isGroupDashboard | ||||||
isGroupDashboard(dashboard: Partial
|
||||||
Parameters :
Returns :
boolean
|
isNamed | ||||||
isNamed(dashboard: Partial
|
||||||
Parameters :
Returns :
any
|
isReport | ||||||
isReport(dashboard: Partial
|
||||||
Parameters :
Returns :
any
|
mapWidgets | ||||||
mapWidgets(widgets: Widget[])
|
||||||
Parameters :
Returns :
any
|
Async navigateToDashboard | ||||||
navigateToDashboard(dashboardMO: ContextDashboardManagedObject)
|
||||||
Parameters :
Returns :
any
|
Async pasteDashboard | ||||||
pasteDashboard(newContext: DashboardContext)
|
||||||
Parameters :
Returns :
Promise<void>
|
Async refreshTabs | ||||||
refreshTabs(dashboardMO: ContextDashboardManagedObject)
|
||||||
Parameters :
Returns :
any
|
Async update | ||||||
update(dashboard: ContextDashboardManagedObject)
|
||||||
Parameters :
Returns :
unknown
|
updateNavigatorItem | ||||||
updateNavigatorItem(mo: IManagedObject)
|
||||||
Parameters :
Returns :
void
|
copyClipboard |
Type : DashboardCopyClipboard
|
Readonly REPORT_PARTIAL_NAME |
Type : string
|
Default value : 'report_'
|
formDisabled | ||||
getformDisabled()
|
||||
setformDisabled(value)
|
||||
Parameters :
Returns :
void
|