@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.
Files changed (91) hide show
  1. package/components/accordion/accordion.component.d.ts +4 -3
  2. package/components/dropdown/dropdown.component.d.ts +5 -1
  3. package/components/footer-inera/footer-inera-sub-footer-mobile-text.component.d.ts +5 -0
  4. package/components/footer-inera/footer-inera.component.d.ts +1 -1
  5. package/components/footer-inera/footer-inera.module.d.ts +2 -1
  6. package/components/footer-inera/public-api.d.ts +1 -0
  7. package/components/footer-inera-admin/footer-inera-admin-sub-footer-mobile-text.component.d.ts +5 -0
  8. package/components/footer-inera-admin/footer-inera-admin.component.d.ts +1 -1
  9. package/components/footer-inera-admin/footer-inera-admin.module.d.ts +2 -1
  10. package/components/footer-inera-admin/public-api.d.ts +1 -0
  11. package/components/footer-inera-general/footer-inera-general-col.component.d.ts +13 -0
  12. package/components/footer-inera-general/footer-inera-general-sub-footer-left.component.d.ts +5 -0
  13. package/components/footer-inera-general/footer-inera-general-sub-footer-mobile-text.component.d.ts +5 -0
  14. package/components/footer-inera-general/footer-inera-general-sub-footer-mobile.component.d.ts +5 -0
  15. package/components/footer-inera-general/footer-inera-general-sub-footer-right.component.d.ts +5 -0
  16. package/components/footer-inera-general/footer-inera-general-text.component.d.ts +5 -0
  17. package/components/footer-inera-general/footer-inera-general.component.d.ts +12 -0
  18. package/components/footer-inera-general/footer-inera-general.module.d.ts +12 -0
  19. package/components/footer-inera-general/index.d.ts +5 -0
  20. package/components/footer-inera-general/public-api.d.ts +8 -0
  21. package/components/global-alert/global-alert.component.d.ts +1 -3
  22. package/components/header-1177-admin/avatar/header-1177-admin-avatar.component.d.ts +2 -2
  23. package/components/header-1177-admin/nav/header-1177-admin-nav.component.d.ts +1 -1
  24. package/components/header-1177-pro/avatar-mobile/header-1177-pro-avatar-mobile.component.d.ts +2 -2
  25. package/components/header-1177-pro/header-1177-pro.component.d.ts +4 -4
  26. package/components/header-1177-pro/nav/header-1177-pro-nav.component.d.ts +1 -1
  27. package/components/header-1177-pro/region-picker-mobile/header-1177-pro-region-picker-mobile.component.d.ts +4 -2
  28. package/components/header-inera-admin/nav/header-inera-admin-nav.component.d.ts +3 -1
  29. package/components/header-inera-general/brand-link/header-inera-general-brand-link.directive.d.ts +5 -0
  30. package/components/header-inera-general/header-inera-general.component.d.ts +18 -0
  31. package/components/header-inera-general/header-inera-general.module.d.ts +14 -0
  32. package/components/header-inera-general/index.d.ts +5 -0
  33. package/components/header-inera-general/item/header-inera-general-item.component.d.ts +10 -0
  34. package/components/header-inera-general/menu-mobile/header-inera-general-menu-mobile.component.d.ts +10 -0
  35. package/components/header-inera-general/nav/header-inera-general-nav.component.d.ts +9 -0
  36. package/components/header-inera-general/nav-item/header-inera-general-nav-item.component.d.ts +25 -0
  37. package/components/header-inera-general/nav-item-menu-link/header-inera-general-nav-item-menu-link.component.d.ts +5 -0
  38. package/components/header-inera-general/public-api.d.ts +9 -0
  39. package/components/header-inera-general/skip-to-content/header-inera-general-skip-to-content.component.d.ts +5 -0
  40. package/components/popover/popover-content.component.d.ts +4 -1
  41. package/components/popover/popover.component.d.ts +17 -8
  42. package/components/stepper/step.component.d.ts +2 -2
  43. package/components/toolbar/index.d.ts +5 -0
  44. package/components/toolbar/public-api.d.ts +1 -0
  45. package/components/toolbar/toolbar.component.d.ts +5 -0
  46. package/components/tooltip/tooltip.component.d.ts +17 -4
  47. package/fesm2022/inera-ids-angular-components-accordion.mjs +10 -5
  48. package/fesm2022/inera-ids-angular-components-accordion.mjs.map +1 -1
  49. package/fesm2022/inera-ids-angular-components-action-link.mjs +25 -9
  50. package/fesm2022/inera-ids-angular-components-action-link.mjs.map +1 -1
  51. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs +2 -2
  52. package/fesm2022/inera-ids-angular-components-breadcrumbs.mjs.map +1 -1
  53. package/fesm2022/inera-ids-angular-components-button.mjs +1 -1
  54. package/fesm2022/inera-ids-angular-components-button.mjs.map +1 -1
  55. package/fesm2022/inera-ids-angular-components-card.mjs +2 -2
  56. package/fesm2022/inera-ids-angular-components-card.mjs.map +1 -1
  57. package/fesm2022/inera-ids-angular-components-dialog.mjs +2 -2
  58. package/fesm2022/inera-ids-angular-components-dialog.mjs.map +1 -1
  59. package/fesm2022/inera-ids-angular-components-dropdown.mjs +40 -13
  60. package/fesm2022/inera-ids-angular-components-dropdown.mjs.map +1 -1
  61. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs +25 -5
  62. package/fesm2022/inera-ids-angular-components-footer-inera-admin.mjs.map +1 -1
  63. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs +214 -0
  64. package/fesm2022/inera-ids-angular-components-footer-inera-general.mjs.map +1 -0
  65. package/fesm2022/inera-ids-angular-components-footer-inera.mjs +25 -5
  66. package/fesm2022/inera-ids-angular-components-footer-inera.mjs.map +1 -1
  67. package/fesm2022/inera-ids-angular-components-global-alert.mjs +3 -9
  68. package/fesm2022/inera-ids-angular-components-global-alert.mjs.map +1 -1
  69. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs +95 -63
  70. package/fesm2022/inera-ids-angular-components-header-1177-admin.mjs.map +1 -1
  71. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs +110 -84
  72. package/fesm2022/inera-ids-angular-components-header-1177-pro.mjs.map +1 -1
  73. package/fesm2022/inera-ids-angular-components-header-1177.mjs +2 -4
  74. package/fesm2022/inera-ids-angular-components-header-1177.mjs.map +1 -1
  75. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs +15 -16
  76. package/fesm2022/inera-ids-angular-components-header-inera-admin.mjs.map +1 -1
  77. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs +425 -0
  78. package/fesm2022/inera-ids-angular-components-header-inera-general.mjs.map +1 -0
  79. package/fesm2022/inera-ids-angular-components-header-inera.mjs +2 -4
  80. package/fesm2022/inera-ids-angular-components-header-inera.mjs.map +1 -1
  81. package/fesm2022/inera-ids-angular-components-popover.mjs +176 -50
  82. package/fesm2022/inera-ids-angular-components-popover.mjs.map +1 -1
  83. package/fesm2022/inera-ids-angular-components-puff-list.mjs +29 -17
  84. package/fesm2022/inera-ids-angular-components-puff-list.mjs.map +1 -1
  85. package/fesm2022/inera-ids-angular-components-stepper.mjs +7 -7
  86. package/fesm2022/inera-ids-angular-components-stepper.mjs.map +1 -1
  87. package/fesm2022/inera-ids-angular-components-toolbar.mjs +18 -0
  88. package/fesm2022/inera-ids-angular-components-toolbar.mjs.map +1 -0
  89. package/fesm2022/inera-ids-angular-components-tooltip.mjs +139 -33
  90. package/fesm2022/inera-ids-angular-components-tooltip.mjs.map +1 -1
  91. 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,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,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,6BAA6B;wBAC7B,iCAAiC;wBACjC,gCAAgC;wBAChC,2CAA2C;wBAC3C,0CAA0C;wBAC1C,4CAA4C;AAC7C,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,6BAA6B;wBAC7B,iCAAiC;wBACjC,gCAAgC;wBAChC,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: "\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\u00E5 uppdrag av Sveriges regioner</p>\n </div>\n </div>\n </div>\n</footer>", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
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: "\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\u00E5 uppdrag av Sveriges regioner</p>\n </div>\n </div>\n </div>\n</footer>" }]
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], exports: [IDFooterIneraComponent,
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,E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A,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAhB5B,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,oCAAoC;YACpC,mCAAmC;AACnC,YAAA,qCAAqC,aAGrC,sBAAsB;YACtB,0BAA0B;YAC1B,yBAAyB;YACzB,oCAAoC;YACpC,mCAAmC;YACnC,qCAAqC,CAAA,EAAA,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 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
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: { hideMobileIcon: ["hideMobileIcon", "hideMobileIcon", booleanAttribute], 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 class=\"ids-global-alert__button\" [class.ids-global-alert__button--expanded]=\"!collapsed\"\n [attr.aria-label]=\"this.collapsed ? this.srExpandText : this.srCollapseText\" [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"!collapsed\" (click)=\"toggleExpanded()\">\n <div class=\"ids-global-alert__icon-headline\" [class.ids-global-alert__icon-headline--agent]=\"agent\">\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 [attr.id]=\"contentId\" class=\"ids-global-alert__content\" [attr.aria-hidden]=\"collapsed ? 'true' : 'false'\">\n <ng-content select=\":not(id-global-alert-header):not(id-global-alert-actions)\"></ng-content>\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</div>", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
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 class=\"ids-global-alert__button\" [class.ids-global-alert__button--expanded]=\"!collapsed\"\n [attr.aria-label]=\"this.collapsed ? this.srExpandText : this.srCollapseText\" [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"!collapsed\" (click)=\"toggleExpanded()\">\n <div class=\"ids-global-alert__icon-headline\" [class.ids-global-alert__icon-headline--agent]=\"agent\">\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 [attr.id]=\"contentId\" class=\"ids-global-alert__content\" [attr.aria-hidden]=\"collapsed ? 'true' : 'false'\">\n <ng-content select=\":not(id-global-alert-header):not(id-global-alert-actions)\"></ng-content>\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</div>" }]
106
- }], propDecorators: { hideMobileIcon: [{
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 }) hideMobileIcon: boolean = false;\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 if (this.hideMobileIcon && !this.agent) classes.push('ids-global-alert--hide-icon-on-m');\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 class=\"ids-global-alert__button\" [class.ids-global-alert__button--expanded]=\"!collapsed\"\n [attr.aria-label]=\"this.collapsed ? this.srExpandText : this.srCollapseText\" [attr.aria-controls]=\"contentId\"\n [attr.aria-expanded]=\"!collapsed\" (click)=\"toggleExpanded()\">\n <div class=\"ids-global-alert__icon-headline\" [class.ids-global-alert__icon-headline--agent]=\"agent\">\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 [attr.id]=\"contentId\" class=\"ids-global-alert__content\" [attr.aria-hidden]=\"collapsed ? 'true' : 'false'\">\n <ng-content select=\":not(id-global-alert-header):not(id-global-alert-actions)\"></ng-content>\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</div>","/**\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,Q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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,8mCAAA,EAAA;8BAOuC,cAAc,EAAA,CAAA;sBAArD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBACE,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;;;AE7CH;;AAEG;;;;"}
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;kB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ADZ;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 class="ids-header-1177-admin-avatar__avatar"
51
- idClickOutside
52
- (idClickOutside)="handleCloseEvent()">
53
- <div #menuContent class="ids-header-1177-admin-avatar__menu-wrapper">
54
- <button
55
- (click)="toggleAvatar()"
56
- [attr.aria-controls]="contentId"
57
- class="ids-header-1177-admin-avatar__button"
58
- [class.ids-header-1177-admin-avatar__button--expanded]="expanded"
59
- [attr.aria-expanded]="expanded">
60
- <div class="ids-header-1177-admin-avatar__name" [attr.title]="username">
61
- {{username}}
62
- @if(unit) {
63
- <span class="ids-header-1177-admin-avatar__unit-separator">|</span>
64
- <span [attr.title]="unit" class="ids-header-1177-admin-avatar__unit">{{unit}} </span>
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 [attr.id]="contentId"
70
- class="ids-header-1177-admin-avatar__menu ids-header-1177-admin-avatar__menu--mobile-menu"
71
- [class.ids-header-1177-admin-avatar__menu--expanded]="expanded">
72
- <ng-content select="id-header-1177-admin-avatar-agent"></ng-content>
73
- <div class="ids-header-1177-admin-avatar__menu-links">
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: "id-header-1177-admin-avatar",
100
+ selector: 'id-header-1177-admin-avatar',
85
101
  template: `
86
- <div class="ids-header-1177-admin-avatar__avatar"
87
- idClickOutside
88
- (idClickOutside)="handleCloseEvent()">
89
- <div #menuContent class="ids-header-1177-admin-avatar__menu-wrapper">
90
- <button
91
- (click)="toggleAvatar()"
92
- [attr.aria-controls]="contentId"
93
- class="ids-header-1177-admin-avatar__button"
94
- [class.ids-header-1177-admin-avatar__button--expanded]="expanded"
95
- [attr.aria-expanded]="expanded">
96
- <div class="ids-header-1177-admin-avatar__name" [attr.title]="username">
97
- {{username}}
98
- @if(unit) {
99
- <span class="ids-header-1177-admin-avatar__unit-separator">|</span>
100
- <span [attr.title]="unit" class="ids-header-1177-admin-avatar__unit">{{unit}} </span>
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 [attr.id]="contentId"
106
- class="ids-header-1177-admin-avatar__menu ids-header-1177-admin-avatar__menu--mobile-menu"
107
- [class.ids-header-1177-admin-avatar__menu--expanded]="expanded">
108
- <ng-content select="id-header-1177-admin-avatar-agent"></ng-content>
109
- <div class="ids-header-1177-admin-avatar__menu-links">
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>`, isInline: true });
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: "id-header-1177-admin-nav",
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
- standalone: true
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\"> \n @if(brandLink) {\n <ng-content select=\"[idBrand1177AdminLink]\"></ng-content>\n } @else {\n <a [attr.href]=\"brandHref\" class=\"ids-header-1177-admin__logo-link\" [attr.aria-label]=\"srBrandLabel\"> </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 class=\"ids-header-1177-admin-nav\"\n [class.ids-header-1177-admin__nav--unresponsive]=\"unresponsive\"\n [class.ids-header-1177-admin__nav--hide-on-tablet]=\"nav.hideOnTablet\">\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
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\"> \n @if(brandLink) {\n <ng-content select=\"[idBrand1177AdminLink]\"></ng-content>\n } @else {\n <a [attr.href]=\"brandHref\" class=\"ids-header-1177-admin__logo-link\" [attr.aria-label]=\"srBrandLabel\"> </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 class=\"ids-header-1177-admin-nav\"\n [class.ids-header-1177-admin__nav--unresponsive]=\"unresponsive\"\n [class.ids-header-1177-admin__nav--hide-on-tablet]=\"nav.hideOnTablet\">\n <ng-container *ngTemplateOutlet=\"nav.template\"></ng-container>\n </nav>\n }\n</header>" }]
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
  }