@tilde-nlp/ngx-menu 4.1.10 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/assets/menu-logo.svg.mjs +1 -1
- package/esm2022/lib/components/menu-columns/menu-columns.component.mjs +103 -72
- package/esm2022/lib/components/menu-icon/menu-icon.component.mjs +53 -23
- package/esm2022/lib/components/menu-item-icon/menu-item-icon.component.mjs +115 -71
- package/esm2022/lib/components/menu-item-icon/menu.model.mjs +3 -3
- package/esm2022/lib/components/menu-item-icon/models/menu-dialog-settings.model.mjs +1 -1
- package/esm2022/lib/components/menu-item-icon/models/menu-item-settings.model.mjs +1 -1
- package/esm2022/lib/components/menu-item-icon/models/menu-title-placement.model.mjs +6 -6
- package/esm2022/lib/components/menu-item-link/menu-item-link.component.mjs +91 -53
- package/esm2022/lib/components/menu-item-list/menu-item-list.component.mjs +178 -61
- package/esm2022/lib/components/modal-nav-menu/modal-nav-menu.component.mjs +82 -36
- package/esm2022/lib/components/nav-base/models/index.mjs +1 -1
- package/esm2022/lib/components/nav-base/models/strapi-data-location.enum.mjs +6 -6
- package/esm2022/lib/components/nav-base/nav-base.component.mjs +37 -32
- package/esm2022/lib/components/side-nav-menu/index.mjs +2 -2
- package/esm2022/lib/components/side-nav-menu/models/index.mjs +1 -1
- package/esm2022/lib/components/side-nav-menu/models/side-nav-settings.model.mjs +1 -1
- package/esm2022/lib/components/side-nav-menu/side-nav-menu.component.mjs +130 -93
- package/esm2022/lib/injection-tokens/index.mjs +1 -1
- package/esm2022/lib/injection-tokens/menu-shared-config.token.mjs +1 -1
- package/esm2022/lib/menu.module.mjs +114 -113
- package/esm2022/lib/models/active-menu-item-config.model.mjs +1 -1
- package/esm2022/lib/models/active-menu-items.model.mjs +1 -1
- package/esm2022/lib/models/custom-menu-item.mjs +1 -1
- package/esm2022/lib/models/index.mjs +7 -7
- package/esm2022/lib/models/menu-icon-strapi-extension.const.mjs +1 -1
- package/esm2022/lib/models/menu-item-group.model.mjs +1 -1
- package/esm2022/lib/models/menu-layout-direction.model.mjs +5 -5
- package/esm2022/lib/models/menu-shared-config.model.mjs +1 -1
- package/esm2022/lib/services/index.mjs +2 -2
- package/esm2022/lib/services/menu-items.service.mjs +125 -125
- package/esm2022/lib/services/strapi.service.mjs +93 -93
- package/esm2022/public-api.mjs +15 -15
- package/esm2022/tilde-nlp-ngx-menu.mjs +4 -4
- package/fesm2022/tilde-nlp-ngx-menu.mjs +1016 -667
- package/fesm2022/tilde-nlp-ngx-menu.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/assets/menu-logo.svg.d.ts +1 -1
- package/lib/components/menu-columns/menu-columns.component.d.ts +28 -28
- package/lib/components/menu-icon/menu-icon.component.d.ts +10 -10
- package/lib/components/menu-item-icon/menu-item-icon.component.d.ts +28 -28
- package/lib/components/menu-item-icon/menu.model.d.ts +3 -3
- package/lib/components/menu-item-icon/models/menu-dialog-settings.model.d.ts +8 -8
- package/lib/components/menu-item-icon/models/menu-item-settings.model.d.ts +6 -6
- package/lib/components/menu-item-icon/models/menu-title-placement.model.d.ts +5 -5
- package/lib/components/menu-item-link/menu-item-link.component.d.ts +25 -25
- package/lib/components/menu-item-list/menu-item-list.component.d.ts +21 -21
- package/lib/components/modal-nav-menu/modal-nav-menu.component.d.ts +14 -14
- package/lib/components/nav-base/models/index.d.ts +1 -1
- package/lib/components/nav-base/models/strapi-data-location.enum.d.ts +5 -5
- package/lib/components/nav-base/nav-base.component.d.ts +19 -19
- package/lib/components/side-nav-menu/index.d.ts +2 -2
- package/lib/components/side-nav-menu/models/index.d.ts +1 -1
- package/lib/components/side-nav-menu/models/side-nav-settings.model.d.ts +7 -7
- package/lib/components/side-nav-menu/side-nav-menu.component.d.ts +33 -33
- package/lib/injection-tokens/index.d.ts +1 -1
- package/lib/injection-tokens/menu-shared-config.token.d.ts +1 -1
- package/lib/menu.module.d.ts +29 -29
- package/lib/models/active-menu-item-config.model.d.ts +4 -4
- package/lib/models/active-menu-items.model.d.ts +6 -6
- package/lib/models/custom-menu-item.d.ts +21 -21
- package/lib/models/index.d.ts +7 -7
- package/lib/models/menu-icon-strapi-extension.const.d.ts +1 -1
- package/lib/models/menu-item-group.model.d.ts +9 -9
- package/lib/models/menu-layout-direction.model.d.ts +4 -4
- package/lib/models/menu-shared-config.model.d.ts +21 -21
- package/lib/services/index.d.ts +2 -2
- package/lib/services/menu-items.service.d.ts +38 -38
- package/lib/services/strapi.service.d.ts +20 -20
- package/package.json +12 -9
- package/public-api.d.ts +12 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum TitlePlacement {
|
|
2
|
-
none = "none",
|
|
3
|
-
left = "left",
|
|
4
|
-
right = "right"
|
|
5
|
-
}
|
|
1
|
+
export declare enum TitlePlacement {
|
|
2
|
+
none = "none",
|
|
3
|
+
left = "left",
|
|
4
|
+
right = "right"
|
|
5
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PlaceholderComponentBase, StrapiLinkService, StrapiVariablesService } from '@tilde-nlp/ngx-strapi';
|
|
3
|
-
import { CustomMenuItem, MenuLayoutDirection } from '../../models';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MenuItemLinkComponent implements OnInit, OnDestroy, PlaceholderComponentBase {
|
|
6
|
-
private readonly strapiLinkService;
|
|
7
|
-
private readonly placeholderService;
|
|
8
|
-
direction: MenuLayoutDirection;
|
|
9
|
-
labelsVisible: boolean;
|
|
10
|
-
activeItem: CustomMenuItem | undefined;
|
|
11
|
-
showIcons: boolean;
|
|
12
|
-
menuItem: CustomMenuItem;
|
|
13
|
-
textWithPlaceholders: string;
|
|
14
|
-
href: string;
|
|
15
|
-
private placeholderServiceId;
|
|
16
|
-
get menuItemLayout(): string;
|
|
17
|
-
get menuLayoutDirection(): string;
|
|
18
|
-
constructor(strapiLinkService: StrapiLinkService, placeholderService: StrapiVariablesService);
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
linkClick(event: MouseEvent, item: CustomMenuItem): void;
|
|
21
|
-
updateTextWithPlaceholders: (textWithReplacedPlaceholders: string) => string;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemLinkComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemLinkComponent, "tld-menu-item-link", never, { "direction": { "alias": "direction"; "required": false; }; "labelsVisible": { "alias": "labelsVisible"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "showIcons": { "alias": "showIcons"; "required": false; }; "menuItem": { "alias": "menuItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PlaceholderComponentBase, StrapiLinkService, StrapiVariablesService } from '@tilde-nlp/ngx-strapi';
|
|
3
|
+
import { CustomMenuItem, MenuLayoutDirection } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MenuItemLinkComponent implements OnInit, OnDestroy, PlaceholderComponentBase {
|
|
6
|
+
private readonly strapiLinkService;
|
|
7
|
+
private readonly placeholderService;
|
|
8
|
+
direction: MenuLayoutDirection;
|
|
9
|
+
labelsVisible: boolean;
|
|
10
|
+
activeItem: CustomMenuItem | undefined;
|
|
11
|
+
showIcons: boolean;
|
|
12
|
+
menuItem: CustomMenuItem;
|
|
13
|
+
textWithPlaceholders: string;
|
|
14
|
+
href: string;
|
|
15
|
+
private placeholderServiceId;
|
|
16
|
+
get menuItemLayout(): string;
|
|
17
|
+
get menuLayoutDirection(): string;
|
|
18
|
+
constructor(strapiLinkService: StrapiLinkService, placeholderService: StrapiVariablesService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
linkClick(event: MouseEvent, item: CustomMenuItem): void;
|
|
21
|
+
updateTextWithPlaceholders: (textWithReplacedPlaceholders: string) => string;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemLinkComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemLinkComponent, "tld-menu-item-link", never, { "direction": { "alias": "direction"; "required": false; }; "labelsVisible": { "alias": "labelsVisible"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "showIcons": { "alias": "showIcons"; "required": false; }; "menuItem": { "alias": "menuItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { CustomMenuItem } from '../../models/custom-menu-item';
|
|
3
|
-
import { MenuItemGroupBase } from '../../models/menu-item-group.model';
|
|
4
|
-
import { MenuLayoutDirection } from '../../models/menu-layout-direction.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class MenuItemListComponent {
|
|
7
|
-
direction: MenuLayoutDirection;
|
|
8
|
-
labelsVisible: boolean;
|
|
9
|
-
activeItem: CustomMenuItem | undefined;
|
|
10
|
-
showIcons: boolean;
|
|
11
|
-
items: CustomMenuItem[];
|
|
12
|
-
menuItemGroup: MenuItemGroupBase;
|
|
13
|
-
toggleExpand: EventEmitter<CustomMenuItem>;
|
|
14
|
-
get titleKey(): string | undefined;
|
|
15
|
-
get showTitle(): boolean | undefined;
|
|
16
|
-
get menuLayoutDirection(): string;
|
|
17
|
-
get menuItemLayout(): string;
|
|
18
|
-
toggleItemExpand(event: MouseEvent, menuItem: CustomMenuItem): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemListComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemListComponent, "menu-item-list", never, { "direction": { "alias": "direction"; "required": false; }; "labelsVisible": { "alias": "labelsVisible"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "showIcons": { "alias": "showIcons"; "required": false; }; "items": { "alias": "items"; "required": false; }; "menuItemGroup": { "alias": "menuItemGroup"; "required": false; }; }, { "toggleExpand": "toggleExpand"; }, never, never, false, never>;
|
|
21
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { CustomMenuItem } from '../../models/custom-menu-item';
|
|
3
|
+
import { MenuItemGroupBase } from '../../models/menu-item-group.model';
|
|
4
|
+
import { MenuLayoutDirection } from '../../models/menu-layout-direction.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MenuItemListComponent {
|
|
7
|
+
direction: MenuLayoutDirection;
|
|
8
|
+
labelsVisible: boolean;
|
|
9
|
+
activeItem: CustomMenuItem | undefined;
|
|
10
|
+
showIcons: boolean;
|
|
11
|
+
items: CustomMenuItem[];
|
|
12
|
+
menuItemGroup: MenuItemGroupBase;
|
|
13
|
+
toggleExpand: EventEmitter<CustomMenuItem>;
|
|
14
|
+
get titleKey(): string | undefined;
|
|
15
|
+
get showTitle(): boolean | undefined;
|
|
16
|
+
get menuLayoutDirection(): string;
|
|
17
|
+
get menuItemLayout(): string;
|
|
18
|
+
toggleItemExpand(event: MouseEvent, menuItem: CustomMenuItem): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemListComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemListComponent, "menu-item-list", never, { "direction": { "alias": "direction"; "required": false; }; "labelsVisible": { "alias": "labelsVisible"; "required": false; }; "activeItem": { "alias": "activeItem"; "required": false; }; "showIcons": { "alias": "showIcons"; "required": false; }; "items": { "alias": "items"; "required": false; }; "menuItemGroup": { "alias": "menuItemGroup"; "required": false; }; }, { "toggleExpand": "toggleExpand"; }, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MenuDialogSettings } from '../menu-item-icon/models/menu-dialog-settings.model';
|
|
3
|
-
import { NavBaseComponent } from '../nav-base/nav-base.component';
|
|
4
|
-
import { MenuItemsService } from '../../services/menu-items.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ModalNavMenuComponent extends NavBaseComponent implements OnInit, OnDestroy {
|
|
7
|
-
readonly menuItems: MenuItemsService;
|
|
8
|
-
menuDialogSettings: MenuDialogSettings;
|
|
9
|
-
closeButtonClick: EventEmitter<any>;
|
|
10
|
-
constructor(menuItems: MenuItemsService);
|
|
11
|
-
close(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalNavMenuComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalNavMenuComponent, "lib-modal-nav-menu", never, { "menuDialogSettings": { "alias": "menuDialogSettings"; "required": false; }; }, { "closeButtonClick": "closeButtonClick"; }, never, ["[top]", "[bottom]"], false, never>;
|
|
14
|
-
}
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MenuDialogSettings } from '../menu-item-icon/models/menu-dialog-settings.model';
|
|
3
|
+
import { NavBaseComponent } from '../nav-base/nav-base.component';
|
|
4
|
+
import { MenuItemsService } from '../../services/menu-items.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ModalNavMenuComponent extends NavBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
readonly menuItems: MenuItemsService;
|
|
8
|
+
menuDialogSettings: MenuDialogSettings;
|
|
9
|
+
closeButtonClick: EventEmitter<any>;
|
|
10
|
+
constructor(menuItems: MenuItemsService);
|
|
11
|
+
close(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalNavMenuComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalNavMenuComponent, "lib-modal-nav-menu", never, { "menuDialogSettings": { "alias": "menuDialogSettings"; "required": false; }; }, { "closeButtonClick": "closeButtonClick"; }, never, ["[top]", "[bottom]"], false, never>;
|
|
14
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './strapi-data-location.enum';
|
|
1
|
+
export * from './strapi-data-location.enum';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** Necessary for menu components to determine where loaded data from strapi should be placed - either in front of pre defined items or in end. */
|
|
2
|
-
export declare enum StrapiDataLocation {
|
|
3
|
-
START = 0,
|
|
4
|
-
END = 1
|
|
5
|
-
}
|
|
1
|
+
/** Necessary for menu components to determine where loaded data from strapi should be placed - either in front of pre defined items or in end. */
|
|
2
|
+
export declare enum StrapiDataLocation {
|
|
3
|
+
START = 0,
|
|
4
|
+
END = 1
|
|
5
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { MenuLayoutDirection } from '../../models/menu-layout-direction.model';
|
|
3
|
-
import { MenuItemsService } from '../../services/menu-items.service';
|
|
4
|
-
import { ActiveMenuItems } from '../../models';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class NavBaseComponent implements OnInit, OnDestroy {
|
|
8
|
-
readonly menuItemsService: MenuItemsService;
|
|
9
|
-
direction: MenuLayoutDirection;
|
|
10
|
-
active: ActiveMenuItems;
|
|
11
|
-
protected activeItemSubscription: Subscription;
|
|
12
|
-
constructor(menuItemsService: MenuItemsService);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
initBase(): void;
|
|
15
|
-
ngOnDestroy(): void;
|
|
16
|
-
destroyBase(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavBaseComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavBaseComponent, "nav-base", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MenuLayoutDirection } from '../../models/menu-layout-direction.model';
|
|
3
|
+
import { MenuItemsService } from '../../services/menu-items.service';
|
|
4
|
+
import { ActiveMenuItems } from '../../models';
|
|
5
|
+
import { Subscription } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class NavBaseComponent implements OnInit, OnDestroy {
|
|
8
|
+
readonly menuItemsService: MenuItemsService;
|
|
9
|
+
direction: MenuLayoutDirection;
|
|
10
|
+
active: ActiveMenuItems;
|
|
11
|
+
protected activeItemSubscription: Subscription;
|
|
12
|
+
constructor(menuItemsService: MenuItemsService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
initBase(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
destroyBase(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavBaseComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavBaseComponent, "nav-base", never, { "direction": { "alias": "direction"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './side-nav-menu.component';
|
|
1
|
+
export * from './models';
|
|
2
|
+
export * from './side-nav-menu.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './side-nav-settings.model';
|
|
1
|
+
export * from './side-nav-settings.model';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface SideNavSettings {
|
|
2
|
-
expandedWidth?: string;
|
|
3
|
-
collapsedWidth?: string;
|
|
4
|
-
menuLogo: string;
|
|
5
|
-
menuLogoCollapsed?: string | null;
|
|
6
|
-
disableStrapi?: boolean;
|
|
7
|
-
}
|
|
1
|
+
export interface SideNavSettings {
|
|
2
|
+
expandedWidth?: string;
|
|
3
|
+
collapsedWidth?: string;
|
|
4
|
+
menuLogo: string;
|
|
5
|
+
menuLogoCollapsed?: string | null;
|
|
6
|
+
disableStrapi?: boolean;
|
|
7
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { DOMService, PlausibleEvent } from '@tilde-nlp/ngx-common';
|
|
3
|
-
import { StrapiLinkService } from '@tilde-nlp/ngx-strapi';
|
|
4
|
-
import { MenuSharedConfig } from '../../models/menu-shared-config.model';
|
|
5
|
-
import { NavBaseComponent } from '../nav-base/nav-base.component';
|
|
6
|
-
import { SideNavSettings } from './models/side-nav-settings.model';
|
|
7
|
-
import { MenuItemsService } from '../../services/menu-items.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SideNavMenuComponent extends NavBaseComponent implements OnInit, OnDestroy {
|
|
10
|
-
strapiLinkService: StrapiLinkService;
|
|
11
|
-
readonly domService: DOMService;
|
|
12
|
-
readonly menuItems: MenuItemsService;
|
|
13
|
-
readonly COLLAPSED_LOCAL_STORAGE_KEY = "TLD_MENU_SIDE_NAV_COLLAPSED";
|
|
14
|
-
private readonly COLLAPSE_PLAUSIBLE_EVENT_ID;
|
|
15
|
-
private readonly COLLAPSE_PLAUSIBLE_ACTION_KEY;
|
|
16
|
-
private readonly LOGOCLICK_PLAUSIBLE_ACTION_ID;
|
|
17
|
-
readonly LOGOCLICK_PLAUSIBLE_EVENT: PlausibleEvent;
|
|
18
|
-
readonly EXPAND_PLAUSIBLE_EVENT: PlausibleEvent;
|
|
19
|
-
readonly COLLAPSE_PLAUSIBLE_EVENT: PlausibleEvent;
|
|
20
|
-
menuSettings: SideNavSettings;
|
|
21
|
-
collapsed: boolean;
|
|
22
|
-
readonly baseUrl: string | undefined;
|
|
23
|
-
get menuLogoImage(): string;
|
|
24
|
-
get sideNavWidth(): string | undefined;
|
|
25
|
-
constructor(strapiLinkService: StrapiLinkService, domService: DOMService, menuItems: MenuItemsService, menuSharedConfig: MenuSharedConfig);
|
|
26
|
-
ngOnInit(): void;
|
|
27
|
-
logoClick(event: MouseEvent): void;
|
|
28
|
-
toggleCollapse(): void;
|
|
29
|
-
private getColapsedFromLocalStorage;
|
|
30
|
-
private setColapsedFromLocalStorage;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavMenuComponent, [null, null, null, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavMenuComponent, "lib-side-nav-menu", never, { "menuSettings": { "alias": "menuSettings"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
-
}
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { DOMService, PlausibleEvent } from '@tilde-nlp/ngx-common';
|
|
3
|
+
import { StrapiLinkService } from '@tilde-nlp/ngx-strapi';
|
|
4
|
+
import { MenuSharedConfig } from '../../models/menu-shared-config.model';
|
|
5
|
+
import { NavBaseComponent } from '../nav-base/nav-base.component';
|
|
6
|
+
import { SideNavSettings } from './models/side-nav-settings.model';
|
|
7
|
+
import { MenuItemsService } from '../../services/menu-items.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SideNavMenuComponent extends NavBaseComponent implements OnInit, OnDestroy {
|
|
10
|
+
strapiLinkService: StrapiLinkService;
|
|
11
|
+
readonly domService: DOMService;
|
|
12
|
+
readonly menuItems: MenuItemsService;
|
|
13
|
+
readonly COLLAPSED_LOCAL_STORAGE_KEY = "TLD_MENU_SIDE_NAV_COLLAPSED";
|
|
14
|
+
private readonly COLLAPSE_PLAUSIBLE_EVENT_ID;
|
|
15
|
+
private readonly COLLAPSE_PLAUSIBLE_ACTION_KEY;
|
|
16
|
+
private readonly LOGOCLICK_PLAUSIBLE_ACTION_ID;
|
|
17
|
+
readonly LOGOCLICK_PLAUSIBLE_EVENT: PlausibleEvent;
|
|
18
|
+
readonly EXPAND_PLAUSIBLE_EVENT: PlausibleEvent;
|
|
19
|
+
readonly COLLAPSE_PLAUSIBLE_EVENT: PlausibleEvent;
|
|
20
|
+
menuSettings: SideNavSettings;
|
|
21
|
+
collapsed: boolean;
|
|
22
|
+
readonly baseUrl: string | undefined;
|
|
23
|
+
get menuLogoImage(): string;
|
|
24
|
+
get sideNavWidth(): string | undefined;
|
|
25
|
+
constructor(strapiLinkService: StrapiLinkService, domService: DOMService, menuItems: MenuItemsService, menuSharedConfig: MenuSharedConfig);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
logoClick(event: MouseEvent): void;
|
|
28
|
+
toggleCollapse(): void;
|
|
29
|
+
private getColapsedFromLocalStorage;
|
|
30
|
+
private setColapsedFromLocalStorage;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavMenuComponent, [null, null, null, { optional: true; }]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideNavMenuComponent, "lib-side-nav-menu", never, { "menuSettings": { "alias": "menuSettings"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./menu-shared-config.token";
|
|
1
|
+
export * from "./menu-shared-config.token";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MENU_SHARED_CONFIG = "menu-shared-config";
|
|
1
|
+
export declare const MENU_SHARED_CONFIG = "menu-shared-config";
|
package/lib/menu.module.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { MenuSharedConfig } from './models/menu-shared-config.model';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./components/side-nav-menu/side-nav-menu.component";
|
|
5
|
-
import * as i2 from "./components/modal-nav-menu/modal-nav-menu.component";
|
|
6
|
-
import * as i3 from "./components/menu-item-icon/menu-item-icon.component";
|
|
7
|
-
import * as i4 from "./components/nav-base/nav-base.component";
|
|
8
|
-
import * as i5 from "./components/menu-item-list/menu-item-list.component";
|
|
9
|
-
import * as i6 from "./components/menu-columns/menu-columns.component";
|
|
10
|
-
import * as i7 from "./components/menu-icon/menu-icon.component";
|
|
11
|
-
import * as i8 from "./components/menu-item-link/menu-item-link.component";
|
|
12
|
-
import * as i9 from "@angular/common/http";
|
|
13
|
-
import * as i10 from "@
|
|
14
|
-
import * as i11 from "@angular/router";
|
|
15
|
-
import * as i12 from "@angular/common";
|
|
16
|
-
import * as i13 from "@angular/material/tooltip";
|
|
17
|
-
import * as i14 from "@angular/material/dialog";
|
|
18
|
-
import * as i15 from "@angular/material/icon";
|
|
19
|
-
import * as i16 from "@angular/material/button";
|
|
20
|
-
import * as i17 from "@angular/material/list";
|
|
21
|
-
import * as i18 from "@angular/material/menu";
|
|
22
|
-
import * as i19 from "@ngx-translate/core";
|
|
23
|
-
import * as i20 from "@tilde-nlp/ngx-common";
|
|
24
|
-
export declare class MenuModule {
|
|
25
|
-
static forRoot(config: MenuSharedConfig): ModuleWithProviders<MenuModule>;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof i1.SideNavMenuComponent, typeof i2.ModalNavMenuComponent, typeof i3.MenuItemIconComponent, typeof i4.NavBaseComponent, typeof i5.MenuItemListComponent, typeof i6.MenuColumnsComponent, typeof i7.MenuIconComponent, typeof i8.MenuItemLinkComponent], [typeof i9.HttpClientModule, typeof i10.FlexLayoutModule, typeof i11.RouterModule, typeof i12.CommonModule, typeof i13.MatTooltipModule, typeof i14.MatDialogModule, typeof i15.MatIconModule, typeof i16.MatButtonModule, typeof i17.MatListModule, typeof i18.MatMenuModule, typeof i15.MatIconModule, typeof i19.TranslateModule, typeof i20.PlausibleModule], [typeof i1.SideNavMenuComponent, typeof i2.ModalNavMenuComponent, typeof i3.MenuItemIconComponent, typeof i6.MenuColumnsComponent]>;
|
|
28
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
|
|
29
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { MenuSharedConfig } from './models/menu-shared-config.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/side-nav-menu/side-nav-menu.component";
|
|
5
|
+
import * as i2 from "./components/modal-nav-menu/modal-nav-menu.component";
|
|
6
|
+
import * as i3 from "./components/menu-item-icon/menu-item-icon.component";
|
|
7
|
+
import * as i4 from "./components/nav-base/nav-base.component";
|
|
8
|
+
import * as i5 from "./components/menu-item-list/menu-item-list.component";
|
|
9
|
+
import * as i6 from "./components/menu-columns/menu-columns.component";
|
|
10
|
+
import * as i7 from "./components/menu-icon/menu-icon.component";
|
|
11
|
+
import * as i8 from "./components/menu-item-link/menu-item-link.component";
|
|
12
|
+
import * as i9 from "@angular/common/http";
|
|
13
|
+
import * as i10 from "@ngbracket/ngx-layout";
|
|
14
|
+
import * as i11 from "@angular/router";
|
|
15
|
+
import * as i12 from "@angular/common";
|
|
16
|
+
import * as i13 from "@angular/material/tooltip";
|
|
17
|
+
import * as i14 from "@angular/material/dialog";
|
|
18
|
+
import * as i15 from "@angular/material/icon";
|
|
19
|
+
import * as i16 from "@angular/material/button";
|
|
20
|
+
import * as i17 from "@angular/material/list";
|
|
21
|
+
import * as i18 from "@angular/material/menu";
|
|
22
|
+
import * as i19 from "@ngx-translate/core";
|
|
23
|
+
import * as i20 from "@tilde-nlp/ngx-common";
|
|
24
|
+
export declare class MenuModule {
|
|
25
|
+
static forRoot(config: MenuSharedConfig): ModuleWithProviders<MenuModule>;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MenuModule, [typeof i1.SideNavMenuComponent, typeof i2.ModalNavMenuComponent, typeof i3.MenuItemIconComponent, typeof i4.NavBaseComponent, typeof i5.MenuItemListComponent, typeof i6.MenuColumnsComponent, typeof i7.MenuIconComponent, typeof i8.MenuItemLinkComponent], [typeof i9.HttpClientModule, typeof i10.FlexLayoutModule, typeof i11.RouterModule, typeof i12.CommonModule, typeof i13.MatTooltipModule, typeof i14.MatDialogModule, typeof i15.MatIconModule, typeof i16.MatButtonModule, typeof i17.MatListModule, typeof i18.MatMenuModule, typeof i15.MatIconModule, typeof i19.TranslateModule, typeof i20.PlausibleModule], [typeof i1.SideNavMenuComponent, typeof i2.ModalNavMenuComponent, typeof i3.MenuItemIconComponent, typeof i6.MenuColumnsComponent]>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MenuModule>;
|
|
29
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface ActiveMenuItemConfig {
|
|
2
|
-
includeChildren?: boolean;
|
|
3
|
-
hideSelectedCustomId?: boolean;
|
|
4
|
-
}
|
|
1
|
+
export interface ActiveMenuItemConfig {
|
|
2
|
+
includeChildren?: boolean;
|
|
3
|
+
hideSelectedCustomId?: boolean;
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CustomMenuItem } from "./custom-menu-item";
|
|
2
|
-
/** Interface for menu items service. Root stores the value of active root element. Child stores the last active children item (if root has no children, it will be the same). */
|
|
3
|
-
export interface ActiveMenuItems {
|
|
4
|
-
root?: CustomMenuItem;
|
|
5
|
-
child?: CustomMenuItem;
|
|
6
|
-
}
|
|
1
|
+
import { CustomMenuItem } from "./custom-menu-item";
|
|
2
|
+
/** Interface for menu items service. Root stores the value of active root element. Child stores the last active children item (if root has no children, it will be the same). */
|
|
3
|
+
export interface ActiveMenuItems {
|
|
4
|
+
root?: CustomMenuItem;
|
|
5
|
+
child?: CustomMenuItem;
|
|
6
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IsActiveMatchOptions } from "@angular/router";
|
|
2
|
-
import { PlausibleEvent } from "@tilde-nlp/ngx-common";
|
|
3
|
-
export interface CustomMenuItem {
|
|
4
|
-
title: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
/** Set to true if angular material icon. False if custom icon. **/
|
|
7
|
-
materialIcon?: boolean;
|
|
8
|
-
link: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
/** For strapi menu items */
|
|
11
|
-
customId?: string;
|
|
12
|
-
routerLinkActiveOptions?: IsActiveMatchOptions;
|
|
13
|
-
externalLink?: boolean;
|
|
14
|
-
/** Plausible custom event.*/
|
|
15
|
-
plausibleEvent?: PlausibleEvent;
|
|
16
|
-
/** Recursive child elements */
|
|
17
|
-
children?: CustomMenuItem[];
|
|
18
|
-
showChildren?: boolean;
|
|
19
|
-
/** If has children, this property is responsible for child element collapsing */
|
|
20
|
-
expanded?: boolean;
|
|
21
|
-
}
|
|
1
|
+
import { IsActiveMatchOptions } from "@angular/router";
|
|
2
|
+
import { PlausibleEvent } from "@tilde-nlp/ngx-common";
|
|
3
|
+
export interface CustomMenuItem {
|
|
4
|
+
title: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
/** Set to true if angular material icon. False if custom icon. **/
|
|
7
|
+
materialIcon?: boolean;
|
|
8
|
+
link: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** For strapi menu items */
|
|
11
|
+
customId?: string;
|
|
12
|
+
routerLinkActiveOptions?: IsActiveMatchOptions;
|
|
13
|
+
externalLink?: boolean;
|
|
14
|
+
/** Plausible custom event.*/
|
|
15
|
+
plausibleEvent?: PlausibleEvent;
|
|
16
|
+
/** Recursive child elements */
|
|
17
|
+
children?: CustomMenuItem[];
|
|
18
|
+
showChildren?: boolean;
|
|
19
|
+
/** If has children, this property is responsible for child element collapsing */
|
|
20
|
+
expanded?: boolean;
|
|
21
|
+
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./menu-shared-config.model";
|
|
2
|
-
export * from "./custom-menu-item";
|
|
3
|
-
export * from "./menu-icon-strapi-extension.const";
|
|
4
|
-
export * from "./menu-item-group.model";
|
|
5
|
-
export * from "./menu-layout-direction.model";
|
|
6
|
-
export * from "./active-menu-item-config.model";
|
|
7
|
-
export * from "./active-menu-items.model";
|
|
1
|
+
export * from "./menu-shared-config.model";
|
|
2
|
+
export * from "./custom-menu-item";
|
|
3
|
+
export * from "./menu-icon-strapi-extension.const";
|
|
4
|
+
export * from "./menu-item-group.model";
|
|
5
|
+
export * from "./menu-layout-direction.model";
|
|
6
|
+
export * from "./active-menu-item-config.model";
|
|
7
|
+
export * from "./active-menu-items.model";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MENU_ICON_STRAPI_EXTENSION = ".svg";
|
|
1
|
+
export declare const MENU_ICON_STRAPI_EXTENSION = ".svg";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CustomMenuItem } from "./custom-menu-item";
|
|
2
|
-
export interface MenuItemGroup extends MenuItemGroupBase {
|
|
3
|
-
items: CustomMenuItem[];
|
|
4
|
-
}
|
|
5
|
-
export interface MenuItemGroupBase {
|
|
6
|
-
title?: string;
|
|
7
|
-
bottomDivider?: boolean;
|
|
8
|
-
showTitle?: boolean;
|
|
9
|
-
}
|
|
1
|
+
import { CustomMenuItem } from "./custom-menu-item";
|
|
2
|
+
export interface MenuItemGroup extends MenuItemGroupBase {
|
|
3
|
+
items: CustomMenuItem[];
|
|
4
|
+
}
|
|
5
|
+
export interface MenuItemGroupBase {
|
|
6
|
+
title?: string;
|
|
7
|
+
bottomDivider?: boolean;
|
|
8
|
+
showTitle?: boolean;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum MenuLayoutDirection {
|
|
2
|
-
column = "column",
|
|
3
|
-
row = "row"
|
|
4
|
-
}
|
|
1
|
+
export declare enum MenuLayoutDirection {
|
|
2
|
+
column = "column",
|
|
3
|
+
row = "row"
|
|
4
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { IsActiveMatchOptions } from "@angular/router";
|
|
2
|
-
import { MenuItemGroup } from "./menu-item-group.model";
|
|
3
|
-
import { StrapiDataLocation } from "../components/nav-base/models";
|
|
4
|
-
export interface MenuSharedConfig {
|
|
5
|
-
/** base url for menu items with relative url */
|
|
6
|
-
baseUrl?: string;
|
|
7
|
-
/** Custom app ID so that menu knows which element is active, if no router link is active */
|
|
8
|
-
customId?: string;
|
|
9
|
-
/** For selecting active element, active match options might dpend from project specifics */
|
|
10
|
-
activeMatchOptions?: IsActiveMatchOptions;
|
|
11
|
-
/** Disabling strapi for all menus. */
|
|
12
|
-
disableStrapi?: boolean;
|
|
13
|
-
/** Menu item groups coming from app. */
|
|
14
|
-
itemGroups?: MenuItemGroup[];
|
|
15
|
-
/** Strapi group base */
|
|
16
|
-
strapiGroupBase?: MenuItemGroup[];
|
|
17
|
-
/** Hides element if customId is the same as element customID */
|
|
18
|
-
hideSelectedCustomId?: boolean;
|
|
19
|
-
/** Where strapi data should be placed */
|
|
20
|
-
strapiDataLocation?: StrapiDataLocation;
|
|
21
|
-
}
|
|
1
|
+
import { IsActiveMatchOptions } from "@angular/router";
|
|
2
|
+
import { MenuItemGroup } from "./menu-item-group.model";
|
|
3
|
+
import { StrapiDataLocation } from "../components/nav-base/models";
|
|
4
|
+
export interface MenuSharedConfig {
|
|
5
|
+
/** base url for menu items with relative url */
|
|
6
|
+
baseUrl?: string;
|
|
7
|
+
/** Custom app ID so that menu knows which element is active, if no router link is active */
|
|
8
|
+
customId?: string;
|
|
9
|
+
/** For selecting active element, active match options might dpend from project specifics */
|
|
10
|
+
activeMatchOptions?: IsActiveMatchOptions;
|
|
11
|
+
/** Disabling strapi for all menus. */
|
|
12
|
+
disableStrapi?: boolean;
|
|
13
|
+
/** Menu item groups coming from app. */
|
|
14
|
+
itemGroups?: MenuItemGroup[];
|
|
15
|
+
/** Strapi group base */
|
|
16
|
+
strapiGroupBase?: MenuItemGroup[];
|
|
17
|
+
/** Hides element if customId is the same as element customID */
|
|
18
|
+
hideSelectedCustomId?: boolean;
|
|
19
|
+
/** Where strapi data should be placed */
|
|
20
|
+
strapiDataLocation?: StrapiDataLocation;
|
|
21
|
+
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './menu-items.service';
|
|
2
|
-
export * from './strapi.service';
|
|
1
|
+
export * from './menu-items.service';
|
|
2
|
+
export * from './strapi.service';
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { StarpiMenuService } from './strapi.service';
|
|
3
|
-
import { ActiveMenuItems } from '../models/active-menu-items.model';
|
|
4
|
-
import { CustomMenuItem } from '../models/custom-menu-item';
|
|
5
|
-
import { MenuSharedConfig } from '../models/menu-shared-config.model';
|
|
6
|
-
import { MenuItemGroup } from '../models/menu-item-group.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MenuItemsService {
|
|
9
|
-
private readonly router;
|
|
10
|
-
protected readonly menuSharedConfig: MenuSharedConfig;
|
|
11
|
-
private readonly strapiService;
|
|
12
|
-
private readonly _activeElements;
|
|
13
|
-
get activeElements(): import("rxjs").Observable<ActiveMenuItems>;
|
|
14
|
-
private strapiItems;
|
|
15
|
-
private _strapiGroup;
|
|
16
|
-
private _allRootItems;
|
|
17
|
-
get allRootItems(): CustomMenuItem[];
|
|
18
|
-
get strapiGroup(): MenuItemGroup;
|
|
19
|
-
private readonly isActiveMatchOptions;
|
|
20
|
-
private get customId();
|
|
21
|
-
private get hideSelectedCustomId();
|
|
22
|
-
private get strapiGroupBase();
|
|
23
|
-
private get strapiDataLocation();
|
|
24
|
-
private _mergedGroups;
|
|
25
|
-
get mergedGroups(): MenuItemGroup[];
|
|
26
|
-
private get menuItemGroups();
|
|
27
|
-
constructor(router: Router, menuSharedConfig: MenuSharedConfig, strapiService: StarpiMenuService);
|
|
28
|
-
private subscribeToRouteChanges;
|
|
29
|
-
private updateActive;
|
|
30
|
-
/** Finds active element from whole list. RouterLink has priority over custom Id. */
|
|
31
|
-
private findActiveElement;
|
|
32
|
-
private getStrapiData;
|
|
33
|
-
private loadData;
|
|
34
|
-
private isElementCustomIdActive;
|
|
35
|
-
private isElementRouterLinkActive;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemsService, [null, { optional: true; }, null]>;
|
|
37
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MenuItemsService>;
|
|
38
|
-
}
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { StarpiMenuService } from './strapi.service';
|
|
3
|
+
import { ActiveMenuItems } from '../models/active-menu-items.model';
|
|
4
|
+
import { CustomMenuItem } from '../models/custom-menu-item';
|
|
5
|
+
import { MenuSharedConfig } from '../models/menu-shared-config.model';
|
|
6
|
+
import { MenuItemGroup } from '../models/menu-item-group.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class MenuItemsService {
|
|
9
|
+
private readonly router;
|
|
10
|
+
protected readonly menuSharedConfig: MenuSharedConfig;
|
|
11
|
+
private readonly strapiService;
|
|
12
|
+
private readonly _activeElements;
|
|
13
|
+
get activeElements(): import("rxjs").Observable<ActiveMenuItems>;
|
|
14
|
+
private strapiItems;
|
|
15
|
+
private _strapiGroup;
|
|
16
|
+
private _allRootItems;
|
|
17
|
+
get allRootItems(): CustomMenuItem[];
|
|
18
|
+
get strapiGroup(): MenuItemGroup;
|
|
19
|
+
private readonly isActiveMatchOptions;
|
|
20
|
+
private get customId();
|
|
21
|
+
private get hideSelectedCustomId();
|
|
22
|
+
private get strapiGroupBase();
|
|
23
|
+
private get strapiDataLocation();
|
|
24
|
+
private _mergedGroups;
|
|
25
|
+
get mergedGroups(): MenuItemGroup[];
|
|
26
|
+
private get menuItemGroups();
|
|
27
|
+
constructor(router: Router, menuSharedConfig: MenuSharedConfig, strapiService: StarpiMenuService);
|
|
28
|
+
private subscribeToRouteChanges;
|
|
29
|
+
private updateActive;
|
|
30
|
+
/** Finds active element from whole list. RouterLink has priority over custom Id. */
|
|
31
|
+
private findActiveElement;
|
|
32
|
+
private getStrapiData;
|
|
33
|
+
private loadData;
|
|
34
|
+
private isElementCustomIdActive;
|
|
35
|
+
private isElementRouterLinkActive;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemsService, [null, { optional: true; }, null]>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuItemsService>;
|
|
38
|
+
}
|