@eui/ecl 19.3.1-snapshot-1750853544438 → 19.3.1-snapshot-1750923072435
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/components/ecl-link/ecl-link.directive.d.ts +3 -0
- package/components/ecl-link/ecl-link.directive.d.ts.map +1 -1
- package/components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.d.ts +3 -0
- package/components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.d.ts.map +1 -1
- package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.d.ts +7 -0
- package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.d.ts.map +1 -1
- package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts +6 -0
- package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts.map +1 -1
- package/components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.d.ts +13 -0
- package/components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.d.ts.map +1 -1
- package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts +7 -0
- package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts.map +1 -1
- package/components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.d.ts +22 -0
- package/components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.d.ts.map +1 -1
- package/components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.d.ts +43 -0
- package/components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.d.ts.map +1 -1
- package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts +45 -0
- package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts.map +1 -1
- package/components/ecl-mega-menu/ecl-mega-menu.component.d.ts +39 -0
- package/components/ecl-mega-menu/ecl-mega-menu.component.d.ts.map +1 -1
- package/components/ecl-mega-menu/services/ecl-mega-menu-data.service.d.ts +3 -0
- package/components/ecl-mega-menu/services/ecl-mega-menu-data.service.d.ts.map +1 -1
- package/docs/components/EclMegaMenuComponent.html +81 -0
- package/docs/components/EclMegaMenuFeaturedComponent.html +13 -0
- package/docs/components/EclMegaMenuInfoComponent.html +60 -0
- package/docs/components/EclMegaMenuItemComponent.html +88 -0
- package/docs/components/EclMegaMenuSubitemComponent.html +79 -0
- package/docs/dependencies.html +2 -2
- package/docs/directives/EclLinkDirective.html +1 -1
- package/docs/directives/EclMegaMenuContainerDirective.html +7 -0
- package/docs/directives/EclMegaMenuFeaturedImageDirective.html +7 -0
- package/docs/directives/EclMegaMenuFeaturedListDirective.html +7 -0
- package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +8 -0
- package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +7 -0
- package/docs/directives/EclMegaMenuListDirective.html +7 -0
- package/docs/directives/EclMegaMenuSpacerDirective.html +7 -0
- package/docs/directives/EclMegaMenuSublistDirective.html +16 -0
- package/docs/injectables/EclMegaMenuDataService.html +2 -0
- package/docs/js/search/search_index.js +2 -2
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +139 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -24,6 +24,9 @@ export declare class EclLinkDirective extends ECLBaseDirective implements AfterC
|
|
|
24
24
|
* Property to style the component if it consist only of an icon.
|
|
25
25
|
*/
|
|
26
26
|
isIconOnly: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated - will be removed in v20. Deprecated on ECL side.
|
|
29
|
+
*/
|
|
27
30
|
isNoVisited: boolean;
|
|
28
31
|
/**
|
|
29
32
|
* With 'varian' property user can add some more specific styling to the <a> component.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-link.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-link/ecl-link.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8D,SAAS,EAAoB,UAAU,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAEhE;;GAEG;AACH,qBAIa,gBAAiB,SAAQ,gBAAiB,YAAW,gBAAgB;
|
|
1
|
+
{"version":3,"file":"ecl-link.directive.d.ts","sourceRoot":"","sources":["../../../components/ecl-link/ecl-link.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8D,SAAS,EAAoB,UAAU,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;;AAEhE;;GAEG;AACH,qBAIa,gBAAiB,SAAQ,gBAAiB,YAAW,gBAAgB;IAyC3D,EAAE,EAAE,UAAU;IAvCjC;;OAEG;IACH,IACI,UAAU,IAAI,MAAM,CAEvB;IACD;;OAEG;IACH,IACI,OAAO,IAAI,OAAO,CAErB;IAED,IACI,eAAe,IAAI,OAAO,CAE7B;IAED;;OAEG;IAC8E,UAAU,UAAS;IACpG;;OAEG;IAC+E,UAAU,UAAS;IACrG;;OAEG;IACqC,WAAW,EAAE,OAAO,CAAC;IAC7D;;OAEG;IACM,OAAO,EAAE,YAAY,GAAG,KAAK,GAAG,SAAS,GAAG,WAAW,CAAC;IAEW,iBAAiB,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;gBAExG,EAAE,EAAE,UAAU;IAIjC,kBAAkB,IAAI,IAAI;IAW1B;;OAEG;IACH,OAAO,IAAI,IAAI;IAIf;;OAEG;IACH,OAAO,IAAI,IAAI;IAIf;;OAEG;IACH,MAAM,IAAI,IAAI;yCAzEL,gBAAgB;2CAAhB,gBAAgB;yCA6Em38c,OAAQ;yCAAR,OAAQ;0CAAR,OAAQ;CADv58c"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive that adds specific class to the mega-menu container.
|
|
5
|
+
*/
|
|
3
6
|
export declare class EclMegaMenuContainerDirective extends ECLBaseDirective {
|
|
4
7
|
hasClass: boolean;
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuContainerDirective, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-container.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAMa,6BAA8B,SAAQ,gBAAgB;IAErC,QAAQ,UAAQ;yCAFjC,6BAA6B;2CAA7B,6BAA6B;CAGzC"}
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-container.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD;;GAEG;AACH,qBAMa,6BAA8B,SAAQ,gBAAgB;IAErC,QAAQ,UAAQ;yCAFjC,6BAA6B;2CAA7B,6BAA6B;CAGzC"}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Directive that adds specific class to the mega-menu featured list.
|
|
6
|
+
*/
|
|
4
7
|
export declare class EclMegaMenuFeaturedListDirective extends ECLBaseDirective {
|
|
5
8
|
cmpClass: boolean;
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuFeaturedListDirective, never>;
|
|
7
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclMegaMenuFeaturedListDirective, "[eclMegaMenuFeaturedList]", never, {}, {}, never, never, false, never>;
|
|
8
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Directive that adds specific class to a mega-menu featured list item.
|
|
14
|
+
* Also has method that returns item height.
|
|
15
|
+
*/
|
|
9
16
|
export declare class EclMegaMenuFeaturedListItemDirective extends ECLBaseDirective {
|
|
10
17
|
private el;
|
|
11
18
|
cmpClass: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-featured-list.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAIa,gCAAiC,SAAQ,gBAAgB;IACf,QAAQ,UAAQ;yCAD1D,gCAAgC;2CAAhC,gCAAgC;CAE5C;AAED,qBAIa,oCAAqC,SAAQ,gBAAgB;IAG1D,OAAO,CAAC,EAAE;IAFmC,QAAQ,UAAQ;gBAErD,EAAE,EAAE,UAAU;IAIlC,gCAAgC,IAAI,MAAM;yCAPjC,oCAAoC;2CAApC,oCAAoC;CAUhD"}
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-featured-list.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,UAAU,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD;;GAEG;AACH,qBAIa,gCAAiC,SAAQ,gBAAgB;IACf,QAAQ,UAAQ;yCAD1D,gCAAgC;2CAAhC,gCAAgC;CAE5C;AAED;;;GAGG;AACH,qBAIa,oCAAqC,SAAQ,gBAAgB;IAG1D,OAAO,CAAC,EAAE;IAFmC,QAAQ,UAAQ;gBAErD,EAAE,EAAE,UAAU;IAIlC,gCAAgC,IAAI,MAAM;yCAPjC,oCAAoC;2CAApC,oCAAoC;CAUhD"}
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive that adds specific class to the mega-menu featured picture.
|
|
5
|
+
*/
|
|
3
6
|
export declare class EclMegaMenuFeaturedPictureDirective extends ECLBaseDirective {
|
|
4
7
|
get cssClasses(): string;
|
|
5
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuFeaturedPictureDirective, never>;
|
|
6
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclMegaMenuFeaturedPictureDirective, "[eclMegaMenuFeaturedPicture]", never, {}, {}, never, never, false, never>;
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Directive that adds specific class to the mega-menu featured image.
|
|
13
|
+
*/
|
|
8
14
|
export declare class EclMegaMenuFeaturedImageDirective extends ECLBaseDirective {
|
|
9
15
|
cmpClass: boolean;
|
|
10
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuFeaturedImageDirective, never>;
|
package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-featured-picture.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD,qBAIa,mCAAoC,SAAQ,gBAAgB;IACrE,IACI,UAAU,IAAI,MAAM,CAEvB;yCAJQ,mCAAmC;2CAAnC,mCAAmC;CAK/C;AAED,qBAIa,iCAAkC,SAAQ,gBAAgB;IACf,QAAQ,UAAQ;yCAD3D,iCAAiC;2CAAjC,iCAAiC;CAE7C"}
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-featured-picture.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEjD;;GAEG;AACH,qBAIa,mCAAoC,SAAQ,gBAAgB;IACrE,IACI,UAAU,IAAI,MAAM,CAEvB;yCAJQ,mCAAmC;2CAAnC,mCAAmC;CAK/C;AAED;;GAEG;AACH,qBAIa,iCAAkC,SAAQ,gBAAgB;IACf,QAAQ,UAAQ;yCAD3D,iCAAiC;2CAAjC,iCAAiC;CAE7C"}
|
|
@@ -3,16 +3,25 @@ import { DoCheck, ElementRef, IterableDiffers, OnDestroy, QueryList } from '@ang
|
|
|
3
3
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
4
|
import { EclMegaMenuSubitemComponent } from '../ecl-mega-menu-subitem/ecl-mega-menu-subitem.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Directive that adds specific class to the mega-menu list.
|
|
8
|
+
*/
|
|
6
9
|
export declare class EclMegaMenuListDirective extends ECLBaseDirective {
|
|
7
10
|
cmpClass: boolean;
|
|
8
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuListDirective, never>;
|
|
9
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclMegaMenuListDirective, "ul[eclMegaMenuList]", never, {}, {}, never, never, false, never>;
|
|
10
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Directive that adds specific class to the mega-menu spacer.
|
|
16
|
+
*/
|
|
11
17
|
export declare class EclMegaMenuSpacerDirective extends ECLBaseDirective {
|
|
12
18
|
cmpClass: boolean;
|
|
13
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuSpacerDirective, never>;
|
|
14
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclMegaMenuSpacerDirective, "ul[eclMegaMenuSpacer]", never, {}, {}, never, never, false, never>;
|
|
15
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Directive that adds specific classes and functionality to the mega-menu sublist.
|
|
24
|
+
*/
|
|
16
25
|
export declare class EclMegaMenuSublistDirective extends ECLBaseDirective implements OnDestroy, DoCheck {
|
|
17
26
|
el: ElementRef;
|
|
18
27
|
private cdkBreakpointObserver;
|
|
@@ -27,6 +36,10 @@ export declare class EclMegaMenuSublistDirective extends ECLBaseDirective implem
|
|
|
27
36
|
constructor(el: ElementRef, cdkBreakpointObserver: BreakpointObserver, differs: IterableDiffers);
|
|
28
37
|
ngDoCheck(): void;
|
|
29
38
|
ngOnDestroy(): void;
|
|
39
|
+
/**
|
|
40
|
+
* When parent mega-menu item is clicked.
|
|
41
|
+
* @param isExpanded - 'true', if parent item is expanded, 'false' if item is collapsed.
|
|
42
|
+
*/
|
|
30
43
|
onParentMegaMenuItemClick(isExpanded: boolean): void;
|
|
31
44
|
private connectMegaMenuItemEvents;
|
|
32
45
|
private onMegaMenuSubItemClicked;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-list.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAEH,OAAO,EACP,UAAU,EAEM,eAAe,EAC/B,SAAS,EACT,SAAS,EAGZ,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-list.directive.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.ts"],"names":[],"mappings":"AAAA,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AAwB;yCAlHvB,2BAA2B;2CAA3B,2BAA2B;CA2HvC"}
|
package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts
CHANGED
|
@@ -2,6 +2,9 @@ import { ElementRef, QueryList } from '@angular/core';
|
|
|
2
2
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
3
3
|
import { EclMegaMenuFeaturedListItemDirective } from '../directives/ecl-mega-menu-featured-list.directive';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* This component represents the featured items panel.
|
|
7
|
+
*/
|
|
5
8
|
export declare class EclMegaMenuFeaturedComponent extends ECLBaseDirective {
|
|
6
9
|
private el;
|
|
7
10
|
cmpClass: boolean;
|
|
@@ -10,6 +13,10 @@ export declare class EclMegaMenuFeaturedComponent extends ECLBaseDirective {
|
|
|
10
13
|
titleId: string;
|
|
11
14
|
listItems: QueryList<EclMegaMenuFeaturedListItemDirective>;
|
|
12
15
|
constructor(el: ElementRef);
|
|
16
|
+
/**
|
|
17
|
+
* Calculates and returns the height of the component. The total height of all the list items.
|
|
18
|
+
* @returns the height of the component
|
|
19
|
+
*/
|
|
13
20
|
getEclMegaMenuFeaturedHeight(): number;
|
|
14
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuFeaturedComponent, never>;
|
|
15
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<EclMegaMenuFeaturedComponent, "div[eclMegaMenuFeatured]", never, { "title": { "alias": "title"; "required": false; }; "titleId": { "alias": "titleId"; "required": false; }; }, {}, ["listItems"], ["[eclMegaMenuFeaturedPicture]", "[eclMegaMenuFeaturedList]"], false, never>;
|
package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-featured.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAmD,SAAS,EAAE,MAAM,eAAe,CAAC;AAClH,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;;AAE3G,qBAOa,4BAA6B,SAAQ,gBAAgB;IASlD,OAAO,CAAC,EAAE;IAPwB,QAAQ,UAAQ;IAC9B,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAEuE,SAAS,EAAE,SAAS,CAAC,oCAAoC,CAAC,CAAC;gBAEvI,EAAE,EAAE,UAAU;IAIlC,4BAA4B,IAAI,MAAM;
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-featured.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAmD,SAAS,EAAE,MAAM,eAAe,CAAC;AAClH,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;;AAE3G;;GAEG;AACH,qBAOa,4BAA6B,SAAQ,gBAAgB;IASlD,OAAO,CAAC,EAAE;IAPwB,QAAQ,UAAQ;IAC9B,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAEuE,SAAS,EAAE,SAAS,CAAC,oCAAoC,CAAC,CAAC;gBAEvI,EAAE,EAAE,UAAU;IAIlC;;;OAGG;IACH,4BAA4B,IAAI,MAAM;yCAjB7B,4BAA4B;2CAA5B,4BAA4B;CAsBxC"}
|
|
@@ -3,17 +3,39 @@ import { ECLBaseDirective } from '@eui/ecl/core';
|
|
|
3
3
|
import { EclLinkDirective } from '@eui/ecl/components/ecl-link';
|
|
4
4
|
import { EclMegaMenuDataService } from '../services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Component for displaying some custom information for the current menu item.
|
|
8
|
+
*/
|
|
6
9
|
export declare class EclMegaMenuInfoComponent extends ECLBaseDirective implements AfterViewInit {
|
|
7
10
|
el: ElementRef;
|
|
8
11
|
private eclMegaMenuDataService;
|
|
12
|
+
/**
|
|
13
|
+
* Applies custom styles for info component.
|
|
14
|
+
*/
|
|
9
15
|
get cssClasses(): string;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the height of the component.
|
|
18
|
+
*/
|
|
10
19
|
eclMegaMenuInfoStyleHeight: number | null;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the opacity of the component.
|
|
22
|
+
*/
|
|
11
23
|
eclMegaMenuInfoStyleOpacity: number | null;
|
|
12
24
|
title: string;
|
|
25
|
+
/**
|
|
26
|
+
* When the info panel contains link.
|
|
27
|
+
*/
|
|
13
28
|
linkItem: EclLinkDirective;
|
|
14
29
|
constructor(el: ElementRef, eclMegaMenuDataService: EclMegaMenuDataService);
|
|
15
30
|
ngAfterViewInit(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Used to calculate the height of the parent element.
|
|
33
|
+
* @returns the height of the component.
|
|
34
|
+
*/
|
|
16
35
|
getInfoPanelScrollHeight(): number;
|
|
36
|
+
/**
|
|
37
|
+
* Used to calulate the size of the info panel.
|
|
38
|
+
*/
|
|
17
39
|
private publishSize;
|
|
18
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclMegaMenuInfoComponent, never>;
|
|
19
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<EclMegaMenuInfoComponent, "div[eclMegaMenuInfo]", never, { "title": { "alias": "title"; "required": false; }; }, {}, ["linkItem"], ["*"], false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-info.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,UAAU,EAAkC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;;AAErD,qBAOa,wBAAyB,SAAQ,gBAAiB,YAAW,aAAa;
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-info.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA2B,UAAU,EAAkC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;;AAErD;;GAEG;AACH,qBAOa,wBAAyB,SAAQ,gBAAiB,YAAW,aAAa;IA8BhE,EAAE,EAAE,UAAU;IAAE,OAAO,CAAC,sBAAsB;IA5BjE;;OAEG;IACH,IACI,UAAU,IAAI,MAAM,CAOvB;IACD;;OAEG;IAC6B,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjF;;OAEG;IAC2B,2BAA2B,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvE,KAAK,EAAE,MAAM,CAAC;IAEvB;;OAEG;IAC+C,QAAQ,EAAE,gBAAgB,CAAC;gBAE1D,EAAE,EAAE,UAAU,EAAU,sBAAsB,EAAE,sBAAsB;IAIzF,eAAe,IAAI,IAAI;IASvB;;;OAGG;IACH,wBAAwB,IAAK,MAAM;IAInC;;OAEG;IACH,OAAO,CAAC,WAAW;yCAtDV,wBAAwB;2CAAxB,wBAAwB;CA0DpC"}
|
|
@@ -11,6 +11,9 @@ import { EclMegaMenuSublistDirective } from '../directives/ecl-mega-menu-list.di
|
|
|
11
11
|
import { EclMegaMenuInfoComponent } from '../ecl-mega-menu-info/ecl-mega-menu-info.component';
|
|
12
12
|
import { EclHeaderMenuComunicationService } from '@eui/ecl/shared';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* This component represents a mega menu item. Adds functionality and styling, according to ECL standards.
|
|
16
|
+
*/
|
|
14
17
|
export declare class EclMegaMenuItemComponent extends ECLBaseDirective implements OnDestroy {
|
|
15
18
|
private cdkBreakpointObserver;
|
|
16
19
|
el: ElementRef;
|
|
@@ -18,6 +21,9 @@ export declare class EclMegaMenuItemComponent extends ECLBaseDirective implement
|
|
|
18
21
|
private eclHeaderMenuComunicationService;
|
|
19
22
|
private eclMegaMenuService;
|
|
20
23
|
private renderer;
|
|
24
|
+
/**
|
|
25
|
+
* Returns current menu item classes, depending on item's state (it's properties' values).
|
|
26
|
+
*/
|
|
21
27
|
get cssClasses(): string;
|
|
22
28
|
isExpanded: boolean;
|
|
23
29
|
hasPopup: boolean;
|
|
@@ -27,17 +33,42 @@ export declare class EclMegaMenuItemComponent extends ECLBaseDirective implement
|
|
|
27
33
|
queryParamsHandling: QueryParamsHandling;
|
|
28
34
|
href: string;
|
|
29
35
|
target: string;
|
|
36
|
+
/**
|
|
37
|
+
* Used in case user wants to set some custom attributes for the anchr tag.
|
|
38
|
+
*/
|
|
30
39
|
linkExtraAttributes: {
|
|
31
40
|
[key: string]: string;
|
|
32
41
|
};
|
|
33
42
|
megaMenuItemClicked: EventEmitter<any>;
|
|
34
43
|
megaMenuItemKeydown: EventEmitter<KeyboardEvent>;
|
|
44
|
+
/**
|
|
45
|
+
* The wrapper around the subitems, if any.
|
|
46
|
+
*/
|
|
35
47
|
eclMegaMenuMega: ElementRef;
|
|
48
|
+
/**
|
|
49
|
+
* This elemend hold some extra content, different from subitems. For example just some text or some custom links, etc.
|
|
50
|
+
*/
|
|
36
51
|
mainPanel: ElementRef;
|
|
52
|
+
/**
|
|
53
|
+
* Actual link of the menu item. If the menu has no children, but redirects/loads another page.
|
|
54
|
+
*/
|
|
37
55
|
menuLink: EclLinkDirective;
|
|
56
|
+
/**
|
|
57
|
+
* Element, tat is rendered if the menu item has children.
|
|
58
|
+
*/
|
|
38
59
|
menuBtn: EclButtonComponent;
|
|
60
|
+
/**
|
|
61
|
+
* Element, that would contain some info about the current item or it's children. First in the container.
|
|
62
|
+
*/
|
|
39
63
|
eclMegaMenuInfo: EclMegaMenuInfoComponent;
|
|
64
|
+
/**
|
|
65
|
+
* Element, that holds the sub items of the current menu items.
|
|
66
|
+
*/
|
|
40
67
|
eclMegaMenuSublist: EclMegaMenuSublistDirective;
|
|
68
|
+
/**
|
|
69
|
+
* Component, that consist of some custom info, text or whatever. When the menu item has no children, but still some
|
|
70
|
+
* sub container is displayed.
|
|
71
|
+
*/
|
|
41
72
|
eclMegaMenuContainer: EclMegaMenuContainerDirective;
|
|
42
73
|
containerStyleHeight: number | null;
|
|
43
74
|
isCurrent: boolean;
|
|
@@ -53,9 +84,21 @@ export declare class EclMegaMenuItemComponent extends ECLBaseDirective implement
|
|
|
53
84
|
get hasChildren(): boolean;
|
|
54
85
|
get hasSublist(): boolean;
|
|
55
86
|
get hasContainer(): boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Set the focus on the sub element - link or button.
|
|
89
|
+
*/
|
|
56
90
|
onFocus(): void;
|
|
91
|
+
/**
|
|
92
|
+
* On resize - calculate the size of the dropdown and wrapper (if item is expanded).
|
|
93
|
+
*/
|
|
57
94
|
onResize(): void;
|
|
95
|
+
/**
|
|
96
|
+
* Manage styling and functionality for children and siblings, when item is clicked.
|
|
97
|
+
*/
|
|
58
98
|
onMegaMenuItemClick(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Manage styling and functionality when item is collapsed.
|
|
101
|
+
*/
|
|
59
102
|
onMegaMenuItemCollapse(): void;
|
|
60
103
|
onKeydown(evt: Event): void;
|
|
61
104
|
private calculateSublistStyle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-item.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAA2B,UAAU,EAAE,YAAY,EAAoC,SAAS,EACnG,SAAS,EAA0C,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAC9F,OAAO,EAAE,gCAAgC,EAAE,MAAM,iBAAiB,CAAC;;AAEnE,qBAOa,wBAAyB,SAAQ,gBAAiB,YAAW,SAAS;
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-item.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAA2B,UAAU,EAAE,YAAY,EAAoC,SAAS,EACnG,SAAS,EAA0C,MAAM,eAAe,CAAC;AAC7E,OA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lB,OAAO,CAAC,mBAAmB;IAyF3B,OAAO,CAAC,wBAAwB;yCA/SvB,wBAAwB;2CAAxB,wBAAwB;CAyTpC"}
|
|
@@ -10,6 +10,9 @@ import { EclMegaMenuDataService } from '../services';
|
|
|
10
10
|
import { EclMegaMenuService } from '../services';
|
|
11
11
|
import { EclMegaMenuFeaturedComponent } from '../ecl-mega-menu-featured/ecl-mega-menu-featured.component';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* This component represents a sub-item in the mega-menu component. Applies styling and functionality.
|
|
15
|
+
*/
|
|
13
16
|
export declare class EclMegaMenuSubitemComponent extends ECLBaseDirective implements EclMegaMenuItem {
|
|
14
17
|
private cdkBreakpointObserver;
|
|
15
18
|
private eclMegaMenuDataService;
|
|
@@ -17,40 +20,82 @@ export declare class EclMegaMenuSubitemComponent extends ECLBaseDirective implem
|
|
|
17
20
|
private eclMegaMenuService;
|
|
18
21
|
isExpanded: boolean;
|
|
19
22
|
get cssClasses(): string;
|
|
23
|
+
/**
|
|
24
|
+
* Sets id for the button element.
|
|
25
|
+
*/
|
|
20
26
|
buttonId: string;
|
|
21
27
|
label: string;
|
|
28
|
+
/**
|
|
29
|
+
* If the link redirects to external page. Adds an 'external' icon.
|
|
30
|
+
*/
|
|
22
31
|
isExternal: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* If the link is external, this will be the title of the external icon.
|
|
34
|
+
*/
|
|
23
35
|
externalIconTitle: string;
|
|
24
36
|
routerLink: string | any[];
|
|
25
37
|
queryParams: Params | null;
|
|
26
38
|
queryParamsHandling: QueryParamsHandling;
|
|
27
39
|
href: string;
|
|
28
40
|
target: string;
|
|
41
|
+
/**
|
|
42
|
+
* Used for the 'View all' link.
|
|
43
|
+
*/
|
|
29
44
|
isSeeAll: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Adds custom attributes to an anchor element.
|
|
47
|
+
*/
|
|
30
48
|
linkExtraAttributes: {
|
|
31
49
|
[key: string]: string;
|
|
32
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* Wrapper div element of the second level sub-items.
|
|
53
|
+
*/
|
|
33
54
|
megaMenuLevel2: ElementRef;
|
|
55
|
+
/**
|
|
56
|
+
* The link element, if it exists. Item can have either link or button.
|
|
57
|
+
*/
|
|
34
58
|
subMenuItemLink: EclLinkDirective;
|
|
59
|
+
/**
|
|
60
|
+
* The button element, if it exists. Item can have either link or button.
|
|
61
|
+
*/
|
|
35
62
|
subMenuItemBtn: EclButtonComponent;
|
|
63
|
+
/**
|
|
64
|
+
* The directive of the submenu lits.
|
|
65
|
+
*/
|
|
36
66
|
submenu: EclMegaMenuSublistDirective;
|
|
67
|
+
/**
|
|
68
|
+
* The component for the featured items.
|
|
69
|
+
*/
|
|
37
70
|
eclMegaMenuFeatured: EclMegaMenuFeaturedComponent;
|
|
38
71
|
megaMenuSubItemClicked: EventEmitter<any>;
|
|
39
72
|
megaMenuSubItemKeydown: EventEmitter<any>;
|
|
40
73
|
isCurrent: boolean;
|
|
41
74
|
isMobileBreakpoint: boolean;
|
|
42
75
|
labelId: string;
|
|
76
|
+
/**
|
|
77
|
+
* Used to set the height of the second level subitems container.
|
|
78
|
+
*/
|
|
43
79
|
level2StyleHeight: number | null;
|
|
44
80
|
private destroy$;
|
|
45
81
|
private isParentLink;
|
|
46
82
|
private display;
|
|
47
83
|
constructor(cdkBreakpointObserver: BreakpointObserver, eclMegaMenuDataService: EclMegaMenuDataService, el: ElementRef, eclMegaMenuService: EclMegaMenuService);
|
|
48
84
|
get hasChildren(): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Sets focus on either link or button element.
|
|
87
|
+
*/
|
|
49
88
|
onFocus(): void;
|
|
50
89
|
onHide(): void;
|
|
51
90
|
onShow(): void;
|
|
52
91
|
getMegaMenuSubItemHeight(): number;
|
|
92
|
+
/**
|
|
93
|
+
* Show or hide the subitems.
|
|
94
|
+
*/
|
|
53
95
|
onButtonClick(): void;
|
|
96
|
+
/**
|
|
97
|
+
* If link is clicked -> emit event and close all opened menus and submenus.
|
|
98
|
+
*/
|
|
54
99
|
onLinkClick(): void;
|
|
55
100
|
onKeydown(evt: Event): void;
|
|
56
101
|
onSubMenuItemCollapse(): void;
|
package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-subitem.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,UAAU,EAAE,YAAY,EAAwF,MAAM,eAAe,CAAC;AACxK,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAG9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,4BAA4B,EAAE,MAAM,4DAA4D,CAAC;;AAE1G,qBAOa,2BAA4B,SAAQ,gBAAiB,YAAW,eAAe;
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-subitem.component.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,UAAU,EAAE,YAAY,EAAwF,MAAM,eAAe,CAAC;AACxK,OAAO,EA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AC0B,eAAe,EAAE,gBAAgB,CAAC;IAC/D;;OAEG;IAC0B,cAAc,EAAE,kBAAkB,CAAC;IAEhE;;OAEG;IAC0D,OAAO,EAAE,2BAA2B,CAAC;IAClG;;OAEG;IAC2D,mBAAmB,EAAE,4BAA4B,CAAC;IAEtG,sBAAsB,oBAAsB;IAC5C,sBAAsB,oBAAsB;IAEtD,SAAS,UAAS;IAClB,kBAAkB,UAAS;IAE3B,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAExC,OAAO,CAAC,QAAQ,CAA4C;IAC5D,OAAO,CAAC,YAAY,CAAS;IACC,OAAO,CAAC,OAAO,CAAM;gBAE/B,qBAAqB,EAAE,kBAAkB,EAAU,sBAAsB,EAAE,sBAAsB,EACzG,EAAE,EAAE,UAAU,EAAU,kBAAkB,EAAE,kBAAkB;IAU1E,IAAI,WAAW,IAAI,OAAO,CAEzB;IAED;;OAEG;IACH,OAAO,IAAI,IAAI;IAQf,MAAM,IAAI,IAAI;IAId,MAAM,IAAI,IAAI;IAId,wBAAwB,IAAI,MAAM;IAIlC;;OAEG;IACH,aAAa,IAAI,IAAI;IAYrB;;OAEG;IACH,WAAW,IAAI,IAAI;IAKnB,SAAS,CAAC,GAAG,EAAE,KAAK,GAAG,IAAI;IAY3B,qBAAqB,IAAI,IAAI;IAS7B,mBAAmB,IAAI,IAAI;IAM3B,OAAO,CAAC,qBAAqB;IAS7B,OAAO,CAAC,wBAAwB;yCAnLvB,2BAA2B;2CAA3B,2BAA2B;yCA4Lo6zc,OAAQ;uCAAR,OAAQ;CADn9zc"}
|
|
@@ -8,6 +8,12 @@ import { EclMegaMenuItemComponent } from './ecl-mega-menu-item/ecl-mega-menu-ite
|
|
|
8
8
|
import { EclHeaderMenuComunicationService } from '@eui/ecl/shared';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "@eui/ecl/core";
|
|
11
|
+
/**
|
|
12
|
+
* The 'eclMegaMenu' is an advanced navigation component designed for complex sites with deep hierarchies.
|
|
13
|
+
* It can provide descriptive text for first level items, accommodate up to three levels of navigation,
|
|
14
|
+
* and additionally allows a featured column that can be used to either promote parent-page specific or site-wide pages,
|
|
15
|
+
* hidden deep into the lower levels of the hierarchy.
|
|
16
|
+
*/
|
|
11
17
|
export declare class EclMegaMenuComponent extends ECLBaseDirective implements DoCheck, OnDestroy {
|
|
12
18
|
private differs;
|
|
13
19
|
private cdkBreakpointObserver;
|
|
@@ -19,15 +25,42 @@ export declare class EclMegaMenuComponent extends ECLBaseDirective implements Do
|
|
|
19
25
|
private renderer;
|
|
20
26
|
get cssClasses(): string;
|
|
21
27
|
isExpanded: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The 'role' attribute of the component is set to 'navigation'. should not be changed.
|
|
30
|
+
*/
|
|
22
31
|
role: string;
|
|
32
|
+
/**
|
|
33
|
+
* The event that is emitted, when a menu item is selected.
|
|
34
|
+
*/
|
|
23
35
|
megaMenuItemSelect: EventEmitter<EclMegaMenuItem>;
|
|
24
36
|
menuItems: QueryList<EclMegaMenuItemComponent>;
|
|
37
|
+
/**
|
|
38
|
+
* If the menu is in mobile mode.
|
|
39
|
+
*/
|
|
25
40
|
isMobileBreakpoint: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* If the menu is expanded in mobile mode.
|
|
43
|
+
*/
|
|
26
44
|
isMobileExpanded: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When a menu item is expanded and has only one panel (one sub-level).
|
|
47
|
+
*/
|
|
27
48
|
isOnePanel: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* If the menu is open, when in mobile mode.
|
|
51
|
+
*/
|
|
28
52
|
isOpenMobile: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Used in mobile mode - when the start panel is open (i.e. the hamburger button is clicked).
|
|
55
|
+
*/
|
|
29
56
|
isStartPanel: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* If a menu item is expanded and has two panels/levels displayed.
|
|
59
|
+
*/
|
|
30
60
|
isTwoPanels: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Used to position the overlay, when a menu item is expanded.
|
|
63
|
+
*/
|
|
31
64
|
overlayStyleTop: number;
|
|
32
65
|
innerStyleTop: number;
|
|
33
66
|
private destroy$;
|
|
@@ -38,9 +71,15 @@ export declare class EclMegaMenuComponent extends ECLBaseDirective implements Do
|
|
|
38
71
|
constructor(differs: IterableDiffers, cdkBreakpointObserver: BreakpointObserver, eclRtlService: EclRtlService, eclUserDeviceService: EclUserDeviceService, eclHeaderMenuComunicationService: EclHeaderMenuComunicationService, eclMegaMenuDataService: EclMegaMenuDataService, el: ElementRef, renderer: Renderer2);
|
|
39
72
|
ngDoCheck(): void;
|
|
40
73
|
ngOnDestroy(): void;
|
|
74
|
+
/**
|
|
75
|
+
* When clicking outside the menu - close any expanded item.
|
|
76
|
+
*/
|
|
41
77
|
onClickOutsideMegaMenu(): void;
|
|
42
78
|
onMegaMenuMobileOpen(): void;
|
|
43
79
|
onMegaMenuMobileClose(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Used for mobile menu - when user clicks on 'Back' button. Returns to the previous state.
|
|
82
|
+
*/
|
|
44
83
|
onMegaMenuBack(): void;
|
|
45
84
|
positionMenuOverlay(parentHeaderBottomSpaceY: any): void;
|
|
46
85
|
private onMegaMenuBackToOnePanel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu.component.d.ts","sourceRoot":"","sources":["../../../components/ecl-mega-menu/ecl-mega-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAGH,OAAO,EACP,UAAU,EACV,YAAY,EAGI,eAAe,EAC/B,SAAS,EAET,SAAS,EACT,SAAS,EAGZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EAA4B,aAAa,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;A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M5B,OAAO,CAAC,0BAA0B;IAUlC,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,kBAAkB;IAM1B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,wBAAwB;IAShC,OAAO,CAAC,oBAAoB;IAQ5B,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,YAAY;yCAvVX,oBAAoB;2CAApB,oBAAoB;CA0VhC"}
|
|
@@ -11,6 +11,9 @@ export declare class EclMegaMenuDataService {
|
|
|
11
11
|
private eclSubItemClicked;
|
|
12
12
|
private eclSubItemEscape;
|
|
13
13
|
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Used to synchronize size of the info panel and sublist.
|
|
16
|
+
*/
|
|
14
17
|
updateEclMegaMenuInfoSize(value: number): void;
|
|
15
18
|
eclSubItemToggle(isExpanded: boolean): void;
|
|
16
19
|
eclSubItemClick(item: EclMegaMenuItem): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ecl-mega-menu-data.service.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/services/ecl-mega-menu-data.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;;AAErE,qBACa,sBAAsB;IAE3B,8BAA8B,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACnD,mBAAmB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACzC,kBAAkB,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;IAChD,iBAAiB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE9C,OAAO,CAAC,6BAA6B,CAA0C;IAC/E,OAAO,CAAC,kBAAkB,CAA4C;IACtE,OAAO,CAAC,iBAAiB,CAA4D;IACrF,OAAO,CAAC,gBAAgB,CAA4C;;IASpE,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI3C,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI9C,eAAe,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI;IAI5C,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"ecl-mega-menu-data.service.d.ts","sourceRoot":"","sources":["../../../../components/ecl-mega-menu/services/ecl-mega-menu-data.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAW,MAAM,MAAM,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;;AAErE,qBACa,sBAAsB;IAE3B,8BAA8B,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACnD,mBAAmB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACzC,kBAAkB,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;IAChD,iBAAiB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAE9C,OAAO,CAAC,6BAA6B,CAA0C;IAC/E,OAAO,CAAC,kBAAkB,CAA4C;IACtE,OAAO,CAAC,iBAAiB,CAA4D;IACrF,OAAO,CAAC,gBAAgB,CAA4C;;IASpE;;OAEG;IACH,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI3C,gBAAgB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;IAI9C,eAAe,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI;IAI5C,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;yCAlC/B,sBAAsB;6CAAtB,sBAAsB;CAqClC"}
|