Class NavigationTreeComponent

Hierarchy

  • AbstractNavigationTreeComponent
    • NavigationTreeComponent

Constructors

Properties

_accessService: AccessService
_activeGroupService: ActiveGroupService
_config: ConfigurationService
_languageService: LanguageService
_log: LoggerService
_navigationRouteProvider: DynamicNavigationRouteProviderService
_reloadNavigation: ReplaySubject<void>
_router: Router
_taskResourceService: TaskResourceService
_userService: UserService
contentWidth: BehaviorSubject<number>
dataSource: MatTreeNestedDataSource<NavigationNode>
parentUrl: string
routerChange: boolean
treeControl: NestedTreeControl<NavigationNode, NavigationNode>
viewPath: string
width: number
ɵcmp: unknown
ɵfac: unknown

Methods

  • Appends the route segment to the parent URL.

    Parameters

    • parentUrl: string

      URL of the parent. Should not end with '/'

    • routeSegment: string

      URL segment of the child

    Returns string

    parentUrl/routeSegment if the routeSegment is truthy (not an empty string). Returns parentUrl if routeSegment is falsy (empty string).

  • Parameters

    • view: View
    • routeSegment: string
    • parentUrl: string

    Returns NavigationNode

  • Parameters

    • view: View

    Returns string

  • Parameters

    • view: View
    • routeSegment: string

    Returns string

  • Parameters

    • view: View

      configuration of some view, whose routeSegment we want to determine

    Returns string

    the routeSegment for the provided view, or undefined if none is specified

  • Parameters

    • view: View

    Returns boolean

  • Parameters

    • _: number
    • node: NavigationNode

    Returns boolean

  • Parameters

    • route: View

    Returns boolean

  • Parameters

    • route: View

    Returns boolean

  • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

    Returns void

  • Returns void

  • Returns void

  • Parameters

    • nodes: NavigationNode[]
    • OptionalparentLevel: number

    Returns void

  • Returns void

  • Protected

    Converts the provided Views object into the corresponding navigation tree

    Parameters

    • views: Views

      navigation configuration

    • parentUrl: string

      URL of the parent navigation tree node

    • OptionalancestorNodeContainer: NavigationNode[]

      if the parent node has no navigation this attribute contains the closest ancestor that has navigation

    Returns NavigationNode[]

  • Returns NavigationNode[]