context-dashboard/context-dashboard.service.ts
Properties |
|
Methods |
Accessors |
constructor(inventory: InventoryService, tabs: TabsService, modal: ModalService, translateService: TranslateService, router: Router, user: UserService, appState: AppStateService, navigator: NavigatorService, permissions: Permissions)
|
||||||||||||||||||||||||||||||
|
Parameters :
|
| activateDashboards | |||||||||
activateDashboards(route: ActivatedRouteSnapshot, types: ContextDashboardType[])
|
|||||||||
|
Parameters :
Returns :
any
|
| canEditDashboard | ||||
canEditDashboard(mo)
|
||||
|
Parameters :
Returns :
any
|
| Async create | |||||||||
create(dashboardCfg: ContextDashboard, contextOrName: literal type | string)
|
|||||||||
|
Parameters :
Returns :
{}
|
| Async delete | ||||||||||||
delete(dashboard: ContextDashboardManagedObject, withConfirmation: boolean)
|
||||||||||||
|
Parameters :
Returns :
any
|
| Async detail | ||||||
detail(dashboardMO: ContextDashboardManagedObject)
|
||||||
|
Parameters :
Returns :
{}
|
| getDashboard$ | ||||||||||||
getDashboard$(dashboardIdOrName, dashboardType: ContextDashboardType[], mo?: IManagedObject)
|
||||||||||||
|
Parameters :
Returns :
any
|
| getFilteredDashboardStyles | ||||||
getFilteredDashboardStyles(styleList: string[])
|
||||||
|
Parameters :
Returns :
any
|
| getNamedDashboardOrCreate |
getNamedDashboardOrCreate(name: string, defaultWidgets: Widget[])
|
|
Returns :
any
|
| getStyling | ||||||||
getStyling(styleList, styleName, defaultValue)
|
||||||||
|
Parameters :
Returns :
any
|
| isDeviceType | ||||||
isDeviceType(dashboard: Partial
|
||||||
|
Parameters :
Returns :
any
|
| 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 refreshTabs | ||||||
refreshTabs(dashboardMO: ContextDashboardManagedObject)
|
||||||
|
Parameters :
Returns :
any
|
| Async update | ||||||
update(dashboard: ContextDashboardManagedObject)
|
||||||
|
Parameters :
Returns :
{}
|
| updateNavigatorItem | ||||||
updateNavigatorItem(mo: IManagedObject)
|
||||||
|
Parameters :
Returns :
void
|
| Readonly REPORT_PARTIAL_NAME |
REPORT_PARTIAL_NAME:
|
Type : string
|
Default value : 'report_'
|
| formDisabled | ||||
getformDisabled()
|
||||
setformDisabled(value)
|
||||
|
Parameters :
Returns :
void
|