@inera/ids-angular 9.2.0 → 9.3.0
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/common/directives/click-outside.directive.d.ts +3 -3
- package/common/public-api.d.ts +1 -1
- package/components/accordion/accordion-header.component.d.ts +1 -1
- package/components/accordion/accordion.component.d.ts +5 -4
- package/components/alert/alert-header.component.d.ts +1 -1
- package/components/alert/alert.component.d.ts +2 -2
- package/components/box-link/box-link-button.component.d.ts +2 -2
- package/components/box-link/box-link.component.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.component.d.ts +3 -4
- package/components/breadcrumbs/crumb.component.d.ts +1 -1
- package/components/carousel/carousel-item/carousel-item.component.d.ts +1 -1
- package/components/carousel/carousel.component.d.ts +4 -4
- package/components/control-button/control-button.directive.d.ts +5 -0
- package/components/control-button/index.d.ts +5 -0
- package/components/control-button/public-api.d.ts +1 -0
- package/components/dialog/dialog.component.d.ts +4 -4
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/footer-1177/footer-1177-col.component.d.ts +4 -4
- package/components/footer-1177/footer-1177.component.d.ts +6 -4
- package/components/footer-1177-admin/footer-1177-admin-col.component.d.ts +4 -4
- package/components/footer-1177-admin/footer-1177-admin.component.d.ts +5 -4
- package/components/footer-1177-pro/footer-1177-pro-col.component.d.ts +4 -4
- package/components/footer-1177-pro/footer-1177-pro.component.d.ts +6 -4
- package/components/footer-inera/footer-inera-col.component.d.ts +4 -4
- package/components/footer-inera/footer-inera.component.d.ts +5 -4
- package/components/footer-inera-admin/footer-inera-admin-col.component.d.ts +4 -4
- package/components/footer-inera-admin/footer-inera-admin.component.d.ts +5 -4
- package/components/footer-inera-general/footer-inera-general-col.component.d.ts +4 -4
- package/components/footer-inera-general/footer-inera-general.component.d.ts +6 -4
- package/components/form/checkbox-group/checkbox-group.component.d.ts +4 -4
- package/components/form/input/input-clear-button.component.d.ts +5 -0
- package/components/form/input/input.component.d.ts +7 -3
- package/components/form/input/public-api.d.ts +1 -0
- package/components/form/label-subtitle/index.d.ts +5 -0
- package/components/form/label-subtitle/label-subtitle.component.d.ts +5 -0
- package/components/form/label-subtitle/public-api.d.ts +1 -0
- package/components/form/radio/radio-group.component.d.ts +4 -4
- package/components/form/radio/radio.component.d.ts +1 -1
- package/components/form/radio-button/radio-button-group.component.d.ts +1 -2
- package/components/form/range/range.component.d.ts +1 -1
- package/components/form/select/select.component.d.ts +1 -1
- package/components/form/select-multiple/select-multiple.component.d.ts +3 -3
- package/components/form/textarea/textarea.component.d.ts +1 -1
- package/components/form/time/time.component.d.ts +1 -1
- package/components/global-alert/global-alert-actions.component.d.ts +1 -1
- package/components/global-alert/global-alert-header.component.d.ts +1 -1
- package/components/global-alert/global-alert.component.d.ts +2 -2
- package/components/header-1177/avatar/header-1177-avatar.component.d.ts +1 -1
- package/components/header-1177/header-1177.component.d.ts +6 -7
- package/components/header-1177/nav/header-1177-nav.component.d.ts +1 -1
- package/components/header-1177/nav-item/header-1177-nav-item.component.d.ts +5 -5
- package/components/header-1177/region-picker/header-1177-region-picker.component.d.ts +3 -3
- package/components/header-1177/region-picker-mobile/header-1177-region-picker-mobile.component.d.ts +3 -3
- package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +1 -1
- package/components/header-1177-admin/avatar-mobile/header-1177-admin-avatar-mobile.component.d.ts +1 -1
- package/components/header-1177-admin/header-1177-admin.component.d.ts +3 -3
- package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +4 -4
- package/components/header-1177-admin/nav-item/header-1177-admin-nav-item.component.d.ts +5 -5
- package/components/header-1177-pro/avatar/header-1177-pro-avatar.component.d.ts +1 -1
- package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +1 -1
- package/components/header-1177-pro/header-1177-pro.component.d.ts +3 -3
- package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +4 -4
- package/components/header-1177-pro/nav-item/header-1177-pro-nav-item.component.d.ts +5 -5
- package/components/header-1177-pro/region-picker/header-1177-pro-region-picker.component.d.ts +4 -4
- package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +1 -1
- package/components/header-inera/header-inera.component.d.ts +5 -6
- package/components/header-inera/nav/header-inera-nav.component.d.ts +2 -4
- package/components/header-inera/nav-item/header-inera-nav-item.component.d.ts +5 -5
- package/components/header-inera-admin/avatar/header-inera-admin-avatar.component.d.ts +1 -1
- package/components/header-inera-admin/avatar-mobile/header-inera-admin-avatar-mobile.component.d.ts +1 -1
- package/components/header-inera-admin/header-inera-admin.component.d.ts +6 -7
- package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +4 -4
- package/components/header-inera-admin/nav-item/header-inera-admin-nav-item.component.d.ts +4 -4
- package/components/header-inera-general/header-inera-general.component.d.ts +5 -6
- package/components/header-inera-general/nav/header-inera-general-nav.component.d.ts +1 -1
- package/components/header-inera-general/nav-item/header-inera-general-nav-item.component.d.ts +5 -5
- package/components/mobile/menu/item/mobile-menu-item.component.d.ts +3 -3
- package/components/mobile/menu/mobile-menu.component.d.ts +1 -2
- package/components/navigation/content/navigation-content-link.component.d.ts +1 -1
- package/components/navigation/content/navigation-content.component.d.ts +1 -2
- package/components/navigation/local/navigation-local-link.component.d.ts +1 -1
- package/components/navigation/local/navigation-local.component.d.ts +1 -2
- package/components/popover/popover.component.d.ts +4 -4
- package/components/puff-list/puff-list-item.component.d.ts +1 -1
- package/components/puff-list/puff-list.component.d.ts +1 -2
- package/components/side-menu/side-menu.component.d.ts +2 -2
- package/components/side-panel/side-panel.component.d.ts +7 -6
- package/components/stepper/stepper.component.d.ts +2 -2
- package/components/tabs/tab-group.component.d.ts +3 -2
- package/components/tabs/tab.component.d.ts +2 -2
- package/components/tag/tag.component.d.ts +1 -1
- package/components/tooltip/tooltip.component.d.ts +2 -2
- package/eslint/rules/no-old-components.js +2 -2
- package/fesm2022/inera-ids-angular-common.mjs +8 -9
- package/fesm2022/inera-ids-angular-common.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-accordion.mjs +19 -28
- package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-alert.mjs +8 -14
- package/fesm2022/inera-ids-angular-components-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-box-link.mjs +8 -14
- package/fesm2022/inera-ids-angular-components-box-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +15 -26
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-carousel.mjs +16 -23
- package/fesm2022/inera-ids-angular-components-carousel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-control-button.mjs +24 -0
- package/fesm2022/inera-ids-angular-components-control-button.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-dialog.mjs +10 -17
- package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dropdown.mjs +4 -7
- package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs +28 -35
- package/fesm2022/inera-ids-angular-components-footer-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs +29 -35
- package/fesm2022/inera-ids-angular-components-footer-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs +29 -35
- package/fesm2022/inera-ids-angular-components-footer-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +28 -35
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +30 -35
- package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs +28 -35
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs +9 -15
- package/fesm2022/inera-ids-angular-components-form-checkbox-group.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-input.mjs +58 -34
- package/fesm2022/inera-ids-angular-components-form-input.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs +25 -0
- package/fesm2022/inera-ids-angular-components-form-label-subtitle.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs +6 -9
- package/fesm2022/inera-ids-angular-components-form-radio-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-radio.mjs +11 -17
- package/fesm2022/inera-ids-angular-components-form-radio.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-range.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-form-range.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs +8 -11
- package/fesm2022/inera-ids-angular-components-form-select-multiple.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-select.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-form-select.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-form-textarea.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-form-time.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-form-time.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-global-alert.mjs +11 -23
- package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +29 -59
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +64 -91
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177.mjs +74 -104
- package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +31 -67
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +22 -49
- package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera.mjs +23 -54
- package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs +6 -12
- package/fesm2022/inera-ids-angular-components-mobile-menu-item.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-mobile-menu.mjs +13 -22
- package/fesm2022/inera-ids-angular-components-mobile-menu.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-navigation-content.mjs +7 -13
- package/fesm2022/inera-ids-angular-components-navigation-content.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-navigation-local.mjs +7 -13
- package/fesm2022/inera-ids-angular-components-navigation-local.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-popover.mjs +106 -61
- package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-puff-list.mjs +16 -22
- package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-side-menu.mjs +9 -12
- package/fesm2022/inera-ids-angular-components-side-menu.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-side-panel.mjs +91 -79
- package/fesm2022/inera-ids-angular-components-side-panel.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-stepper.mjs +5 -8
- package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tabs.mjs +14 -22
- package/fesm2022/inera-ids-angular-components-tabs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tag.mjs +5 -5
- package/fesm2022/inera-ids-angular-components-tag.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-tooltip.mjs +18 -24
- package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
- package/package.json +110 -102
- /package/common/services/{use-id.service.ts.d.ts → use-id.service.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, booleanAttribute, Input, Component,
|
|
2
|
+
import { inject, booleanAttribute, Input, Component, viewChild, Directive, contentChildren, contentChild, EventEmitter, Output, NgModule } from '@angular/core';
|
|
3
3
|
import { NgTemplateOutlet } from '@angular/common';
|
|
4
4
|
import { ID_HEADER_CONTEXT, IDUseIdService, useEscapeKey, IDClickOutsideDirective } from '@inera/ids-angular/common';
|
|
5
5
|
|
|
@@ -40,10 +40,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
40
40
|
}] } });
|
|
41
41
|
|
|
42
42
|
class IDHeaderIneraNavComponent {
|
|
43
|
-
|
|
44
|
-
template;
|
|
43
|
+
template = viewChild.required('nav');
|
|
45
44
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraNavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.20", type: IDHeaderIneraNavComponent, isStandalone: true, selector: "id-header-inera-nav", viewQueries: [{ propertyName: "template", first: true, predicate: ["nav"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
47
46
|
<ng-template #nav>
|
|
48
47
|
<div class="ids-header-inera-nav__nav-items">
|
|
49
48
|
<ng-content></ng-content>
|
|
@@ -62,13 +61,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
62
61
|
</ng-template>`,
|
|
63
62
|
standalone: true
|
|
64
63
|
}]
|
|
65
|
-
}]
|
|
66
|
-
type: Input,
|
|
67
|
-
args: [{ transform: booleanAttribute }]
|
|
68
|
-
}], template: [{
|
|
69
|
-
type: ViewChild,
|
|
70
|
-
args: ['nav']
|
|
71
|
-
}] } });
|
|
64
|
+
}] });
|
|
72
65
|
|
|
73
66
|
class IDHeaderIneraSkipToContent {
|
|
74
67
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraSkipToContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -102,17 +95,17 @@ class IDHeaderIneraComponent {
|
|
|
102
95
|
unresponsive = false;
|
|
103
96
|
brandHref = "#";
|
|
104
97
|
srBrandLabel = "Logotyp";
|
|
105
|
-
items;
|
|
106
|
-
nav;
|
|
107
|
-
brandLink;
|
|
108
|
-
skipToContent;
|
|
98
|
+
items = contentChildren(IDHeaderIneraItemComponent);
|
|
99
|
+
nav = contentChild(IDHeaderIneraNavComponent);
|
|
100
|
+
brandLink = contentChild(IDHeaderIneraBrandLinkDirective);
|
|
101
|
+
skipToContent = contentChild(IDHeaderIneraSkipToContent);
|
|
109
102
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
110
103
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraComponent, isStandalone: true, selector: "id-header-inera", inputs: { unresponsive: ["unresponsive", "unresponsive", booleanAttribute], brandHref: "brandHref", srBrandLabel: "srBrandLabel" }, providers: [
|
|
111
104
|
{
|
|
112
105
|
provide: ID_HEADER_CONTEXT,
|
|
113
106
|
useExisting: IDHeaderIneraComponent,
|
|
114
107
|
},
|
|
115
|
-
], queries: [{ propertyName: "nav", first: true, predicate: IDHeaderIneraNavComponent, descendants: true }, { propertyName: "brandLink", first: true, predicate: IDHeaderIneraBrandLinkDirective, descendants: true }, { propertyName: "skipToContent", first: true, predicate: IDHeaderIneraSkipToContent, descendants: true
|
|
108
|
+
], queries: [{ propertyName: "items", predicate: IDHeaderIneraItemComponent, isSignal: true }, { propertyName: "nav", first: true, predicate: IDHeaderIneraNavComponent, descendants: true, isSignal: true }, { propertyName: "brandLink", first: true, predicate: IDHeaderIneraBrandLinkDirective, descendants: true, isSignal: true }, { propertyName: "skipToContent", first: true, predicate: IDHeaderIneraSkipToContent, descendants: true, isSignal: true }], ngImport: i0, template: "<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink()) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items()) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav()) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\">\n <ng-container *ngTemplateOutlet=\"nav()!.template()\"></ng-container>\n </nav>\n }\n</header>", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
116
109
|
}
|
|
117
110
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraComponent, decorators: [{
|
|
118
111
|
type: Component,
|
|
@@ -121,7 +114,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
121
114
|
provide: ID_HEADER_CONTEXT,
|
|
122
115
|
useExisting: IDHeaderIneraComponent,
|
|
123
116
|
},
|
|
124
|
-
], imports: [NgTemplateOutlet], template: "<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\"
|
|
117
|
+
], imports: [NgTemplateOutlet], template: "<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink()) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items()) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav()) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\">\n <ng-container *ngTemplateOutlet=\"nav()!.template()\"></ng-container>\n </nav>\n }\n</header>" }]
|
|
125
118
|
}], propDecorators: { unresponsive: [{
|
|
126
119
|
type: Input,
|
|
127
120
|
args: [{ transform: booleanAttribute }]
|
|
@@ -129,18 +122,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
129
122
|
type: Input
|
|
130
123
|
}], srBrandLabel: [{
|
|
131
124
|
type: Input
|
|
132
|
-
}], items: [{
|
|
133
|
-
type: ContentChildren,
|
|
134
|
-
args: [IDHeaderIneraItemComponent]
|
|
135
|
-
}], nav: [{
|
|
136
|
-
type: ContentChild,
|
|
137
|
-
args: [IDHeaderIneraNavComponent]
|
|
138
|
-
}], brandLink: [{
|
|
139
|
-
type: ContentChild,
|
|
140
|
-
args: [IDHeaderIneraBrandLinkDirective]
|
|
141
|
-
}], skipToContent: [{
|
|
142
|
-
type: ContentChild,
|
|
143
|
-
args: [IDHeaderIneraSkipToContent]
|
|
144
125
|
}] } });
|
|
145
126
|
|
|
146
127
|
class IDHeaderIneraNavItemComponent {
|
|
@@ -149,10 +130,10 @@ class IDHeaderIneraNavItemComponent {
|
|
|
149
130
|
activeChange = new EventEmitter();
|
|
150
131
|
expanded = false;
|
|
151
132
|
expandedChange = new EventEmitter();
|
|
152
|
-
col1 =
|
|
153
|
-
col2 =
|
|
154
|
-
col3 =
|
|
155
|
-
col4 =
|
|
133
|
+
col1 = contentChild('col1');
|
|
134
|
+
col2 = contentChild('col2');
|
|
135
|
+
col3 = contentChild('col3');
|
|
136
|
+
col4 = contentChild('col4');
|
|
156
137
|
idService = inject(IDUseIdService);
|
|
157
138
|
contentId = this.idService.generateId('header-inera-nav-item');
|
|
158
139
|
header = inject(ID_HEADER_CONTEXT, { optional: true, host: true });
|
|
@@ -178,7 +159,7 @@ class IDHeaderIneraNavItemComponent {
|
|
|
178
159
|
this.activeChange.emit(false);
|
|
179
160
|
}
|
|
180
161
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeaderIneraNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
181
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraNavItemComponent, isStandalone: true, selector: "id-header-inera-nav-item", inputs: { label: "label", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-inera-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-nav-item--active": "active || expanded", "attr.aria-current": "active", "class.ids-header-inera-nav-item--expanded": "expanded" }, classAttribute: "ids-header-inera-nav-item" }, queries: [{ propertyName: "col1", first: true, predicate: ["col1"], descendants: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true }], ngImport: i0, template: `
|
|
162
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeaderIneraNavItemComponent, isStandalone: true, selector: "id-header-inera-nav-item", inputs: { label: "label", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-inera-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-inera-nav-item--active": "active || expanded", "attr.aria-current": "active", "class.ids-header-inera-nav-item--expanded": "expanded" }, classAttribute: "ids-header-inera-nav-item" }, queries: [{ propertyName: "col1", first: true, predicate: ["col1"], descendants: true, isSignal: true }, { propertyName: "col2", first: true, predicate: ["col2"], descendants: true, isSignal: true }, { propertyName: "col3", first: true, predicate: ["col3"], descendants: true, isSignal: true }, { propertyName: "col4", first: true, predicate: ["col4"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
182
163
|
<div
|
|
183
164
|
idClickOutside
|
|
184
165
|
(idClickOutside)="closeItem()">
|
|
@@ -200,16 +181,16 @@ class IDHeaderIneraNavItemComponent {
|
|
|
200
181
|
[class.ids-header-inera-nav-item__menu--expanded]="expanded">
|
|
201
182
|
<div class="ids-header-inera-nav-item__menu-content">
|
|
202
183
|
<div class="ids-header-inera-nav-item__menu-col-1">
|
|
203
|
-
<ng-container *ngTemplateOutlet="col1"></ng-container>
|
|
184
|
+
<ng-container *ngTemplateOutlet="col1() ?? null"></ng-container>
|
|
204
185
|
</div>
|
|
205
186
|
<div class="ids-header-inera-nav-item__menu-col-2">
|
|
206
|
-
<ng-container *ngTemplateOutlet="col2"></ng-container>
|
|
187
|
+
<ng-container *ngTemplateOutlet="col2() ?? null"></ng-container>
|
|
207
188
|
</div>
|
|
208
189
|
<div class="ids-header-inera-nav-item__menu-col-3">
|
|
209
|
-
<ng-container *ngTemplateOutlet="col3"></ng-container>
|
|
190
|
+
<ng-container *ngTemplateOutlet="col3() ?? null"></ng-container>
|
|
210
191
|
</div>
|
|
211
192
|
<div class="ids-header-inera-nav-item__menu-col-4">
|
|
212
|
-
<ng-container *ngTemplateOutlet="col4"></ng-container>
|
|
193
|
+
<ng-container *ngTemplateOutlet="col4() ?? null"></ng-container>
|
|
213
194
|
</div>
|
|
214
195
|
</div>
|
|
215
196
|
</div>
|
|
@@ -241,16 +222,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
241
222
|
[class.ids-header-inera-nav-item__menu--expanded]="expanded">
|
|
242
223
|
<div class="ids-header-inera-nav-item__menu-content">
|
|
243
224
|
<div class="ids-header-inera-nav-item__menu-col-1">
|
|
244
|
-
<ng-container *ngTemplateOutlet="col1"></ng-container>
|
|
225
|
+
<ng-container *ngTemplateOutlet="col1() ?? null"></ng-container>
|
|
245
226
|
</div>
|
|
246
227
|
<div class="ids-header-inera-nav-item__menu-col-2">
|
|
247
|
-
<ng-container *ngTemplateOutlet="col2"></ng-container>
|
|
228
|
+
<ng-container *ngTemplateOutlet="col2() ?? null"></ng-container>
|
|
248
229
|
</div>
|
|
249
230
|
<div class="ids-header-inera-nav-item__menu-col-3">
|
|
250
|
-
<ng-container *ngTemplateOutlet="col3"></ng-container>
|
|
231
|
+
<ng-container *ngTemplateOutlet="col3() ?? null"></ng-container>
|
|
251
232
|
</div>
|
|
252
233
|
<div class="ids-header-inera-nav-item__menu-col-4">
|
|
253
|
-
<ng-container *ngTemplateOutlet="col4"></ng-container>
|
|
234
|
+
<ng-container *ngTemplateOutlet="col4() ?? null"></ng-container>
|
|
254
235
|
</div>
|
|
255
236
|
</div>
|
|
256
237
|
</div>
|
|
@@ -277,18 +258,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
277
258
|
args: [{ transform: booleanAttribute }]
|
|
278
259
|
}], expandedChange: [{
|
|
279
260
|
type: Output
|
|
280
|
-
}], col1: [{
|
|
281
|
-
type: ContentChild,
|
|
282
|
-
args: ['col1']
|
|
283
|
-
}], col2: [{
|
|
284
|
-
type: ContentChild,
|
|
285
|
-
args: ['col2']
|
|
286
|
-
}], col3: [{
|
|
287
|
-
type: ContentChild,
|
|
288
|
-
args: ['col3']
|
|
289
|
-
}], col4: [{
|
|
290
|
-
type: ContentChild,
|
|
291
|
-
args: ['col4']
|
|
292
261
|
}] } });
|
|
293
262
|
|
|
294
263
|
class IDHeaderIneraMenuMobileComponent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-header-inera.mjs","sources":["../../../projects/ids-angular/components/header-inera/item/header-inera-item.component.ts","../../../projects/ids-angular/components/header-inera/nav/header-inera-nav.component.ts","../../../projects/ids-angular/components/header-inera/skip-to-content/header-inera-skip-to-content.component.ts","../../../projects/ids-angular/components/header-inera/brand-link/header-inera-brand-link.directive.ts","../../../projects/ids-angular/components/header-inera/header-inera.component.ts","../../../projects/ids-angular/components/header-inera/header-inera.component.html","../../../projects/ids-angular/components/header-inera/nav-item/header-inera-nav-item.component.ts","../../../projects/ids-angular/components/header-inera/menu-mobile/header-inera-menu-mobile.component.ts","../../../projects/ids-angular/components/header-inera/nav-item-menu-link/header-inera-nav-item-menu-link.component.ts","../../../projects/ids-angular/components/header-inera/header-inera.module.ts","../../../projects/ids-angular/components/header-inera/inera-ids-angular-components-header-inera.ts"],"sourcesContent":["import { Component, Input, booleanAttribute, inject } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-header-inera-item',\n template: `\n <div class=\"ids-header-inera-item__icon\">\n <ng-content name=[icon]></ng-content>\n <span class=\"ids-icon-{{icon}}\" aria-hidden=\"true\"></span>\n </div>\n <ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-item',\n '[class.ids-header-inera-item--unresponsive]': 'header?.unresponsive',\n '[class.ids-header-inera-item--mobile]': 'mobile'\n }\n})\nexport class IDHeaderIneraItemComponent {\n\n @Input({ transform: booleanAttribute }) mobile: boolean = false;\n @Input() icon?: string;\n\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n}\n ","import { Component, Input, TemplateRef, ViewChild, booleanAttribute } from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-nav\",\n template: `\n <ng-template #nav>\n <div class=\"ids-header-inera-nav__nav-items\"> \n <ng-content></ng-content>\n </div>\n </ng-template>`,\n standalone: true\n})\nexport class IDHeaderIneraNavComponent {\n @Input({ transform: booleanAttribute }) hideOnTablet: boolean = false;\n\n @ViewChild('nav') template: TemplateRef<any>;\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-skip-to-content\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera__skip-to-content'\n }\n})\nexport class IDHeaderIneraSkipToContent {}\n","import { Directive } from \"@angular/core\";\n\n@Directive({\n selector: \"a[idBrandIneraLink]\",\n standalone: true,\n})\nexport class IDHeaderIneraBrandLinkDirective {}\n","import { NgTemplateOutlet } from \"@angular/common\";\nimport { Component, ContentChild, ContentChildren, Input, QueryList, booleanAttribute } from \"@angular/core\";\nimport { IDHeaderIneraItemComponent } from \"./item/header-inera-item.component\";\nimport { IDHeaderIneraNavComponent } from \"./nav/header-inera-nav.component\";\nimport { IDHeaderIneraSkipToContent } from \"./skip-to-content/header-inera-skip-to-content.component\";\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from \"@inera/ids-angular/common\";\nimport { IDHeaderIneraBrandLinkDirective } from \"./brand-link/header-inera-brand-link.directive\";\n\n@Component({\n selector: \"id-header-inera\",\n templateUrl: \"./header-inera.component.html\",\n standalone: true,\n providers: [\n {\n provide: ID_HEADER_CONTEXT,\n useExisting: IDHeaderIneraComponent,\n },\n ],\n imports: [NgTemplateOutlet]\n})\nexport class IDHeaderIneraComponent implements IDHeaderContext {\n @Input({ transform: booleanAttribute }) unresponsive: boolean = false;\n @Input() brandHref: string = \"#\";\n @Input() srBrandLabel: string = \"Logotyp\";\n\n @ContentChildren(IDHeaderIneraItemComponent)\n items: QueryList<IDHeaderIneraItemComponent>;\n\n @ContentChild(IDHeaderIneraNavComponent)\n nav: IDHeaderIneraNavComponent;\n\n @ContentChild(IDHeaderIneraBrandLinkDirective)\n brandLink: IDHeaderIneraBrandLinkDirective;\n\n @ContentChild(IDHeaderIneraSkipToContent)\n skipToContent: IDHeaderIneraSkipToContent;\n\n}\n","<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-inera-nav--hide-on-tablet]=\"nav.hideOnTablet\">\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>","import { NgTemplateOutlet } from \"@angular/common\";\nimport { Component, ContentChild, EventEmitter, Input, Output, TemplateRef, booleanAttribute, inject } from \"@angular/core\";\nimport { ID_HEADER_CONTEXT, IDHeaderContext, IDUseIdService, IDClickOutsideDirective, useEscapeKey } from \"@inera/ids-angular/common\";\n\n@Component({\n selector: \"id-header-inera-nav-item\",\n template: `\n <div\n idClickOutside\n (idClickOutside)=\"closeItem()\">\n @if (this.label) {\n <button\n [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"expanded\"\n class=\"ids-header-inera-nav-item__button\"\n (click)=\"toggleExpansion()\">\n {{label}}\n </button>\n } @else {\n <span class=\"ids-header-inera-nav-item__link\">\n <ng-content select=\"[link]\"></ng-content>\n </span>\n }\n <div [attr.id]=\"contentId\" \n class=\"ids-header-inera-nav-item__menu\"\n [class.ids-header-inera-nav-item__menu--expanded]=\"expanded\">\n <div class=\"ids-header-inera-nav-item__menu-content\">\n <div class=\"ids-header-inera-nav-item__menu-col-1\">\n <ng-container *ngTemplateOutlet=\"col1\"></ng-container>\n </div>\n <div class=\"ids-header-inera-nav-item__menu-col-2\">\n <ng-container *ngTemplateOutlet=\"col2\"></ng-container>\n </div>\n <div class=\"ids-header-inera-nav-item__menu-col-3\">\n <ng-container *ngTemplateOutlet=\"col3\"></ng-container>\n </div>\n <div class=\"ids-header-inera-nav-item__menu-col-4\">\n <ng-container *ngTemplateOutlet=\"col4\"></ng-container>\n </div>\n </div>\n </div>\n </div>`,\n standalone: true,\n imports: [IDClickOutsideDirective, NgTemplateOutlet],\n host: {\n class: 'ids-header-inera-nav-item',\n '[class.ids-header-inera-nav-item--unresponsive]': 'header?.unresponsive',\n '[class.ids-header-inera-nav-item--active]': 'active || expanded',\n '[attr.aria-current]': 'active',\n '[class.ids-header-inera-nav-item--expanded]': 'expanded'\n }\n})\nexport class IDHeaderIneraNavItemComponent {\n @Input() label?: string;\n\n @Input({ transform: booleanAttribute }) active: boolean = false;\n @Output() activeChange = new EventEmitter<boolean>();\n\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n @Output() expandedChange = new EventEmitter<boolean>();\n\n @ContentChild('col1') col1: TemplateRef<any> | null = null;\n @ContentChild('col2') col2: TemplateRef<any> | null = null;\n @ContentChild('col3') col3: TemplateRef<any> | null = null;\n @ContentChild('col4') col4: TemplateRef<any> | null = null;\n\n private idService = inject(IDUseIdService);\n protected contentId = this.idService.generateId('header-inera-nav-item');\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n\n constructor() {\n useEscapeKey(() => this.closeItem(), () => this.expanded);\n }\n\n toggleExpansion(): void {\n if(this.expanded) {\n this.closeItem();\n } else {\n this.expandItem();\n }\n }\n\n expandItem(): void {\n this.expanded = true;\n this.expandedChange.emit(true);\n this.activeChange.emit(true);\n }\n\n closeItem(): void {\n this.expanded = false;\n this.expandedChange.emit(false);\n this.activeChange.emit(false);\n }\n}\n","import { Component, Input, booleanAttribute, inject } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-header-inera-menu-mobile',\n template: `\n <div\n class=\"ids-header-inera-menu-mobile\"\n [class.ids-header-inera-menu-mobile--unresponsive]=\"header?.unresponsive\"\n [class.ids-header-inera-menu-mobile--expanded]=\"expanded\"\n >\n <button\n (click)=\"toggleExpansion()\"\n aria-label=\"Meny\"\n [attr.aria-expanded]=\"expanded\"\n class=\"ids-header-inera-menu-mobile__button\"\n >\n <div class=\"ids-hamburger\">\n <span class=\"ids-hamburger__lines\"></span>\n </div>\n </button>\n @if (expanded) {\n <nav class=\"ids-header-inera-menu-mobile__items\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </nav>\n }\n </div>\n `,\n standalone: true,\n host: {\n class: 'ids-header-inera__mobile-menu',\n },\n})\nexport class IDHeaderIneraMenuMobileComponent {\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n\n toggleExpansion() {\n this.expanded = !this.expanded;\n }\n}\n","import {\n Component,\n} from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-nav-item-menu-link\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-nav__menu-item-wrapper'\n }\n})\nexport class IDHeaderIneraNavItemMenuLinkComponent {\n}\n","import { NgModule } from \"@angular/core\";\n\nimport { IDHeaderIneraComponent } from \"./header-inera.component\";\nimport { IDHeaderIneraItemComponent } from \"./item/header-inera-item.component\";\nimport { IDHeaderIneraNavComponent } from \"./nav/header-inera-nav.component\";\nimport { IDHeaderIneraNavItemComponent } from \"./nav-item/header-inera-nav-item.component\";\nimport { IDHeaderIneraMenuMobileComponent } from \"./menu-mobile/header-inera-menu-mobile.component\";\nimport { IDHeaderIneraSkipToContent } from \"./skip-to-content/header-inera-skip-to-content.component\";\nimport { IDHeaderIneraNavItemMenuLinkComponent } from \"./nav-item-menu-link/header-inera-nav-item-menu-link.component\";\n\nimport { IDHeaderIneraBrandLinkDirective } from \"./brand-link/header-inera-brand-link.directive\";\n\n@NgModule({\n imports: [\n IDHeaderIneraComponent,\n IDHeaderIneraItemComponent,\n IDHeaderIneraNavComponent,\n IDHeaderIneraNavItemComponent,\n IDHeaderIneraMenuMobileComponent,\n IDHeaderIneraSkipToContent,\n IDHeaderIneraNavItemMenuLinkComponent,\n IDHeaderIneraBrandLinkDirective,\n ],\n exports: [\n IDHeaderIneraComponent,\n IDHeaderIneraItemComponent,\n IDHeaderIneraNavComponent,\n IDHeaderIneraNavItemComponent,\n IDHeaderIneraMenuMobileComponent,\n IDHeaderIneraSkipToContent,\n IDHeaderIneraNavItemMenuLinkComponent,\n IDHeaderIneraBrandLinkDirective,\n ],\n})\nexport class IDHeaderIneraModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAkBa,0BAA0B,CAAA;IAEG,MAAM,GAAY,KAAK;AACtD,IAAA,IAAI;AAEb,IAAA,MAAM,GAAG,MAAM,CAAyB,iBAAiB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;wGAL/E,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAEjB,gBAAgB,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,2CAAA,EAAA,sBAAA,EAAA,qCAAA,EAAA,QAAA,EAAA,EAAA,cAAA,EAAA,uBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAf1B;;;;;AAKkB,6BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAQjB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAftC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE;;;;;AAKkB,6BAAA,CAAA;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE,u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QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,6BAA6B;wBAC7B,gCAAgC;wBAChC,0BAA0B;wBAC1B,qCAAqC;wBACrC,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,6BAA6B;wBAC7B,gCAAgC;wBAChC,0BAA0B;wBAC1B,qCAAqC;wBACrC,+BAA+B;AAChC,qBAAA;AACF,iBAAA;;;ACjCD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-header-inera.mjs","sources":["../../../projects/ids-angular/components/header-inera/item/header-inera-item.component.ts","../../../projects/ids-angular/components/header-inera/nav/header-inera-nav.component.ts","../../../projects/ids-angular/components/header-inera/skip-to-content/header-inera-skip-to-content.component.ts","../../../projects/ids-angular/components/header-inera/brand-link/header-inera-brand-link.directive.ts","../../../projects/ids-angular/components/header-inera/header-inera.component.ts","../../../projects/ids-angular/components/header-inera/header-inera.component.html","../../../projects/ids-angular/components/header-inera/nav-item/header-inera-nav-item.component.ts","../../../projects/ids-angular/components/header-inera/menu-mobile/header-inera-menu-mobile.component.ts","../../../projects/ids-angular/components/header-inera/nav-item-menu-link/header-inera-nav-item-menu-link.component.ts","../../../projects/ids-angular/components/header-inera/header-inera.module.ts","../../../projects/ids-angular/components/header-inera/inera-ids-angular-components-header-inera.ts"],"sourcesContent":["import { Component, Input, booleanAttribute, inject } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-header-inera-item',\n template: `\n <div class=\"ids-header-inera-item__icon\">\n <ng-content name=[icon]></ng-content>\n <span class=\"ids-icon-{{icon}}\" aria-hidden=\"true\"></span>\n </div>\n <ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-item',\n '[class.ids-header-inera-item--unresponsive]': 'header?.unresponsive',\n '[class.ids-header-inera-item--mobile]': 'mobile'\n }\n})\nexport class IDHeaderIneraItemComponent {\n\n @Input({ transform: booleanAttribute }) mobile: boolean = false;\n @Input() icon?: string;\n\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n}\n ","import { Component, Input, TemplateRef, viewChild, booleanAttribute } from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-nav\",\n template: `\n <ng-template #nav>\n <div class=\"ids-header-inera-nav__nav-items\"> \n <ng-content></ng-content>\n </div>\n </ng-template>`,\n standalone: true\n})\nexport class IDHeaderIneraNavComponent {\n\n template = viewChild.required<TemplateRef<any>>('nav');\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-skip-to-content\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera__skip-to-content'\n }\n})\nexport class IDHeaderIneraSkipToContent {}\n","import { Directive } from \"@angular/core\";\n\n@Directive({\n selector: \"a[idBrandIneraLink]\",\n standalone: true,\n})\nexport class IDHeaderIneraBrandLinkDirective {}\n","import { NgTemplateOutlet } from \"@angular/common\";\nimport { Component, Input, booleanAttribute, contentChild, contentChildren } from '@angular/core';\nimport { IDHeaderIneraItemComponent } from \"./item/header-inera-item.component\";\nimport { IDHeaderIneraNavComponent } from \"./nav/header-inera-nav.component\";\nimport { IDHeaderIneraSkipToContent } from \"./skip-to-content/header-inera-skip-to-content.component\";\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from \"@inera/ids-angular/common\";\nimport { IDHeaderIneraBrandLinkDirective } from \"./brand-link/header-inera-brand-link.directive\";\n\n@Component({\n selector: \"id-header-inera\",\n templateUrl: \"./header-inera.component.html\",\n standalone: true,\n providers: [\n {\n provide: ID_HEADER_CONTEXT,\n useExisting: IDHeaderIneraComponent,\n },\n ],\n imports: [NgTemplateOutlet]\n})\nexport class IDHeaderIneraComponent implements IDHeaderContext {\n @Input({ transform: booleanAttribute }) unresponsive: boolean = false;\n @Input() brandHref: string = \"#\";\n @Input() srBrandLabel: string = \"Logotyp\";\n\n items = contentChildren(IDHeaderIneraItemComponent);\n\n nav = contentChild(IDHeaderIneraNavComponent);\n\n brandLink = contentChild(IDHeaderIneraBrandLinkDirective);\n\n skipToContent = contentChild(IDHeaderIneraSkipToContent);\n\n}\n","<header class=\"ids-header-inera\"\n [class.ids-header-inera--unresponsive]=\"unresponsive\">\n <ng-content select=\"id-header-inera-skip-to-content\"></ng-content>\n <div class=\"ids-header-inera__container\">\n <div class=\"ids-header-inera__inner\">\n <div class=\"ids-header-inera__main\">\n @if(brandLink()) {\n <div class=\"ids-header-inera__logo-custom\">\n <ng-content select=\"[idBrandIneraLink]\"></ng-content>\n </div>\n } @else {\n <a class=\"ids-header-inera__logo\" [attr.href]=\"brandHref\" [attr.aria-label]=\"srBrandLabel\"> </a>\n }\n @if(items()) {\n <div class=\"ids-header-inera__items\">\n <ng-content select=\"id-header-inera-item\"></ng-content>\n <ng-content select=\"id-header-inera-menu-mobile\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n @if(nav()) {\n <nav class=\"ids-header-inera-nav\"\n [class.ids-header-inera-nav--unresponsive]=\"unresponsive\">\n <ng-container *ngTemplateOutlet=\"nav()!.template()\"></ng-container>\n </nav>\n }\n</header>","import { NgTemplateOutlet } from \"@angular/common\";\nimport { Component, EventEmitter, Input, Output, TemplateRef, booleanAttribute, inject, contentChild } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext, IDUseIdService, IDClickOutsideDirective, useEscapeKey } from \"@inera/ids-angular/common\";\n\n@Component({\n selector: \"id-header-inera-nav-item\",\n template: `\n <div\n idClickOutside\n (idClickOutside)=\"closeItem()\">\n @if (this.label) {\n <button\n [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"expanded\"\n class=\"ids-header-inera-nav-item__button\"\n (click)=\"toggleExpansion()\">\n {{label}}\n </button>\n } @else {\n <span class=\"ids-header-inera-nav-item__link\">\n <ng-content select=\"[link]\"></ng-content>\n </span>\n }\n <div [attr.id]=\"contentId\" \n class=\"ids-header-inera-nav-item__menu\"\n [class.ids-header-inera-nav-item__menu--expanded]=\"expanded\">\n <div class=\"ids-header-inera-nav-item__menu-content\">\n <div class=\"ids-header-inera-nav-item__menu-col-1\">\n <ng-container *ngTemplateOutlet=\"col1() ?? null\"></ng-container>\n </div>\n <div class=\"ids-header-inera-nav-item__menu-col-2\">\n <ng-container *ngTemplateOutlet=\"col2() ?? null\"></ng-container>\n </div>\n <div class=\"ids-header-inera-nav-item__menu-col-3\">\n <ng-container *ngTemplateOutlet=\"col3() ?? null\"></ng-container>\n </div>\n <div class=\"ids-header-inera-nav-item__menu-col-4\">\n <ng-container *ngTemplateOutlet=\"col4() ?? null\"></ng-container>\n </div>\n </div>\n </div>\n </div>`,\n standalone: true,\n imports: [IDClickOutsideDirective, NgTemplateOutlet],\n host: {\n class: 'ids-header-inera-nav-item',\n '[class.ids-header-inera-nav-item--unresponsive]': 'header?.unresponsive',\n '[class.ids-header-inera-nav-item--active]': 'active || expanded',\n '[attr.aria-current]': 'active',\n '[class.ids-header-inera-nav-item--expanded]': 'expanded'\n }\n})\nexport class IDHeaderIneraNavItemComponent {\n @Input() label?: string;\n\n @Input({ transform: booleanAttribute }) active: boolean = false;\n @Output() activeChange = new EventEmitter<boolean>();\n\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n @Output() expandedChange = new EventEmitter<boolean>();\n\n col1 = contentChild<TemplateRef<any>>('col1');\n col2 = contentChild<TemplateRef<any>>('col2');\n col3 = contentChild<TemplateRef<any>>('col3');\n col4 = contentChild<TemplateRef<any>>('col4');\n\n private idService = inject(IDUseIdService);\n protected contentId = this.idService.generateId('header-inera-nav-item');\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n\n constructor() {\n useEscapeKey(() => this.closeItem(), () => this.expanded);\n }\n\n toggleExpansion(): void {\n if(this.expanded) {\n this.closeItem();\n } else {\n this.expandItem();\n }\n }\n\n expandItem(): void {\n this.expanded = true;\n this.expandedChange.emit(true);\n this.activeChange.emit(true);\n }\n\n closeItem(): void {\n this.expanded = false;\n this.expandedChange.emit(false);\n this.activeChange.emit(false);\n }\n}\n","import { Component, Input, booleanAttribute, inject } from '@angular/core';\nimport { ID_HEADER_CONTEXT, IDHeaderContext } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-header-inera-menu-mobile',\n template: `\n <div\n class=\"ids-header-inera-menu-mobile\"\n [class.ids-header-inera-menu-mobile--unresponsive]=\"header?.unresponsive\"\n [class.ids-header-inera-menu-mobile--expanded]=\"expanded\"\n >\n <button\n (click)=\"toggleExpansion()\"\n aria-label=\"Meny\"\n [attr.aria-expanded]=\"expanded\"\n class=\"ids-header-inera-menu-mobile__button\"\n >\n <div class=\"ids-hamburger\">\n <span class=\"ids-hamburger__lines\"></span>\n </div>\n </button>\n @if (expanded) {\n <nav class=\"ids-header-inera-menu-mobile__items\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </nav>\n }\n </div>\n `,\n standalone: true,\n host: {\n class: 'ids-header-inera__mobile-menu',\n },\n})\nexport class IDHeaderIneraMenuMobileComponent {\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n\n header = inject<IDHeaderContext | null>(ID_HEADER_CONTEXT, { optional: true, host: true });\n\n toggleExpansion() {\n this.expanded = !this.expanded;\n }\n}\n","import {\n Component,\n} from \"@angular/core\";\n\n@Component({\n selector: \"id-header-inera-nav-item-menu-link\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n host: {\n class: 'ids-header-inera-nav__menu-item-wrapper'\n }\n})\nexport class IDHeaderIneraNavItemMenuLinkComponent {\n}\n","import { NgModule } from \"@angular/core\";\n\nimport { IDHeaderIneraComponent } from \"./header-inera.component\";\nimport { IDHeaderIneraItemComponent } from \"./item/header-inera-item.component\";\nimport { IDHeaderIneraNavComponent } from \"./nav/header-inera-nav.component\";\nimport { IDHeaderIneraNavItemComponent } from \"./nav-item/header-inera-nav-item.component\";\nimport { IDHeaderIneraMenuMobileComponent } from \"./menu-mobile/header-inera-menu-mobile.component\";\nimport { IDHeaderIneraSkipToContent } from \"./skip-to-content/header-inera-skip-to-content.component\";\nimport { IDHeaderIneraNavItemMenuLinkComponent } from \"./nav-item-menu-link/header-inera-nav-item-menu-link.component\";\n\nimport { IDHeaderIneraBrandLinkDirective } from \"./brand-link/header-inera-brand-link.directive\";\n\n@NgModule({\n imports: [\n IDHeaderIneraComponent,\n IDHeaderIneraItemComponent,\n IDHeaderIneraNavComponent,\n IDHeaderIneraNavItemComponent,\n IDHeaderIneraMenuMobileComponent,\n IDHeaderIneraSkipToContent,\n IDHeaderIneraNavItemMenuLinkComponent,\n IDHeaderIneraBrandLinkDirective,\n ],\n exports: [\n IDHeaderIneraComponent,\n IDHeaderIneraItemComponent,\n IDHeaderIneraNavComponent,\n IDHeaderIneraNavItemComponent,\n IDHeaderIneraMenuMobileComponent,\n IDHeaderIneraSkipToContent,\n IDHeaderIneraNavItemMenuLinkComponent,\n IDHeaderIneraBrandLinkDirective,\n ],\n})\nexport class IDHeaderIneraModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAkBa,0BAA0B,CAAA;IAEG,MAAM,GAAY,KAAK;AACtD,IAAA,IAAI;AAEb,IAAA,MAAM,GAAG,MAAM,CAAyB,iBAAiB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;wGAL/E,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,QAAA,EAEjB,gBAAgB,CAAA,EAAA,IAAA,EAAA,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AAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YApB5B,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,6BAA6B;YAC7B,gCAAgC;YAChC,0BAA0B;YAC1B,qCAAqC;AACrC,YAAA,+BAA+B,aAG/B,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,6BAA6B;YAC7B,gCAAgC;YAChC,0BAA0B;YAC1B,qCAAqC;YACrC,+BAA+B,CAAA,EAAA,CAAA;yGAGtB,mBAAmB,EAAA,CAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAtB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,6BAA6B;wBAC7B,gCAAgC;wBAChC,0BAA0B;wBAC1B,qCAAqC;wBACrC,+BAA+B;AAChC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,6BAA6B;wBAC7B,gCAAgC;wBAChC,0BAA0B;wBAC1B,qCAAqC;wBACrC,+BAA+B;AAChC,qBAAA;AACF,iBAAA;;;ACjCD;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter,
|
|
3
|
+
import { EventEmitter, contentChildren, viewChild, TemplateRef, inject, booleanAttribute, Output, Input, Component } from '@angular/core';
|
|
4
4
|
import { IDUseIdService } from '@inera/ids-angular/common';
|
|
5
5
|
|
|
6
6
|
class IDMobileMenuItemComponent {
|
|
@@ -13,12 +13,12 @@ class IDMobileMenuItemComponent {
|
|
|
13
13
|
srHideText = 'Minimera';
|
|
14
14
|
closed = new EventEmitter();
|
|
15
15
|
opened = new EventEmitter();
|
|
16
|
-
items;
|
|
17
|
-
template;
|
|
16
|
+
items = contentChildren(IDMobileMenuItemComponent);
|
|
17
|
+
template = viewChild.required(TemplateRef);
|
|
18
18
|
useId = inject(IDUseIdService);
|
|
19
19
|
subItemId = this.useId.generateId('mobile-menu');
|
|
20
20
|
ngAfterContentChecked() {
|
|
21
|
-
this.items.forEach((item) => {
|
|
21
|
+
this.items().forEach((item) => {
|
|
22
22
|
item.level = this.level + 1;
|
|
23
23
|
});
|
|
24
24
|
}
|
|
@@ -57,11 +57,11 @@ class IDMobileMenuItemComponent {
|
|
|
57
57
|
this.opened.emit(event);
|
|
58
58
|
}
|
|
59
59
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDMobileMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDMobileMenuItemComponent, isStandalone: true, selector: "id-mobile-menu-item", inputs: { headline: "headline", expanded: ["expanded", "expanded", booleanAttribute], secondary: ["secondary", "secondary", booleanAttribute], active: ["active", "active", booleanAttribute], level: "level", srShowText: "srShowText", srHideText: "srHideText" }, outputs: { closed: "closed", opened: "opened" }, queries: [{ propertyName: "items", predicate: IDMobileMenuItemComponent }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items.length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items.length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items; track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
60
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDMobileMenuItemComponent, isStandalone: true, selector: "id-mobile-menu-item", inputs: { headline: "headline", expanded: ["expanded", "expanded", booleanAttribute], secondary: ["secondary", "secondary", booleanAttribute], active: ["active", "active", booleanAttribute], level: "level", srShowText: "srShowText", srHideText: "srHideText" }, outputs: { closed: "closed", opened: "opened" }, queries: [{ propertyName: "items", predicate: IDMobileMenuItemComponent, isSignal: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items().length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items().length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
61
61
|
}
|
|
62
62
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDMobileMenuItemComponent, decorators: [{
|
|
63
63
|
type: Component,
|
|
64
|
-
args: [{ selector: 'id-mobile-menu-item', standalone: true, imports: [NgTemplateOutlet], template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items.length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items.length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items; track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n" }]
|
|
64
|
+
args: [{ selector: 'id-mobile-menu-item', standalone: true, imports: [NgTemplateOutlet], template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items().length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items().length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n" }]
|
|
65
65
|
}], propDecorators: { headline: [{
|
|
66
66
|
type: Input
|
|
67
67
|
}], expanded: [{
|
|
@@ -83,12 +83,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
83
83
|
type: Output
|
|
84
84
|
}], opened: [{
|
|
85
85
|
type: Output
|
|
86
|
-
}], items: [{
|
|
87
|
-
type: ContentChildren,
|
|
88
|
-
args: [IDMobileMenuItemComponent]
|
|
89
|
-
}], template: [{
|
|
90
|
-
type: ViewChild,
|
|
91
|
-
args: [TemplateRef]
|
|
92
86
|
}] } });
|
|
93
87
|
|
|
94
88
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-mobile-menu-item.mjs","sources":["../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.ts","../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.html","../../../projects/ids-angular/components/mobile/menu/item/inera-ids-angular-components-mobile-menu-item.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-mobile-menu-item.mjs","sources":["../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.ts","../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.html","../../../projects/ids-angular/components/mobile/menu/item/inera-ids-angular-components-mobile-menu-item.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { AfterContentChecked, Component, EventEmitter, Input, Output, TemplateRef, viewChild, booleanAttribute, inject, contentChildren } from '@angular/core';\nimport { IDUseIdService } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-mobile-menu-item',\n templateUrl: './mobile-menu-item.component.html',\n standalone: true,\n imports: [NgTemplateOutlet],\n})\nexport class IDMobileMenuItemComponent implements AfterContentChecked {\n @Input() headline: string;\n @Input({ transform: booleanAttribute }) expanded: boolean;\n @Input({ transform: booleanAttribute }) secondary: boolean;\n @Input({ transform: booleanAttribute }) active: boolean;\n @Input() level: number = 1;\n @Input() srShowText: string = 'Expandera';\n @Input() srHideText: string = 'Minimera';\n\n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n\n items = contentChildren(IDMobileMenuItemComponent);\n\n template = viewChild.required(TemplateRef);\n \n private useId = inject(IDUseIdService);\n subItemId = this.useId.generateId('mobile-menu');\n\n ngAfterContentChecked(): void {\n this.items().forEach((item) => {\n item.level = this.level+1;\n })\n }\n\n get buttonToggleText() {\n return this.expanded ? this.srHideText : this.srShowText;\n }\n\n get itemLevelClass() {\n switch (this.level) {\n case 1:\n return 'ids-mobile-menu-item';\n case 2:\n return 'ids-mobile-menu-item--2';\n case 3:\n return 'ids-mobile-menu-item--3';\n default:\n return 'ids-mobile-menu-item';\n }\n }\n\n getLevelClass = (className: string) => {\n return `${className}-${this.level}`;\n };\n\n toggleExpansion(event: Event) {\n if (this.expanded) {\n this.hasClosed(event);\n } else {\n this.hasExpanded(event);\n }\n }\n\n hasClosed(event: Event) {\n this.expanded = false;\n this.closed.emit(event);\n }\n hasExpanded(event: Event) {\n this.expanded = true;\n this.opened.emit(event);\n }\n}\n","<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items().length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items().length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,yBAAyB,CAAA;AAC3B,IAAA,QAAQ;AACuB,IAAA,QAAQ;AACR,IAAA,SAAS;AACT,IAAA,MAAM;IACrC,KAAK,GAAW,CAAC;IACjB,UAAU,GAAW,WAAW;IAChC,UAAU,GAAW,UAAU;AAE9B,IAAA,MAAM,GAAwB,IAA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BA,4CDnBY,gBAAgB,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAEf,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,qBAAqB,EAAA,UAAA,EAEnB,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAA,4vCAAA,EAAA;8BAGlB,QAAQ,EAAA,CAAA;sBAAhB;gBACuC,QAAQ,EAAA,CAAA;sBAA/C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,SAAS,EAAA,CAAA;sBAAhD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,MAAM,EAAA,CAAA;sBAA7C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAC7B,KAAK,EAAA,CAAA;sBAAb;gBACQ,UAAU,EAAA,CAAA;sBAAlB;gBACQ,UAAU,EAAA,CAAA;sBAAlB;gBAES,MAAM,EAAA,CAAA;sBAAf;gBACS,MAAM,EAAA,CAAA;sBAAf;;;AEpBH;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter,
|
|
2
|
+
import { EventEmitter, contentChildren, viewChild, TemplateRef, inject, booleanAttribute, Output, Input, Component } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { NgTemplateOutlet, CommonModule } from '@angular/common';
|
|
5
5
|
import { IDUseIdService } from '@inera/ids-angular/common';
|
|
@@ -14,12 +14,12 @@ class IDMobileMenuItemComponent {
|
|
|
14
14
|
srHideText = 'Minimera';
|
|
15
15
|
closed = new EventEmitter();
|
|
16
16
|
opened = new EventEmitter();
|
|
17
|
-
items;
|
|
18
|
-
template;
|
|
17
|
+
items = contentChildren(IDMobileMenuItemComponent);
|
|
18
|
+
template = viewChild.required(TemplateRef);
|
|
19
19
|
useId = inject(IDUseIdService);
|
|
20
20
|
subItemId = this.useId.generateId('mobile-menu');
|
|
21
21
|
ngAfterContentChecked() {
|
|
22
|
-
this.items.forEach((item) => {
|
|
22
|
+
this.items().forEach((item) => {
|
|
23
23
|
item.level = this.level + 1;
|
|
24
24
|
});
|
|
25
25
|
}
|
|
@@ -58,11 +58,11 @@ class IDMobileMenuItemComponent {
|
|
|
58
58
|
this.opened.emit(event);
|
|
59
59
|
}
|
|
60
60
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDMobileMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
61
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDMobileMenuItemComponent, isStandalone: true, selector: "id-mobile-menu-item", inputs: { headline: "headline", expanded: ["expanded", "expanded", booleanAttribute], secondary: ["secondary", "secondary", booleanAttribute], active: ["active", "active", booleanAttribute], level: "level", srShowText: "srShowText", srHideText: "srHideText" }, outputs: { closed: "closed", opened: "opened" }, queries: [{ propertyName: "items", predicate: IDMobileMenuItemComponent }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items.length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items.length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items; track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
61
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDMobileMenuItemComponent, isStandalone: true, selector: "id-mobile-menu-item", inputs: { headline: "headline", expanded: ["expanded", "expanded", booleanAttribute], secondary: ["secondary", "secondary", booleanAttribute], active: ["active", "active", booleanAttribute], level: "level", srShowText: "srShowText", srHideText: "srHideText" }, outputs: { closed: "closed", opened: "opened" }, queries: [{ propertyName: "items", predicate: IDMobileMenuItemComponent, isSignal: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items().length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items().length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
62
62
|
}
|
|
63
63
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDMobileMenuItemComponent, decorators: [{
|
|
64
64
|
type: Component,
|
|
65
|
-
args: [{ selector: 'id-mobile-menu-item', standalone: true, imports: [NgTemplateOutlet], template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items.length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items.length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items; track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n" }]
|
|
65
|
+
args: [{ selector: 'id-mobile-menu-item', standalone: true, imports: [NgTemplateOutlet], template: "<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items().length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items().length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n" }]
|
|
66
66
|
}], propDecorators: { headline: [{
|
|
67
67
|
type: Input
|
|
68
68
|
}], expanded: [{
|
|
@@ -84,22 +84,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
84
84
|
type: Output
|
|
85
85
|
}], opened: [{
|
|
86
86
|
type: Output
|
|
87
|
-
}], items: [{
|
|
88
|
-
type: ContentChildren,
|
|
89
|
-
args: [IDMobileMenuItemComponent]
|
|
90
|
-
}], template: [{
|
|
91
|
-
type: ViewChild,
|
|
92
|
-
args: [TemplateRef]
|
|
93
87
|
}] } });
|
|
94
88
|
|
|
95
89
|
class IDMobileMenuComponent {
|
|
96
|
-
items;
|
|
90
|
+
items = contentChildren(IDMobileMenuItemComponent);
|
|
97
91
|
variation = 1;
|
|
98
92
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDMobileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDMobileMenuComponent, isStandalone: true, selector: "id-mobile-menu", inputs: { variation: "variation" }, host: { properties: { "class.ids-mobile-menu--variation-1": "variation === 1", "class.ids-mobile-menu--variation-2": "variation === 2" }, classAttribute: "ids-mobile-menu" }, queries: [{ propertyName: "items", predicate: IDMobileMenuItemComponent }], ngImport: i0, template: `
|
|
93
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDMobileMenuComponent, isStandalone: true, selector: "id-mobile-menu", inputs: { variation: "variation" }, host: { properties: { "class.ids-mobile-menu--variation-1": "variation === 1", "class.ids-mobile-menu--variation-2": "variation === 2" }, classAttribute: "ids-mobile-menu" }, queries: [{ propertyName: "items", predicate: IDMobileMenuItemComponent, isSignal: true }], ngImport: i0, template: `
|
|
100
94
|
<ul>
|
|
101
|
-
@for (item of items; track item; let i = $index) {
|
|
102
|
-
<ng-container [ngTemplateOutlet]="item.template"></ng-container>
|
|
95
|
+
@for (item of items(); track item; let i = $index) {
|
|
96
|
+
<ng-container [ngTemplateOutlet]="item.template()"></ng-container>
|
|
103
97
|
}
|
|
104
98
|
<ul>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
105
99
|
}
|
|
@@ -111,8 +105,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
111
105
|
imports: [CommonModule],
|
|
112
106
|
template: `
|
|
113
107
|
<ul>
|
|
114
|
-
@for (item of items; track item; let i = $index) {
|
|
115
|
-
<ng-container [ngTemplateOutlet]="item.template"></ng-container>
|
|
108
|
+
@for (item of items(); track item; let i = $index) {
|
|
109
|
+
<ng-container [ngTemplateOutlet]="item.template()"></ng-container>
|
|
116
110
|
}
|
|
117
111
|
<ul>`,
|
|
118
112
|
host: {
|
|
@@ -121,10 +115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
121
115
|
'[class.ids-mobile-menu--variation-2]': 'variation === 2',
|
|
122
116
|
},
|
|
123
117
|
}]
|
|
124
|
-
}], propDecorators: {
|
|
125
|
-
type: ContentChildren,
|
|
126
|
-
args: [IDMobileMenuItemComponent]
|
|
127
|
-
}], variation: [{
|
|
118
|
+
}], propDecorators: { variation: [{
|
|
128
119
|
type: Input
|
|
129
120
|
}] } });
|
|
130
121
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-mobile-menu.mjs","sources":["../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.ts","../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.html","../../../projects/ids-angular/components/mobile/menu/mobile-menu.component.ts","../../../projects/ids-angular/components/mobile/menu/inera-ids-angular-components-mobile-menu.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-mobile-menu.mjs","sources":["../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.ts","../../../projects/ids-angular/components/mobile/menu/item/mobile-menu-item.component.html","../../../projects/ids-angular/components/mobile/menu/mobile-menu.component.ts","../../../projects/ids-angular/components/mobile/menu/inera-ids-angular-components-mobile-menu.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport { AfterContentChecked, Component, EventEmitter, Input, Output, TemplateRef, viewChild, booleanAttribute, inject, contentChildren } from '@angular/core';\nimport { IDUseIdService } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-mobile-menu-item',\n templateUrl: './mobile-menu-item.component.html',\n standalone: true,\n imports: [NgTemplateOutlet],\n})\nexport class IDMobileMenuItemComponent implements AfterContentChecked {\n @Input() headline: string;\n @Input({ transform: booleanAttribute }) expanded: boolean;\n @Input({ transform: booleanAttribute }) secondary: boolean;\n @Input({ transform: booleanAttribute }) active: boolean;\n @Input() level: number = 1;\n @Input() srShowText: string = 'Expandera';\n @Input() srHideText: string = 'Minimera';\n\n @Output() closed: EventEmitter<Event> = new EventEmitter();\n @Output() opened: EventEmitter<Event> = new EventEmitter();\n\n items = contentChildren(IDMobileMenuItemComponent);\n\n template = viewChild.required(TemplateRef);\n \n private useId = inject(IDUseIdService);\n subItemId = this.useId.generateId('mobile-menu');\n\n ngAfterContentChecked(): void {\n this.items().forEach((item) => {\n item.level = this.level+1;\n })\n }\n\n get buttonToggleText() {\n return this.expanded ? this.srHideText : this.srShowText;\n }\n\n get itemLevelClass() {\n switch (this.level) {\n case 1:\n return 'ids-mobile-menu-item';\n case 2:\n return 'ids-mobile-menu-item--2';\n case 3:\n return 'ids-mobile-menu-item--3';\n default:\n return 'ids-mobile-menu-item';\n }\n }\n\n getLevelClass = (className: string) => {\n return `${className}-${this.level}`;\n };\n\n toggleExpansion(event: Event) {\n if (this.expanded) {\n this.hasClosed(event);\n } else {\n this.hasExpanded(event);\n }\n }\n\n hasClosed(event: Event) {\n this.expanded = false;\n this.closed.emit(event);\n }\n hasExpanded(event: Event) {\n this.expanded = true;\n this.opened.emit(event);\n }\n}\n","<ng-template>\n <li [class]=\"itemLevelClass\" [class.ids-mobile-menu-item--expanded]=\"expanded\"\n [class.ids-mobile-menu-item--active]=\"active\" [class.ids-mobile-menu-item--secondary]=\"secondary\">\n <div class=\"ids-mobile-menu-item__inner\"\n [class]=\"getLevelClass('ids-mobile-menu-item__inner--level')\">\n <ng-content select=\":not(id-mobile-menu-item)\"></ng-content>\n @if(this.items().length > 0) {\n <button \n [attr.aria-label]=\"buttonToggleText\" \n (click)=\"toggleExpansion($event)\" \n [attr.aria-expanded]=\"expanded\"\n [attr.aria-controls]=\"subItemId\"\n [class]=\"getLevelClass('ids-mobile-menu-item__expand-btn--level') + ' ids-mobile-menu-item__expand-btn ids-mobile-menu-item__expand-btn--headline'\"\n [class.ids-mobile-menu__chevron--expanded]=\"expanded\">\n {{headline}}\n </button>\n }\n </div>\n @if(this.items().length > 0) {\n <ul [attr.id]=\"subItemId\" class=\"ids-mobile-menu-item__sub-items\">\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n </ul>\n }\n </li>\n</ng-template>\n","import { Component, Input, contentChildren } from '@angular/core';\nimport { IDMobileMenuItemComponent } from './item/mobile-menu-item.component';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'id-mobile-menu',\n standalone: true,\n imports: [CommonModule],\n template: `\n <ul>\n @for (item of items(); track item; let i = $index) {\n <ng-container [ngTemplateOutlet]=\"item.template()\"></ng-container>\n }\n <ul>`,\n host: {\n class: 'ids-mobile-menu',\n '[class.ids-mobile-menu--variation-1]': 'variation === 1',\n '[class.ids-mobile-menu--variation-2]': 'variation === 2',\n },\n})\nexport class IDMobileMenuComponent {\n items = contentChildren(IDMobileMenuItemComponent);\n\n @Input() variation: number | undefined = 1;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,yBAAyB,CAAA;AAC3B,IAAA,QAAQ;AACuB,IAAA,QAAQ;AACR,IAAA,SAAS;AACT,IAAA,MAAM;IACrC,KAAK,GAAW,CAAC;IACjB,UAAU,GAAW,WAAW;IAChC,UAAU,GAAW,UAAU;AAE9B,IAAA,MAAM,GAAwB,IAAI,YAAY,EAAE;AAChD,IAAA,MAAM,GAAwB,IAAI,YAAY,EAAE;AAExD,IAAA,KAAK,GAAG,eAAe,CAAC,yBAAyB,CAAC;AAEpD,IAAA,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