Class NavigationDoubleDrawerComponent

Hierarchy

  • AbstractNavigationDoubleDrawerComponent
    • NavigationDoubleDrawerComponent

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • _router: Router
    • _activatedRoute: ActivatedRoute
    • _breakpoint: BreakpointObserver
    • _languageService: LanguageService
    • _translateService: TranslateService
    • _userService: UserService
    • _accessService: AccessService
    • _log: LoggerService
    • _config: ConfigurationService
    • _uriService: UriService
    • _caseResourceService: CaseResourceService
    • _impersonationUserSelect: ImpersonationUserSelectService
    • _impersonation: ImpersonationService
    • _dynamicRouteProviderService: DynamicNavigationRouteProviderService
    • _redirectService: RedirectService
    • _navigationService: DoubleDrawerNavigationService
    • _processService: ProcessService
    • _snackBarService: SnackBarService
    • _dialog: MatDialog
    • _taskView: ComponentType<unknown>

    Returns NavigationDoubleDrawerComponent

Properties

_accessService: AccessService
_activatedRoute: ActivatedRoute
_activeParentItemId: string

Id of the left side item (parent folder), whose child view is currently rendered by the router. Undefined when none of the displayed child views matches the active route.

_breakpoint: BreakpointObserver
_breakpointSubscription: Subscription
_caseResourceService: CaseResourceService
_config: ConfigurationService
_configLeftMenu: ConfigDoubleMenu
_configRightMenu: ConfigDoubleMenu
_dialog: MatDialog
_dynamicRoutingService: DynamicNavigationRouteProviderService
_impersonation: ImpersonationService
_impersonationUserSelect: ImpersonationUserSelectService
_languageService: LanguageService
_log: LoggerService
_navigationService: DoubleDrawerNavigationService
_processService: ProcessService
_redirectService: RedirectService
_router: Router
_snackBarService: SnackBarService
_taskView: ComponentType<unknown>
_translateService: TranslateService
_uriService: UriService
_userService: UserService
activeMatchOptions: IsActiveMatchOptions

Route matching rules used to resolve the active child view. They mirror the defaults of routerLinkActive (without [routerLinkActiveOptions]="{exact: true}"), so that the parent folder is highlighted for exactly the same routes as its child item.

activeParentSub: Subscription
allClosable: boolean
configUrl: string
editModeEnabled: boolean
filterIcon: string
folderIcon: string
foldersCategoryName: string
image: string
imageAlt: string
imageRouterLink: string
includeImpersonation: boolean
includeLanguage: boolean
includeMoreMenu: boolean
includeUser: boolean
isSectionOpen: {
    folders: boolean;
    views: boolean;
} = ...
itemClicked: EventEmitter<MenuItemClickEvent>
itemClickedSub: Subscription
itemLoaded: EventEmitter<MenuItemLoadedEvent>
itemLoadedSub: Subscription
loggedOut: EventEmitter<any>
openedFolderIcon: string
portalLeftMenu: TemplateRef<any>
portalRightMenu: TemplateRef<any>
profileRouterLink: string
resized: EventEmitter<MenuResizeEvent>
rightItemsSub: Subscription
stateChanged: EventEmitter<MenuStateChangeEvent>
viewsCategoryName: string
ɵcmp: unknown
ɵfac: unknown

Accessors

  • get canGoBackLoading$(): Observable<boolean>
  • Returns Observable<boolean>

  • get configLeftMenu(): ConfigDoubleMenu
  • Returns ConfigDoubleMenu

  • get configRightMenu(): ConfigDoubleMenu
  • Returns ConfigDoubleMenu

  • get currentNode(): UriNodeResource
  • Returns UriNodeResource

  • set currentNode(node): void
  • Parameters

    • node: UriNodeResource

    Returns void

  • get hiddenCustomItems(): NavigationItem[]
  • Returns NavigationItem[]

  • get hiddenCustomItems$(): BehaviorSubject<NavigationItem[]>
  • Returns BehaviorSubject<NavigationItem[]>

  • get leftItems(): NavigationItem[]
  • Returns NavigationItem[]

  • get leftItems$(): BehaviorSubject<NavigationItem[]>
  • Returns BehaviorSubject<NavigationItem[]>

  • get leftLoading$(): LoadingEmitter
  • Returns LoadingEmitter

  • get moreItems(): NavigationItem[]
  • Returns NavigationItem[]

  • get moreItems$(): BehaviorSubject<NavigationItem[]>
  • Returns BehaviorSubject<NavigationItem[]>

  • get rightItems(): NavigationItem[]
  • Returns NavigationItem[]

  • get rightItems$(): BehaviorSubject<NavigationItem[]>
  • Returns BehaviorSubject<NavigationItem[]>

  • get rightLoading$(): LoadingEmitter
  • Returns LoadingEmitter

  • get user(): User
  • Returns User

Methods

  • Returns boolean

  • Returns boolean

  • Parameters

    • OptionaladditionalParams: {
          [k: string]: string;
      }
      • [k: string]: string

    Returns void

  • Parameters

    • menuItemCase: Case

    Returns void

  • Returns string

  • Returns void

  • Returns boolean

  • Parameters

    • item: NavigationItem
    • node: UriNodeResource

    Returns boolean

  • Resolves whether the item's view is the one currently rendered by the router.

    Parameters

    • item: NavigationItem

      any navigation item holding a routing path

    Returns boolean

  • Returns boolean

  • Function to check whether the back button should be displayed

    Returns boolean

    boolean if the back button should be displayed

  • Resolves whether the given left side item is the parent folder of the view that is currently rendered by the router. Used to highlight the parent of the selected view the same way the selected view itself is highlighted by routerLinkActive.

    Parameters

    • item: NavigationItem

      an item of the left side menu

    Returns boolean

    true if one of the currently displayed children of the item is the active route

  • Returns boolean

  • Parameters

    • index: number
    • item: NavigationItem

    Returns string

  • Returns void

  • Returns void

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

    Returns void

  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

    Returns void

  • On back click, the parent is set to parent of left nodes, that will solve the right side menu (elements that were in left side, after backward navigation will be on the right side). Current level is set to a lower number in order to set the left side menu.

    Returns void

  • On home click, the current level is set to 0, and current parent is set to root node.

    Returns void

  • Parameters

    • item: NavigationItem

    Returns void

  • Parameters

    • event: ResizeEvent

    Returns void

  • Returns void

  • The right side items (including the ones hidden behind the "load more" button) are the children of [currentNode]AbstractNavigationDoubleDrawerComponent#currentNode. Their parent folder on the left side is therefore the left item that corresponds to the current node.

    Returns string

    the id of the left side item whose child view is active, or undefined if no child view is active

  • Parameters

    • isLargeScreen: boolean

    Returns void

  • Parameters

    • newVal: boolean

    Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Parameters

    • index: number
    • node: UriNodeResource

    Returns string