@inera/ids-angular 9.1.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/accordion.component.d.ts +4 -3
- package/components/dropdown/dropdown.component.d.ts +5 -1
- package/components/footer-inera/footer-inera-sub-footer-mobile-text.component.d.ts +5 -0
- package/components/footer-inera/footer-inera.component.d.ts +1 -1
- package/components/footer-inera/footer-inera.module.d.ts +2 -1
- package/components/footer-inera/public-api.d.ts +1 -0
- package/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile-text.component.d.ts +5 -0
- package/components/footer-inera-admin/footer-inera-admin.component.d.ts +1 -1
- package/components/footer-inera-admin/footer-inera-admin.module.d.ts +2 -1
- package/components/footer-inera-admin/public-api.d.ts +1 -0
- package/components/footer-inera-general/footer-inera-general-col.component.d.ts +13 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-left.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-mobile-text.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-mobile.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-sub-footer-right.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general-text.component.d.ts +5 -0
- package/components/footer-inera-general/footer-inera-general.component.d.ts +12 -0
- package/components/footer-inera-general/footer-inera-general.module.d.ts +12 -0
- package/components/footer-inera-general/index.d.ts +5 -0
- package/components/footer-inera-general/public-api.d.ts +8 -0
- package/components/global-alert/global-alert.component.d.ts +1 -3
- package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +2 -2
- package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +1 -1
- package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +2 -2
- package/components/header-1177-pro/header-1177-pro.component.d.ts +4 -4
- package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +1 -1
- package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +4 -2
- package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +3 -1
- package/components/header-inera-general/brand-link/header-inera-general-brand-link.directive.d.ts +5 -0
- package/components/header-inera-general/header-inera-general.component.d.ts +18 -0
- package/components/header-inera-general/header-inera-general.module.d.ts +14 -0
- package/components/header-inera-general/index.d.ts +5 -0
- package/components/header-inera-general/item/header-inera-general-item.component.d.ts +10 -0
- package/components/header-inera-general/menu-mobile/header-inera-general-menu-mobile.component.d.ts +10 -0
- package/components/header-inera-general/nav/header-inera-general-nav.component.d.ts +9 -0
- package/components/header-inera-general/nav-item/header-inera-general-nav-item.component.d.ts +25 -0
- package/components/header-inera-general/nav-item-menu-link/header-inera-general-nav-item-menu-link.component.d.ts +5 -0
- package/components/header-inera-general/public-api.d.ts +9 -0
- package/components/header-inera-general/skip-to-content/header-inera-general-skip-to-content.component.d.ts +5 -0
- package/components/popover/popover-content.component.d.ts +4 -1
- package/components/popover/popover.component.d.ts +17 -8
- package/components/stepper/step.component.d.ts +2 -2
- package/components/toolbar/index.d.ts +5 -0
- package/components/toolbar/public-api.d.ts +1 -0
- package/components/toolbar/toolbar.component.d.ts +5 -0
- package/components/tooltip/tooltip.component.d.ts +17 -4
- package/eslint/rules/no-old-components.js +2 -2
- package/fesm2022/inera-ids-angular-components-accordion.mjs +10 -5
- package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-action-link.mjs +25 -9
- package/fesm2022/inera-ids-angular-components-action-link.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs +1 -1
- package/fesm2022/inera-ids-angular-components-button.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-card.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-card.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dialog.mjs +2 -2
- package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-dropdown.mjs +40 -13
- package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +25 -5
- package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +214 -0
- package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs +25 -5
- package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-global-alert.mjs +3 -9
- package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +95 -63
- package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +110 -84
- package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-1177.mjs +2 -4
- package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +15 -16
- package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +425 -0
- package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-header-inera.mjs +2 -4
- package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-popover.mjs +176 -50
- package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-puff-list.mjs +29 -17
- package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-stepper.mjs +7 -7
- package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/inera-ids-angular-components-toolbar.mjs +18 -0
- package/fesm2022/inera-ids-angular-components-toolbar.mjs.map +1 -0
- package/fesm2022/inera-ids-angular-components-tooltip.mjs +139 -33
- package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
- package/package.json +72 -56
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, inject, ElementRef, booleanAttribute, HostListener, Output, Input, Component, Directive, NgModule } from '@angular/core';
|
|
2
|
+
import { EventEmitter, inject, ElementRef, booleanAttribute, HostListener, ViewChild, Output, Input, Component, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@inera/ids-angular/common';
|
|
4
|
-
import { IDUseIdService, IDClickOutsideDirective } from '@inera/ids-angular/common';
|
|
4
|
+
import { IDUseIdService, useFocusTrap, IDClickOutsideDirective } from '@inera/ids-angular/common';
|
|
5
5
|
|
|
6
6
|
class IDDropdownComponent {
|
|
7
7
|
sBlock = false;
|
|
@@ -13,17 +13,22 @@ class IDDropdownComponent {
|
|
|
13
13
|
position = 'right';
|
|
14
14
|
closed = new EventEmitter();
|
|
15
15
|
opened = new EventEmitter();
|
|
16
|
+
dropdownContent;
|
|
16
17
|
useId = inject(IDUseIdService);
|
|
17
18
|
host = inject(ElementRef);
|
|
19
|
+
focusTrap = useFocusTrap(() => this.dropdownContent, { disabled: () => !this.expanded });
|
|
18
20
|
contentId = this.useId.generateId('dropdown');
|
|
21
|
+
triggerId = this.useId.generateId('dropdown-trigger');
|
|
19
22
|
trigger;
|
|
20
23
|
ngAfterViewInit() {
|
|
21
24
|
this.setupTrigger();
|
|
25
|
+
this.trigger?.setAttribute('id', this.triggerId);
|
|
22
26
|
}
|
|
23
27
|
ngOnDestroy() {
|
|
24
28
|
if (this.trigger) {
|
|
25
29
|
this.trigger.removeEventListener('click', this.toggleDropdown);
|
|
26
30
|
}
|
|
31
|
+
this.focusTrap.destroy();
|
|
27
32
|
}
|
|
28
33
|
handleKeyDown(event) {
|
|
29
34
|
if (event.key === 'Escape' && this.expanded) {
|
|
@@ -41,6 +46,8 @@ class IDDropdownComponent {
|
|
|
41
46
|
if (this.trigger) {
|
|
42
47
|
this.trigger.addEventListener('click', this.toggleDropdown);
|
|
43
48
|
this.trigger.setAttribute('aria-controls', this.contentId);
|
|
49
|
+
this.trigger.setAttribute('aria-haspopup', 'dialog');
|
|
50
|
+
this.trigger.setAttribute('aria-expanded', `${this.expanded}`);
|
|
44
51
|
}
|
|
45
52
|
}
|
|
46
53
|
toggleDropdown = () => {
|
|
@@ -60,14 +67,26 @@ class IDDropdownComponent {
|
|
|
60
67
|
}
|
|
61
68
|
hasClosed() {
|
|
62
69
|
this.expanded = false;
|
|
70
|
+
this.trigger?.setAttribute('aria-expanded', 'false');
|
|
63
71
|
this.closed.emit();
|
|
72
|
+
this.focusTrap.destroy();
|
|
64
73
|
}
|
|
65
74
|
hasOpened() {
|
|
66
75
|
this.expanded = true;
|
|
76
|
+
this.trigger?.setAttribute('aria-expanded', 'true');
|
|
67
77
|
this.opened.emit();
|
|
78
|
+
this.focusTrap.create();
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
this.focusFirstElement();
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
focusFirstElement() {
|
|
84
|
+
const hostEl = this.host.nativeElement;
|
|
85
|
+
const firstFocusable = hostEl.querySelector('[idDropdownItem]');
|
|
86
|
+
firstFocusable?.focus();
|
|
68
87
|
}
|
|
69
88
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDDropdownComponent, isStandalone: true, selector: "id-dropdown", inputs: { sBlock: ["sBlock", "sBlock", booleanAttribute], mBlock: ["mBlock", "mBlock", booleanAttribute], minWidth: "minWidth", maxHeight: "maxHeight", persistent: ["persistent", "persistent", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute], position: "position" }, outputs: { closed: "closed", opened: "opened" }, host: { listeners: { "idClickOutside": "closeIfNotPersistent()", "window:keydown": "handleKeyDown($event)" }, properties: { "class": "baseAndPositionClasses", "class.ids-dropdown--s-block": "sBlock", "class.ids-dropdown--m-block": "mBlock" } }, hostDirectives: [{ directive: i1.IDClickOutsideDirective, outputs: ["idClickOutside", "idClickOutside"] }], ngImport: i0, template: "<ng-content select=\"id-dropdown-trigger\"></ng-content>\n@if (expanded) {\n <div\n class=\"ids-dropdown-content\"\n [class.ids-dropdown-content--position-right]=\"position === 'right'\"\n [class.ids-dropdown-content--position-left]=\"position === 'left'\"\n [class.ids-dropdown-content--sblock]=\"sBlock\"\n [class.ids-dropdown-content--mblock]=\"mBlock\"\n [class.ids-dropdown-content--show]=\"expanded\"\n [class.ids-dropdown-content--scrollable]=\"!!maxHeight\"\n [attr.aria-labelledby]=\"
|
|
89
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDDropdownComponent, isStandalone: true, selector: "id-dropdown", inputs: { sBlock: ["sBlock", "sBlock", booleanAttribute], mBlock: ["mBlock", "mBlock", booleanAttribute], minWidth: "minWidth", maxHeight: "maxHeight", persistent: ["persistent", "persistent", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute], position: "position" }, outputs: { closed: "closed", opened: "opened" }, host: { listeners: { "idClickOutside": "closeIfNotPersistent()", "window:keydown": "handleKeyDown($event)" }, properties: { "class": "baseAndPositionClasses", "class.ids-dropdown--s-block": "sBlock", "class.ids-dropdown--m-block": "mBlock" } }, viewQueries: [{ propertyName: "dropdownContent", first: true, predicate: ["dropdownContent"], descendants: true }], hostDirectives: [{ directive: i1.IDClickOutsideDirective, outputs: ["idClickOutside", "idClickOutside"] }], ngImport: i0, template: "<ng-content select=\"id-dropdown-trigger\"></ng-content>\n@if (expanded) {\n <div\n #dropdownContent\n class=\"ids-dropdown-content\"\n role=\"dialog\"\n aria-modal=\"true\"\n [class.ids-dropdown-content--position-right]=\"position === 'right'\"\n [class.ids-dropdown-content--position-left]=\"position === 'left'\"\n [class.ids-dropdown-content--sblock]=\"sBlock\"\n [class.ids-dropdown-content--mblock]=\"mBlock\"\n [class.ids-dropdown-content--show]=\"expanded\"\n [class.ids-dropdown-content--scrollable]=\"!!maxHeight\"\n [attr.aria-labelledby]=\"triggerId\"\n [style.min-width]=\"minWidth\"\n >\n <div\n class=\"ids-dropdown-content__scroll-area\"\n role=\"presentation\"\n [style.max-height]=\"maxHeight\"\n [attr.tabindex]=\"maxHeight ? 0 : -1\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n}\n" });
|
|
71
90
|
}
|
|
72
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDDropdownComponent, decorators: [{
|
|
73
92
|
type: Component,
|
|
@@ -75,11 +94,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
75
94
|
'[class]': 'baseAndPositionClasses',
|
|
76
95
|
'[class.ids-dropdown--s-block]': 'sBlock',
|
|
77
96
|
'[class.ids-dropdown--m-block]': 'mBlock',
|
|
78
|
-
'(idClickOutside)': 'closeIfNotPersistent()'
|
|
79
|
-
}, hostDirectives: [
|
|
97
|
+
'(idClickOutside)': 'closeIfNotPersistent()',
|
|
98
|
+
}, hostDirectives: [
|
|
99
|
+
{
|
|
80
100
|
directive: IDClickOutsideDirective,
|
|
81
|
-
outputs: ['idClickOutside']
|
|
82
|
-
}
|
|
101
|
+
outputs: ['idClickOutside'],
|
|
102
|
+
},
|
|
103
|
+
], template: "<ng-content select=\"id-dropdown-trigger\"></ng-content>\n@if (expanded) {\n <div\n #dropdownContent\n class=\"ids-dropdown-content\"\n role=\"dialog\"\n aria-modal=\"true\"\n [class.ids-dropdown-content--position-right]=\"position === 'right'\"\n [class.ids-dropdown-content--position-left]=\"position === 'left'\"\n [class.ids-dropdown-content--sblock]=\"sBlock\"\n [class.ids-dropdown-content--mblock]=\"mBlock\"\n [class.ids-dropdown-content--show]=\"expanded\"\n [class.ids-dropdown-content--scrollable]=\"!!maxHeight\"\n [attr.aria-labelledby]=\"triggerId\"\n [style.min-width]=\"minWidth\"\n >\n <div\n class=\"ids-dropdown-content__scroll-area\"\n role=\"presentation\"\n [style.max-height]=\"maxHeight\"\n [attr.tabindex]=\"maxHeight ? 0 : -1\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n}\n" }]
|
|
83
104
|
}], propDecorators: { sBlock: [{
|
|
84
105
|
type: Input,
|
|
85
106
|
args: [{ transform: booleanAttribute }]
|
|
@@ -102,6 +123,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
102
123
|
type: Output
|
|
103
124
|
}], opened: [{
|
|
104
125
|
type: Output
|
|
126
|
+
}], dropdownContent: [{
|
|
127
|
+
type: ViewChild,
|
|
128
|
+
args: ['dropdownContent']
|
|
105
129
|
}], handleKeyDown: [{
|
|
106
130
|
type: HostListener,
|
|
107
131
|
args: ['window:keydown', ['$event']]
|
|
@@ -109,29 +133,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
109
133
|
|
|
110
134
|
class IDDropdownTriggerComponent {
|
|
111
135
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDDropdownTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
112
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDDropdownTriggerComponent, isStandalone: true, selector: "id-dropdown-trigger", ngImport: i0, template:
|
|
136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDDropdownTriggerComponent, isStandalone: true, selector: "id-dropdown-trigger", ngImport: i0, template: `
|
|
137
|
+
<ng-content></ng-content>
|
|
138
|
+
`, isInline: true });
|
|
113
139
|
}
|
|
114
140
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDDropdownTriggerComponent, decorators: [{
|
|
115
141
|
type: Component,
|
|
116
142
|
args: [{
|
|
117
|
-
selector:
|
|
118
|
-
template:
|
|
143
|
+
selector: 'id-dropdown-trigger',
|
|
144
|
+
template: `
|
|
145
|
+
<ng-content></ng-content>
|
|
146
|
+
`,
|
|
119
147
|
standalone: true,
|
|
120
148
|
}]
|
|
121
149
|
}] });
|
|
122
150
|
|
|
123
151
|
class IDDropdownItemDirective {
|
|
124
152
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDDropdownItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
125
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: IDDropdownItemDirective, isStandalone: true, selector: "[idDropdownItem]", host: {
|
|
153
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: IDDropdownItemDirective, isStandalone: true, selector: "[idDropdownItem]", host: { classAttribute: "ids-dropdown-content__link" }, ngImport: i0 });
|
|
126
154
|
}
|
|
127
155
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDDropdownItemDirective, decorators: [{
|
|
128
156
|
type: Directive,
|
|
129
157
|
args: [{
|
|
130
|
-
selector:
|
|
158
|
+
selector: '[idDropdownItem]',
|
|
131
159
|
standalone: true,
|
|
132
160
|
host: {
|
|
133
161
|
class: 'ids-dropdown-content__link',
|
|
134
|
-
role: 'menuitem'
|
|
135
162
|
},
|
|
136
163
|
}]
|
|
137
164
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-dropdown.mjs","sources":["../../../projects/ids-angular/components/dropdown/dropdown.component.ts","../../../projects/ids-angular/components/dropdown/dropdown.component.html","../../../projects/ids-angular/components/dropdown/dropdown-trigger.component.ts","../../../projects/ids-angular/components/dropdown/dropdown-item.directive.ts","../../../projects/ids-angular/components/dropdown/dropdown.module.ts","../../../projects/ids-angular/components/dropdown/inera-ids-angular-components-dropdown.ts"],"sourcesContent":["import {\n AfterViewInit,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Input,\n OnDestroy,\n Output,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport { IDClickOutsideDirective, IDUseIdService } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-dropdown',\n templateUrl: './dropdown.component.html',\n standalone: true,\n host: {\n '[class]': 'baseAndPositionClasses',\n '[class.ids-dropdown--s-block]': 'sBlock',\n '[class.ids-dropdown--m-block]': 'mBlock',\n '(idClickOutside)': 'closeIfNotPersistent()'\n },\n hostDirectives: [{\n directive: IDClickOutsideDirective,\n outputs: ['idClickOutside'] \n }],\n})\nexport class IDDropdownComponent implements AfterViewInit, OnDestroy {\n @Input({ transform: booleanAttribute }) sBlock: boolean = false;\n @Input({ transform: booleanAttribute }) mBlock: boolean = false;\n @Input() minWidth?: string;\n @Input() maxHeight?: string;\n @Input({ transform: booleanAttribute }) persistent: boolean = false;\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n @Input() position: 'left' | 'right' = 'right';\n\n @Output() closed: EventEmitter<void> = new EventEmitter();\n @Output() opened: EventEmitter<void> = new EventEmitter();\n\n private useId = inject(IDUseIdService);\n private host = inject(ElementRef);\n protected contentId = this.useId.generateId('dropdown');\n protected trigger: Element | null;\n\n ngAfterViewInit() {\n this.setupTrigger();\n }\n\n ngOnDestroy(): void {\n if (this.trigger) {\n this.trigger.removeEventListener('click', this.toggleDropdown);\n }\n }\n\n @HostListener('window:keydown', ['$event'])\n handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'Escape' && this.expanded) {\n this.closeIfNotPersistent();\n }\n }\n\n closeIfNotPersistent():void {\n if (!this.persistent) {\n this.hasClosed();\n }\n }\n\n setupTrigger(): void {\n const hostEl: HTMLElement = this.host.nativeElement;\n this.trigger = hostEl.querySelector('id-dropdown-trigger > *');\n if (this.trigger) {\n this.trigger.addEventListener('click', this.toggleDropdown);\n this.trigger.setAttribute('aria-controls', this.contentId);\n }\n }\n\n toggleDropdown = () => {\n if (this.expanded) {\n this.hasClosed();\n this.trigger?.removeAttribute('aria-expanded');\n } else {\n this.hasOpened();\n this.trigger?.setAttribute('aria-expanded', 'true');\n }\n }\n\n get baseAndPositionClasses(): string {\n const dropdownClass = 'ids-dropdown';\n const positionClass = `${dropdownClass}--position-${this.position}`;\n return `${dropdownClass} ${positionClass}`;\n }\n\n hasClosed() {\n this.expanded = false;\n this.closed.emit();\n }\n hasOpened() {\n this.expanded = true;\n this.opened.emit();\n }\n}\n","<ng-content select=\"id-dropdown-trigger\"></ng-content>\n@if (expanded) {\n <div\n class=\"ids-dropdown-content\"\n [class.ids-dropdown-content--position-right]=\"position === 'right'\"\n [class.ids-dropdown-content--position-left]=\"position === 'left'\"\n [class.ids-dropdown-content--sblock]=\"sBlock\"\n [class.ids-dropdown-content--mblock]=\"mBlock\"\n [class.ids-dropdown-content--show]=\"expanded\"\n [class.ids-dropdown-content--scrollable]=\"!!maxHeight\"\n [attr.aria-labelledby]=\"contentId\"\n [style.min-width]=\"minWidth\"\n role=\"menu\"\n >\n <div\n class=\"ids-dropdown-content__scroll-area\"\n role=\"presentation\"\n [style.max-height]=\"maxHeight\"\n [attr.tabindex]=\"maxHeight ? 0 : -1\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: \"id-dropdown-trigger\",\n template: `<ng-content></ng-content>`,\n standalone: true,\n})\nexport class IDDropdownTriggerComponent {}\n","import { Directive } from \"@angular/core\";\n\n@Directive({\n selector: \"[idDropdownItem]\",\n standalone: true,\n host: {\n class: 'ids-dropdown-content__link',\n role: 'menuitem'\n },\n})\nexport class IDDropdownItemDirective {}\n","import { NgModule } from '@angular/core';\nimport { IDDropdownItemDirective } from './dropdown-item.directive';\nimport { IDDropdownComponent } from './dropdown.component';\nimport { IDDropdownTriggerComponent } from './dropdown-trigger.component';\n\n\n@NgModule({\n imports: [\n IDDropdownItemDirective,\n IDDropdownComponent,\n IDDropdownTriggerComponent,\n ],\n exports: [\n IDDropdownItemDirective,\n IDDropdownComponent,\n IDDropdownTriggerComponent,\n ],\n})\nexport class IDDropdownModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MA6Ba,mBAAmB,CAAA;IACU,MAAM,GAAY,KAAK;IACvB,MAAM,GAAY,KAAK;AACtD,IAAA,QAAQ;AACR,IAAA,SAAS;IACsB,UAAU,GAAY,KAAK;IAC3B,QAAQ,GAAY,KAAK;IACxD,QAAQ,GAAqB,OAAO;AAEnC,IAAA,MAAM,GAAuB,IAAI,YAAY,EAAE;AAC/C,IAAA,MAAM,GAAuB,IAAI,YAAY,EAAE;AAEjD,IAAA,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC;AAC9B,IAAA,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;IACvB,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC;AAC7C,IAAA,OAAO;IAEjB,eAAe,GAAA;QACb,IAAI,CAAC,YAAY,EAAE;IACrB;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;YAChB,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,cAAc,CAAC;QAChE;IACF;AAGA,IAAA,aAAa,CAAC,KAAoB,EAAA;QAChC,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,IAAI,CAAC,Q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
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-dropdown.mjs","sources":["../../../projects/ids-angular/components/dropdown/dropdown.component.ts","../../../projects/ids-angular/components/dropdown/dropdown.component.html","../../../projects/ids-angular/components/dropdown/dropdown-trigger.component.ts","../../../projects/ids-angular/components/dropdown/dropdown-item.directive.ts","../../../projects/ids-angular/components/dropdown/dropdown.module.ts","../../../projects/ids-angular/components/dropdown/inera-ids-angular-components-dropdown.ts"],"sourcesContent":["import {\n AfterViewInit,\n Component,\n ElementRef,\n EventEmitter,\n HostListener,\n Input,\n OnDestroy,\n Output,\n booleanAttribute,\n inject,\n ViewChild,\n} from '@angular/core';\nimport { IDClickOutsideDirective, IDUseIdService, useFocusTrap } from '@inera/ids-angular/common';\n\n@Component({\n selector: 'id-dropdown',\n templateUrl: './dropdown.component.html',\n standalone: true,\n host: {\n '[class]': 'baseAndPositionClasses',\n '[class.ids-dropdown--s-block]': 'sBlock',\n '[class.ids-dropdown--m-block]': 'mBlock',\n '(idClickOutside)': 'closeIfNotPersistent()',\n },\n hostDirectives: [\n {\n directive: IDClickOutsideDirective,\n outputs: ['idClickOutside'],\n },\n ],\n})\nexport class IDDropdownComponent implements AfterViewInit, OnDestroy {\n @Input({ transform: booleanAttribute }) sBlock: boolean = false;\n @Input({ transform: booleanAttribute }) mBlock: boolean = false;\n @Input() minWidth?: string;\n @Input() maxHeight?: string;\n @Input({ transform: booleanAttribute }) persistent: boolean = false;\n @Input({ transform: booleanAttribute }) expanded: boolean = false;\n @Input() position: 'left' | 'right' = 'right';\n\n @Output() closed: EventEmitter<void> = new EventEmitter();\n @Output() opened: EventEmitter<void> = new EventEmitter();\n\n @ViewChild('dropdownContent') dropdownContent?: ElementRef<HTMLElement>;\n\n private useId = inject(IDUseIdService);\n private host = inject(ElementRef);\n private focusTrap = useFocusTrap(() => this.dropdownContent, { disabled: () => !this.expanded });\n protected contentId = this.useId.generateId('dropdown');\n protected triggerId = this.useId.generateId('dropdown-trigger');\n protected trigger: Element | null;\n\n ngAfterViewInit() {\n this.setupTrigger();\n this.trigger?.setAttribute('id', this.triggerId);\n }\n\n ngOnDestroy(): void {\n if (this.trigger) {\n this.trigger.removeEventListener('click', this.toggleDropdown);\n }\n this.focusTrap.destroy();\n }\n\n @HostListener('window:keydown', ['$event'])\n handleKeyDown(event: KeyboardEvent) {\n if (event.key === 'Escape' && this.expanded) {\n this.closeIfNotPersistent();\n }\n }\n\n closeIfNotPersistent(): void {\n if (!this.persistent) {\n this.hasClosed();\n }\n }\n\n setupTrigger(): void {\n const hostEl: HTMLElement = this.host.nativeElement;\n this.trigger = hostEl.querySelector('id-dropdown-trigger > *');\n if (this.trigger) {\n this.trigger.addEventListener('click', this.toggleDropdown);\n this.trigger.setAttribute('aria-controls', this.contentId);\n this.trigger.setAttribute('aria-haspopup', 'dialog');\n this.trigger.setAttribute('aria-expanded', `${this.expanded}`);\n }\n }\n\n toggleDropdown = () => {\n if (this.expanded) {\n this.hasClosed();\n this.trigger?.removeAttribute('aria-expanded');\n } else {\n this.hasOpened();\n this.trigger?.setAttribute('aria-expanded', 'true');\n }\n };\n\n get baseAndPositionClasses(): string {\n const dropdownClass = 'ids-dropdown';\n const positionClass = `${dropdownClass}--position-${this.position}`;\n return `${dropdownClass} ${positionClass}`;\n }\n\n hasClosed() {\n this.expanded = false;\n this.trigger?.setAttribute('aria-expanded', 'false');\n this.closed.emit();\n this.focusTrap.destroy();\n }\n\n hasOpened() {\n this.expanded = true;\n this.trigger?.setAttribute('aria-expanded', 'true');\n this.opened.emit();\n this.focusTrap.create();\n\n setTimeout(() => {\n this.focusFirstElement();\n });\n }\n\n private focusFirstElement(): void {\n const hostEl: HTMLElement = this.host.nativeElement;\n const firstFocusable = hostEl.querySelector<HTMLElement>('[idDropdownItem]');\n firstFocusable?.focus();\n }\n}\n","<ng-content select=\"id-dropdown-trigger\"></ng-content>\n@if (expanded) {\n <div\n #dropdownContent\n class=\"ids-dropdown-content\"\n role=\"dialog\"\n aria-modal=\"true\"\n [class.ids-dropdown-content--position-right]=\"position === 'right'\"\n [class.ids-dropdown-content--position-left]=\"position === 'left'\"\n [class.ids-dropdown-content--sblock]=\"sBlock\"\n [class.ids-dropdown-content--mblock]=\"mBlock\"\n [class.ids-dropdown-content--show]=\"expanded\"\n [class.ids-dropdown-content--scrollable]=\"!!maxHeight\"\n [attr.aria-labelledby]=\"triggerId\"\n [style.min-width]=\"minWidth\"\n >\n <div\n class=\"ids-dropdown-content__scroll-area\"\n role=\"presentation\"\n [style.max-height]=\"maxHeight\"\n [attr.tabindex]=\"maxHeight ? 0 : -1\"\n >\n <ng-content></ng-content>\n </div>\n </div>\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-dropdown-trigger',\n template: `\n <ng-content></ng-content>\n `,\n standalone: true,\n})\nexport class IDDropdownTriggerComponent {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[idDropdownItem]',\n standalone: true,\n host: {\n class: 'ids-dropdown-content__link',\n },\n})\nexport class IDDropdownItemDirective {}\n","import { NgModule } from '@angular/core';\nimport { IDDropdownItemDirective } from './dropdown-item.directive';\nimport { IDDropdownComponent } from './dropdown.component';\nimport { IDDropdownTriggerComponent } from './dropdown-trigger.component';\n\n\n@NgModule({\n imports: [\n IDDropdownItemDirective,\n IDDropdownComponent,\n IDDropdownTriggerComponent,\n ],\n exports: [\n IDDropdownItemDirective,\n IDDropdownComponent,\n IDDropdownTriggerComponent,\n ],\n})\nexport class IDDropdownModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAgCa,mBAAmB,CAAA;IACU,MAAM,GAAY,KAAK;IACvB,MAAM,GAAY,KAAK;AACtD,IAAA,QAAQ;AACR,IAAA,SAAS;IACsB,UAAU,GAAY,KAAK;IAC3B,QAAQ,GAAY,KAAK;IACxD,QAAQ,GAAqB,OAAO;AAEnC,IAAA,MAAM,GAAuB,IAAI,YAAY,EAAE;AAC/C,IAAA,MAAM,GAAuB,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EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAVzB,uBAAuB;YACvB,mBAAmB;AACnB,YAAA,0BAA0B,aAG1B,uBAAuB;YACvB,mBAAmB;YACnB,0BAA0B,CAAA,EAAA,CAAA;yGAGjB,gBAAgB,EAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,mBAAmB;wBACnB,0BAA0B;AAC3B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,mBAAmB;wBACnB,0BAA0B;AAC3B,qBAAA;AACF,iBAAA;;;ACjBD;;AAEG;;;;"}
|
|
@@ -68,11 +68,11 @@ class IDFooterIneraAdminComponent {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
71
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraAdminComponent, isStandalone: true, selector: "id-footer-inera-admin", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraAdminColComponent }], ngImport: i0, template: "\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <
|
|
71
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraAdminComponent, isStandalone: true, selector: "id-footer-inera-admin", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraAdminColComponent }], ngImport: i0, template: "\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
72
72
|
}
|
|
73
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminComponent, decorators: [{
|
|
74
74
|
type: Component,
|
|
75
|
-
args: [{ selector: 'id-footer-inera-admin', standalone: true, imports: [CommonModule], template: "\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <
|
|
75
|
+
args: [{ selector: 'id-footer-inera-admin', standalone: true, imports: [CommonModule], template: "\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>" }]
|
|
76
76
|
}], propDecorators: { headline: [{
|
|
77
77
|
type: Input
|
|
78
78
|
}], cols: [{
|
|
@@ -154,6 +154,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
154
154
|
}]
|
|
155
155
|
}] });
|
|
156
156
|
|
|
157
|
+
class IDFooterIneraAdminSubFooterMobileTextComponent {
|
|
158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminSubFooterMobileTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
159
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraAdminSubFooterMobileTextComponent, isStandalone: true, selector: "id-footer-inera-admin-sub-footer-mobile-text", host: { classAttribute: "ids-footer-inera-admin__sub-footer-mobile-text" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
160
|
+
}
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminSubFooterMobileTextComponent, decorators: [{
|
|
162
|
+
type: Component,
|
|
163
|
+
args: [{
|
|
164
|
+
selector: 'id-footer-inera-admin-sub-footer-mobile-text',
|
|
165
|
+
standalone: true,
|
|
166
|
+
template: `<ng-content></ng-content>`,
|
|
167
|
+
host: {
|
|
168
|
+
class: 'ids-footer-inera-admin__sub-footer-mobile-text'
|
|
169
|
+
}
|
|
170
|
+
}]
|
|
171
|
+
}] });
|
|
172
|
+
|
|
157
173
|
class IDFooterIneraAdminModule {
|
|
158
174
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
159
175
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminModule, imports: [IDFooterIneraAdminComponent,
|
|
@@ -161,12 +177,14 @@ class IDFooterIneraAdminModule {
|
|
|
161
177
|
IDFooterIneraAdminColComponent,
|
|
162
178
|
IDFooterIneraAdminSubFooterRightComponent,
|
|
163
179
|
IDFooterIneraAdminSubFooterLeftComponent,
|
|
164
|
-
IDFooterIneraAdminSubFooterMobileComponent
|
|
180
|
+
IDFooterIneraAdminSubFooterMobileComponent,
|
|
181
|
+
IDFooterIneraAdminSubFooterMobileTextComponent], exports: [IDFooterIneraAdminComponent,
|
|
165
182
|
IDFooterIneraAdminTextComponent,
|
|
166
183
|
IDFooterIneraAdminColComponent,
|
|
167
184
|
IDFooterIneraAdminSubFooterRightComponent,
|
|
168
185
|
IDFooterIneraAdminSubFooterLeftComponent,
|
|
169
|
-
IDFooterIneraAdminSubFooterMobileComponent
|
|
186
|
+
IDFooterIneraAdminSubFooterMobileComponent,
|
|
187
|
+
IDFooterIneraAdminSubFooterMobileTextComponent] });
|
|
170
188
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminModule, imports: [IDFooterIneraAdminComponent] });
|
|
171
189
|
}
|
|
172
190
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraAdminModule, decorators: [{
|
|
@@ -179,6 +197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
179
197
|
IDFooterIneraAdminSubFooterRightComponent,
|
|
180
198
|
IDFooterIneraAdminSubFooterLeftComponent,
|
|
181
199
|
IDFooterIneraAdminSubFooterMobileComponent,
|
|
200
|
+
IDFooterIneraAdminSubFooterMobileTextComponent,
|
|
182
201
|
],
|
|
183
202
|
exports: [
|
|
184
203
|
IDFooterIneraAdminComponent,
|
|
@@ -187,6 +206,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
187
206
|
IDFooterIneraAdminSubFooterRightComponent,
|
|
188
207
|
IDFooterIneraAdminSubFooterLeftComponent,
|
|
189
208
|
IDFooterIneraAdminSubFooterMobileComponent,
|
|
209
|
+
IDFooterIneraAdminSubFooterMobileTextComponent,
|
|
190
210
|
],
|
|
191
211
|
}]
|
|
192
212
|
}] });
|
|
@@ -195,5 +215,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
195
215
|
* Generated bundle index. Do not edit.
|
|
196
216
|
*/
|
|
197
217
|
|
|
198
|
-
export { IDFooterIneraAdminColComponent, IDFooterIneraAdminComponent, IDFooterIneraAdminModule, IDFooterIneraAdminSubFooterLeftComponent, IDFooterIneraAdminSubFooterMobileComponent, IDFooterIneraAdminSubFooterRightComponent, IDFooterIneraAdminTextComponent };
|
|
218
|
+
export { IDFooterIneraAdminColComponent, IDFooterIneraAdminComponent, IDFooterIneraAdminModule, IDFooterIneraAdminSubFooterLeftComponent, IDFooterIneraAdminSubFooterMobileComponent, IDFooterIneraAdminSubFooterMobileTextComponent, IDFooterIneraAdminSubFooterRightComponent, IDFooterIneraAdminTextComponent };
|
|
199
219
|
//# sourceMappingURL=inera-ids-angular-components-footer-inera-admin.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-footer-inera-admin.mjs","sources":["../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-col.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.html","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.module.ts","../../../projects/ids-angular/components/footer-inera-admin/inera-ids-angular-components-footer-inera-admin.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, ElementRef, HostBinding, inject, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-admin-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__link-col'\n }\n})\nexport class IDFooterIneraAdminColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n \n elementRef = inject(ElementRef);\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.colorPreset = 2;\n link.block = true;\n })\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { Component, ContentChildren, DestroyRef, inject, Input, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\n\n@Component({\n selector: 'id-footer-inera-admin',\n templateUrl: './footer-inera-admin.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraAdminComponent {\n @Input() headline: string = '';\n\n @ContentChildren(IDFooterIneraAdminColComponent) \n cols!: QueryList<IDFooterIneraAdminColComponent>;\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n const colLength = this.cols?.length || 0;\n \n const classMap: Record<number, string> = {\n 1: \"ids-footer-inera-admin__link-col--100\",\n 2: \"ids-footer-inera-admin__link-col--50\",\n 3: \"ids-footer-inera-admin__link-col--33\"\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n this.cols?.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}\n","\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <div class=\"ids-footer-inera-admin__sub-footer-mobile-text\">\n <p> 1177 drivs av <a href=\"https://www.inera.se\"\n class=\"ids-link ids-link--icon ids-link--small ids-link--underlined ids-link--color-3\">\n <span>Inera AB<span class=\"ids-icon-external-link-small ids-icon--text-end\"></span></span>\n </a> på uppdrag av Sveriges regioner</p>\n </div>\n </div>\n </div>\n</footer>","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-admin__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-admin__text',\n },\n})\nexport class IDFooterIneraAdminTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-right'\n }\n})\nexport class IDFooterIneraAdminSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-left'\n }\n})\nexport class IDFooterIneraAdminSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__mobile-links'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraAdminComponent } from './footer-inera-admin.component';\nimport { IDFooterIneraAdminTextComponent } from './footer-inera-admin-text.component';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\nimport { IDFooterIneraAdminSubFooterRightComponent } from './footer-inera-admin-sub-footer-right.component';\nimport { IDFooterIneraAdminSubFooterLeftComponent } from './footer-inera-admin-sub-footer-left.component';\nimport { IDFooterIneraAdminSubFooterMobileComponent } from './footer-inera-admin-sub-footer-mobile.component';\n\n@NgModule({\n imports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n ],\n exports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n ],\n})\nexport class IDFooterIneraAdminModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,8BAA8B,CAAA;AACP,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEA,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEvB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CAAC,O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BACzC,wCAAwC;wBACxC,0CAA0C;AAC3C,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,+BAA+B;wBAC/B,8BAA8B;wBAC9B,yCAAyC;wBACzC,wCAAwC;wBACxC,0CAA0C;AAC3C,qBAAA;AACF,iBAAA;;;AC1BD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-footer-inera-admin.mjs","sources":["../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-col.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.component.html","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera-admin/footer-inera-admin.module.ts","../../../projects/ids-angular/components/footer-inera-admin/inera-ids-angular-components-footer-inera-admin.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, ElementRef, HostBinding, inject, QueryList } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDLinkDirective } from '@inera/ids-angular/components/link';\n\n@Component({\n selector: 'id-footer-inera-admin-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__link-col'\n }\n})\nexport class IDFooterIneraAdminColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n \n elementRef = inject(ElementRef);\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.colorPreset = 2;\n link.block = true;\n })\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}","import { CommonModule } from '@angular/common';\nimport { Component, ContentChild, ContentChildren, DestroyRef, inject, QueryList, TemplateRef, Input } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\n\n@Component({\n selector: 'id-footer-inera-admin',\n templateUrl: './footer-inera-admin.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraAdminComponent {\n @Input() headline: string = '';\n\n @ContentChildren(IDFooterIneraAdminColComponent) \n cols!: QueryList<IDFooterIneraAdminColComponent>;\n \n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n const colLength = this.cols?.length || 0;\n \n const classMap: Record<number, string> = {\n 1: \"ids-footer-inera-admin__link-col--100\",\n 2: \"ids-footer-inera-admin__link-col--50\",\n 3: \"ids-footer-inera-admin__link-col--33\"\n };\n\n const newClass = classMap[colLength] || classMap[1];\n\n this.cols?.forEach((col) => {\n col.columnClass = newClass;\n });\n }\n\n ngAfterContentInit(): void {\n this.updateColumnClasses();\n this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {\n this.updateColumnClasses();\n });\n }\n}\n","\n<footer class=\"ids-footer-inera-admin\">\n <div class=\"ids-footer-inera-admin__inner-wrapper\">\n <div class=\"ids-footer-inera-admin__inner\">\n <div class=\"ids-footer-inera-admin__headline-wrapper\">\n <h1 class=\"ids-footer-inera-admin__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-admin__content\">\n <ng-content select=\"id-footer-inera-admin-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera-admin__cols\">\n <ng-content select=\"id-footer-inera-admin-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer\">\n <div class=\"ids-footer-inera-admin__sub-footer-container\">\n <div class=\"ids-footer-inera-admin__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-admin__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-admin-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-admin__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-admin__text',\n },\n})\nexport class IDFooterIneraAdminTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-right'\n }\n})\nexport class IDFooterIneraAdminSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-left'\n }\n})\nexport class IDFooterIneraAdminSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__mobile-links'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-admin-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-admin__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraAdminSubFooterMobileTextComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraAdminComponent } from './footer-inera-admin.component';\nimport { IDFooterIneraAdminTextComponent } from './footer-inera-admin-text.component';\nimport { IDFooterIneraAdminColComponent } from './footer-inera-admin-col.component';\nimport { IDFooterIneraAdminSubFooterRightComponent } from './footer-inera-admin-sub-footer-right.component';\nimport { IDFooterIneraAdminSubFooterLeftComponent } from './footer-inera-admin-sub-footer-left.component';\nimport { IDFooterIneraAdminSubFooterMobileComponent } from './footer-inera-admin-sub-footer-mobile.component';\nimport { IDFooterIneraAdminSubFooterMobileTextComponent } from './footer-inera-admin-sub-footer-mobile-text.component';\n\n@NgModule({\n imports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n IDFooterIneraAdminSubFooterMobileTextComponent,\n ],\n exports: [\n IDFooterIneraAdminComponent,\n IDFooterIneraAdminTextComponent,\n IDFooterIneraAdminColComponent,\n IDFooterIneraAdminSubFooterRightComponent,\n IDFooterIneraAdminSubFooterLeftComponent,\n IDFooterIneraAdminSubFooterMobileComponent,\n IDFooterIneraAdminSubFooterMobileTextComponent,\n ],\n})\nexport class IDFooterIneraAdminModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,8BAA8B,CAAA;AACP,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEA,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEvB,IAAA,U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A,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAlBjC,2BAA2B;YAC3B,+BAA+B;YAC/B,8BAA8B;YAC9B,yCAAyC;YACzC,wCAAwC;YACxC,0CAA0C;AAC1C,YAAA,8CAA8C,aAG9C,2BAA2B;YAC3B,+BAA+B;YAC/B,8BAA8B;YAC9B,yCAAyC;YACzC,wCAAwC;YACxC,0CAA0C;YAC1C,8CAA8C,CAAA,EAAA,CAAA;AAGrC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAlBjC,2BAA2B,CAAA,EAAA,CAAA;;4FAkBlB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBApBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,+BAA+B;wBAC/B,8BAA8B;wBAC9B,yCAAyC;wBACzC,wCAAwC;wBACxC,0CAA0C;wBAC1C,8CAA8C;AAC/C,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,2BAA2B;wBAC3B,+BAA+B;wBAC/B,8BAA8B;wBAC9B,yCAAyC;wBACzC,wCAAwC;wBACxC,0CAA0C;wBAC1C,8CAA8C;AAC/C,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, DestroyRef, HostBinding, ContentChildren, Component, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
|
+
import { IDLinkDirective } from '@inera/ids-angular/components/link';
|
|
6
|
+
|
|
7
|
+
class IDFooterIneraGeneralColComponent {
|
|
8
|
+
links;
|
|
9
|
+
columnClass;
|
|
10
|
+
get hostClass() {
|
|
11
|
+
return this.columnClass;
|
|
12
|
+
}
|
|
13
|
+
destroyRef = inject(DestroyRef);
|
|
14
|
+
updateColumnClasses() {
|
|
15
|
+
this.links.forEach((link) => {
|
|
16
|
+
link.footer = true;
|
|
17
|
+
link.block = true;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
ngAfterContentInit() {
|
|
21
|
+
this.updateColumnClasses();
|
|
22
|
+
this.links.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
23
|
+
this.updateColumnClasses();
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralColComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralColComponent, isStandalone: true, selector: "id-footer-inera-general-col", host: { properties: { "class": "this.hostClass" }, classAttribute: "ids-footer-inera-general__link-col" }, queries: [{ propertyName: "links", predicate: IDLinkDirective }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralColComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{
|
|
32
|
+
selector: 'id-footer-inera-general-col',
|
|
33
|
+
standalone: true,
|
|
34
|
+
template: `<ng-content></ng-content>`,
|
|
35
|
+
host: {
|
|
36
|
+
class: 'ids-footer-inera-general__link-col'
|
|
37
|
+
}
|
|
38
|
+
}]
|
|
39
|
+
}], propDecorators: { links: [{
|
|
40
|
+
type: ContentChildren,
|
|
41
|
+
args: [IDLinkDirective]
|
|
42
|
+
}], hostClass: [{
|
|
43
|
+
type: HostBinding,
|
|
44
|
+
args: ['class']
|
|
45
|
+
}] } });
|
|
46
|
+
|
|
47
|
+
class IDFooterIneraGeneralComponent {
|
|
48
|
+
headline;
|
|
49
|
+
cols;
|
|
50
|
+
destroyRef = inject(DestroyRef);
|
|
51
|
+
updateColumnClasses() {
|
|
52
|
+
const colLength = this.cols?.length || 0;
|
|
53
|
+
const classMap = {
|
|
54
|
+
1: 'ids-footer-inera-general__link-col--100',
|
|
55
|
+
2: 'ids-footer-inera-general__link-col--50',
|
|
56
|
+
3: 'ids-footer-inera-general__link-col--33',
|
|
57
|
+
};
|
|
58
|
+
const newClass = classMap[colLength] || classMap[1];
|
|
59
|
+
this.cols?.forEach((col) => {
|
|
60
|
+
col.columnClass = newClass;
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
ngAfterContentInit() {
|
|
64
|
+
this.updateColumnClasses();
|
|
65
|
+
this.cols?.changes.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
66
|
+
this.updateColumnClasses();
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraGeneralComponent, isStandalone: true, selector: "id-footer-inera-general", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraGeneralColComponent }], ngImport: i0, template: "<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
71
|
+
}
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralComponent, decorators: [{
|
|
73
|
+
type: Component,
|
|
74
|
+
args: [{ selector: 'id-footer-inera-general', standalone: true, imports: [CommonModule], template: "<footer class=\"ids-footer-inera-general\">\n <div class=\"ids-footer-inera-general__inner-wrapper\">\n <div class=\"ids-footer-inera-general__inner\">\n <div class=\"ids-footer-inera-general__headline-wrapper\">\n <h1 class=\"ids-footer-inera-general__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera-general__content\">\n <ng-content select=\"id-footer-inera-general-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera-general__cols\">\n <ng-content select=\"id-footer-inera-general-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer\">\n <div class=\"ids-footer-inera-general__sub-footer-container\">\n <div class=\"ids-footer-inera-general__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-general-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera-general__sub-footer-mobile\">\n <div class=\"ids-footer-inera-general__sub-footer-mobile-text\">\n <ng-content select=\"id-footer-inera-general-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n </div>\n</footer>\n" }]
|
|
75
|
+
}], propDecorators: { headline: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], cols: [{
|
|
78
|
+
type: ContentChildren,
|
|
79
|
+
args: [IDFooterIneraGeneralColComponent]
|
|
80
|
+
}] } });
|
|
81
|
+
|
|
82
|
+
class IDFooterIneraGeneralTextComponent {
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
84
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralTextComponent, isStandalone: true, selector: "id-footer-inera-general-text", host: { classAttribute: "ids-footer-inera-general__text" }, ngImport: i0, template: `
|
|
85
|
+
<ng-content></ng-content>
|
|
86
|
+
<div class="ids-footer-inera-general__darkmode-toggle">
|
|
87
|
+
<ng-content select="id-darkmode-toggle"></ng-content>
|
|
88
|
+
</div>
|
|
89
|
+
`, isInline: true });
|
|
90
|
+
}
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralTextComponent, decorators: [{
|
|
92
|
+
type: Component,
|
|
93
|
+
args: [{
|
|
94
|
+
selector: 'id-footer-inera-general-text',
|
|
95
|
+
standalone: true,
|
|
96
|
+
template: `
|
|
97
|
+
<ng-content></ng-content>
|
|
98
|
+
<div class="ids-footer-inera-general__darkmode-toggle">
|
|
99
|
+
<ng-content select="id-darkmode-toggle"></ng-content>
|
|
100
|
+
</div>
|
|
101
|
+
`,
|
|
102
|
+
host: {
|
|
103
|
+
class: 'ids-footer-inera-general__text',
|
|
104
|
+
},
|
|
105
|
+
}]
|
|
106
|
+
}] });
|
|
107
|
+
|
|
108
|
+
class IDFooterIneraGeneralSubFooterRightComponent {
|
|
109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterRightComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralSubFooterRightComponent, isStandalone: true, selector: "id-footer-inera-general-sub-footer-right", host: { classAttribute: "ids-footer-inera-general__sub-footer-right" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
111
|
+
}
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterRightComponent, decorators: [{
|
|
113
|
+
type: Component,
|
|
114
|
+
args: [{
|
|
115
|
+
selector: 'id-footer-inera-general-sub-footer-right',
|
|
116
|
+
standalone: true,
|
|
117
|
+
template: `<ng-content></ng-content>`,
|
|
118
|
+
host: {
|
|
119
|
+
class: 'ids-footer-inera-general__sub-footer-right'
|
|
120
|
+
}
|
|
121
|
+
}]
|
|
122
|
+
}] });
|
|
123
|
+
|
|
124
|
+
class IDFooterIneraGeneralSubFooterLeftComponent {
|
|
125
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterLeftComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
126
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralSubFooterLeftComponent, isStandalone: true, selector: "id-footer-inera-general-sub-footer-left", host: { classAttribute: "ids-footer-inera-general__sub-footer-left" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
127
|
+
}
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterLeftComponent, decorators: [{
|
|
129
|
+
type: Component,
|
|
130
|
+
args: [{
|
|
131
|
+
selector: 'id-footer-inera-general-sub-footer-left',
|
|
132
|
+
standalone: true,
|
|
133
|
+
template: `<ng-content></ng-content>`,
|
|
134
|
+
host: {
|
|
135
|
+
class: 'ids-footer-inera-general__sub-footer-left'
|
|
136
|
+
}
|
|
137
|
+
}]
|
|
138
|
+
}] });
|
|
139
|
+
|
|
140
|
+
class IDFooterIneraGeneralSubFooterMobileComponent {
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterMobileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
142
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralSubFooterMobileComponent, isStandalone: true, selector: "id-footer-inera-general-sub-footer-mobile", host: { classAttribute: "ids-footer-inera-general__mobile-links" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
143
|
+
}
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterMobileComponent, decorators: [{
|
|
145
|
+
type: Component,
|
|
146
|
+
args: [{
|
|
147
|
+
selector: 'id-footer-inera-general-sub-footer-mobile',
|
|
148
|
+
standalone: true,
|
|
149
|
+
template: `<ng-content></ng-content>`,
|
|
150
|
+
host: {
|
|
151
|
+
class: 'ids-footer-inera-general__mobile-links'
|
|
152
|
+
}
|
|
153
|
+
}]
|
|
154
|
+
}] });
|
|
155
|
+
|
|
156
|
+
class IDFooterIneraGeneralModule {
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
158
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralModule, imports: [IDFooterIneraGeneralComponent,
|
|
159
|
+
IDFooterIneraGeneralTextComponent,
|
|
160
|
+
IDFooterIneraGeneralColComponent,
|
|
161
|
+
IDFooterIneraGeneralSubFooterRightComponent,
|
|
162
|
+
IDFooterIneraGeneralSubFooterLeftComponent,
|
|
163
|
+
IDFooterIneraGeneralSubFooterMobileComponent], exports: [IDFooterIneraGeneralComponent,
|
|
164
|
+
IDFooterIneraGeneralTextComponent,
|
|
165
|
+
IDFooterIneraGeneralColComponent,
|
|
166
|
+
IDFooterIneraGeneralSubFooterRightComponent,
|
|
167
|
+
IDFooterIneraGeneralSubFooterLeftComponent,
|
|
168
|
+
IDFooterIneraGeneralSubFooterMobileComponent] });
|
|
169
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralModule, imports: [IDFooterIneraGeneralComponent] });
|
|
170
|
+
}
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralModule, decorators: [{
|
|
172
|
+
type: NgModule,
|
|
173
|
+
args: [{
|
|
174
|
+
imports: [
|
|
175
|
+
IDFooterIneraGeneralComponent,
|
|
176
|
+
IDFooterIneraGeneralTextComponent,
|
|
177
|
+
IDFooterIneraGeneralColComponent,
|
|
178
|
+
IDFooterIneraGeneralSubFooterRightComponent,
|
|
179
|
+
IDFooterIneraGeneralSubFooterLeftComponent,
|
|
180
|
+
IDFooterIneraGeneralSubFooterMobileComponent,
|
|
181
|
+
],
|
|
182
|
+
exports: [
|
|
183
|
+
IDFooterIneraGeneralComponent,
|
|
184
|
+
IDFooterIneraGeneralTextComponent,
|
|
185
|
+
IDFooterIneraGeneralColComponent,
|
|
186
|
+
IDFooterIneraGeneralSubFooterRightComponent,
|
|
187
|
+
IDFooterIneraGeneralSubFooterLeftComponent,
|
|
188
|
+
IDFooterIneraGeneralSubFooterMobileComponent,
|
|
189
|
+
],
|
|
190
|
+
}]
|
|
191
|
+
}] });
|
|
192
|
+
|
|
193
|
+
class IDFooterIneraGeneralSubFooterMobileTextComponent {
|
|
194
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterMobileTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
195
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraGeneralSubFooterMobileTextComponent, isStandalone: true, selector: "id-footer-inera-general-sub-footer-mobile-text", host: { classAttribute: "ids-footer-inera-general__sub-footer-mobile-text" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
196
|
+
}
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraGeneralSubFooterMobileTextComponent, decorators: [{
|
|
198
|
+
type: Component,
|
|
199
|
+
args: [{
|
|
200
|
+
selector: 'id-footer-inera-general-sub-footer-mobile-text',
|
|
201
|
+
standalone: true,
|
|
202
|
+
template: `<ng-content></ng-content>`,
|
|
203
|
+
host: {
|
|
204
|
+
class: 'ids-footer-inera-general__sub-footer-mobile-text'
|
|
205
|
+
}
|
|
206
|
+
}]
|
|
207
|
+
}] });
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Generated bundle index. Do not edit.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
export { IDFooterIneraGeneralColComponent, IDFooterIneraGeneralComponent, IDFooterIneraGeneralModule, IDFooterIneraGeneralSubFooterLeftComponent, IDFooterIneraGeneralSubFooterMobileComponent, IDFooterIneraGeneralSubFooterMobileTextComponent, IDFooterIneraGeneralSubFooterRightComponent, IDFooterIneraGeneralTextComponent };
|
|
214
|
+
//# sourceMappingURL=inera-ids-angular-components-footer-inera-general.mjs.map
|