@inera/ids-angular 9.1.0 → 9.2.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/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/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 +68 -52
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-footer-inera-general.mjs","sources":["../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-col.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.component.html","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-text.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general.module.ts","../../../projects/ids-angular/components/footer-inera-general/footer-inera-general-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera-general/inera-ids-angular-components-footer-inera-general.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, 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-general-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__link-col'\n }\n})\nexport class IDFooterIneraGeneralColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.footer = true;\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 { IDFooterIneraGeneralColComponent } from './footer-inera-general-col.component';\n\n@Component({\n selector: 'id-footer-inera-general',\n templateUrl: './footer-inera-general.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraGeneralComponent {\n @Input() headline: string;\n\n @ContentChildren(IDFooterIneraGeneralColComponent)\n cols!: QueryList<IDFooterIneraGeneralColComponent>;\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-general__link-col--100',\n 2: 'ids-footer-inera-general__link-col--50',\n 3: 'ids-footer-inera-general__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","<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","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera-general__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera-general__text',\n },\n})\nexport class IDFooterIneraGeneralTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-right'\n }\n})\nexport class IDFooterIneraGeneralSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-left'\n }\n})\nexport class IDFooterIneraGeneralSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__mobile-links'\n }\n})\nexport class IDFooterIneraGeneralSubFooterMobileComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraGeneralComponent } from './footer-inera-general.component';\nimport { IDFooterIneraGeneralTextComponent } from './footer-inera-general-text.component';\nimport { IDFooterIneraGeneralColComponent } from './footer-inera-general-col.component';\nimport { IDFooterIneraGeneralSubFooterRightComponent } from './footer-inera-general-sub-footer-right.component';\nimport { IDFooterIneraGeneralSubFooterLeftComponent } from './footer-inera-general-sub-footer-left.component';\nimport { IDFooterIneraGeneralSubFooterMobileComponent } from './footer-inera-general-sub-footer-mobile.component';\n\n@NgModule({\n imports: [\n IDFooterIneraGeneralComponent,\n IDFooterIneraGeneralTextComponent,\n IDFooterIneraGeneralColComponent,\n IDFooterIneraGeneralSubFooterRightComponent,\n IDFooterIneraGeneralSubFooterLeftComponent,\n IDFooterIneraGeneralSubFooterMobileComponent,\n ],\n exports: [\n IDFooterIneraGeneralComponent,\n IDFooterIneraGeneralTextComponent,\n IDFooterIneraGeneralColComponent,\n IDFooterIneraGeneralSubFooterRightComponent,\n IDFooterIneraGeneralSubFooterLeftComponent,\n IDFooterIneraGeneralSubFooterMobileComponent,\n ],\n})\nexport class IDFooterIneraGeneralModule {}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-general-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera-general__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraGeneralSubFooterMobileTextComponent {\n\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,gCAAgC,CAAA;AACT,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEQ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC1B,YAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;AACnB,QAAA,CAAC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2CAA2C;wBAC3C,0CAA0C;wBAC1C,4CAA4C;AAC7C,qBAAA;AACF,iBAAA;;;MChBY,gDAAgD,CAAA;wGAAhD,gDAAgD,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAhD,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gDAAgD,wLALjD,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAK1B,gDAAgD,EAAA,UAAA,EAAA,CAAA;kBAR5D,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gDAAgD;AAC1D,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA,yBAAA,CAA2B;AACrC,oBAAA,IAAI,EAAE;AACJ,wBAAA,KAAK,EAAE;AACR;AACF,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -67,11 +67,11 @@ class IDFooterIneraComponent {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraComponent, isStandalone: true, selector: "id-footer-inera", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraColComponent }], ngImport: i0, template: "
|
|
70
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDFooterIneraComponent, isStandalone: true, selector: "id-footer-inera", inputs: { headline: "headline" }, queries: [{ propertyName: "cols", predicate: IDFooterIneraColComponent }], ngImport: i0, template: "<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
71
71
|
}
|
|
72
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraComponent, decorators: [{
|
|
73
73
|
type: Component,
|
|
74
|
-
args: [{ selector: 'id-footer-inera', standalone: true, imports: [CommonModule], template: "
|
|
74
|
+
args: [{ selector: 'id-footer-inera', standalone: true, imports: [CommonModule], template: "<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n" }]
|
|
75
75
|
}], propDecorators: { headline: [{
|
|
76
76
|
type: Input
|
|
77
77
|
}], cols: [{
|
|
@@ -153,6 +153,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
153
153
|
}]
|
|
154
154
|
}] });
|
|
155
155
|
|
|
156
|
+
class IDFooterIneraSubFooterMobileTextComponent {
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraSubFooterMobileTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
158
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: IDFooterIneraSubFooterMobileTextComponent, isStandalone: true, selector: "id-footer-inera-sub-footer-mobile-text", host: { classAttribute: "ids-footer-inera__sub-footer-mobile-text" }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
|
159
|
+
}
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraSubFooterMobileTextComponent, decorators: [{
|
|
161
|
+
type: Component,
|
|
162
|
+
args: [{
|
|
163
|
+
selector: 'id-footer-inera-sub-footer-mobile-text',
|
|
164
|
+
standalone: true,
|
|
165
|
+
template: `<ng-content></ng-content>`,
|
|
166
|
+
host: {
|
|
167
|
+
class: 'ids-footer-inera__sub-footer-mobile-text'
|
|
168
|
+
}
|
|
169
|
+
}]
|
|
170
|
+
}] });
|
|
171
|
+
|
|
156
172
|
class IDFooterIneraModule {
|
|
157
173
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
158
174
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraModule, imports: [IDFooterIneraComponent,
|
|
@@ -160,12 +176,14 @@ class IDFooterIneraModule {
|
|
|
160
176
|
IDFooterIneraColComponent,
|
|
161
177
|
IDFooterIneraSubFooterRightComponent,
|
|
162
178
|
IDFooterIneraSubFooterLeftComponent,
|
|
163
|
-
IDFooterIneraSubFooterMobileComponent
|
|
179
|
+
IDFooterIneraSubFooterMobileComponent,
|
|
180
|
+
IDFooterIneraSubFooterMobileTextComponent], exports: [IDFooterIneraComponent,
|
|
164
181
|
IDFooterIneraTextComponent,
|
|
165
182
|
IDFooterIneraColComponent,
|
|
166
183
|
IDFooterIneraSubFooterRightComponent,
|
|
167
184
|
IDFooterIneraSubFooterLeftComponent,
|
|
168
|
-
IDFooterIneraSubFooterMobileComponent
|
|
185
|
+
IDFooterIneraSubFooterMobileComponent,
|
|
186
|
+
IDFooterIneraSubFooterMobileTextComponent] });
|
|
169
187
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraModule, imports: [IDFooterIneraComponent] });
|
|
170
188
|
}
|
|
171
189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDFooterIneraModule, decorators: [{
|
|
@@ -178,6 +196,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
178
196
|
IDFooterIneraSubFooterRightComponent,
|
|
179
197
|
IDFooterIneraSubFooterLeftComponent,
|
|
180
198
|
IDFooterIneraSubFooterMobileComponent,
|
|
199
|
+
IDFooterIneraSubFooterMobileTextComponent
|
|
181
200
|
],
|
|
182
201
|
exports: [
|
|
183
202
|
IDFooterIneraComponent,
|
|
@@ -186,6 +205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
186
205
|
IDFooterIneraSubFooterRightComponent,
|
|
187
206
|
IDFooterIneraSubFooterLeftComponent,
|
|
188
207
|
IDFooterIneraSubFooterMobileComponent,
|
|
208
|
+
IDFooterIneraSubFooterMobileTextComponent
|
|
189
209
|
],
|
|
190
210
|
}]
|
|
191
211
|
}] });
|
|
@@ -194,5 +214,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
194
214
|
* Generated bundle index. Do not edit.
|
|
195
215
|
*/
|
|
196
216
|
|
|
197
|
-
export { IDFooterIneraColComponent, IDFooterIneraComponent, IDFooterIneraModule, IDFooterIneraSubFooterLeftComponent, IDFooterIneraSubFooterMobileComponent, IDFooterIneraSubFooterRightComponent, IDFooterIneraTextComponent };
|
|
217
|
+
export { IDFooterIneraColComponent, IDFooterIneraComponent, IDFooterIneraModule, IDFooterIneraSubFooterLeftComponent, IDFooterIneraSubFooterMobileComponent, IDFooterIneraSubFooterMobileTextComponent, IDFooterIneraSubFooterRightComponent, IDFooterIneraTextComponent };
|
|
198
218
|
//# sourceMappingURL=inera-ids-angular-components-footer-inera.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-footer-inera.mjs","sources":["../../../projects/ids-angular/components/footer-inera/footer-inera-col.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.html","../../../projects/ids-angular/components/footer-inera/footer-inera-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.module.ts","../../../projects/ids-angular/components/footer-inera/inera-ids-angular-components-footer-inera.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, 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-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__link-col'\n }\n})\nexport class IDFooterIneraColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.footer = true;\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 { IDFooterIneraColComponent } from './footer-inera-col.component';\n\n@Component({\n selector: 'id-footer-inera',\n templateUrl: './footer-inera.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraComponent {\n @Input() headline: string;\n\n @ContentChildren(IDFooterIneraColComponent) \n cols!: QueryList<IDFooterIneraColComponent>;\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__link-col--100\",\n 2: \"ids-footer-inera__link-col--50\",\n 3: \"ids-footer-inera__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\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{headline}}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if(cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <div class=\"ids-footer-inera__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-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera__text',\n },\n})\nexport class IDFooterIneraTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-right'\n }\n})\nexport class IDFooterIneraSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-left'\n }\n})\nexport class IDFooterIneraSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__mobile-links'\n }\n})\nexport class IDFooterIneraSubFooterMobileComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraComponent } from './footer-inera.component';\nimport { IDFooterIneraTextComponent } from './footer-inera-text.component';\nimport { IDFooterIneraColComponent } from './footer-inera-col.component';\nimport { IDFooterIneraSubFooterRightComponent } from './footer-inera-sub-footer-right.component';\nimport { IDFooterIneraSubFooterLeftComponent } from './footer-inera-sub-footer-left.component';\nimport { IDFooterIneraSubFooterMobileComponent } from './footer-inera-sub-footer-mobile.component';\n\n@NgModule({\n imports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n ],\n exports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n ],\n})\nexport class IDFooterIneraModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,yBAAyB,CAAA;AACF,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEQ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC1B,YAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;AACnB,QAAA,CAAC,CAAC;IACJ;IAEA,kBAAkB,GAAA;QAChB,IAAI,CAAC,mBAAmB,EAAE;AAC1B,QAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,MAAK;YAC1E,IAAI,CAAC,mBAAmB,EAAE;AAC5B,QAAA,CAAC,CAAC;IACJ;wGAxBW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,gBAAA,EAAA,EAAA,cAAA,EAAA,4BAAA,EAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EACnB,eAAe,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANtB,CAAA,yBAAA,CAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;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CAAA;AAG5B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAhB5B,sBAAsB,CAAA,EAAA,CAAA;;4FAgBb,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAlB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,oCAAoC;wBACpC,mCAAmC;wBACnC,qCAAqC;AACtC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,oCAAoC;wBACpC,mCAAmC;wBACnC,qCAAqC;AACtC,qBAAA;AACF,iBAAA;;;AC1BD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-footer-inera.mjs","sources":["../../../projects/ids-angular/components/footer-inera/footer-inera-col.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.component.html","../../../projects/ids-angular/components/footer-inera/footer-inera-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-right.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-left.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera-sub-footer-mobile-text.component.ts","../../../projects/ids-angular/components/footer-inera/footer-inera.module.ts","../../../projects/ids-angular/components/footer-inera/inera-ids-angular-components-footer-inera.ts"],"sourcesContent":["import { Component, ContentChildren, DestroyRef, 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-col',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__link-col'\n }\n})\nexport class IDFooterIneraColComponent {\n @ContentChildren(IDLinkDirective) links: QueryList<IDLinkDirective>;\n\n columnClass: string;\n\n @HostBinding('class')\n get hostClass() {\n return this.columnClass;\n }\n\n private destroyRef = inject(DestroyRef);\n\n private updateColumnClasses(): void {\n this.links.forEach((link) => {\n link.footer = true;\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 { IDFooterIneraColComponent } from './footer-inera-col.component';\n\n@Component({\n selector: 'id-footer-inera',\n templateUrl: './footer-inera.component.html',\n standalone: true,\n imports: [CommonModule],\n})\nexport class IDFooterIneraComponent {\n @Input() headline: string;\n\n @ContentChildren(IDFooterIneraColComponent) \n cols!: QueryList<IDFooterIneraColComponent>;\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__link-col--100\",\n 2: \"ids-footer-inera__link-col--50\",\n 3: \"ids-footer-inera__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","<footer class=\"ids-footer-inera\">\n <div class=\"ids-footer-inera__inner-wrapper\">\n <div class=\"ids-footer-inera__inner\">\n <div class=\"ids-footer-inera__headline-wrapper\">\n <h1 class=\"ids-footer-inera__headline\">\n {{ headline }}\n </h1>\n </div>\n\n <div class=\"ids-footer-inera__content\">\n <ng-content select=\"id-footer-inera-text\"></ng-content>\n @if (cols.length > 0) {\n <div class=\"ids-footer-inera__cols\">\n <ng-content select=\"id-footer-inera-col\"></ng-content>\n </div>\n }\n </div>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__mobile-menu\">\n <ng-content select=\"id-mobile-menu\"></ng-content>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer\">\n <div class=\"ids-footer-inera__sub-footer-container\">\n <div class=\"ids-footer-inera__sub-footer-inner\">\n <ng-content select=\"id-footer-inera-sub-footer-left\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-right\"></ng-content>\n <ng-content select=\"id-footer-inera-sub-footer-mobile\"></ng-content>\n </div>\n </div>\n\n <div class=\"ids-footer-inera__sub-footer-mobile\">\n <ng-content select=\"id-footer-inera-sub-footer-mobile-text\"></ng-content>\n </div>\n </div>\n</footer>\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-text',\n standalone: true,\n template: `\n <ng-content></ng-content>\n <div class=\"ids-footer-inera__darkmode-toggle\">\n <ng-content select=\"id-darkmode-toggle\"></ng-content>\n </div>\n `,\n host: {\n class: 'ids-footer-inera__text',\n },\n})\nexport class IDFooterIneraTextComponent {}\n","import { Component } from \"@angular/core\";\n\n@Component({\n selector: 'id-footer-inera-sub-footer-right',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-right'\n }\n})\nexport class IDFooterIneraSubFooterRightComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-left',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-left'\n }\n})\nexport class IDFooterIneraSubFooterLeftComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__mobile-links'\n }\n})\nexport class IDFooterIneraSubFooterMobileComponent {\n\n}","import { Component } from '@angular/core';\n\n@Component({\n selector: 'id-footer-inera-sub-footer-mobile-text',\n standalone: true,\n template: `<ng-content></ng-content>`,\n host: {\n class: 'ids-footer-inera__sub-footer-mobile-text'\n }\n})\nexport class IDFooterIneraSubFooterMobileTextComponent {\n\n}","import { NgModule } from '@angular/core';\n\nimport { IDFooterIneraComponent } from './footer-inera.component';\nimport { IDFooterIneraTextComponent } from './footer-inera-text.component';\nimport { IDFooterIneraColComponent } from './footer-inera-col.component';\nimport { IDFooterIneraSubFooterRightComponent } from './footer-inera-sub-footer-right.component';\nimport { IDFooterIneraSubFooterLeftComponent } from './footer-inera-sub-footer-left.component';\nimport { IDFooterIneraSubFooterMobileComponent } from './footer-inera-sub-footer-mobile.component';\nimport { IDFooterIneraSubFooterMobileTextComponent } from './footer-inera-sub-footer-mobile-text.component';\n\n@NgModule({\n imports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n IDFooterIneraSubFooterMobileTextComponent\n ],\n exports: [\n IDFooterIneraComponent,\n IDFooterIneraTextComponent,\n IDFooterIneraColComponent,\n IDFooterIneraSubFooterRightComponent,\n IDFooterIneraSubFooterLeftComponent,\n IDFooterIneraSubFooterMobileComponent,\n IDFooterIneraSubFooterMobileTextComponent\n ],\n})\nexport class IDFooterIneraModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,yBAAyB,CAAA;AACF,IAAA,KAAK;AAEvC,IAAA,WAAW;AAEX,IAAA,IACI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,WAAW;IACzB;AAEQ,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAE/B,mBAAmB,GAAA;QACzB,IAAI,CAAC,KAAK,CA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,YAlB5B,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,oCAAoC;YACpC,mCAAmC;YACnC,qCAAqC;AACrC,YAAA,yCAAyC,aAGzC,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,oCAAoC;YACpC,mCAAmC;YACnC,qCAAqC;YACrC,yCAAyC,CAAA,EAAA,CAAA;AAGhC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAlB5B,sBAAsB,CAAA,EAAA,CAAA;;4FAkBb,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,oCAAoC;wBACpC,mCAAmC;wBACnC,qCAAqC;wBACrC;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,0BAA0B;wBAC1B,yBAAyB;wBACzB,oCAAoC;wBACpC,mCAAmC;wBACnC,qCAAqC;wBACrC;AACD,qBAAA;AACF,iBAAA;;;AC7BD;;AAEG;;;;"}
|
|
@@ -53,7 +53,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
53
53
|
class IDGlobalAlertComponent {
|
|
54
54
|
useId = inject(IDUseIdService);
|
|
55
55
|
contentId = this.useId.generateId('global-alert');
|
|
56
|
-
hideMobileIcon = false;
|
|
57
56
|
agent = false;
|
|
58
57
|
srExpandText = "Visa mer";
|
|
59
58
|
srCollapseText = "Visa mindre";
|
|
@@ -80,8 +79,6 @@ class IDGlobalAlertComponent {
|
|
|
80
79
|
classes.push('ids-global-alert--collapsed');
|
|
81
80
|
if (this.agent)
|
|
82
81
|
classes.push('ids-global-alert--agent');
|
|
83
|
-
if (this.hideMobileIcon && !this.agent)
|
|
84
|
-
classes.push('ids-global-alert--hide-icon-on-m');
|
|
85
82
|
return classes.join(' ');
|
|
86
83
|
}
|
|
87
84
|
toggleExpanded() {
|
|
@@ -95,18 +92,15 @@ class IDGlobalAlertComponent {
|
|
|
95
92
|
}
|
|
96
93
|
}
|
|
97
94
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDGlobalAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
98
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDGlobalAlertComponent, isStandalone: true, selector: "id-global-alert", inputs: {
|
|
95
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDGlobalAlertComponent, isStandalone: true, selector: "id-global-alert", inputs: { agent: ["agent", "agent", booleanAttribute], srExpandText: "srExpandText", srCollapseText: "srCollapseText", collapsed: "collapsed" }, outputs: { collapsedChange: "collapsedChange", closed: "closed", opened: "opened" }, host: { properties: { "attr.role": "hostRole", "class": "hostClasses" } }, queries: [{ propertyName: "header", first: true, predicate: IDGlobalAlertHeaderComponent, descendants: true }, { propertyName: "actions", first: true, predicate: IDGlobalAlertActionsComponent, descendants: true }], ngImport: i0, template: "<div class=\"ids-global-alert__inner\">\n <div class=\"ids-global-alert__header\">\n <button\n class=\"ids-global-alert__button\"\n [class.ids-global-alert__button--expanded]=\"!collapsed\"\n [attr.aria-label]=\"this.collapsed ? this.srExpandText : this.srCollapseText\"\n [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"!collapsed\"\n (click)=\"toggleExpanded()\"\n >\n <div\n class=\"ids-global-alert__icon-headline\"\n [class.ids-global-alert__icon-headline--agent]=\"agent\"\n >\n @if (header) {\n <div class=\"ids-global-alert__headline\">\n <ng-container *ngTemplateOutlet=\"header.template\"></ng-container>\n </div>\n }\n </div>\n </button>\n </div>\n\n <div\n [attr.id]=\"contentId\"\n class=\"ids-global-alert__content\"\n [attr.aria-hidden]=\"collapsed ? 'true' : 'false'\"\n >\n <ng-content select=\":not(id-global-alert-header):not(id-global-alert-actions)\"></ng-content>\n </div>\n @if (actions) {\n <div class=\"ids-global-alert__sub-content\">\n <ng-container *ngTemplateOutlet=\"actions.template\"></ng-container>\n </div>\n }\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
99
96
|
}
|
|
100
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDGlobalAlertComponent, decorators: [{
|
|
101
98
|
type: Component,
|
|
102
99
|
args: [{ selector: "id-global-alert", imports: [CommonModule], standalone: true, host: {
|
|
103
100
|
'[attr.role]': 'hostRole',
|
|
104
101
|
'[class]': 'hostClasses',
|
|
105
|
-
}, template: "<div class=\"ids-global-alert__inner\">\n <div class=\"ids-global-alert__header\">\n <button
|
|
106
|
-
}], propDecorators: {
|
|
107
|
-
type: Input,
|
|
108
|
-
args: [{ transform: booleanAttribute }]
|
|
109
|
-
}], agent: [{
|
|
102
|
+
}, template: "<div class=\"ids-global-alert__inner\">\n <div class=\"ids-global-alert__header\">\n <button\n class=\"ids-global-alert__button\"\n [class.ids-global-alert__button--expanded]=\"!collapsed\"\n [attr.aria-label]=\"this.collapsed ? this.srExpandText : this.srCollapseText\"\n [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"!collapsed\"\n (click)=\"toggleExpanded()\"\n >\n <div\n class=\"ids-global-alert__icon-headline\"\n [class.ids-global-alert__icon-headline--agent]=\"agent\"\n >\n @if (header) {\n <div class=\"ids-global-alert__headline\">\n <ng-container *ngTemplateOutlet=\"header.template\"></ng-container>\n </div>\n }\n </div>\n </button>\n </div>\n\n <div\n [attr.id]=\"contentId\"\n class=\"ids-global-alert__content\"\n [attr.aria-hidden]=\"collapsed ? 'true' : 'false'\"\n >\n <ng-content select=\":not(id-global-alert-header):not(id-global-alert-actions)\"></ng-content>\n </div>\n @if (actions) {\n <div class=\"ids-global-alert__sub-content\">\n <ng-container *ngTemplateOutlet=\"actions.template\"></ng-container>\n </div>\n }\n</div>\n" }]
|
|
103
|
+
}], propDecorators: { agent: [{
|
|
110
104
|
type: Input,
|
|
111
105
|
args: [{ transform: booleanAttribute }]
|
|
112
106
|
}], srExpandText: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inera-ids-angular-components-global-alert.mjs","sources":["../../../projects/ids-angular/components/global-alert/global-alert-header.component.ts","../../../projects/ids-angular/components/global-alert/global-alert-actions.component.ts","../../../projects/ids-angular/components/global-alert/global-alert.component.ts","../../../projects/ids-angular/components/global-alert/global-alert.component.html","../../../projects/ids-angular/components/global-alert/inera-ids-angular-components-global-alert.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'id-global-alert-header',\n standalone: true,\n template: `\n <ng-template>\n <ng-content></ng-content>\n </ng-template>`\n})\nexport class IDGlobalAlertHeaderComponent {\n\n @ViewChild(TemplateRef) template: TemplateRef<any>;\n\n}\n","import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'id-global-alert-actions',\n standalone: true,\n template: `\n <ng-template>\n <ng-content></ng-content>\n </ng-template>`\n})\nexport class IDGlobalAlertActionsComponent {\n\n @ViewChild(TemplateRef) template: TemplateRef<any>;\n\n}\n","import { Component, ContentChild, EventEmitter, Input, Output, booleanAttribute, inject } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { IDGlobalAlertHeaderComponent } from \"./global-alert-header.component\";\nimport { IDGlobalAlertActionsComponent } from \"./global-alert-actions.component\";\nimport { IDUseIdService } from \"@inera/ids-angular/common\";\n\n@Component({\n selector: \"id-global-alert\",\n templateUrl: \"./global-alert.component.html\",\n imports: [CommonModule],\n standalone: true,\n host: {\n '[attr.role]': 'hostRole',\n '[class]': 'hostClasses',\n }\n})\nexport class IDGlobalAlertComponent {\n\n private useId = inject(IDUseIdService);\n protected contentId = this.useId.generateId('global-alert');\n\n @Input({ transform: booleanAttribute })
|
|
1
|
+
{"version":3,"file":"inera-ids-angular-components-global-alert.mjs","sources":["../../../projects/ids-angular/components/global-alert/global-alert-header.component.ts","../../../projects/ids-angular/components/global-alert/global-alert-actions.component.ts","../../../projects/ids-angular/components/global-alert/global-alert.component.ts","../../../projects/ids-angular/components/global-alert/global-alert.component.html","../../../projects/ids-angular/components/global-alert/inera-ids-angular-components-global-alert.ts"],"sourcesContent":["import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'id-global-alert-header',\n standalone: true,\n template: `\n <ng-template>\n <ng-content></ng-content>\n </ng-template>`\n})\nexport class IDGlobalAlertHeaderComponent {\n\n @ViewChild(TemplateRef) template: TemplateRef<any>;\n\n}\n","import { Component, TemplateRef, ViewChild } from '@angular/core';\n\n@Component({\n selector: 'id-global-alert-actions',\n standalone: true,\n template: `\n <ng-template>\n <ng-content></ng-content>\n </ng-template>`\n})\nexport class IDGlobalAlertActionsComponent {\n\n @ViewChild(TemplateRef) template: TemplateRef<any>;\n\n}\n","import { Component, ContentChild, EventEmitter, Input, Output, booleanAttribute, inject } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { IDGlobalAlertHeaderComponent } from \"./global-alert-header.component\";\nimport { IDGlobalAlertActionsComponent } from \"./global-alert-actions.component\";\nimport { IDUseIdService } from \"@inera/ids-angular/common\";\n\n@Component({\n selector: \"id-global-alert\",\n templateUrl: \"./global-alert.component.html\",\n imports: [CommonModule],\n standalone: true,\n host: {\n '[attr.role]': 'hostRole',\n '[class]': 'hostClasses',\n }\n})\nexport class IDGlobalAlertComponent {\n\n private useId = inject(IDUseIdService);\n protected contentId = this.useId.generateId('global-alert');\n\n @Input({ transform: booleanAttribute }) agent: boolean = false;\n @Input() srExpandText: string = \"Visa mer\";\n @Input() srCollapseText: string = \"Visa mindre\";\n\n private _collapsed: boolean = true;\n @Input()\n get collapsed(): boolean {\n return this._collapsed;\n }\n set collapsed(value: boolean) {\n if (this._collapsed !== value) {\n this._collapsed = value;\n }\n }\n\n @ContentChild(IDGlobalAlertHeaderComponent)\n header: IDGlobalAlertHeaderComponent;\n\n @ContentChild(IDGlobalAlertActionsComponent)\n actions: IDGlobalAlertActionsComponent;\n\n @Output() collapsedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n @Output() closed: EventEmitter<void> = new EventEmitter<void>();\n @Output() opened: EventEmitter<void> = new EventEmitter<void>();\n\n get hostRole(): string | null {\n return !this.agent ? 'alert' : null;\n }\n\n get hostClasses(): string {\n const classes = ['ids-global-alert'];\n\n if (this.collapsed) classes.push('ids-global-alert--collapsed');\n if (this.agent) classes.push('ids-global-alert--agent');\n\n return classes.join(' ');\n }\n\n toggleExpanded(): void {\n this._collapsed = !this.collapsed;\n this.collapsedChange.emit(this._collapsed);\n if(this.collapsed) {\n this.closed.emit();\n } else {\n this.opened.emit();\n }\n }\n}","<div class=\"ids-global-alert__inner\">\n <div class=\"ids-global-alert__header\">\n <button\n class=\"ids-global-alert__button\"\n [class.ids-global-alert__button--expanded]=\"!collapsed\"\n [attr.aria-label]=\"this.collapsed ? this.srExpandText : this.srCollapseText\"\n [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"!collapsed\"\n (click)=\"toggleExpanded()\"\n >\n <div\n class=\"ids-global-alert__icon-headline\"\n [class.ids-global-alert__icon-headline--agent]=\"agent\"\n >\n @if (header) {\n <div class=\"ids-global-alert__headline\">\n <ng-container *ngTemplateOutlet=\"header.template\"></ng-container>\n </div>\n }\n </div>\n </button>\n </div>\n\n <div\n [attr.id]=\"contentId\"\n class=\"ids-global-alert__content\"\n [attr.aria-hidden]=\"collapsed ? 'true' : 'false'\"\n >\n <ng-content select=\":not(id-global-alert-header):not(id-global-alert-actions)\"></ng-content>\n </div>\n @if (actions) {\n <div class=\"ids-global-alert__sub-content\">\n <ng-container *ngTemplateOutlet=\"actions.template\"></ng-container>\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,4BAA4B,CAAA;AAEf,IAAA,QAAQ;wGAFrB,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAE5B,WAAW,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAPZ;;;AAGO,kBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAEN,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBARxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE;;;AAGO,kBAAA;AAClB,iBAAA;8BAGyB,QAAQ,EAAA,CAAA;sBAA/B,SAAS;uBAAC,WAAW;;;MCFX,6BAA6B,CAAA;AAEhB,IAAA,QAAQ;wGAFrB,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAE7B,WAAW,EAAA,WAA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AA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,ED3BY,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,yBAAA,EAAA,kBAAA,EAAA,0BAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAOX,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAVlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAElB,CAAC,YAAY,CAAC,EAAA,UAAA,EACX,IAAI,EAAA,IAAA,EACV;AACJ,wBAAA,aAAa,EAAE,UAAU;AACzB,wBAAA,SAAS,EAAE,aAAa;AACzB,qBAAA,EAAA,QAAA,EAAA,yrCAAA,EAAA;8BAOuC,KAAK,EAAA,CAAA;sBAA5C,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAC7B,YAAY,EAAA,CAAA;sBAApB;gBACQ,cAAc,EAAA,CAAA;sBAAtB;gBAIG,SAAS,EAAA,CAAA;sBADZ;gBAWD,MAAM,EAAA,CAAA;sBADL,YAAY;uBAAC,4BAA4B;gBAI1C,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,6BAA6B;gBAGjC,eAAe,EAAA,CAAA;sBAAxB;gBACS,MAAM,EAAA,CAAA;sBAAf;gBACS,MAAM,EAAA,CAAA;sBAAf;;;AE5CH;;AAEG;;;;"}
|
|
@@ -4,8 +4,8 @@ import { EventEmitter, inject, booleanAttribute, ViewChild, Output, Input, Compo
|
|
|
4
4
|
import { IDUseIdService, ID_HEADER_CONTEXT, useFocusTrap, useEscapeKey, IDClickOutsideDirective } from '@inera/ids-angular/common';
|
|
5
5
|
|
|
6
6
|
class IDHeader1177AdminAvatarComponent {
|
|
7
|
-
username =
|
|
8
|
-
unit =
|
|
7
|
+
username = '';
|
|
8
|
+
unit = '';
|
|
9
9
|
persistent = false;
|
|
10
10
|
expanded = false;
|
|
11
11
|
expandedChange = new EventEmitter();
|
|
@@ -47,78 +47,110 @@ class IDHeader1177AdminAvatarComponent {
|
|
|
47
47
|
}
|
|
48
48
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeader1177AdminAvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
49
49
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeader1177AdminAvatarComponent, isStandalone: true, selector: "id-header-1177-admin-avatar", inputs: { username: "username", unit: "unit", persistent: ["persistent", "persistent", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { expandedChange: "expandedChange", opened: "opened", closed: "closed" }, host: { properties: { "class.ids-header-1177-admin-avatar--unresponsive": "header?.unresponsive" }, classAttribute: "ids-header-1177-admin-avatar" }, viewQueries: [{ propertyName: "menuContent", first: true, predicate: ["menuContent"], descendants: true }], ngImport: i0, template: `
|
|
50
|
-
<div
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
class="ids-header-1177-admin-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
50
|
+
<div
|
|
51
|
+
class="ids-header-1177-admin-avatar__avatar"
|
|
52
|
+
idClickOutside
|
|
53
|
+
(idClickOutside)="handleCloseEvent()"
|
|
54
|
+
>
|
|
55
|
+
<div
|
|
56
|
+
#menuContent
|
|
57
|
+
class="ids-header-1177-admin-avatar__menu-wrapper"
|
|
58
|
+
>
|
|
59
|
+
<button
|
|
60
|
+
(click)="toggleAvatar()"
|
|
61
|
+
[attr.aria-controls]="contentId"
|
|
62
|
+
class="ids-header-1177-admin-avatar__button"
|
|
63
|
+
[class.ids-header-1177-admin-avatar__button--expanded]="expanded"
|
|
64
|
+
[attr.aria-expanded]="expanded"
|
|
65
|
+
>
|
|
66
|
+
<div
|
|
67
|
+
class="ids-header-1177-admin-avatar__name"
|
|
68
|
+
[attr.title]="username"
|
|
69
|
+
>
|
|
70
|
+
{{ username }}
|
|
66
71
|
</div>
|
|
72
|
+
@if (unit) {
|
|
73
|
+
<div
|
|
74
|
+
[attr.title]="unit"
|
|
75
|
+
class="ids-header-1177-admin-avatar__unit"
|
|
76
|
+
>
|
|
77
|
+
{{ unit }}
|
|
78
|
+
</div>
|
|
79
|
+
}
|
|
67
80
|
</button>
|
|
68
|
-
@if(expanded){
|
|
69
|
-
<div
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
<ng-content></ng-content>
|
|
81
|
+
@if (expanded) {
|
|
82
|
+
<div
|
|
83
|
+
[attr.id]="contentId"
|
|
84
|
+
class="ids-header-1177-admin-avatar__menu ids-header-1177-admin-avatar__menu--mobile-menu"
|
|
85
|
+
[class.ids-header-1177-admin-avatar__menu--expanded]="expanded"
|
|
86
|
+
>
|
|
87
|
+
<ng-content select="id-header-1177-admin-avatar-agent"></ng-content>
|
|
88
|
+
<div class="ids-header-1177-admin-avatar__menu-links">
|
|
89
|
+
<ng-content></ng-content>
|
|
90
|
+
</div>
|
|
75
91
|
</div>
|
|
76
|
-
</div>
|
|
77
92
|
}
|
|
93
|
+
</div>
|
|
78
94
|
</div>
|
|
79
95
|
`, isInline: true, dependencies: [{ kind: "directive", type: IDClickOutsideDirective, selector: "[idClickOutside]", outputs: ["idClickOutside"] }] });
|
|
80
96
|
}
|
|
81
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeader1177AdminAvatarComponent, decorators: [{
|
|
82
98
|
type: Component,
|
|
83
99
|
args: [{
|
|
84
|
-
selector:
|
|
100
|
+
selector: 'id-header-1177-admin-avatar',
|
|
85
101
|
template: `
|
|
86
|
-
<div
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
class="ids-header-1177-admin-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
<div
|
|
103
|
+
class="ids-header-1177-admin-avatar__avatar"
|
|
104
|
+
idClickOutside
|
|
105
|
+
(idClickOutside)="handleCloseEvent()"
|
|
106
|
+
>
|
|
107
|
+
<div
|
|
108
|
+
#menuContent
|
|
109
|
+
class="ids-header-1177-admin-avatar__menu-wrapper"
|
|
110
|
+
>
|
|
111
|
+
<button
|
|
112
|
+
(click)="toggleAvatar()"
|
|
113
|
+
[attr.aria-controls]="contentId"
|
|
114
|
+
class="ids-header-1177-admin-avatar__button"
|
|
115
|
+
[class.ids-header-1177-admin-avatar__button--expanded]="expanded"
|
|
116
|
+
[attr.aria-expanded]="expanded"
|
|
117
|
+
>
|
|
118
|
+
<div
|
|
119
|
+
class="ids-header-1177-admin-avatar__name"
|
|
120
|
+
[attr.title]="username"
|
|
121
|
+
>
|
|
122
|
+
{{ username }}
|
|
102
123
|
</div>
|
|
124
|
+
@if (unit) {
|
|
125
|
+
<div
|
|
126
|
+
[attr.title]="unit"
|
|
127
|
+
class="ids-header-1177-admin-avatar__unit"
|
|
128
|
+
>
|
|
129
|
+
{{ unit }}
|
|
130
|
+
</div>
|
|
131
|
+
}
|
|
103
132
|
</button>
|
|
104
|
-
@if(expanded){
|
|
105
|
-
<div
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<ng-content></ng-content>
|
|
133
|
+
@if (expanded) {
|
|
134
|
+
<div
|
|
135
|
+
[attr.id]="contentId"
|
|
136
|
+
class="ids-header-1177-admin-avatar__menu ids-header-1177-admin-avatar__menu--mobile-menu"
|
|
137
|
+
[class.ids-header-1177-admin-avatar__menu--expanded]="expanded"
|
|
138
|
+
>
|
|
139
|
+
<ng-content select="id-header-1177-admin-avatar-agent"></ng-content>
|
|
140
|
+
<div class="ids-header-1177-admin-avatar__menu-links">
|
|
141
|
+
<ng-content></ng-content>
|
|
142
|
+
</div>
|
|
111
143
|
</div>
|
|
112
|
-
</div>
|
|
113
144
|
}
|
|
145
|
+
</div>
|
|
114
146
|
</div>
|
|
115
147
|
`,
|
|
116
148
|
standalone: true,
|
|
117
149
|
imports: [IDClickOutsideDirective],
|
|
118
150
|
host: {
|
|
119
151
|
class: 'ids-header-1177-admin-avatar',
|
|
120
|
-
'[class.ids-header-1177-admin-avatar--unresponsive]': 'header?.unresponsive'
|
|
121
|
-
}
|
|
152
|
+
'[class.ids-header-1177-admin-avatar--unresponsive]': 'header?.unresponsive',
|
|
153
|
+
},
|
|
122
154
|
}]
|
|
123
155
|
}], ctorParameters: () => [], propDecorators: { username: [{
|
|
124
156
|
type: Input
|
|
@@ -152,12 +184,13 @@ class IDHeader1177AdminNavComponent {
|
|
|
152
184
|
<ng-content></ng-content>
|
|
153
185
|
</div>
|
|
154
186
|
</div>
|
|
155
|
-
</ng-template
|
|
187
|
+
</ng-template>
|
|
188
|
+
`, isInline: true });
|
|
156
189
|
}
|
|
157
190
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeader1177AdminNavComponent, decorators: [{
|
|
158
191
|
type: Component,
|
|
159
192
|
args: [{
|
|
160
|
-
selector:
|
|
193
|
+
selector: 'id-header-1177-admin-nav',
|
|
161
194
|
template: `
|
|
162
195
|
<ng-template>
|
|
163
196
|
<div class="ids-header-1177-admin-nav__inner">
|
|
@@ -165,8 +198,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
165
198
|
<ng-content></ng-content>
|
|
166
199
|
</div>
|
|
167
200
|
</div>
|
|
168
|
-
</ng-template
|
|
169
|
-
|
|
201
|
+
</ng-template>
|
|
202
|
+
`,
|
|
203
|
+
standalone: true,
|
|
170
204
|
}]
|
|
171
205
|
}], propDecorators: { hideOnTablet: [{
|
|
172
206
|
type: Input,
|
|
@@ -207,7 +241,7 @@ class IDHeader1177AdminComponent {
|
|
|
207
241
|
provide: ID_HEADER_CONTEXT,
|
|
208
242
|
useExisting: IDHeader1177AdminComponent,
|
|
209
243
|
},
|
|
210
|
-
], queries: [{ propertyName: "avatar", first: true, predicate: IDHeader1177AdminAvatarComponent, descendants: true }, { propertyName: "nav", first: true, predicate: IDHeader1177AdminNavComponent, descendants: true }, { propertyName: "brandLink", first: true, predicate: IDHeader1177AdminBrandLinkDirective, descendants: true }], ngImport: i0, template: "<header class=\"ids-header-1177-admin\">\n <ng-content select=\"id-header-1177-admin-skip-to-content\"></ng-content>\n <div class=\"ids-header-1177-admin__main\">\n <div class=\"ids-header-1177-admin__main-left\">\n <div class=\"ids-header-1177-admin__logo\"
|
|
244
|
+
], queries: [{ propertyName: "avatar", first: true, predicate: IDHeader1177AdminAvatarComponent, descendants: true }, { propertyName: "nav", first: true, predicate: IDHeader1177AdminNavComponent, descendants: true }, { propertyName: "brandLink", first: true, predicate: IDHeader1177AdminBrandLinkDirective, descendants: true }], ngImport: i0, template: "<header class=\"ids-header-1177-admin\">\n <ng-content select=\"id-header-1177-admin-skip-to-content\"></ng-content>\n <div class=\"ids-header-1177-admin__main\">\n <div class=\"ids-header-1177-admin__main-left\">\n <div class=\"ids-header-1177-admin__logo\">\n @if (brandLink) {\n <ng-content select=\"[idBrand1177AdminLink]\"></ng-content>\n } @else {\n <a\n [attr.href]=\"brandHref\"\n class=\"ids-header-1177-admin__logo-link\"\n [attr.aria-label]=\"srBrandLabel\"\n ></a>\n }\n </div>\n <div class=\"ids-header-1177-admin__brand\">\n @if (brandTextTop) {\n <div class=\"ids-header-1177-admin__brand-text---supplement\">{{ brandTextTop }}</div>\n }\n <div class=\"ids-header-1177-admin__brand-text\">{{ brandText }}</div>\n @if (brandTextBottom) {\n <div class=\"ids-header-1177-admin__brand-text---supplement\">{{ brandTextBottom }}</div>\n }\n </div>\n </div>\n <div class=\"ids-header-1177-admin__main-right\">\n <ng-content select=\"id-header-1177-admin-item\"></ng-content>\n <ng-content select=\"id-header-1177-admin-avatar\"></ng-content>\n <ng-content select=\"id-header-1177-admin-menu-mobile\"></ng-content>\n </div>\n </div>\n @if (nav) {\n <nav\n class=\"ids-header-1177-admin-nav\"\n aria-label=\"Huvudmeny\"\n [class.ids-header-1177-admin-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-1177-admin-nav--hide-on-tablet]=\"nav.hideOnTablet\"\n >\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
211
245
|
}
|
|
212
246
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeader1177AdminComponent, decorators: [{
|
|
213
247
|
type: Component,
|
|
@@ -216,7 +250,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
216
250
|
provide: ID_HEADER_CONTEXT,
|
|
217
251
|
useExisting: IDHeader1177AdminComponent,
|
|
218
252
|
},
|
|
219
|
-
], standalone: true, imports: [NgTemplateOutlet], template: "<header class=\"ids-header-1177-admin\">\n <ng-content select=\"id-header-1177-admin-skip-to-content\"></ng-content>\n <div class=\"ids-header-1177-admin__main\">\n <div class=\"ids-header-1177-admin__main-left\">\n <div class=\"ids-header-1177-admin__logo\"
|
|
253
|
+
], standalone: true, imports: [NgTemplateOutlet], template: "<header class=\"ids-header-1177-admin\">\n <ng-content select=\"id-header-1177-admin-skip-to-content\"></ng-content>\n <div class=\"ids-header-1177-admin__main\">\n <div class=\"ids-header-1177-admin__main-left\">\n <div class=\"ids-header-1177-admin__logo\">\n @if (brandLink) {\n <ng-content select=\"[idBrand1177AdminLink]\"></ng-content>\n } @else {\n <a\n [attr.href]=\"brandHref\"\n class=\"ids-header-1177-admin__logo-link\"\n [attr.aria-label]=\"srBrandLabel\"\n ></a>\n }\n </div>\n <div class=\"ids-header-1177-admin__brand\">\n @if (brandTextTop) {\n <div class=\"ids-header-1177-admin__brand-text---supplement\">{{ brandTextTop }}</div>\n }\n <div class=\"ids-header-1177-admin__brand-text\">{{ brandText }}</div>\n @if (brandTextBottom) {\n <div class=\"ids-header-1177-admin__brand-text---supplement\">{{ brandTextBottom }}</div>\n }\n </div>\n </div>\n <div class=\"ids-header-1177-admin__main-right\">\n <ng-content select=\"id-header-1177-admin-item\"></ng-content>\n <ng-content select=\"id-header-1177-admin-avatar\"></ng-content>\n <ng-content select=\"id-header-1177-admin-menu-mobile\"></ng-content>\n </div>\n </div>\n @if (nav) {\n <nav\n class=\"ids-header-1177-admin-nav\"\n aria-label=\"Huvudmeny\"\n [class.ids-header-1177-admin-nav--unresponsive]=\"unresponsive\"\n [class.ids-header-1177-admin-nav--hide-on-tablet]=\"nav.hideOnTablet\"\n >\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>\n" }]
|
|
220
254
|
}], propDecorators: { brandText: [{
|
|
221
255
|
type: Input
|
|
222
256
|
}], brandTextTop: [{
|
|
@@ -514,19 +548,17 @@ class IDHeader1177AdminNavItemComponent {
|
|
|
514
548
|
}
|
|
515
549
|
}
|
|
516
550
|
expandItem() {
|
|
517
|
-
this.active = true;
|
|
518
551
|
this.expanded = true;
|
|
519
552
|
this.expandedChange.emit(true);
|
|
520
553
|
this.activeChange.emit(true);
|
|
521
554
|
}
|
|
522
555
|
closeItem() {
|
|
523
|
-
this.active = false;
|
|
524
556
|
this.expanded = false;
|
|
525
557
|
this.expandedChange.emit(false);
|
|
526
558
|
this.activeChange.emit(false);
|
|
527
559
|
}
|
|
528
560
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IDHeader1177AdminNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
529
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeader1177AdminNavItemComponent, isStandalone: true, selector: "id-header-1177-admin-nav-item", inputs: { label: "label", notifications: "notifications", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-1177-admin-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-1177-admin-nav-item--active": "active", "attr.aria-current": "active", "class.ids-header-1177-admin-nav-item--expanded": "expanded" }, classAttribute: "ids-header-1177-admin-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: `
|
|
561
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: IDHeader1177AdminNavItemComponent, isStandalone: true, selector: "id-header-1177-admin-nav-item", inputs: { label: "label", notifications: "notifications", active: ["active", "active", booleanAttribute], expanded: ["expanded", "expanded", booleanAttribute] }, outputs: { activeChange: "activeChange", expandedChange: "expandedChange" }, host: { properties: { "class.ids-header-1177-admin-nav-item--unresponsive": "header?.unresponsive", "class.ids-header-1177-admin-nav-item--active": "active || expanded", "attr.aria-current": "active", "class.ids-header-1177-admin-nav-item--expanded": "expanded" }, classAttribute: "ids-header-1177-admin-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: `
|
|
530
562
|
<div
|
|
531
563
|
idClickOutside
|
|
532
564
|
(idClickOutside)="closeItem()">
|
|
@@ -608,7 +640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
608
640
|
host: {
|
|
609
641
|
class: 'ids-header-1177-admin-nav-item',
|
|
610
642
|
'[class.ids-header-1177-admin-nav-item--unresponsive]': 'header?.unresponsive',
|
|
611
|
-
'[class.ids-header-1177-admin-nav-item--active]': 'active',
|
|
643
|
+
'[class.ids-header-1177-admin-nav-item--active]': 'active || expanded',
|
|
612
644
|
'[attr.aria-current]': 'active',
|
|
613
645
|
'[class.ids-header-1177-admin-nav-item--expanded]': 'expanded'
|
|
614
646
|
}
|