@hmcts/opal-frontend-common 0.0.64 → 0.0.66

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 (144) hide show
  1. package/fesm2022/{hmcts-opal-frontend-common-access-denied.component-CWImMW7J.mjs → hmcts-opal-frontend-common-access-denied.component-w1dJPEXZ.mjs} +4 -4
  2. package/fesm2022/{hmcts-opal-frontend-common-access-denied.component-CWImMW7J.mjs.map → hmcts-opal-frontend-common-access-denied.component-w1dJPEXZ.mjs.map} +1 -1
  3. package/fesm2022/{hmcts-opal-frontend-common-account-created.component-C-iCns7b.mjs → hmcts-opal-frontend-common-account-created.component-BGV9_IhY.mjs} +4 -4
  4. package/fesm2022/{hmcts-opal-frontend-common-account-created.component-C-iCns7b.mjs.map → hmcts-opal-frontend-common-account-created.component-BGV9_IhY.mjs.map} +1 -1
  5. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs +3 -3
  6. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs +3 -3
  7. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs +3 -3
  8. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs +3 -3
  9. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs +3 -3
  10. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs +8 -8
  11. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs.map +1 -1
  12. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs +10 -10
  13. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs.map +1 -1
  14. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs +10 -10
  15. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs.map +1 -1
  16. package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs +3 -3
  17. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.mjs +3 -3
  18. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.mjs +3 -3
  19. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.mjs +3 -3
  20. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information.mjs +3 -3
  21. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs +3 -3
  22. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs +3 -3
  23. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs +3 -3
  24. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.mjs +3 -3
  25. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.mjs +3 -3
  26. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.mjs +3 -3
  27. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.mjs +3 -3
  28. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.mjs +3 -3
  29. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.mjs +3 -3
  30. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.mjs +3 -3
  31. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.mjs +3 -3
  32. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs +3 -3
  33. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs +3 -3
  34. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs +3 -3
  35. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs +3 -3
  36. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs +3 -3
  37. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs +12 -12
  38. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs +3 -3
  39. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs +3 -3
  40. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.mjs +3 -3
  41. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs +3 -3
  42. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs +6 -6
  43. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs +3 -3
  44. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs +3 -3
  45. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.mjs +3 -3
  46. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list.mjs +3 -3
  47. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs +3 -3
  48. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs +5 -5
  49. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs.map +1 -1
  50. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs +3 -3
  51. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs +12 -12
  52. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs +3 -3
  53. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs +14 -7
  54. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs.map +1 -1
  55. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs +12 -12
  56. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs +12 -12
  57. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +3 -3
  58. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs +3 -3
  59. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs +3 -3
  60. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs +3 -3
  61. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs +6 -6
  62. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs +5 -5
  63. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs.map +1 -1
  64. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs +3 -3
  65. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs +3 -3
  66. package/fesm2022/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.mjs +3 -3
  67. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs +26 -22
  68. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs.map +1 -1
  69. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs +3 -3
  70. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.mjs +3 -3
  71. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs +3 -3
  72. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs +3 -3
  73. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.mjs +3 -3
  74. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-item.mjs +3 -3
  75. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-keyword.mjs +3 -3
  76. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.mjs +3 -3
  77. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.mjs +3 -3
  78. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.mjs +3 -3
  79. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.mjs +3 -3
  80. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter.mjs +3 -3
  81. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs +6 -6
  82. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-inset-text.mjs +3 -3
  83. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs +3 -3
  84. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs +3 -3
  85. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs +5 -5
  86. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs.map +1 -1
  87. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs +6 -6
  88. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs +18 -18
  89. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs +6 -6
  90. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs +3 -3
  91. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs +6 -6
  92. package/fesm2022/{hmcts-opal-frontend-common-concurrency-failure.component-Cn-ShVc5.mjs → hmcts-opal-frontend-common-concurrency-failure.component-CusyW-5x.mjs} +4 -4
  93. package/fesm2022/{hmcts-opal-frontend-common-concurrency-failure.component-Cn-ShVc5.mjs.map → hmcts-opal-frontend-common-concurrency-failure.component-CusyW-5x.mjs.map} +1 -1
  94. package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs +3 -3
  95. package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs +3 -3
  96. package/fesm2022/hmcts-opal-frontend-common-directives-moj-multi-select.mjs +232 -0
  97. package/fesm2022/hmcts-opal-frontend-common-directives-moj-multi-select.mjs.map +1 -0
  98. package/fesm2022/{hmcts-opal-frontend-common-internal-server-error.component-DVPQlZoD.mjs → hmcts-opal-frontend-common-internal-server-error.component-CQy0fEO7.mjs} +5 -5
  99. package/fesm2022/{hmcts-opal-frontend-common-internal-server-error.component-DVPQlZoD.mjs.map → hmcts-opal-frontend-common-internal-server-error.component-CQy0fEO7.mjs.map} +1 -1
  100. package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-CWImMW7J.mjs → hmcts-opal-frontend-common-pages-access-denied.component-w1dJPEXZ.mjs} +4 -4
  101. package/fesm2022/{hmcts-opal-frontend-common-pages-access-denied.component-CWImMW7J.mjs.map → hmcts-opal-frontend-common-pages-access-denied.component-w1dJPEXZ.mjs.map} +1 -1
  102. package/fesm2022/{hmcts-opal-frontend-common-pages-account-created.component-C-iCns7b.mjs → hmcts-opal-frontend-common-pages-account-created.component-BGV9_IhY.mjs} +4 -4
  103. package/fesm2022/{hmcts-opal-frontend-common-pages-account-created.component-C-iCns7b.mjs.map → hmcts-opal-frontend-common-pages-account-created.component-BGV9_IhY.mjs.map} +1 -1
  104. package/fesm2022/{hmcts-opal-frontend-common-pages-concurrency-failure.component-Cn-ShVc5.mjs → hmcts-opal-frontend-common-pages-concurrency-failure.component-CusyW-5x.mjs} +4 -4
  105. package/fesm2022/{hmcts-opal-frontend-common-pages-concurrency-failure.component-Cn-ShVc5.mjs.map → hmcts-opal-frontend-common-pages-concurrency-failure.component-CusyW-5x.mjs.map} +1 -1
  106. package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page.mjs +4 -4
  107. package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page.mjs.map +1 -1
  108. package/fesm2022/{hmcts-opal-frontend-common-pages-internal-server-error.component-DVPQlZoD.mjs → hmcts-opal-frontend-common-pages-internal-server-error.component-CQy0fEO7.mjs} +5 -5
  109. package/fesm2022/{hmcts-opal-frontend-common-pages-internal-server-error.component-DVPQlZoD.mjs.map → hmcts-opal-frontend-common-pages-internal-server-error.component-CQy0fEO7.mjs.map} +1 -1
  110. package/fesm2022/{hmcts-opal-frontend-common-pages-permission-denied.component-CrhYr8aM.mjs → hmcts-opal-frontend-common-pages-permission-denied.component-aaJXImkm.mjs} +4 -4
  111. package/fesm2022/{hmcts-opal-frontend-common-pages-permission-denied.component-CrhYr8aM.mjs.map → hmcts-opal-frontend-common-pages-permission-denied.component-aaJXImkm.mjs.map} +1 -1
  112. package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-CqOrm5qQ.mjs → hmcts-opal-frontend-common-pages-sign-in-stub.component-CvKDXRlr.mjs} +4 -4
  113. package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in-stub.component-CqOrm5qQ.mjs.map → hmcts-opal-frontend-common-pages-sign-in-stub.component-CvKDXRlr.mjs.map} +1 -1
  114. package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-P8JcHzpe.mjs → hmcts-opal-frontend-common-pages-sign-in.component-kFJamxkB.mjs} +4 -4
  115. package/fesm2022/{hmcts-opal-frontend-common-pages-sign-in.component-P8JcHzpe.mjs.map → hmcts-opal-frontend-common-pages-sign-in.component-kFJamxkB.mjs.map} +1 -1
  116. package/fesm2022/hmcts-opal-frontend-common-pages.mjs +6 -6
  117. package/fesm2022/{hmcts-opal-frontend-common-permission-denied.component-CrhYr8aM.mjs → hmcts-opal-frontend-common-permission-denied.component-aaJXImkm.mjs} +4 -4
  118. package/fesm2022/{hmcts-opal-frontend-common-permission-denied.component-CrhYr8aM.mjs.map → hmcts-opal-frontend-common-permission-denied.component-aaJXImkm.mjs.map} +1 -1
  119. package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs +3 -3
  120. package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs +3 -3
  121. package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs +3 -3
  122. package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs +3 -3
  123. package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs +3 -3
  124. package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs +3 -3
  125. package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs +3 -3
  126. package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs +3 -3
  127. package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +3 -3
  128. package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs +3 -3
  129. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs +3 -3
  130. package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs +3 -3
  131. package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs +3 -3
  132. package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs +3 -3
  133. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs +3 -3
  134. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +3 -3
  135. package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs +3 -3
  136. package/fesm2022/{hmcts-opal-frontend-common-sign-in-stub.component-CqOrm5qQ.mjs → hmcts-opal-frontend-common-sign-in-stub.component-CvKDXRlr.mjs} +4 -4
  137. package/fesm2022/{hmcts-opal-frontend-common-sign-in-stub.component-CqOrm5qQ.mjs.map → hmcts-opal-frontend-common-sign-in-stub.component-CvKDXRlr.mjs.map} +1 -1
  138. package/fesm2022/{hmcts-opal-frontend-common-sign-in.component-HUJ3zyjB.mjs → hmcts-opal-frontend-common-sign-in.component-CclFCycj.mjs} +4 -4
  139. package/fesm2022/{hmcts-opal-frontend-common-sign-in.component-HUJ3zyjB.mjs.map → hmcts-opal-frontend-common-sign-in.component-CclFCycj.mjs.map} +1 -1
  140. package/fesm2022/hmcts-opal-frontend-common.mjs +6 -6
  141. package/package.json +6 -1
  142. package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.d.ts +3 -1
  143. package/types/hmcts-opal-frontend-common-components-moj-moj-alert.d.ts +2 -1
  144. package/types/hmcts-opal-frontend-common-directives-moj-multi-select.d.ts +115 -0
@@ -5,10 +5,10 @@ import { NgClass } from '@angular/common';
5
5
  class GovukInsetTextComponent {
6
6
  insetTextId;
7
7
  classes = null;
8
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukInsetTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukInsetTextComponent, isStandalone: true, selector: "opal-lib-govuk-inset-text", inputs: { insetTextId: "insetTextId", classes: "classes" }, ngImport: i0, template: "<div class=\"govuk-inset-text\" [id]=\"insetTextId\" [ngClass]=\"classes ? classes : null\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
8
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukInsetTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukInsetTextComponent, isStandalone: true, selector: "opal-lib-govuk-inset-text", inputs: { insetTextId: "insetTextId", classes: "classes" }, ngImport: i0, template: "<div class=\"govuk-inset-text\" [id]=\"insetTextId\" [ngClass]=\"classes ? classes : null\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukInsetTextComponent, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukInsetTextComponent, decorators: [{
12
12
  type: Component,
13
13
  args: [{ selector: 'opal-lib-govuk-inset-text', imports: [NgClass], template: "<div class=\"govuk-inset-text\" [id]=\"insetTextId\" [ngClass]=\"classes ? classes : null\">\n <ng-content></ng-content>\n</div>\n" }]
14
14
  }], propDecorators: { insetTextId: [{
@@ -10,10 +10,10 @@ class GovukListLinkComponent {
10
10
  }
11
11
  this.linkClickEvent.emit();
12
12
  }
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukListLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukListLinkComponent, isStandalone: true, selector: "opal-lib-govuk-list-link", inputs: { linkText: "linkText" }, outputs: { linkClickEvent: "linkClickEvent" }, ngImport: i0, template: "<li>\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleClick($event)\">\n {{ linkText }}\n </a>\n</li>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukListLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukListLinkComponent, isStandalone: true, selector: "opal-lib-govuk-list-link", inputs: { linkText: "linkText" }, outputs: { linkClickEvent: "linkClickEvent" }, ngImport: i0, template: "<li>\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleClick($event)\">\n {{ linkText }}\n </a>\n</li>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukListLinkComponent, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukListLinkComponent, decorators: [{
17
17
  type: Component,
18
18
  args: [{ selector: 'opal-lib-govuk-list-link', changeDetection: ChangeDetectionStrategy.OnPush, template: "<li>\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleClick($event)\">\n {{ linkText }}\n </a>\n</li>\n" }]
19
19
  }], propDecorators: { linkText: [{
@@ -2,10 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { Component } from '@angular/core';
3
3
 
4
4
  class GovukListComponent {
5
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukListComponent, isStandalone: true, selector: "opal-lib-govuk-list", ngImport: i0, template: "<ul class=\"govuk-list\">\n <ng-content></ng-content>\n</ul>\n" });
5
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukListComponent, isStandalone: true, selector: "opal-lib-govuk-list", ngImport: i0, template: "<ul class=\"govuk-list\">\n <ng-content></ng-content>\n</ul>\n" });
7
7
  }
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukListComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukListComponent, decorators: [{
9
9
  type: Component,
10
10
  args: [{ selector: 'opal-lib-govuk-list', template: "<ul class=\"govuk-list\">\n <ng-content></ng-content>\n</ul>\n" }]
11
11
  }] });
@@ -15,10 +15,10 @@ class GovukNotificationBannerComponent {
15
15
  get computedTitleId() {
16
16
  return this.titleId ?? this.generatedTitleId;
17
17
  }
18
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukNotificationBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukNotificationBannerComponent, isStandalone: true, selector: "opal-lib-govuk-notification-banner", inputs: { titleText: "titleText", headingText: "headingText", messageText: "messageText", type: "type", titleId: "titleId" }, ngImport: i0, template: "<div\n class=\"govuk-notification-banner govuk-notification-banner--{{ type }}\"\n role=\"alert\"\n [attr.aria-labelledby]=\"computedTitleId\"\n data-module=\"govuk-notification-banner\"\n>\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" [id]=\"computedTitleId\">\n {{ titleText }}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <h3 class=\"govuk-notification-banner__heading\">\n {{ headingText }}\n </h3>\n <p class=\"govuk-body\">\n {{ messageText }}\n </p>\n </div>\n</div>\n" });
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukNotificationBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukNotificationBannerComponent, isStandalone: true, selector: "opal-lib-govuk-notification-banner", inputs: { titleText: "titleText", headingText: "headingText", messageText: "messageText", type: "type", titleId: "titleId" }, ngImport: i0, template: "<div\n class=\"govuk-notification-banner govuk-notification-banner--{{ type }}\"\n role=\"alert\"\n [attr.aria-labelledby]=\"computedTitleId\"\n data-module=\"govuk-notification-banner\"\n>\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" [id]=\"computedTitleId\">\n {{ titleText }}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <h3 class=\"govuk-notification-banner__heading\">\n {{ headingText }}\n </h3>\n <p class=\"govuk-body\">\n {{ messageText }}\n </p>\n </div>\n</div>\n" });
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukNotificationBannerComponent, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukNotificationBannerComponent, decorators: [{
22
22
  type: Component,
23
23
  args: [{ selector: 'opal-lib-govuk-notification-banner', imports: [], template: "<div\n class=\"govuk-notification-banner govuk-notification-banner--{{ type }}\"\n role=\"alert\"\n [attr.aria-labelledby]=\"computedTitleId\"\n data-module=\"govuk-notification-banner\"\n>\n <div class=\"govuk-notification-banner__header\">\n <h2 class=\"govuk-notification-banner__title\" [id]=\"computedTitleId\">\n {{ titleText }}\n </h2>\n </div>\n <div class=\"govuk-notification-banner__content\">\n <h3 class=\"govuk-notification-banner__heading\">\n {{ headingText }}\n </h3>\n <p class=\"govuk-body\">\n {{ messageText }}\n </p>\n </div>\n</div>\n" }]
24
24
  }], propDecorators: { titleText: [{
@@ -6,8 +6,8 @@ class GovukPaginationComponent {
6
6
  total = 0;
7
7
  limit = 25;
8
8
  changePage = new EventEmitter();
9
- pages = signal([], ...(ngDevMode ? [{ debugName: "pages" }] : []));
10
- elipsedPages = signal([], ...(ngDevMode ? [{ debugName: "elipsedPages" }] : []));
9
+ pages = signal([], ...(ngDevMode ? [{ debugName: "pages" }] : /* istanbul ignore next */ []));
10
+ elipsedPages = signal([], ...(ngDevMode ? [{ debugName: "elipsedPages" }] : /* istanbul ignore next */ []));
11
11
  ELIPSIS = '...';
12
12
  /**
13
13
  * Calculates the number of pages based on the total number of items and the limit per page.
@@ -62,10 +62,10 @@ class GovukPaginationComponent {
62
62
  ngOnChanges() {
63
63
  this.calculatePages();
64
64
  }
65
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
66
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukPaginationComponent, isStandalone: true, selector: "opal-lib-govuk-pagination", inputs: { currentPage: "currentPage", total: "total", limit: "limit" }, outputs: { changePage: "changePage" }, usesOnChanges: true, ngImport: i0, template: "@if (pages().length > 1) {\n <nav class=\"govuk-pagination\" role=\"navigation\" aria-label=\"results\">\n @if (currentPage > 1) {\n <div class=\"govuk-pagination__prev\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"prev\"\n (click)=\"onPageChanged($event, currentPage - 1)\"\n >\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--prev\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"\n ></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">Previous<span class=\"govuk-visually-hidden\"> page </span></span></a\n >\n </div>\n }\n <ul class=\"govuk-pagination__list\">\n @for (page of elipsedPages(); track page + '-' + $index) {\n <li\n class=\"govuk-pagination__item\"\n [class.govuk-pagination__item--current]=\"page === currentPage\"\n [class.govuk-pagination__item--ellipses]=\"page === ELIPSIS\"\n [attr.aria-current]=\"page === currentPage ? 'page' : null\"\n >\n @if (page === ELIPSIS) {\n &ctdot;\n }\n @if (page !== ELIPSIS) {\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n (click)=\"onPageChanged($event, +page)\"\n [attr.aria-label]=\"'Page ' + page\"\n data-test-page-button\n >{{ page }}</a\n >\n }\n </li>\n }\n </ul>\n @if (currentPage < pages().length) {\n <div class=\"govuk-pagination__next\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"next\"\n (click)=\"onPageChanged($event, currentPage + 1)\"\n >\n <span class=\"govuk-pagination__link-title\">Next<span class=\"govuk-visually-hidden\"> page </span></span>\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--next\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"\n ></path>\n </svg>\n </a>\n </div>\n }\n </nav>\n}\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukPaginationComponent, isStandalone: true, selector: "opal-lib-govuk-pagination", inputs: { currentPage: "currentPage", total: "total", limit: "limit" }, outputs: { changePage: "changePage" }, usesOnChanges: true, ngImport: i0, template: "@if (pages().length > 1) {\n <nav class=\"govuk-pagination\" role=\"navigation\" aria-label=\"results\">\n @if (currentPage > 1) {\n <div class=\"govuk-pagination__prev\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"prev\"\n (click)=\"onPageChanged($event, currentPage - 1)\"\n >\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--prev\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"\n ></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">Previous<span class=\"govuk-visually-hidden\"> page </span></span></a\n >\n </div>\n }\n <ul class=\"govuk-pagination__list\">\n @for (page of elipsedPages(); track page + '-' + $index) {\n <li\n class=\"govuk-pagination__item\"\n [class.govuk-pagination__item--current]=\"page === currentPage\"\n [class.govuk-pagination__item--ellipses]=\"page === ELIPSIS\"\n [attr.aria-current]=\"page === currentPage ? 'page' : null\"\n >\n @if (page === ELIPSIS) {\n &ctdot;\n }\n @if (page !== ELIPSIS) {\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n (click)=\"onPageChanged($event, +page)\"\n [attr.aria-label]=\"'Page ' + page\"\n data-test-page-button\n >{{ page }}</a\n >\n }\n </li>\n }\n </ul>\n @if (currentPage < pages().length) {\n <div class=\"govuk-pagination__next\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"next\"\n (click)=\"onPageChanged($event, currentPage + 1)\"\n >\n <span class=\"govuk-pagination__link-title\">Next<span class=\"govuk-visually-hidden\"> page </span></span>\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--next\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"\n ></path>\n </svg>\n </a>\n </div>\n }\n </nav>\n}\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukPaginationComponent, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukPaginationComponent, decorators: [{
69
69
  type: Component,
70
70
  args: [{ selector: 'opal-lib-govuk-pagination', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (pages().length > 1) {\n <nav class=\"govuk-pagination\" role=\"navigation\" aria-label=\"results\">\n @if (currentPage > 1) {\n <div class=\"govuk-pagination__prev\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"prev\"\n (click)=\"onPageChanged($event, currentPage - 1)\"\n >\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--prev\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"\n ></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">Previous<span class=\"govuk-visually-hidden\"> page </span></span></a\n >\n </div>\n }\n <ul class=\"govuk-pagination__list\">\n @for (page of elipsedPages(); track page + '-' + $index) {\n <li\n class=\"govuk-pagination__item\"\n [class.govuk-pagination__item--current]=\"page === currentPage\"\n [class.govuk-pagination__item--ellipses]=\"page === ELIPSIS\"\n [attr.aria-current]=\"page === currentPage ? 'page' : null\"\n >\n @if (page === ELIPSIS) {\n &ctdot;\n }\n @if (page !== ELIPSIS) {\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n (click)=\"onPageChanged($event, +page)\"\n [attr.aria-label]=\"'Page ' + page\"\n data-test-page-button\n >{{ page }}</a\n >\n }\n </li>\n }\n </ul>\n @if (currentPage < pages().length) {\n <div class=\"govuk-pagination__next\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"next\"\n (click)=\"onPageChanged($event, currentPage + 1)\"\n >\n <span class=\"govuk-pagination__link-title\">Next<span class=\"govuk-visually-hidden\"> page </span></span>\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--next\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"\n ></path>\n </svg>\n </a>\n </div>\n }\n </nav>\n}\n" }]
71
71
  }], propDecorators: { currentPage: [{
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-pagination/govuk-pagination.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-pagination/govuk-pagination.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-pagination/hmcts-opal-frontend-common-components-govuk-govuk-pagination.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output, signal } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-pagination',\n imports: [],\n templateUrl: './govuk-pagination.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukPaginationComponent implements OnChanges {\n @Input() currentPage = 1;\n @Input() total = 0;\n @Input() limit = 25;\n @Output() changePage = new EventEmitter<number>();\n\n public pages = signal<number[]>([]);\n public elipsedPages = signal<(number | string)[]>([]);\n public ELIPSIS = '...';\n\n /**\n * Calculates the number of pages based on the total number of items and the limit per page.\n * Updates the `pages` and `elipsedPages` properties accordingly.\n */\n private calculatePages() {\n const pagesCount = Math.ceil(this.total / this.limit);\n this.pages.set(this.range(1, pagesCount));\n this.elipsedPages.set(this.elipseSkippedPages(this.pages(), this.currentPage));\n }\n\n /**\n * Generates an array of numbers within a specified range.\n * @param start The starting number of the range.\n * @param end The ending number of the range.\n * @returns An array of numbers within the specified range.\n */\n private range(start: number, end: number): number[] {\n return [...new Array(end).keys()].map((el) => el + start);\n }\n\n /**\n * Inserts ellipses into the given array of pages based on the current page number.\n * @param pages - The array of pages.\n * @param currentPage - The current page number.\n * @returns The modified array of pages with ellipses inserted.\n */\n private elipseSkippedPages(pages: (string | number)[], currentPage: number): (string | number)[] {\n pages = [...pages];\n\n if (currentPage < pages.length - 2) {\n // Add elipses to the right of current page\n pages.splice(currentPage + 1, pages.length - currentPage - 2, this.ELIPSIS);\n }\n\n if (currentPage >= 5) {\n // Add elipses to the left of current page\n pages.splice(1, currentPage - 3, this.ELIPSIS);\n }\n\n return pages;\n }\n\n /**\n * Handles the page change event.\n *\n * @param $event - The click event that triggered the page change.\n * @param page - The new page number.\n */\n public onPageChanged($event: MouseEvent, page: number) {\n $event.preventDefault();\n this.changePage.emit(page);\n }\n\n /**\n * Lifecycle hook that is called when any data-bound property of the component changes.\n * It recalculates the pages for pagination.\n */\n public ngOnChanges(): void {\n this.calculatePages();\n }\n}\n","@if (pages().length > 1) {\n <nav class=\"govuk-pagination\" role=\"navigation\" aria-label=\"results\">\n @if (currentPage > 1) {\n <div class=\"govuk-pagination__prev\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"prev\"\n (click)=\"onPageChanged($event, currentPage - 1)\"\n >\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--prev\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"\n ></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">Previous<span class=\"govuk-visually-hidden\"> page </span></span></a\n >\n </div>\n }\n <ul class=\"govuk-pagination__list\">\n @for (page of elipsedPages(); track page + '-' + $index) {\n <li\n class=\"govuk-pagination__item\"\n [class.govuk-pagination__item--current]=\"page === currentPage\"\n [class.govuk-pagination__item--ellipses]=\"page === ELIPSIS\"\n [attr.aria-current]=\"page === currentPage ? 'page' : null\"\n >\n @if (page === ELIPSIS) {\n &ctdot;\n }\n @if (page !== ELIPSIS) {\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n (click)=\"onPageChanged($event, +page)\"\n [attr.aria-label]=\"'Page ' + page\"\n data-test-page-button\n >{{ page }}</a\n >\n }\n </li>\n }\n </ul>\n @if (currentPage < pages().length) {\n <div class=\"govuk-pagination__next\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"next\"\n (click)=\"onPageChanged($event, currentPage + 1)\"\n >\n <span class=\"govuk-pagination__link-title\">Next<span class=\"govuk-visually-hidden\"> page </span></span>\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--next\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"\n ></path>\n </svg>\n </a>\n </div>\n }\n </nav>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,wBAAwB,CAAA;IAC1B,WAAW,GAAG,CAAC;IACf,KAAK,GAAG,CAAC;IACT,KAAK,GAAG,EAAE;AACT,IAAA,UAAU,GAAG,IAAI,YAAY,EAAU;AAE1C,IAAA,KAAK,GAAG,MAAM,CAAW,EAAE,iDAAC;AAC5B,IAAA,YAAY,GAAG,MAAM,CAAsB,EAAE,wDAAC;IAC9C,OAAO,GAAG,KAAK;AAEtB;;;AAGG;IACK,cAAc,GAAA;AACpB,QAAA,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;AACrD,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACzC,QAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAChF;AAEA;;;;;AAKG;IACK,KAAK,CAAC,KAAa,EAAE,GAAW,EAAA;QACtC,OAAO,CAAC,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC3D;AAEA;;;;;AAKG;IACK,kBAAkB,CAAC,KAA0B,EAAE,WAAmB,EAAA;AACxE,QAAA,KAAK,GAAG,CAAC,GAAG,KAAK,CAAC;QAElB,IAAI,WAAW,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;;AAElC,YAAA,KAAK,CAAC,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC;QAC7E;AAEA,QAAA,IAAI,WAAW,IAAI,CAAC,EAAE;;AAEpB,YAAA,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC;QAChD;AAEA,QAAA,OAAO,KAAK;IACd;AAEA;;;;;AAKG;IACI,aAAa,CAAC,MAAkB,EAAE,IAAY,EAAA;QACnD,MAAM,CAAC,cAAc,EAAE;AACvB,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;IAC5B;AAEA;;;AAGG;IACI,WAAW,GAAA;QAChB,IAAI,CAAC,cAAc,EAAE;IACvB;uGArEW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,yNCRrC,uwFA8EA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FDtEa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,EAAA,OAAA,EAC5B,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,uwFAAA,EAAA;;sBAG9C;;sBACA;;sBACA;;sBACA;;;AEZH;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-pagination/govuk-pagination.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-pagination/govuk-pagination.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-pagination/hmcts-opal-frontend-common-components-govuk-govuk-pagination.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnChanges, Output, signal } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-pagination',\n imports: [],\n templateUrl: './govuk-pagination.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukPaginationComponent implements OnChanges {\n @Input() currentPage = 1;\n @Input() total = 0;\n @Input() limit = 25;\n @Output() changePage = new EventEmitter<number>();\n\n public pages = signal<number[]>([]);\n public elipsedPages = signal<(number | string)[]>([]);\n public ELIPSIS = '...';\n\n /**\n * Calculates the number of pages based on the total number of items and the limit per page.\n * Updates the `pages` and `elipsedPages` properties accordingly.\n */\n private calculatePages() {\n const pagesCount = Math.ceil(this.total / this.limit);\n this.pages.set(this.range(1, pagesCount));\n this.elipsedPages.set(this.elipseSkippedPages(this.pages(), this.currentPage));\n }\n\n /**\n * Generates an array of numbers within a specified range.\n * @param start The starting number of the range.\n * @param end The ending number of the range.\n * @returns An array of numbers within the specified range.\n */\n private range(start: number, end: number): number[] {\n return [...new Array(end).keys()].map((el) => el + start);\n }\n\n /**\n * Inserts ellipses into the given array of pages based on the current page number.\n * @param pages - The array of pages.\n * @param currentPage - The current page number.\n * @returns The modified array of pages with ellipses inserted.\n */\n private elipseSkippedPages(pages: (string | number)[], currentPage: number): (string | number)[] {\n pages = [...pages];\n\n if (currentPage < pages.length - 2) {\n // Add elipses to the right of current page\n pages.splice(currentPage + 1, pages.length - currentPage - 2, this.ELIPSIS);\n }\n\n if (currentPage >= 5) {\n // Add elipses to the left of current page\n pages.splice(1, currentPage - 3, this.ELIPSIS);\n }\n\n return pages;\n }\n\n /**\n * Handles the page change event.\n *\n * @param $event - The click event that triggered the page change.\n * @param page - The new page number.\n */\n public onPageChanged($event: MouseEvent, page: number) {\n $event.preventDefault();\n this.changePage.emit(page);\n }\n\n /**\n * Lifecycle hook that is called when any data-bound property of the component changes.\n * It recalculates the pages for pagination.\n */\n public ngOnChanges(): void {\n this.calculatePages();\n }\n}\n","@if (pages().length > 1) {\n <nav class=\"govuk-pagination\" role=\"navigation\" aria-label=\"results\">\n @if (currentPage > 1) {\n <div class=\"govuk-pagination__prev\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"prev\"\n (click)=\"onPageChanged($event, currentPage - 1)\"\n >\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--prev\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m6.5938-0.0078125-6.7266 6.7266 6.7441 6.4062 1.377-1.449-4.1856-3.9768h12.896v-2h-12.984l4.2931-4.293-1.414-1.414z\"\n ></path>\n </svg>\n <span class=\"govuk-pagination__link-title\">Previous<span class=\"govuk-visually-hidden\"> page </span></span></a\n >\n </div>\n }\n <ul class=\"govuk-pagination__list\">\n @for (page of elipsedPages(); track page + '-' + $index) {\n <li\n class=\"govuk-pagination__item\"\n [class.govuk-pagination__item--current]=\"page === currentPage\"\n [class.govuk-pagination__item--ellipses]=\"page === ELIPSIS\"\n [attr.aria-current]=\"page === currentPage ? 'page' : null\"\n >\n @if (page === ELIPSIS) {\n &ctdot;\n }\n @if (page !== ELIPSIS) {\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n (click)=\"onPageChanged($event, +page)\"\n [attr.aria-label]=\"'Page ' + page\"\n data-test-page-button\n >{{ page }}</a\n >\n }\n </li>\n }\n </ul>\n @if (currentPage < pages().length) {\n <div class=\"govuk-pagination__next\">\n <a\n class=\"govuk-link govuk-pagination__link\"\n href=\"#\"\n rel=\"next\"\n (click)=\"onPageChanged($event, currentPage + 1)\"\n >\n <span class=\"govuk-pagination__link-title\">Next<span class=\"govuk-visually-hidden\"> page </span></span>\n <svg\n class=\"govuk-pagination__icon govuk-pagination__icon--next\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"13\"\n width=\"15\"\n aria-hidden=\"true\"\n focusable=\"false\"\n viewBox=\"0 0 15 13\"\n >\n <path\n d=\"m8.107-0.0078125-1.4136 1.414 4.2926 4.293h-12.986v2h12.896l-4.1855 3.9766 1.377 1.4492 6.7441-6.4062-6.7246-6.7266z\"\n ></path>\n </svg>\n </a>\n </div>\n }\n </nav>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,wBAAwB,CAAA;IAC1B,WAAW,GAAG,CAAC;IACf,KAAK,GAAG,CAAC;IACT,KAAK,GAAG,EAAE;AACT,IAAA,UAAU,GAAG,IAAI,YAAY,EAAU;AAE1C,IAAA,KAAK,GAAG,MAAM,CAAW,EAAE,4EAAC;AAC5B,IAAA,YAAY,GAAG,MAAM,CAAsB,EAAE,mFAAC;IAC9C,OAAO,GAAG,KAAK;AAEtB;;;AAGG;IACK,cAAc,GAAA;AACpB,QAAA,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;AACrD,QAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;AACzC,QAAA,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAChF;AAEA;;;;;AAKG;IACK,KAAK,CAAC,KAAa,EAAE,GAAW,EAAA;QACtC,OAAO,CAAC,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAC3D;AAEA;;;;;AAKG;IACK,kBAAkB,CAAC,KAA0B,EAAE,WAAmB,EAAA;AACxE,QAAA,KAAK,GAAG,CAAC,GAAG,KAAK,CAAC;QAElB,IAAI,WAAW,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;;AAElC,YAAA,KAAK,CAAC,MAAM,CAAC,WAAW,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,WAAW,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC;QAC7E;AAEA,QAAA,IAAI,WAAW,IAAI,CAAC,EAAE;;AAEpB,YAAA,KAAK,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC;QAChD;AAEA,QAAA,OAAO,KAAK;IACd;AAEA;;;;;AAKG;IACI,aAAa,CAAC,MAAkB,EAAE,IAAY,EAAA;QACnD,MAAM,CAAC,cAAc,EAAE;AACvB,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC;IAC5B;AAEA;;;AAGG;IACI,WAAW,GAAA;QAChB,IAAI,CAAC,cAAc,EAAE;IACvB;uGArEW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,yNCRrC,uwFA8EA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FDtEa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,2BAA2B,EAAA,OAAA,EAC5B,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,uwFAAA,EAAA;;sBAG9C;;sBACA;;sBACA;;sBACA;;;AEZH;;AAEG;;;;"}
@@ -4,10 +4,10 @@ import { HostBinding, Input, ChangeDetectionStrategy, Component } from '@angular
4
4
  class GovukPanelComponent {
5
5
  panelTitle;
6
6
  classes = 'govuk-panel__body';
7
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukPanelComponent, isStandalone: true, selector: "opal-lib-govuk-panel", inputs: { panelTitle: "panelTitle" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: "<div class=\"govuk-panel govuk-panel--confirmation\">\n @if (panelTitle) {\n <h1 class=\"govuk-panel__title\">{{ panelTitle }}</h1>\n }\n <ng-content></ng-content>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukPanelComponent, isStandalone: true, selector: "opal-lib-govuk-panel", inputs: { panelTitle: "panelTitle" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: "<div class=\"govuk-panel govuk-panel--confirmation\">\n @if (panelTitle) {\n <h1 class=\"govuk-panel__title\">{{ panelTitle }}</h1>\n }\n <ng-content></ng-content>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukPanelComponent, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukPanelComponent, decorators: [{
11
11
  type: Component,
12
12
  args: [{ selector: 'opal-lib-govuk-panel', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-panel govuk-panel--confirmation\">\n @if (panelTitle) {\n <h1 class=\"govuk-panel__title\">{{ panelTitle }}</h1>\n }\n <ng-content></ng-content>\n</div>\n" }]
13
13
  }], propDecorators: { panelTitle: [{
@@ -10,10 +10,10 @@ class GovukRadiosConditionalComponent {
10
10
  * Id used by aria-controls to connect a radio input to this conditional panel.
11
11
  */
12
12
  conditionalId;
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadiosConditionalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukRadiosConditionalComponent, isStandalone: true, selector: "opal-lib-govuk-radios-conditional, [opal-lib-govuk-radios-conditional]", inputs: { conditionalId: "conditionalId" }, ngImport: i0, template: "<div class=\"govuk-radios__conditional govuk-radios__conditional--hidden\" [id]=\"conditionalId\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadiosConditionalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukRadiosConditionalComponent, isStandalone: true, selector: "opal-lib-govuk-radios-conditional, [opal-lib-govuk-radios-conditional]", inputs: { conditionalId: "conditionalId" }, ngImport: i0, template: "<div class=\"govuk-radios__conditional govuk-radios__conditional--hidden\" [id]=\"conditionalId\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadiosConditionalComponent, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadiosConditionalComponent, decorators: [{
17
17
  type: Component,
18
18
  args: [{ selector: 'opal-lib-govuk-radios-conditional, [opal-lib-govuk-radios-conditional]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-radios__conditional govuk-radios__conditional--hidden\" [id]=\"conditionalId\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"] }]
19
19
  }], propDecorators: { conditionalId: [{
@@ -22,10 +22,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
22
22
  }] } });
23
23
 
24
24
  class GovukRadiosDividerComponent {
25
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadiosDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
26
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukRadiosDividerComponent, isStandalone: true, selector: "opal-lib-govuk-radios-divider", ngImport: i0, template: "<div class=\"govuk-radios__divider\"><ng-content></ng-content></div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadiosDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
26
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukRadiosDividerComponent, isStandalone: true, selector: "opal-lib-govuk-radios-divider", ngImport: i0, template: "<div class=\"govuk-radios__divider\"><ng-content></ng-content></div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadiosDividerComponent, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadiosDividerComponent, decorators: [{
29
29
  type: Component,
30
30
  args: [{ selector: 'opal-lib-govuk-radios-divider', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-radios__divider\"><ng-content></ng-content></div>\n" }]
31
31
  }] });
@@ -99,10 +99,10 @@ class GovukRadiosItemComponent {
99
99
  const v = this.inputValue;
100
100
  return typeof v === 'string' ? v : String(v);
101
101
  }
102
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadiosItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
103
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukRadiosItemComponent, isStandalone: true, selector: "opal-lib-govuk-radios-item, [opal-lib-govuk-radios-item]", inputs: { labelText: "labelText", labelClasses: "labelClasses", inputId: "inputId", inputName: "inputName", inputClasses: "inputClasses", inputValue: "inputValue", inputValueHint: "inputValueHint", ariaControls: "ariaControls", control: "control" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<input\n class=\"govuk-radios__input {{ inputClasses }}\"\n [id]=\"resolvedInputId\"\n [name]=\"resolvedInputName\"\n [attr.name]=\"resolvedInputName\"\n [formControl]=\"getControl\"\n type=\"radio\"\n [value]=\"resolvedInputValue\"\n [attr.value]=\"resolvedInputValueAttr\"\n [attr.aria-controls]=\"dataAriaControls || null\"\n [attr.aria-describedby]=\"inputValueHint ? resolvedInputId + '-item-hint' : null\"\n/>\n<label class=\"govuk-label govuk-radios__label {{ labelClasses }}\" [for]=\"resolvedInputId\"> {{ labelText }} </label>\n@if (inputValueHint) {\n <div id=\"{{ resolvedInputId }}-item-hint\" class=\"govuk-hint govuk-radios__hint\">\n {{ inputValueHint }}\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadiosItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
103
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukRadiosItemComponent, isStandalone: true, selector: "opal-lib-govuk-radios-item, [opal-lib-govuk-radios-item]", inputs: { labelText: "labelText", labelClasses: "labelClasses", inputId: "inputId", inputName: "inputName", inputClasses: "inputClasses", inputValue: "inputValue", inputValueHint: "inputValueHint", ariaControls: "ariaControls", control: "control" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<input\n class=\"govuk-radios__input {{ inputClasses }}\"\n [id]=\"resolvedInputId\"\n [name]=\"resolvedInputName\"\n [attr.name]=\"resolvedInputName\"\n [formControl]=\"getControl\"\n type=\"radio\"\n [value]=\"resolvedInputValue\"\n [attr.value]=\"resolvedInputValueAttr\"\n [attr.aria-controls]=\"dataAriaControls || null\"\n [attr.aria-describedby]=\"inputValueHint ? resolvedInputId + '-item-hint' : null\"\n/>\n<label class=\"govuk-label govuk-radios__label {{ labelClasses }}\" [for]=\"resolvedInputId\"> {{ labelText }} </label>\n@if (inputValueHint) {\n <div id=\"{{ resolvedInputId }}-item-hint\" class=\"govuk-hint govuk-radios__hint\">\n {{ inputValueHint }}\n </div>\n}\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadiosItemComponent, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadiosItemComponent, decorators: [{
106
106
  type: Component,
107
107
  args: [{ selector: 'opal-lib-govuk-radios-item, [opal-lib-govuk-radios-item]', imports: [ReactiveFormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n class=\"govuk-radios__input {{ inputClasses }}\"\n [id]=\"resolvedInputId\"\n [name]=\"resolvedInputName\"\n [attr.name]=\"resolvedInputName\"\n [formControl]=\"getControl\"\n type=\"radio\"\n [value]=\"resolvedInputValue\"\n [attr.value]=\"resolvedInputValueAttr\"\n [attr.aria-controls]=\"dataAriaControls || null\"\n [attr.aria-describedby]=\"inputValueHint ? resolvedInputId + '-item-hint' : null\"\n/>\n<label class=\"govuk-label govuk-radios__label {{ labelClasses }}\" [for]=\"resolvedInputId\"> {{ labelText }} </label>\n@if (inputValueHint) {\n <div id=\"{{ resolvedInputId }}-item-hint\" class=\"govuk-hint govuk-radios__hint\">\n {{ inputValueHint }}\n </div>\n}\n" }]
108
108
  }], propDecorators: { labelText: [{
@@ -213,10 +213,10 @@ class GovukRadioComponent {
213
213
  loadGovukFrontend() {
214
214
  return import('govuk-frontend');
215
215
  }
216
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
217
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukRadioComponent, isStandalone: true, selector: "opal-lib-govuk-radio", inputs: { fieldSetId: "fieldSetId", legendText: "legendText", legendHint: "legendHint", legendClasses: "legendClasses", radioClasses: "radioClasses", errors: "errors" }, ngImport: i0, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <fieldset class=\"govuk-fieldset\" [id]=\"fieldSetId\" [attr.aria-describedby]=\"describedBy\">\n @if (legendText) {\n <legend class=\"govuk-fieldset__legend {{ legendClasses }}\">\n {{ legendText }}\n </legend>\n }\n @if (legendHint) {\n <div [id]=\"fieldSetId ? fieldSetId + '-hint' : ''\" class=\"govuk-hint\">\n {{ legendHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.fieldSetId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <!-- single reusable radios template -->\n <ng-template #radiosGroup>\n <div class=\"govuk-radios {{ radioClasses }}\" data-module=\"govuk-radios\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n\n <!-- render the radiosGroup inside the fieldset -->\n <ng-container *ngTemplateOutlet=\"radiosGroup\"></ng-container>\n </fieldset>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
216
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
217
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukRadioComponent, isStandalone: true, selector: "opal-lib-govuk-radio", inputs: { fieldSetId: "fieldSetId", legendText: "legendText", legendHint: "legendHint", legendClasses: "legendClasses", radioClasses: "radioClasses", errors: "errors" }, ngImport: i0, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <fieldset class=\"govuk-fieldset\" [id]=\"fieldSetId\" [attr.aria-describedby]=\"describedBy\">\n @if (legendText) {\n <legend class=\"govuk-fieldset__legend {{ legendClasses }}\">\n {{ legendText }}\n </legend>\n }\n @if (legendHint) {\n <div [id]=\"fieldSetId ? fieldSetId + '-hint' : ''\" class=\"govuk-hint\">\n {{ legendHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.fieldSetId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <!-- single reusable radios template -->\n <ng-template #radiosGroup>\n <div class=\"govuk-radios {{ radioClasses }}\" data-module=\"govuk-radios\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n\n <!-- render the radiosGroup inside the fieldset -->\n <ng-container *ngTemplateOutlet=\"radiosGroup\"></ng-container>\n </fieldset>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
218
218
  }
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukRadioComponent, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukRadioComponent, decorators: [{
220
220
  type: Component,
221
221
  args: [{ selector: 'opal-lib-govuk-radio', imports: [CommonModule, ReactiveFormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <fieldset class=\"govuk-fieldset\" [id]=\"fieldSetId\" [attr.aria-describedby]=\"describedBy\">\n @if (legendText) {\n <legend class=\"govuk-fieldset__legend {{ legendClasses }}\">\n {{ legendText }}\n </legend>\n }\n @if (legendHint) {\n <div [id]=\"fieldSetId ? fieldSetId + '-hint' : ''\" class=\"govuk-hint\">\n {{ legendHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.fieldSetId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n\n <!-- single reusable radios template -->\n <ng-template #radiosGroup>\n <div class=\"govuk-radios {{ radioClasses }}\" data-module=\"govuk-radios\">\n <ng-content></ng-content>\n </div>\n </ng-template>\n\n <!-- render the radiosGroup inside the fieldset -->\n <ng-container *ngTemplateOutlet=\"radiosGroup\"></ng-container>\n </fieldset>\n</div>\n" }]
222
222
  }], ctorParameters: () => [], propDecorators: { fieldSetId: [{
@@ -30,10 +30,10 @@ class GovukSelectComponent {
30
30
  }
31
31
  return ids.length ? ids.join(' ') : null;
32
32
  }
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukSelectComponent, isStandalone: true, selector: "opal-lib-govuk-select", inputs: { labelText: "labelText", labelClasses: "labelClasses", selectId: "selectId", selectName: "selectName", selectClasses: "selectClasses", selectHint: "selectHint", errors: "errors", options: "options", control: "control" }, ngImport: i0, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + '-hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.aria-describedby]=\"describedBy\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukSelectComponent, isStandalone: true, selector: "opal-lib-govuk-select", inputs: { labelText: "labelText", labelClasses: "labelClasses", selectId: "selectId", selectName: "selectName", selectClasses: "selectClasses", selectHint: "selectHint", errors: "errors", options: "options", control: "control" }, ngImport: i0, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + '-hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.aria-describedby]=\"describedBy\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSelectComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSelectComponent, decorators: [{
37
37
  type: Component,
38
38
  args: [{ selector: 'opal-lib-govuk-select', imports: [ReactiveFormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-form-group\" [class.govuk-form-group--error]=\"!!errors\">\n <label class=\"govuk-label {{ labelClasses }}\" [for]=\"selectId\"> {{ labelText }} </label>\n\n @if (selectHint) {\n <div [id]=\"selectId ? selectId + '-hint' : ''\" class=\"govuk-hint\">\n {{ selectHint }}\n </div>\n }\n\n @if (errors) {\n <p id=\"{{ this.selectId }}-error-message\" class=\"govuk-error-message\">\n <span class=\"govuk-visually-hidden\">Error: </span> {{ errors }}\n </p>\n }\n <select\n class=\"govuk-select {{ selectClasses }}\"\n [id]=\"selectId\"\n [name]=\"selectName\"\n [attr.aria-describedby]=\"describedBy\"\n [formControl]=\"getControl\"\n >\n <option value=\"\" selected></option>\n @for (option of options; track option.name) {\n <option [value]=\"option.value\">\n {{ option.name }}\n </option>\n }\n </select>\n</div>\n" }]
39
39
  }], propDecorators: { labelText: [{
@@ -17,10 +17,10 @@ class GovukSummaryCardActionComponent {
17
17
  event.preventDefault();
18
18
  this.clickEvent.emit(route);
19
19
  }
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryCardActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukSummaryCardActionComponent, isStandalone: true, selector: "opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]", inputs: { actionText: "actionText", actionRoute: "actionRoute", visuallyHiddenText: "visuallyHiddenText" }, outputs: { clickEvent: "clickEvent" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryCardActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
21
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukSummaryCardActionComponent, isStandalone: true, selector: "opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]", inputs: { actionText: "actionText", actionRoute: "actionRoute", visuallyHiddenText: "visuallyHiddenText" }, outputs: { clickEvent: "clickEvent" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryCardActionComponent, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryCardActionComponent, decorators: [{
24
24
  type: Component,
25
25
  args: [{ selector: 'opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n" }]
26
26
  }], propDecorators: { actionText: [{
@@ -44,6 +44,10 @@ class GovukSummaryCardListComponent {
44
44
  cardTitle;
45
45
  contentHidden;
46
46
  headingLevel = 2;
47
+ classes;
48
+ get class() {
49
+ return `govuk-summary-card ${this.classes || ''}`;
50
+ }
47
51
  id;
48
52
  setId() {
49
53
  this.id = this.summaryCardListId + '-summary-card-list';
@@ -51,12 +55,12 @@ class GovukSummaryCardListComponent {
51
55
  ngOnInit() {
52
56
  this.setId();
53
57
  }
54
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryCardListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
55
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukSummaryCardListComponent, isStandalone: true, selector: "opal-lib-govuk-summary-card-list", inputs: { summaryCardListId: "summaryCardListId", cardTitle: "cardTitle", contentHidden: "contentHidden", headingLevel: "headingLevel" }, ngImport: i0, template: "<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n @switch (headingLevel) {\n @case (1) {\n <h1 class=\"govuk-summary-card__title\">{{ cardTitle }}</h1>\n }\n @case (2) {\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n }\n @case (3) {\n <h3 class=\"govuk-summary-card__title\">{{ cardTitle }}</h3>\n }\n @case (4) {\n <h4 class=\"govuk-summary-card__title\">{{ cardTitle }}</h4>\n }\n @case (5) {\n <h5 class=\"govuk-summary-card__title\">{{ cardTitle }}</h5>\n }\n @case (6) {\n <h6 class=\"govuk-summary-card__title\">{{ cardTitle }}</h6>\n }\n }\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryCardListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
59
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukSummaryCardListComponent, isStandalone: true, selector: "opal-lib-govuk-summary-card-list", inputs: { summaryCardListId: "summaryCardListId", cardTitle: "cardTitle", contentHidden: "contentHidden", headingLevel: "headingLevel", classes: "classes" }, ngImport: i0, template: "<div [class]=\"class\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n @switch (headingLevel) {\n @case (1) {\n <h1 class=\"govuk-summary-card__title\">{{ cardTitle }}</h1>\n }\n @case (2) {\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n }\n @case (3) {\n <h3 class=\"govuk-summary-card__title\">{{ cardTitle }}</h3>\n }\n @case (4) {\n <h4 class=\"govuk-summary-card__title\">{{ cardTitle }}</h4>\n }\n @case (5) {\n <h5 class=\"govuk-summary-card__title\">{{ cardTitle }}</h5>\n }\n @case (6) {\n <h6 class=\"govuk-summary-card__title\">{{ cardTitle }}</h6>\n }\n }\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
60
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryCardListComponent, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryCardListComponent, decorators: [{
58
62
  type: Component,
59
- args: [{ selector: 'opal-lib-govuk-summary-card-list', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n @switch (headingLevel) {\n @case (1) {\n <h1 class=\"govuk-summary-card__title\">{{ cardTitle }}</h1>\n }\n @case (2) {\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n }\n @case (3) {\n <h3 class=\"govuk-summary-card__title\">{{ cardTitle }}</h3>\n }\n @case (4) {\n <h4 class=\"govuk-summary-card__title\">{{ cardTitle }}</h4>\n }\n @case (5) {\n <h5 class=\"govuk-summary-card__title\">{{ cardTitle }}</h5>\n }\n @case (6) {\n <h6 class=\"govuk-summary-card__title\">{{ cardTitle }}</h6>\n }\n }\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n" }]
63
+ args: [{ selector: 'opal-lib-govuk-summary-card-list', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"class\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n @switch (headingLevel) {\n @case (1) {\n <h1 class=\"govuk-summary-card__title\">{{ cardTitle }}</h1>\n }\n @case (2) {\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n }\n @case (3) {\n <h3 class=\"govuk-summary-card__title\">{{ cardTitle }}</h3>\n }\n @case (4) {\n <h4 class=\"govuk-summary-card__title\">{{ cardTitle }}</h4>\n }\n @case (5) {\n <h5 class=\"govuk-summary-card__title\">{{ cardTitle }}</h5>\n }\n @case (6) {\n <h6 class=\"govuk-summary-card__title\">{{ cardTitle }}</h6>\n }\n }\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n" }]
60
64
  }], propDecorators: { summaryCardListId: [{
61
65
  type: Input,
62
66
  args: [{ required: true }]
@@ -69,6 +73,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
69
73
  }], headingLevel: [{
70
74
  type: Input,
71
75
  args: [{ required: false }]
76
+ }], classes: [{
77
+ type: Input,
78
+ args: [{ required: false }]
72
79
  }] } });
73
80
 
74
81
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]',\n imports: [],\n templateUrl: './govuk-summary-card-action.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardActionComponent {\n @Input({ required: true }) actionText!: string;\n @Input({ required: true }) actionRoute!: string;\n @Input({ required: false }) visuallyHiddenText!: string;\n @Output() clickEvent = new EventEmitter<string>();\n\n @HostBinding('class') hostClass = 'govuk-summary-card__action';\n\n /**\n * Handles click events, prevents default behavior, and emits a route.\n *\n * @param {Event} event - The DOM event triggered by the user action.\n * @param {string} route - The route to be emitted when the event is triggered.\n */\n public onClick(event: Event, route: string): void {\n event.preventDefault();\n this.clickEvent.emit(route);\n }\n}\n","<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\nimport { HeadingLevel } from '@hmcts/opal-frontend-common/types';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-list',\n imports: [],\n templateUrl: './govuk-summary-card-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardListComponent implements OnInit {\n @Input({ required: true }) summaryCardListId!: string;\n @Input({ required: false }) cardTitle!: string;\n @Input({ required: false }) contentHidden!: boolean;\n @Input({ required: false }) headingLevel: HeadingLevel = 2;\n\n public id!: string;\n\n private setId(): void {\n this.id = this.summaryCardListId + '-summary-card-list';\n }\n\n public ngOnInit(): void {\n this.setId();\n }\n}\n","<div class=\"govuk-summary-card\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n @switch (headingLevel) {\n @case (1) {\n <h1 class=\"govuk-summary-card__title\">{{ cardTitle }}</h1>\n }\n @case (2) {\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n }\n @case (3) {\n <h3 class=\"govuk-summary-card__title\">{{ cardTitle }}</h3>\n }\n @case (4) {\n <h4 class=\"govuk-summary-card__title\">{{ cardTitle }}</h4>\n }\n @case (5) {\n <h5 class=\"govuk-summary-card__title\">{{ cardTitle }}</h5>\n }\n @case (6) {\n <h6 class=\"govuk-summary-card__title\">{{ cardTitle }}</h6>\n }\n }\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,+BAA+B,CAAA;AACf,IAAA,UAAU;AACV,IAAA,WAAW;AACV,IAAA,kBAAkB;AACpC,IAAA,UAAU,GAAG,IAAI,YAAY,EAAU;IAE3B,SAAS,GAAG,4BAA4B;AAE9D;;;;;AAKG;IACI,OAAO,CAAC,KAAY,EAAE,KAAa,EAAA;QACxC,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;IAC7B;uGAjBW,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA/B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,4UCR5C,4WAaA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FDLa,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAN3C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0EAA0E,EAAA,OAAA,EAC3E,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4WAAA,EAAA;;sBAG9C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB;;sBAEA,WAAW;uBAAC,OAAO;;;MELT,6BAA6B,CAAA;AACb,IAAA,iBAAiB;AAChB,IAAA,SAAS;AACT,IAAA,aAAa;IACb,YAAY,GAAiB,CAAC;AAEnD,IAAA,EAAE;IAED,KAAK,GAAA;QACX,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,iBAAiB,GAAG,oBAAoB;IACzD;IAEO,QAAQ,GAAA;QACb,IAAI,CAAC,KAAK,EAAE;IACd;uGAdW,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,6BAA6B,sOCT1C,wnCAmCA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FD1Ba,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBANzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kCAAkC,EAAA,OAAA,EACnC,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,wnCAAA,EAAA;;sBAG9C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEb5B;;AAEG;;;;"}
1
+ {"version":3,"file":"hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs","sources":["../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-action/govuk-summary-card-action.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.ts","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/govuk-summary-card-list.component.html","../../../projects/opal-frontend-common/components/govuk/govuk-summary-card-list/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-action, [opal-lib-govuk-summary-card-action]',\n imports: [],\n templateUrl: './govuk-summary-card-action.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardActionComponent {\n @Input({ required: true }) actionText!: string;\n @Input({ required: true }) actionRoute!: string;\n @Input({ required: false }) visuallyHiddenText!: string;\n @Output() clickEvent = new EventEmitter<string>();\n\n @HostBinding('class') hostClass = 'govuk-summary-card__action';\n\n /**\n * Handles click events, prevents default behavior, and emits a route.\n *\n * @param {Event} event - The DOM event triggered by the user action.\n * @param {string} route - The route to be emitted when the event is triggered.\n */\n public onClick(event: Event, route: string): void {\n event.preventDefault();\n this.clickEvent.emit(route);\n }\n}\n","<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionText\"\n (click)=\"onClick($event, actionRoute)\"\n (keyup.enter)=\"onClick($event, actionRoute)\"\n tabindex=\"0\"\n>\n <strong>{{ actionText }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\nimport { HeadingLevel } from '@hmcts/opal-frontend-common/types';\n\n@Component({\n selector: 'opal-lib-govuk-summary-card-list',\n imports: [],\n templateUrl: './govuk-summary-card-list.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GovukSummaryCardListComponent implements OnInit {\n @Input({ required: true }) summaryCardListId!: string;\n @Input({ required: false }) cardTitle!: string;\n @Input({ required: false }) contentHidden!: boolean;\n @Input({ required: false }) headingLevel: HeadingLevel = 2;\n @Input({ required: false }) classes!: string;\n\n public get class(): string {\n return `govuk-summary-card ${this.classes || ''}`;\n }\n\n public id!: string;\n\n private setId(): void {\n this.id = this.summaryCardListId + '-summary-card-list';\n }\n\n public ngOnInit(): void {\n this.setId();\n }\n}\n","<div [class]=\"class\" [id]=\"id\">\n @if (cardTitle && cardTitle.length > 0) {\n <div class=\"govuk-summary-card__title-wrapper\">\n @switch (headingLevel) {\n @case (1) {\n <h1 class=\"govuk-summary-card__title\">{{ cardTitle }}</h1>\n }\n @case (2) {\n <h2 class=\"govuk-summary-card__title\">{{ cardTitle }}</h2>\n }\n @case (3) {\n <h3 class=\"govuk-summary-card__title\">{{ cardTitle }}</h3>\n }\n @case (4) {\n <h4 class=\"govuk-summary-card__title\">{{ cardTitle }}</h4>\n }\n @case (5) {\n <h5 class=\"govuk-summary-card__title\">{{ cardTitle }}</h5>\n }\n @case (6) {\n <h6 class=\"govuk-summary-card__title\">{{ cardTitle }}</h6>\n }\n }\n <ul class=\"govuk-summary-card__actions\" role=\"list\">\n <ng-content select=\"[actions]\"></ng-content>\n </ul>\n </div>\n }\n\n @if (!contentHidden) {\n <div class=\"govuk-summary-card__content govuk-white-background\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAQa,+BAA+B,CAAA;AACf,IAAA,UAAU;AACV,IAAA,WAAW;AACV,IAAA,kBAAkB;AACpC,IAAA,UAAU,GAAG,IAAI,YAAY,EAAU;IAE3B,SAAS,GAAG,4BAA4B;AAE9D;;;;;AAKG;IACI,OAAO,CAAC,KAAY,EAAE,KAAa,EAAA;QACxC,KAAK,CAAC,cAAc,EAAE;AACtB,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;IAC7B;uGAjBW,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA/B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,+BAA+B,4UCR5C,4WAaA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FDLa,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAN3C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,0EAA0E,EAAA,OAAA,EAC3E,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4WAAA,EAAA;;sBAG9C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB;;sBAEA,WAAW;uBAAC,OAAO;;;MELT,6BAA6B,CAAA;AACb,IAAA,iBAAiB;AAChB,IAAA,SAAS;AACT,IAAA,aAAa;IACb,YAAY,GAAiB,CAAC;AAC9B,IAAA,OAAO;AAEnC,IAAA,IAAW,KAAK,GAAA;AACd,QAAA,OAAO,sBAAsB,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE;IACnD;AAEO,IAAA,EAAE;IAED,KAAK,GAAA;QACX,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,iBAAiB,GAAG,oBAAoB;IACzD;IAEO,QAAQ,GAAA;QACb,IAAI,CAAC,KAAK,EAAE;IACd;uGAnBW,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,6BAA6B,0PCT1C,6mCAmCA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FD1Ba,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBANzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kCAAkC,EAAA,OAAA,EACnC,EAAE,EAAA,eAAA,EAEM,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,6mCAAA,EAAA;;sBAG9C,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBACxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;sBACzB,KAAK;uBAAC,EAAE,QAAQ,EAAE,KAAK,EAAE;;;AEd5B;;AAEG;;;;"}
@@ -16,10 +16,10 @@ class GovukSummaryListRowActionItemComponent {
16
16
  event.preventDefault();
17
17
  this.linkClick.emit(linkClicked);
18
18
  }
19
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListRowActionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukSummaryListRowActionItemComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]", inputs: { actionName: "actionName", actionId: "actionId", visuallyHiddenText: "visuallyHiddenText" }, outputs: { linkClick: "linkClick" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListRowActionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
20
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukSummaryListRowActionItemComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]", inputs: { actionName: "actionName", actionId: "actionId", visuallyHiddenText: "visuallyHiddenText" }, outputs: { linkClick: "linkClick" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListRowActionItemComponent, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListRowActionItemComponent, decorators: [{
23
23
  type: Component,
24
24
  args: [{ selector: 'opal-lib-govuk-summary-list-row-action-item, [opal-lib-govuk-summary-list-row-action-item]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n href=\"#\"\n class=\"govuk-link govuk-link--no-visited-state\"\n [id]=\"actionId\"\n (click)=\"handleActionClick($event, actionId)\"\n (keyup.enter)=\"handleActionClick($event, actionId)\"\n tabindex=\"0\"\n>\n <strong>{{ actionName }}</strong>\n @if (visuallyHiddenText) {\n <span class=\"govuk-visually-hidden\">{{ visuallyHiddenText }}</span>\n }\n</a>\n" }]
25
25
  }], propDecorators: { actionName: [{
@@ -39,10 +39,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
39
39
  }] } });
40
40
 
41
41
  class GovukSummaryListRowActionsComponent {
42
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListRowActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukSummaryListRowActionsComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row-actions", ngImport: i0, template: "<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListRowActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukSummaryListRowActionsComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row-actions", ngImport: i0, template: "<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListRowActionsComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListRowActionsComponent, decorators: [{
46
46
  type: Component,
47
47
  args: [{ selector: 'opal-lib-govuk-summary-list-row-actions', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"govuk-summary-list__actions-list govuk-body\">\n <ng-content></ng-content>\n</ul>\n" }]
48
48
  }] });
@@ -73,10 +73,10 @@ class GovukSummaryListRowComponent {
73
73
  this.id = this.summaryListId + this._summaryListRowId;
74
74
  this.class = 'govuk-summary-list__row';
75
75
  }
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
77
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: GovukSummaryListRowComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]", inputs: { actionEnabled: "actionEnabled", summaryListId: "summaryListId", summaryListRowId: "summaryListRowId" }, outputs: { actionClick: "actionClick" }, host: { properties: { "class": "this.class", "id": "this.id" } }, ngImport: i0, template: "<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n", styles: [":host{display:table-row-group}.content-wrapper:empty{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
77
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: GovukSummaryListRowComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]", inputs: { actionEnabled: "actionEnabled", summaryListId: "summaryListId", summaryListRowId: "summaryListRowId" }, outputs: { actionClick: "actionClick" }, host: { properties: { "class": "this.class", "id": "this.id" } }, ngImport: i0, template: "<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n", styles: [":host{display:table-row-group}.content-wrapper:empty{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListRowComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListRowComponent, decorators: [{
80
80
  type: Component,
81
81
  args: [{ selector: 'opal-lib-govuk-summary-list-row, [opal-lib-govuk-summary-list-row]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dt class=\"govuk-summary-list__key\" [id]=\"summaryListId + _summaryListRowId + 'Key'\">\n <ng-content select=\"[name]\"></ng-content>\n</dt>\n\n<dd class=\"govuk-summary-list__value\" [id]=\"summaryListId + _summaryListRowId + 'Value'\">\n <ng-content select=\"[value]\"></ng-content>\n</dd>\n@if (actionEnabled) {\n <dd class=\"govuk-summary-list__actions\" [id]=\"summaryListId + _summaryListRowId + 'Actions'\">\n <a class=\"govuk-link\" href=\"#\" (click)=\"handleActionClick($event)\">\n <ng-content select=\"[action]\"></ng-content>\n </a>\n </dd>\n}\n", styles: [":host{display:table-row-group}.content-wrapper:empty{display:none}\n"] }]
82
82
  }], propDecorators: { actionClick: [{
@@ -100,10 +100,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
100
100
  class GovukSummaryListComponent {
101
101
  summaryListId;
102
102
  classes;
103
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
104
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukSummaryListComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list", inputs: { summaryListId: "summaryListId", classes: "classes" }, ngImport: i0, template: "<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
103
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
104
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukSummaryListComponent, isStandalone: true, selector: "opal-lib-govuk-summary-list", inputs: { summaryListId: "summaryListId", classes: "classes" }, ngImport: i0, template: "<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
105
105
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukSummaryListComponent, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukSummaryListComponent, decorators: [{
107
107
  type: Component,
108
108
  args: [{ selector: 'opal-lib-govuk-summary-list', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dl class=\"govuk-summary-list {{ classes }}\" [id]=\"summaryListId\">\n <ng-content></ng-content>\n</dl>\n" }]
109
109
  }], propDecorators: { summaryListId: [{
@@ -7,10 +7,10 @@ class GovukTableBodyRowDataComponent {
7
7
  get hostId() {
8
8
  return this.id;
9
9
  }
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableBodyRowDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukTableBodyRowDataComponent, isStandalone: true, selector: "opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]", inputs: { id: "id" }, host: { properties: { "class": "this.hostClass", "id": "this.hostId" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableBodyRowDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
11
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukTableBodyRowDataComponent, isStandalone: true, selector: "opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]", inputs: { id: "id" }, host: { properties: { "class": "this.hostClass", "id": "this.hostId" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableBodyRowDataComponent, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableBodyRowDataComponent, decorators: [{
14
14
  type: Component,
15
15
  args: [{ selector: 'opal-lib-govuk-table-body-row-data, [opal-lib-govuk-table-body-row-data]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
16
16
  }], propDecorators: { id: [{
@@ -29,10 +29,10 @@ class GovukTableBodyRowComponent {
29
29
  get hostClass() {
30
30
  return `govuk-table__row ${this.bodyRowClasses}`;
31
31
  }
32
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableBodyRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukTableBodyRowComponent, isStandalone: true, selector: "opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]", inputs: { bodyRowClasses: "bodyRowClasses" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableBodyRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukTableBodyRowComponent, isStandalone: true, selector: "opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]", inputs: { bodyRowClasses: "bodyRowClasses" }, host: { properties: { "class": "this.hostClass" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableBodyRowComponent, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableBodyRowComponent, decorators: [{
36
36
  type: Component,
37
37
  args: [{ selector: 'opal-lib-govuk-table-body-row, [opal-lib-govuk-table-body-row]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
38
38
  }], propDecorators: { bodyRowClasses: [{
@@ -48,10 +48,10 @@ class GovukTableHeadingComponent {
48
48
  get hostScope() {
49
49
  return 'col';
50
50
  }
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukTableHeadingComponent, isStandalone: true, selector: "opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]", host: { properties: { "class": "this.hostClass", "scope": "this.hostScope" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukTableHeadingComponent, isStandalone: true, selector: "opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]", host: { properties: { "class": "this.hostClass", "scope": "this.hostScope" } }, ngImport: i0, template: "<ng-content></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableHeadingComponent, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableHeadingComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{ selector: 'opal-lib-govuk-table-heading, [opal-lib-govuk-table-heading]', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n" }]
57
57
  }], propDecorators: { hostClass: [{
@@ -64,10 +64,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
64
64
 
65
65
  class GovukTableComponent {
66
66
  tableClasses;
67
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
68
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukTableComponent, isStandalone: true, selector: "opal-lib-govuk-table", inputs: { tableClasses: "tableClasses" }, ngImport: i0, template: "<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukTableComponent, isStandalone: true, selector: "opal-lib-govuk-table", inputs: { tableClasses: "tableClasses" }, ngImport: i0, template: "<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTableComponent, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTableComponent, decorators: [{
71
71
  type: Component,
72
72
  args: [{ selector: 'opal-lib-govuk-table', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<table class=\"govuk-table {{ tableClasses }}\">\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <ng-content select=\"[head]\"></ng-content>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <ng-content select=\"[body]\"></ng-content>\n <ng-content select=\"[results]\"></ng-content>\n </tbody>\n</table>\n" }]
73
73
  }], propDecorators: { tableClasses: [{
@@ -46,10 +46,10 @@ class GovukTabsListItemComponent {
46
46
  activate(fragment) {
47
47
  this.router.navigate(['./'], { relativeTo: this.route, fragment });
48
48
  }
49
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTabsListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
50
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: GovukTabsListItemComponent, isStandalone: true, selector: "opal-lib-govuk-tabs-list-item, [opal-lib-govuk-tabs-list-item]", inputs: { tabItemId: "tabItemId", tabItemFragment: "tabItemFragment", activeTabItemFragment: "activeTabItemFragment" }, host: { properties: { "class": "this.hostClass", "attr.role": "this.hostRole" } }, ngImport: i0, template: "<a\n #tabLink\n class=\"govuk-tabs__tab\"\n (click)=\"handleItemClick($event, tabItemFragment)\"\n [attr.href]=\"'#' + tabItemFragment\"\n [id]=\"resolvedTabItemId\"\n role=\"tab\"\n [attr.aria-controls]=\"tabItemFragment\"\n [attr.aria-selected]=\"isActive ? 'true' : 'false'\"\n [attr.tabindex]=\"isActive ? 0 : -1\"\n>\n <ng-content></ng-content>\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTabsListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
50
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: GovukTabsListItemComponent, isStandalone: true, selector: "opal-lib-govuk-tabs-list-item, [opal-lib-govuk-tabs-list-item]", inputs: { tabItemId: "tabItemId", tabItemFragment: "tabItemFragment", activeTabItemFragment: "activeTabItemFragment" }, host: { properties: { "class": "this.hostClass", "attr.role": "this.hostRole" } }, ngImport: i0, template: "<a\n #tabLink\n class=\"govuk-tabs__tab\"\n (click)=\"handleItemClick($event, tabItemFragment)\"\n [attr.href]=\"'#' + tabItemFragment\"\n [id]=\"resolvedTabItemId\"\n role=\"tab\"\n [attr.aria-controls]=\"tabItemFragment\"\n [attr.aria-selected]=\"isActive ? 'true' : 'false'\"\n [attr.tabindex]=\"isActive ? 0 : -1\"\n>\n <ng-content></ng-content>\n</a>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
51
51
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: GovukTabsListItemComponent, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: GovukTabsListItemComponent, decorators: [{
53
53
  type: Component,
54
54
  args: [{ selector: 'opal-lib-govuk-tabs-list-item, [opal-lib-govuk-tabs-list-item]', changeDetection: ChangeDetectionStrategy.OnPush, template: "<a\n #tabLink\n class=\"govuk-tabs__tab\"\n (click)=\"handleItemClick($event, tabItemFragment)\"\n [attr.href]=\"'#' + tabItemFragment\"\n [id]=\"resolvedTabItemId\"\n role=\"tab\"\n [attr.aria-controls]=\"tabItemFragment\"\n [attr.aria-selected]=\"isActive ? 'true' : 'false'\"\n [attr.tabindex]=\"isActive ? 0 : -1\"\n>\n <ng-content></ng-content>\n</a>\n" }]
55
55
  }], propDecorators: { tabItemId: [{