@eui/ecl 22.0.0-alpha.3 → 22.0.0-alpha.4
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/docs/changelog.html +10 -0
- package/docs/components/EclDateBlockComponent.html +0 -9
- package/docs/components/EclMenuItemComponent.html +46 -0
- package/docs/components/EclSiteFooterRowCommonComponent.html +1 -1
- package/docs/components/EclSiteHeaderLanguageComponent.html +5 -627
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +99 -440
- package/docs/components/EclSiteHeaderLoginComponent.html +9 -453
- package/docs/components/EclSiteHeaderSearchComponent.html +18 -470
- package/docs/components/EclSocialMediaFollowComponent.html +28 -39
- package/docs/components/EclSocialMediaFollowItemComponent.html +21 -124
- package/docs/directives/ECLClickOutsideDirective.html +3 -0
- package/docs/directives/EclDividerDirective.html +0 -116
- package/docs/directives/EclFileUploadDirective.html +2 -390
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclSiteHeaderLanguagePopoverComponent.md +6 -6
- package/docs/json/EclSiteHeaderSearchComponent.md +1 -0
- package/docs/json/EclSocialMediaFollowComponent.md +1 -0
- package/docs/json/documentation.json +685 -1161
- package/docs/llms.txt +20 -43
- package/docs/miscellaneous/variables.html +222 -41
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -13
- package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +13 -27
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +53 -9
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +16 -3
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +326 -261
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +17 -17
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-divider.d.ts +0 -4
- package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +25 -0
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +12 -1
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-header.d.ts +240 -216
- package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts +4 -2
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, booleanAttribute,
|
|
2
|
+
import { input, booleanAttribute, Component, inject, output, contentChild, HostBinding, Directive } from '@angular/core';
|
|
3
3
|
import { ECLBaseDirective, EclBaseEvent } from '@eui/ecl/core';
|
|
4
4
|
import { NgTemplateOutlet } from '@angular/common';
|
|
5
5
|
import * as i1 from '@eui/ecl/components/ecl-icon';
|
|
@@ -13,6 +13,7 @@ class EclSocialMediaFollowComponent extends ECLBaseDirective {
|
|
|
13
13
|
super(...arguments);
|
|
14
14
|
this.description = input(undefined, /* @ts-ignore */
|
|
15
15
|
...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
|
|
16
|
+
this.isIconOnly = input(false, { ...(ngDevMode ? { debugName: "isIconOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
16
17
|
this.isVertical = input(false, { ...(ngDevMode ? { debugName: "isVertical" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
17
18
|
this.horizontalAlignment = input('left', /* @ts-ignore */
|
|
18
19
|
...(ngDevMode ? [{ debugName: "horizontalAlignment" }] : /* istanbul ignore next */ []));
|
|
@@ -27,15 +28,14 @@ class EclSocialMediaFollowComponent extends ECLBaseDirective {
|
|
|
27
28
|
.trim();
|
|
28
29
|
}
|
|
29
30
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclSocialMediaFollowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: EclSocialMediaFollowComponent, isStandalone: true, selector: "ecl-social-media-follow", inputs: { description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, horizontalAlignment: { classPropertyName: "horizontalAlignment", publicName: "horizontalAlignment", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: EclSocialMediaFollowComponent, isStandalone: true, selector: "ecl-social-media-follow", inputs: { description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, isIconOnly: { classPropertyName: "isIconOnly", publicName: "isIconOnly", isSignal: true, isRequired: false, transformFunction: null }, isVertical: { classPropertyName: "isVertical", publicName: "isVertical", isSignal: true, isRequired: false, transformFunction: null }, horizontalAlignment: { classPropertyName: "horizontalAlignment", publicName: "horizontalAlignment", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cssClasses" } }, usesInheritance: true, ngImport: i0, template: "@if (description()) {\n <p class=\"ecl-social-media-follow__description\">{{ description() }}</p>\n}\n<ul class=\"ecl-social-media-follow__list\">\n <ng-content></ng-content>\n</ul>\n" }); }
|
|
31
32
|
}
|
|
32
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclSocialMediaFollowComponent, decorators: [{
|
|
33
34
|
type: Component,
|
|
34
|
-
args: [{ selector: 'ecl-social-media-follow',
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}] } });
|
|
35
|
+
args: [{ selector: 'ecl-social-media-follow', host: {
|
|
36
|
+
'[class]': 'cssClasses',
|
|
37
|
+
}, template: "@if (description()) {\n <p class=\"ecl-social-media-follow__description\">{{ description() }}</p>\n}\n<ul class=\"ecl-social-media-follow__list\">\n <ng-content></ng-content>\n</ul>\n" }]
|
|
38
|
+
}], propDecorators: { description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], isIconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "isIconOnly", required: false }] }], isVertical: [{ type: i0.Input, args: [{ isSignal: true, alias: "isVertical", required: false }] }], horizontalAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "horizontalAlignment", required: false }] }] } });
|
|
39
39
|
|
|
40
40
|
class EclSocialMediaFollowItemClickEvent extends EclBaseEvent {
|
|
41
41
|
}
|
|
@@ -43,7 +43,6 @@ class EclSocialMediaFollowItemComponent extends ECLBaseDirective {
|
|
|
43
43
|
constructor() {
|
|
44
44
|
super(...arguments);
|
|
45
45
|
this.isInverted = input(undefined, { ...(ngDevMode ? { debugName: "isInverted" } : /* istanbul ignore next */ {}), transform: (booleanAttribute) });
|
|
46
|
-
this.role = 'listitem';
|
|
47
46
|
this.icon = input(/* @ts-ignore */
|
|
48
47
|
...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
49
48
|
this.iconSet = input('social-media', /* @ts-ignore */
|
|
@@ -58,8 +57,12 @@ class EclSocialMediaFollowItemComponent extends ECLBaseDirective {
|
|
|
58
57
|
...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
59
58
|
this.extraAttributes = input(undefined, /* @ts-ignore */
|
|
60
59
|
...(ngDevMode ? [{ debugName: "extraAttributes" }] : /* istanbul ignore next */ []));
|
|
60
|
+
this.parent = inject(EclSocialMediaFollowComponent);
|
|
61
61
|
this.itemClick = output();
|
|
62
62
|
}
|
|
63
|
+
get isIconOnly() {
|
|
64
|
+
return this.parent?.isIconOnly() ?? false;
|
|
65
|
+
}
|
|
63
66
|
get cssClasses() {
|
|
64
67
|
return [super.getCssClasses('ecl-social-media-follow__item')].join(' ').trim();
|
|
65
68
|
}
|
|
@@ -70,18 +73,15 @@ class EclSocialMediaFollowItemComponent extends ECLBaseDirective {
|
|
|
70
73
|
}
|
|
71
74
|
}
|
|
72
75
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclSocialMediaFollowItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: EclSocialMediaFollowItemComponent, isStandalone: true, selector: "ecl-social-media-follow-item", inputs: { isInverted: { classPropertyName: "isInverted", publicName: "isInverted", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconSet: { classPropertyName: "iconSet", publicName: "iconSet", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, extraAttributes: { classPropertyName: "extraAttributes", publicName: "extraAttributes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: {
|
|
76
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: EclSocialMediaFollowItemComponent, isStandalone: true, selector: "ecl-social-media-follow-item", inputs: { isInverted: { classPropertyName: "isInverted", publicName: "isInverted", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, iconSet: { classPropertyName: "iconSet", publicName: "iconSet", isSignal: true, isRequired: false, transformFunction: null }, href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, routerLink: { classPropertyName: "routerLink", publicName: "routerLink", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, extraAttributes: { classPropertyName: "extraAttributes", publicName: "extraAttributes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { attributes: { "role": "listitem" }, properties: { "class": "cssClasses" } }, usesInheritance: true, ngImport: i0, template: "@if(href()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [href]=\"href()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [isIconOnly]=\"isIconOnly\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && routerLink()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [routerLink]=\"routerLink()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [isIconOnly]=\"isIconOnly\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && !routerLink()) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i2.EclLinkDirective, selector: "[eclLink]", inputs: ["extraAttributes", "isInverted", "isIconOnly", "isHighlight", "isNoVisited", "isBranded", "variant"] }, { kind: "directive", type: i2.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }] }); }
|
|
74
77
|
}
|
|
75
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclSocialMediaFollowItemComponent, decorators: [{
|
|
76
79
|
type: Component,
|
|
77
|
-
args: [{ selector: 'ecl-social-media-follow-item', imports: [...EUI_ECL_ICON, ...EUI_ECL_LINK, NgTemplateOutlet, RouterLink, RouterLinkWithHref],
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
type: HostBinding,
|
|
83
|
-
args: ['class']
|
|
84
|
-
}], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
80
|
+
args: [{ selector: 'ecl-social-media-follow-item', imports: [...EUI_ECL_ICON, ...EUI_ECL_LINK, NgTemplateOutlet, RouterLink, RouterLinkWithHref], host: {
|
|
81
|
+
'role': 'listitem',
|
|
82
|
+
'[class]': 'cssClasses',
|
|
83
|
+
}, template: "@if(href()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [href]=\"href()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [isIconOnly]=\"isIconOnly\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && routerLink()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [routerLink]=\"routerLink()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [isIconOnly]=\"isIconOnly\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && !routerLink()) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n" }]
|
|
84
|
+
}], propDecorators: { isInverted: [{ type: i0.Input, args: [{ isSignal: true, alias: "isInverted", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], iconSet: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSet", required: false }] }], href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }], routerLink: [{ type: i0.Input, args: [{ isSignal: true, alias: "routerLink", required: false }] }], target: [{ type: i0.Input, args: [{ isSignal: true, alias: "target", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], extraAttributes: [{ type: i0.Input, args: [{ isSignal: true, alias: "extraAttributes", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
85
85
|
|
|
86
86
|
class EclSocialMediaFollowLinkDirective extends ECLBaseDirective {
|
|
87
87
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-social-media-follow.mjs","sources":["../../components/ecl-social-media-follow/ecl-social-media-follow.component.ts","../../components/ecl-social-media-follow/ecl-social-media-follow.component.html","../../components/ecl-social-media-follow/ecl-social-media-follow-item.component.ts","../../components/ecl-social-media-follow/ecl-social-media-follow-item.component.html","../../components/ecl-social-media-follow/ecl-social-media-follow-link.directive.ts","../../components/ecl-social-media-follow/index.ts","../../components/ecl-social-media-follow/eui-ecl-components-ecl-social-media-follow.ts"],"sourcesContent":["import { Component, HostBinding, booleanAttribute, input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Component({\n selector: 'ecl-social-media-follow',\n templateUrl: './ecl-social-media-follow.component.html',\n})\nexport class EclSocialMediaFollowComponent extends ECLBaseDirective {\n readonly description = input<string>(undefined);\n readonly isVertical = input(false, { transform: booleanAttribute });\n readonly horizontalAlignment = input<'right' | 'left' | string>('left');\n\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-social-media-follow'),\n this.isVertical() ? 'ecl-social-media-follow--vertical' : '',\n `ecl-social-media-follow--${this.horizontalAlignment()}`,\n ]\n .join(' ')\n .trim();\n }\n}\n","@if (description()) {\n <p class=\"ecl-social-media-follow__description\">{{ description() }}</p>\n}\n<ul class=\"ecl-social-media-follow__list\">\n <ng-content></ng-content>\n</ul>\n","import { booleanAttribute, Component, HostBinding, input, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { RouterLink, RouterLinkWithHref } from '@angular/router';\n\nexport class EclSocialMediaFollowItemClickEvent extends EclBaseEvent {}\n\n@Component({\n selector: 'ecl-social-media-follow-item',\n templateUrl: './ecl-social-media-follow-item.component.html',\n imports: [...EUI_ECL_ICON, ...EUI_ECL_LINK, NgTemplateOutlet, RouterLink, RouterLinkWithHref],\n})\nexport class EclSocialMediaFollowItemComponent extends ECLBaseDirective {\n readonly isInverted = input<false, unknown>(undefined, { transform: (booleanAttribute) as any });\n @HostBinding('attr.role') role = 'listitem';\n icon = input<string>();\n iconSet = input<string>('social-media');\n readonly href = input('');\n readonly routerLink = input('');\n readonly target = input<string>(undefined);\n readonly size = input('m');\n readonly extraAttributes = input<{\n name: string;\n value?: string | null;\n }[]>(undefined);\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-social-media-follow__item')].join(' ').trim();\n }\n\n readonly itemClick = output<EclSocialMediaFollowItemClickEvent>();\n\n onItemClick(evt): void {\n this.itemClick.emit(new EclSocialMediaFollowItemClickEvent());\n if (!this.href() && !this.routerLink()) {\n evt.preventDefault();\n }\n }\n}\n","@if(href()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [href]=\"href()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && routerLink()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [routerLink]=\"routerLink()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && !routerLink()) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n","import { Directive, HostBinding, AfterContentInit, contentChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n@Directive({\n selector: '[eclSocialMediaFollowLink]',\n})\nexport class EclSocialMediaFollowLinkDirective extends ECLBaseDirective implements AfterContentInit {\n readonly eclIcon = contentChild(EclIconComponent);\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-social-media-follow__link')].join(' ').trim();\n }\n\n ngAfterContentInit(): void {\n if (this.eclIcon()) {\n setTimeout(() => (this.eclIcon().baseDirective.class = [this.eclIcon().baseDirective.class, 'ecl-social-media-follow__icon'].join(' ')));\n }\n }\n}\n","import { EclSocialMediaFollowComponent } from './ecl-social-media-follow.component';\nimport { EclSocialMediaFollowItemComponent } from './ecl-social-media-follow-item.component';\nimport { EclSocialMediaFollowLinkDirective } from './ecl-social-media-follow-link.directive';\n\nexport * from './ecl-social-media-follow.component';\nexport * from './ecl-social-media-follow-item.component';\nexport * from './ecl-social-media-follow-link.directive';\n\nexport const EUI_ECL_SOCIAL_MEDIA_FOLLOW = [\n EclSocialMediaFollowComponent,\n EclSocialMediaFollowItemComponent,\n EclSocialMediaFollowLinkDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAOM,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAJnE,IAAA,WAAA,GAAA;;QAKa,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,SAAS;wFAAC;QACtC,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC1D,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAA4B,MAAM;gGAAC;AAY1E,IAAA;AAVG,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC;YAC9C,IAAI,CAAC,UAAU,EAAE,GAAG,mCAAmC,GAAG,EAAE;AAC5D,YAAA,CAAA,yBAAA,EAA4B,IAAI,CAAC,mBAAmB,EAAE,CAAA,CAAE;AAC3D;aACI,IAAI,CAAC,GAAG;AACR,aAAA,IAAI,EAAE;IACf;8GAdS,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,6BAA6B,+lBCP1C,+LAMA,EAAA,CAAA,CAAA;;2FDCa,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;+BACI,yBAAyB,EAAA,QAAA,EAAA,+LAAA,EAAA;;sBAQlC,WAAW;uBAAC,OAAO;;;AEJlB,MAAO,kCAAmC,SAAQ,YAAY,CAAA;AAAG;AAOjE,MAAO,iCAAkC,SAAQ,gBAAgB,CAAA;AALvE,IAAA,WAAA,GAAA;;QA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UAAA,EAAA,CAAA;kBAH7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,4BAA4B;AACzC,iBAAA;4FAEmC,gBAAgB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA;sBAE/C,WAAW;uBAAC,OAAO;;;ACFjB,MAAM,2BAA2B,GAAG;IACvC,6BAA6B;IAC7B,iCAAiC;IACjC,iCAAiC;;;ACXrC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-social-media-follow.mjs","sources":["../../components/ecl-social-media-follow/ecl-social-media-follow.component.ts","../../components/ecl-social-media-follow/ecl-social-media-follow.component.html","../../components/ecl-social-media-follow/ecl-social-media-follow-item.component.ts","../../components/ecl-social-media-follow/ecl-social-media-follow-item.component.html","../../components/ecl-social-media-follow/ecl-social-media-follow-link.directive.ts","../../components/ecl-social-media-follow/index.ts","../../components/ecl-social-media-follow/eui-ecl-components-ecl-social-media-follow.ts"],"sourcesContent":["import { Component, booleanAttribute, input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Component({\n selector: 'ecl-social-media-follow',\n templateUrl: './ecl-social-media-follow.component.html',\n host: {\n '[class]': 'cssClasses',\n },\n})\nexport class EclSocialMediaFollowComponent extends ECLBaseDirective {\n readonly description = input<string>(undefined);\n readonly isIconOnly = input(false, { transform: booleanAttribute });\n readonly isVertical = input(false, { transform: booleanAttribute });\n readonly horizontalAlignment = input<'right' | 'left' | string>('left');\n\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-social-media-follow'),\n this.isVertical() ? 'ecl-social-media-follow--vertical' : '',\n `ecl-social-media-follow--${this.horizontalAlignment()}`,\n ]\n .join(' ')\n .trim();\n }\n}\n","@if (description()) {\n <p class=\"ecl-social-media-follow__description\">{{ description() }}</p>\n}\n<ul class=\"ecl-social-media-follow__list\">\n <ng-content></ng-content>\n</ul>\n","import { booleanAttribute, Component, inject, input, output } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { RouterLink, RouterLinkWithHref } from '@angular/router';\nimport { EclSocialMediaFollowComponent } from './ecl-social-media-follow.component';\n\nexport class EclSocialMediaFollowItemClickEvent extends EclBaseEvent {}\n\n@Component({\n selector: 'ecl-social-media-follow-item',\n templateUrl: './ecl-social-media-follow-item.component.html',\n imports: [...EUI_ECL_ICON, ...EUI_ECL_LINK, NgTemplateOutlet, RouterLink, RouterLinkWithHref],\n host: {\n 'role': 'listitem',\n '[class]': 'cssClasses',\n },\n})\nexport class EclSocialMediaFollowItemComponent extends ECLBaseDirective {\n readonly isInverted = input<false, unknown>(undefined, { transform: (booleanAttribute) as any });\n icon = input<string>();\n iconSet = input<string>('social-media');\n readonly href = input('');\n readonly routerLink = input('');\n readonly target = input<string>(undefined);\n readonly size = input('m');\n readonly extraAttributes = input<{\n name: string;\n value?: string | null;\n }[]>(undefined);\n\n private parent = inject(EclSocialMediaFollowComponent);\n\n get isIconOnly(): boolean {\n return this.parent?.isIconOnly() ?? false;\n }\n\n get cssClasses(): string {\n return [super.getCssClasses('ecl-social-media-follow__item')].join(' ').trim();\n }\n\n readonly itemClick = output<EclSocialMediaFollowItemClickEvent>();\n\n onItemClick(evt): void {\n this.itemClick.emit(new EclSocialMediaFollowItemClickEvent());\n if (!this.href() && !this.routerLink()) {\n evt.preventDefault();\n }\n }\n}\n","@if(href()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [href]=\"href()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [isIconOnly]=\"isIconOnly\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && routerLink()) {\n<a eclLink (click)=\"onItemClick($event)\" variant=\"standalone\" [routerLink]=\"routerLink()\" [attr.target]=\"target()\"\n class=\"ecl-social-media-follow__link\" [isInverted]=\"isInverted()\" [isIconOnly]=\"isIconOnly\" [extraAttributes]=\"extraAttributes()\">\n @if(icon()) {\n <ecl-icon [iconSet]=\"iconSet()\" icon=\"{{ icon() }}\" [size]=\"size()\" class=\"ecl-social-media-follow__icon\"> </ecl-icon>\n }\n <span eclLinkLabel>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </span>\n</a>\n}\n\n@if(!href() && !routerLink()) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n","import { Directive, HostBinding, AfterContentInit, contentChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n@Directive({\n selector: '[eclSocialMediaFollowLink]',\n})\nexport class EclSocialMediaFollowLinkDirective extends ECLBaseDirective implements AfterContentInit {\n readonly eclIcon = contentChild(EclIconComponent);\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-social-media-follow__link')].join(' ').trim();\n }\n\n ngAfterContentInit(): void {\n if (this.eclIcon()) {\n setTimeout(() => (this.eclIcon().baseDirective.class = [this.eclIcon().baseDirective.class, 'ecl-social-media-follow__icon'].join(' ')));\n }\n }\n}\n","import { EclSocialMediaFollowComponent } from './ecl-social-media-follow.component';\nimport { EclSocialMediaFollowItemComponent } from './ecl-social-media-follow-item.component';\nimport { EclSocialMediaFollowLinkDirective } from './ecl-social-media-follow-link.directive';\n\nexport * from './ecl-social-media-follow.component';\nexport * from './ecl-social-media-follow-item.component';\nexport * from './ecl-social-media-follow-link.directive';\n\nexport const EUI_ECL_SOCIAL_MEDIA_FOLLOW = [\n EclSocialMediaFollowComponent,\n EclSocialMediaFollowItemComponent,\n EclSocialMediaFollowLinkDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAUM,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAPnE,IAAA,WAAA,GAAA;;QAQa,IAAA,CAAA,WAAW,GAAG,KAAK,CAAS,SAAS;wFAAC;QACtC,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC1D,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;QAC1D,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAA4B,MAAM;gGAAC;AAW1E,IAAA;AATG,IAAA,IAAI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,yBAAyB,CAAC;YAC9C,IAAI,CAAC,UAAU,EAAE,GAAG,mCAAmC,GAAG,EAAE;AAC5D,YAAA,CAAA,yBAAA,EAA4B,IAAI,CAAC,mBAAmB,EAAE,CAAA,CAAE;AAC3D;aACI,IAAI,CAAC,GAAG;AACR,aAAA,IAAI,EAAE;IACf;8GAdS,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,6BAA6B,iuBCV1C,+LAMA,EAAA,CAAA,CAAA;;2FDIa,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,SAAS;AACI,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GAAG,CAAC,CAAC,CAAC;QAC5I;IACJ;8GAZS,iCAAiC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iCAAiC,iLACV,gBAAgB,EAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FADvC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAH7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,4BAA4B;AACzC,iBAAA;4FAEmC,gBAAgB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA;sBAE/C,WAAW;uBAAC,OAAO;;;ACFjB,MAAM,2BAA2B,GAAG;IACvC,6BAA6B;IAC7B,iCAAiC;IACjC,iCAAiC;;;ACXrC;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-date-block.d.ts","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/index.ts"],"mappings":";;;AA6BA;;;AAGG;AACH,
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-date-block.d.ts","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/index.ts"],"mappings":";;;AA6BA;;;AAGG;AACH,cAMa,qBAAsB,SAAQ,gBAAgB;AACvD;;AAEG;mBACU,aAAA,CAAA,WAAA,CAAA,IAAA;AAEb;;;AAGG;yBACgB,aAAA,CAAA,WAAA;AAEnB;;;;;AAKG;sBACa,aAAA,CAAA,WAAA;AAEhB;;;AAGG;kBACS,aAAA,CAAA,WAAA;AAEZ;;;AAGG;oBACW,aAAA,CAAA,WAAA;AAEd;;AAEG;yBACgB,aAAA,CAAA,WAAA;AAEnB;;;AAGG;mBACU,aAAA,CAAA,WAAA;AAEb;;AAOA;;;AAGG;;AAMH;;;;AAaA;AAIA;oDA5ES,qBAAqB;sDAArB,qBAAqB;AAmFjC;;ACtHD,cAAa,kBAAkB,mBAAA,qBAAA;;;;","names":[]}
|
|
@@ -6,10 +6,6 @@ import * as i0 from '@angular/core';
|
|
|
6
6
|
* Adds the `ecl-separator` CSS class to the host element.
|
|
7
7
|
*/
|
|
8
8
|
declare class EclDividerDirective extends ECLBaseDirective {
|
|
9
|
-
/**
|
|
10
|
-
* Binds the `ecl-separator` CSS class to the host `<hr>` element.
|
|
11
|
-
*/
|
|
12
|
-
hasClass: boolean;
|
|
13
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<EclDividerDirective, never>;
|
|
14
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<EclDividerDirective, "hr[eclDivider]", never, {}, {}, never, never, true, never>;
|
|
15
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-divider.d.ts","sources":["../../components/ecl-divider/ecl-divider.directive.ts","../../components/ecl-divider/index.ts"],"mappings":";;;AAGA;;;AAGG;AACH,
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-divider.d.ts","sources":["../../components/ecl-divider/ecl-divider.directive.ts","../../components/ecl-divider/index.ts"],"mappings":";;;AAGA;;;AAGG;AACH,cAMa,mBAAoB,SAAQ,gBAAgB;yCAA5C,mBAAmB;2CAAnB,mBAAmB;AAA4B;;ACT5D,cAAa,eAAe,mBAAA,mBAAA;;;;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-file-upload.d.ts","sources":["../../components/ecl-file-upload/models/ecl-file-upload.model.ts","../../components/ecl-file-upload/events/ecl-file-upload-file-selected.event.ts","../../components/ecl-file-upload/ecl-file-upload.directive.ts","../../components/ecl-file-upload/index.ts"],"mappings":";;;;;UAAiB,aAAa;;;;AAI7B;;ACDD;;;AAGG;AACH,cAAa,8BAA+B,SAAQ,YAAY;AAKzC,WAAO,KAAK,CAAC,aAAa;AAJ7C;;;AAGG;AACgB,uBAAO,KAAK,CAAC,aAAa;AAGhD;;
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-file-upload.d.ts","sources":["../../components/ecl-file-upload/models/ecl-file-upload.model.ts","../../components/ecl-file-upload/events/ecl-file-upload-file-selected.event.ts","../../components/ecl-file-upload/ecl-file-upload.directive.ts","../../components/ecl-file-upload/index.ts"],"mappings":";;;;;UAAiB,aAAa;;;;AAI7B;;ACDD;;;AAGG;AACH,cAAa,8BAA+B,SAAQ,YAAY;AAKzC,WAAO,KAAK,CAAC,aAAa;AAJ7C;;;AAGG;AACgB,uBAAO,KAAK,CAAC,aAAa;AAGhD;;ACOD;;;AAGG;AACH,cAaa,sBAAuB,SAAQ,gBAAiB,YAAW,MAAM,EAAE,SAAS,EAAE,OAAO;yBAC3E,SAAA;AAEnB;;AAEG;sBACa,aAAA,CAAA,WAAA;AAEhB;;AAEG;wBACe,aAAA,CAAA,wBAAA;AAElB;;AAEG;iBACQ,aAAA,CAAA,WAAA;AAEX;;AAEG;uBACc,aAAA,CAAA,wBAAA;AAEjB;;AAEG;uBACc,aAAA,CAAA,wBAAA;AAEjB;;AAEG;4BACmB,aAAA,CAAA,gBAAA,CAAA,8BAAA;AAEtB;;AAEG;AACH;;;;;;AAQA;;;;;AAMA;;AAEG;;AAKH;;;AAGG;;AASH;;AAEG;AACH;AAOA;;AAEG;AACH;AAKA;;AAEG;AACH;AAQA;;;AAGG;AACH,iBAAa,KAAK;AAMlB;;;AAGG;AACH,yBAAqB,KAAK;AAc1B;AAaA;AAoBA;AAQA;AAWA;AAIA;AAaA;AAIA;AAQA;AAsBA;AAQA;AAIA;oDAjPS,sBAAsB;sDAAtB,sBAAsB;AA8PlC;;AC/RD,cAAa,mBAAmB,mBAAA,sBAAA;;;;","names":[]}
|
|
@@ -122,6 +122,12 @@ declare class EclInpageNavigationComponent extends ECLBaseDirective implements O
|
|
|
122
122
|
private differ;
|
|
123
123
|
private isMobileBreakpoint;
|
|
124
124
|
private MIN_DISTANCE_TOP;
|
|
125
|
+
/**
|
|
126
|
+
* Extra spacing (px) kept between the sticky toggler and the target heading when scrolling to a section on mobile,
|
|
127
|
+
* so the heading is not flush against the toggler. Mirrors the spacing buffer used by the vanilla ECL
|
|
128
|
+
* `scroll-margin-top` rule (trigger height + spacing).
|
|
129
|
+
*/
|
|
130
|
+
private readonly MOBILE_SCROLL_SPACING;
|
|
125
131
|
private readonly ICON_SIZE_EC_THEME;
|
|
126
132
|
private readonly ICON_SIZE_EU_THEME;
|
|
127
133
|
private readonly TABLET_BREAKPOINT;
|
|
@@ -154,6 +160,11 @@ declare class EclInpageNavigationComponent extends ECLBaseDirective implements O
|
|
|
154
160
|
* On mobile view - handle the dropdown toggle.
|
|
155
161
|
*/
|
|
156
162
|
onExpandButtonClick(): void;
|
|
163
|
+
/**
|
|
164
|
+
* Single entry point for changing the dropdown expanded state. Keeps the local flag (used for the button's
|
|
165
|
+
* aria-expanded) and the shared service state (that drives the list's visibility class) in sync.
|
|
166
|
+
*/
|
|
167
|
+
private setButtonExpanded;
|
|
157
168
|
/**
|
|
158
169
|
* Dropdown keyboard navigation on mobile view.
|
|
159
170
|
* @param evt
|
|
@@ -168,6 +179,20 @@ declare class EclInpageNavigationComponent extends ECLBaseDirective implements O
|
|
|
168
179
|
private onExpandButtonTab;
|
|
169
180
|
private connectItemEvents;
|
|
170
181
|
private onItemEnter;
|
|
182
|
+
/**
|
|
183
|
+
* Scrolls the target section into view. On desktop this is a plain scrollIntoView() (unchanged behaviour). On
|
|
184
|
+
* mobile the in-page navigation toggler is sticky at the top, so a top-aligned scroll would hide the heading
|
|
185
|
+
* underneath it; we therefore set `scroll-margin-top` on the target (sticky toggler height + spacing buffer) and
|
|
186
|
+
* let scrollIntoView() honour it. Using scroll-margin-top instead of a manual window.scrollTo() keeps this working
|
|
187
|
+
* regardless of which element is the actual scroll container (window or a nested scrollable wrapper).
|
|
188
|
+
*/
|
|
189
|
+
private scrollToSection;
|
|
190
|
+
/**
|
|
191
|
+
* The offset (px) applied on mobile so that a scrolled-to heading clears the sticky toggler: the toggler height
|
|
192
|
+
* plus a spacing buffer. Returns 0 on desktop (no sticky toggler). Shared by the scroll logic and the scroll-spy
|
|
193
|
+
* so the heading lands exactly where the spy expects it, keeping the active item in sync after a click.
|
|
194
|
+
*/
|
|
195
|
+
private getMobileScrollOffset;
|
|
171
196
|
private onItemArrowDown;
|
|
172
197
|
private onItemArrowUp;
|
|
173
198
|
private onItemTab;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-inpage-navigation.d.ts","sources":["../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts","../../components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.ts","../../components/ecl-inpage-navigation/index.ts"],"mappings":";;;;;;AAMA,cAAa,iCAAkC,SAAQ,YAAY;AAC5C;AAAA;AAGtB;AACD;;AAEG;AACH,cAea,gCAAiC,SAAQ,gBAAgB;AAChB;AAClD;;AAEG;AACuB;AAE1B;;AAEG;oBACW,aAAA,CAAA,WAAA;wBACI,aAAA,CAAA,WAAA;uBACD,aAAA,CAAA,WAAA;AAEjB;;AAEG;AACO,eAAS,YAAA,CAAA,iCAAA;AACnB;;AAEG;AACO,iBAAW,YAAA;AACrB;;AAEG;AACO,mBAAa,YAAA;AACvB;;AAEG;AACO,aAAO,YAAA,CAAA,KAAA;AACjB;;AAEG;AACO,eAAS,YAAA;mBAEN,aAAA,CAAA,MA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AAMA;AAOA;AA2BA;AAaA;AAQA;AAaA;AAYA;AAoBA;AAOA;AAYA;
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-inpage-navigation.d.ts","sources":["../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts","../../components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.ts","../../components/ecl-inpage-navigation/index.ts"],"mappings":";;;;;;AAMA,cAAa,iCAAkC,SAAQ,YAAY;AAC5C;AAAA;AAGtB;AACD;;AAEG;AACH,cAea,gCAAiC,SAAQ,gBAAgB;AAChB;AAClD;;AAEG;AACuB;AAE1B;;AAEG;oBACW,aAAA,CAAA,WAAA;wBACI,aAAA,CAAA,WAAA;uBACD,aAAA,CAAA,WAAA;AAEjB;;AAEG;AACO,eAAS,YAAA,CAAA,iCAAA;AACnB;;AAEG;AACO,iBAAW,YAAA;AACrB;;AAEG;AACO,mBAAa,YAAA;AACvB;;AAEG;AACO,aAAO,YAAA,CAAA,KAAA;AACjB;;AAEG;AACO,eAAS,YAAA;mBAEN,aAAA,CAAA,MAAA,CAAA,gBAAA;AACb;AACA;;AAWA,qBAAiB,UAAU;AAO3B;;AAEG;AACH,0BAAsB,WAAW;AAKjC,mBAAe,KAAK;AAKpB,qBAAiB,KAAK;AAKtB,eAAW,KAAK;AAIhB;AAIA,iBAAa,KAAK;oDAjFT,gCAAgC;sDAAhC,gCAAgC;AAsF5C;;AC9GD;;AAEG;AACH,cAOa,gCAAiC,SAAQ,gBAAiB,YAAW,gBAAgB,EAAE,SAAS;AACzG,QAAE,UAAA;AAEgD;AAClD;;AAEG;AACwD;AAC3D,eAAS,aAAA,CAAA,cAAA;;;AAKT;AAMA;oDAnBS,gCAAgC;sDAAhC,gCAAgC;AAuB5C;;ACxBD,cAAa,oCAAqC,SAAQ,YAAY;AAC/C;AAAA;AAGtB;AAED;;;;;AAKG;AACH,cAca,4BAA6B,SAAQ,gBAAiB,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO;AACnH,qBAAe,eAAA;uBAEE,aAAA,CAAA,WAAA;AACjB;;AAEG;wBACe,aAAA,CAAA,WAAA;2BACG,aAAA,CAAA,WAAA;AACrB;;AAEG;wBACe,aAAA,CAAA,wBAAA;4BACI,aAAA,CAAA,MAAA,CAAA,UAAA,CAAA,iBAAA;4BACA,aAAA,CAAA,MAAA,CAAA,UAAA,CAAA,cAAA;wBACJ,aAAA,CAAA,MAAA,CAAA,UAAA,CAAA,cAAA;AAClB;;AAEG;2BACkB,aAAA,CAAA,gBAAA,CAAA,oCAAA;qCAEU,aAAA,CAAA,MAAA,UAAA,gCAAA;gCACL,aAAA,CAAA,MAAA,CAAA,gCAAA;AAE1B;;AAEG;AACH;AACA,2BAAuB,WAAW;AAC3B;;;;;;AAMP;;;;AAIG;AACH;AACA;AACA;AACA;;;;;;;;;;AAUA;AACA;AACA;AACA;;AAUA;;;qCAwBiC,gCAAgC;AAIjE;;AAEG;;;AAaH;AASA;AAUA;;AAEG;AACH;AAIA;;;AAGG;AACH;AAKA;;;AAGG;AACH,+BAA2B,KAAK;AAahC;AAMA;;AAEG;AACH;AAiCA;AAMA;AAOA;AA2BA;AAaA;;;;;;AAMG;AACH;AAOA;;;;AAIG;AACH;AAOA;AAQA;AAaA;AAYA;AAoBA;AAOA;AAYA;AA2BA;oDA7XS,4BAA4B;sDAA5B,4BAA4B;AAqYxC;;AC1aD,cACa,0BAA0B;AAE/B,kCAA8B,UAAU;;;AAO/C;;;AAGG;AACA;oDAbS,0BAA0B;wDAA1B,0BAA0B;AAgBtC;;ACXD,cAAa,yBAAyB,mBAAA,4BAAA,SAAA,gCAAA,SAAA,gCAAA;;;;","names":[]}
|
|
@@ -114,7 +114,17 @@ declare class EclMenuItemComponent extends ECLBaseDirective implements EclMenuIt
|
|
|
114
114
|
menuMegaLastItemTab: EventEmitter<void>;
|
|
115
115
|
get hasEclChildrenDataAttribute(): boolean;
|
|
116
116
|
get isDataExpanded(): boolean;
|
|
117
|
-
|
|
117
|
+
/**
|
|
118
|
+
* 'aria-current' is set to 'page' only when this item itself is the current page, and not when it is
|
|
119
|
+
* marked current merely because one of its children is the active item (in that case the child link
|
|
120
|
+
* carries 'aria-current="page"'). Derived from live state so it stays correct whether 'isCurrent' is set
|
|
121
|
+
* at render time or updated on selection.
|
|
122
|
+
*/
|
|
123
|
+
get ariaCurrent(): string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Whether any child (sub-item) is the current item.
|
|
126
|
+
*/
|
|
127
|
+
get hasCurrentChild(): boolean;
|
|
118
128
|
get hasChildren(): boolean;
|
|
119
129
|
get children(): EclMenuItem[];
|
|
120
130
|
private destroy$;
|
|
@@ -184,6 +194,7 @@ declare class EclMenuItemComponent extends ECLBaseDirective implements EclMenuIt
|
|
|
184
194
|
private observeBreakpointChanges;
|
|
185
195
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EclMenuItemComponent, never>;
|
|
186
196
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EclMenuItemComponent, "ecl-menu-item", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "toggleAriaLabel": { "alias": "toggleAriaLabel"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "isCurrent": { "alias": "isCurrent"; "required": false; }; "linkExtraAttributes": { "alias": "linkExtraAttributes"; "required": false; "isSignal": true; }; }, { "menuItemSelect": "menuItemSelect"; "menuItemCaret": "menuItemCaret"; "menuItemHover": "menuItemHover"; "menuItemHoverOut": "menuItemHoverOut"; "menuMegaItemSelect": "menuMegaItemSelect"; "menuItemFocus": "menuItemFocus"; "menuItemKeydown": "menuItemKeydown"; "menuMegaLastItemTab": "menuMegaLastItemTab"; }, ["submenu"], ["ecl-menu-mega", "*"], true, never>;
|
|
197
|
+
static ngAcceptInputType_isCurrent: unknown;
|
|
187
198
|
}
|
|
188
199
|
|
|
189
200
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-menu.d.ts","sources":["../../components/ecl-menu/models/ecl-menu-item.model.ts","../../components/ecl-menu/events/ecl-menu-item.event.ts","../../components/ecl-menu/ecl-menu/ecl-menu-item.component.ts","../../components/ecl-menu/ecl-menu/ecl-menu.component.ts","../../components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.ts","../../components/ecl-menu/ecl-menu-mega/ecl-menu-mega.component.ts","../../components/ecl-menu/index.ts"],"mappings":";;;;;;UAAiB,WAAW;;;;;;;;AAQxB,eAAW,WAAW;AACzB;;ACND,cAAa,sBAAuB,SAAQ,WAAW,CAAC,KAAK;AAE9C,cAAU,WAAW;AACrB,cAAU,KAAK;AADf,0BAAU,WAAW,aACX,KAAY;AAIpC;AAED,cAAa,qBAAsB,SAAQ,WAAW,CAAC,UAAU;AAElD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,wBAAyB,SAAQ,WAAW,CAAC,UAAU;AAErD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,qBAAsB,SAAQ,WAAW,CAAC,UAAU;AAElD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,qBAAsB,SAAQ,WAAW,CAAC,UAAU;AAElD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,uBAAwB,SAAQ,WAAW,CAAC,aAAa;AAEvD,cAAU,WAAW;AACrB,cAAU,aAAa;AADvB,0BAAU,WAAW,aACX,aAAoB;AAI5C;AAED,cAAa,2BAA2B;AAEzB,cAAU,WAAW;AAArB,0BAAU,WAAW;AACnC;;
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-menu.d.ts","sources":["../../components/ecl-menu/models/ecl-menu-item.model.ts","../../components/ecl-menu/events/ecl-menu-item.event.ts","../../components/ecl-menu/ecl-menu/ecl-menu-item.component.ts","../../components/ecl-menu/ecl-menu/ecl-menu.component.ts","../../components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.ts","../../components/ecl-menu/ecl-menu-mega/ecl-menu-mega.component.ts","../../components/ecl-menu/index.ts"],"mappings":";;;;;;UAAiB,WAAW;;;;;;;;AAQxB,eAAW,WAAW;AACzB;;ACND,cAAa,sBAAuB,SAAQ,WAAW,CAAC,KAAK;AAE9C,cAAU,WAAW;AACrB,cAAU,KAAK;AADf,0BAAU,WAAW,aACX,KAAY;AAIpC;AAED,cAAa,qBAAsB,SAAQ,WAAW,CAAC,UAAU;AAElD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,wBAAyB,SAAQ,WAAW,CAAC,UAAU;AAErD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,qBAAsB,SAAQ,WAAW,CAAC,UAAU;AAElD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,qBAAsB,SAAQ,WAAW,CAAC,UAAU;AAElD,cAAU,WAAW;AACrB,cAAU,UAAU;AADpB,0BAAU,WAAW,aACX,UAAiB;AAIzC;AAED,cAAa,uBAAwB,SAAQ,WAAW,CAAC,aAAa;AAEvD,cAAU,WAAW;AACrB,cAAU,aAAa;AADvB,0BAAU,WAAW,aACX,aAAoB;AAI5C;AAED,cAAa,2BAA2B;AAEzB,cAAU,WAAW;A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