@hmcts/opal-frontend-common 0.0.109 → 0.0.111

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 (419) hide show
  1. package/fesm2022/hmcts-opal-frontend-common-access-denied.component-DuQgLlU6.mjs +57 -0
  2. package/fesm2022/hmcts-opal-frontend-common-account-created.component-DtlFlzU9.mjs +47 -0
  3. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.mjs +73 -81
  4. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.mjs +71 -92
  5. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.mjs +0 -4
  6. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.mjs +133 -233
  7. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base-interfaces.mjs +0 -4
  8. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.mjs +123 -251
  9. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-parent-base.mjs +24 -43
  10. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base-interfaces.mjs +0 -4
  11. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.mjs +66 -94
  12. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base-interfaces.mjs +0 -4
  13. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-base.mjs +340 -616
  14. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-base.mjs +25 -61
  15. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.mjs +88 -142
  16. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-instances-table-base.mjs +48 -29
  17. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-constants.mjs +14 -19
  18. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-interfaces.mjs +0 -4
  19. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-types.mjs +0 -4
  20. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base.mjs +144 -273
  21. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-interfaces.mjs +0 -4
  22. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.mjs +104 -129
  23. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-types.mjs +0 -4
  24. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.mjs +123 -204
  25. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.mjs +35 -121
  26. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-interfaces.mjs +0 -4
  27. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-types.mjs +0 -4
  28. package/fesm2022/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.mjs +111 -183
  29. package/fesm2022/hmcts-opal-frontend-common-components-abstract-interfaces.mjs +0 -4
  30. package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete-interfaces.mjs +0 -4
  31. package/fesm2022/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.mjs +278 -275
  32. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-accessible-monetary.mjs +66 -53
  33. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.mjs +44 -21
  34. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.mjs +44 -21
  35. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.mjs +54 -27
  36. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-account-information.mjs +38 -17
  37. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-action-links.mjs +70 -37
  38. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-deferred-live-region-announcement.mjs +109 -119
  39. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.mjs +38 -17
  40. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-page-header.mjs +40 -17
  41. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.mjs +66 -27
  42. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.mjs +44 -21
  43. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.mjs +54 -27
  44. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.mjs +54 -27
  45. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.mjs +67 -42
  46. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.mjs +40 -17
  47. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.mjs +66 -27
  48. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.mjs +42 -21
  49. package/fesm2022/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.mjs +36 -17
  50. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-accordion.mjs +125 -119
  51. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-back-link.mjs +46 -30
  52. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-button.mjs +72 -39
  53. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.mjs +54 -34
  54. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes-interfaces.mjs +0 -4
  55. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.mjs +303 -134
  56. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input-interfaces.mjs +0 -4
  57. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-date-input.mjs +163 -79
  58. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-details.mjs +45 -21
  59. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.mjs +49 -33
  60. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer-interfaces.mjs +0 -4
  61. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-footer.mjs +42 -20
  62. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header-interfaces.mjs +0 -4
  63. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-header.mjs +103 -41
  64. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption-types.mjs +0 -4
  65. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.mjs +90 -39
  66. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.mjs +60 -26
  67. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.mjs +53 -30
  68. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-list.mjs +36 -17
  69. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.mjs +75 -44
  70. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-pagination.mjs +80 -85
  71. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-panel.mjs +53 -25
  72. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio-interfaces.mjs +0 -4
  73. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-radio.mjs +397 -267
  74. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select-interfaces.mjs +0 -4
  75. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-select.mjs +164 -80
  76. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-skip-link.mjs +61 -0
  77. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.mjs +153 -85
  78. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.mjs +246 -121
  79. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-table.mjs +224 -90
  80. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.mjs +99 -76
  81. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.mjs +78 -51
  82. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tabs.mjs +79 -72
  83. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-tag.mjs +55 -25
  84. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-task-list.mjs +112 -46
  85. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-area.mjs +185 -104
  86. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.mjs +165 -95
  87. package/fesm2022/hmcts-opal-frontend-common-components-govuk-govuk-text-input.mjs +151 -81
  88. package/fesm2022/hmcts-opal-frontend-common-components-govuk-helpers.mjs +5 -16
  89. package/fesm2022/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.mjs +65 -32
  90. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-alert.mjs +396 -243
  91. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-badge.mjs +55 -25
  92. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.mjs +53 -28
  93. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-button-menu.mjs +92 -60
  94. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-date-picker.mjs +216 -165
  95. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.mjs +44 -21
  96. 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 +64 -42
  97. 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 +68 -47
  98. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.mjs +52 -33
  99. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.mjs +61 -40
  100. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.mjs +63 -42
  101. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.mjs +38 -17
  102. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-filter.mjs +56 -34
  103. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header-interfaces.mjs +0 -4
  104. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-header.mjs +100 -41
  105. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-inset-text.mjs +62 -26
  106. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-notification-badge.mjs +46 -21
  107. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-page-header.mjs +47 -21
  108. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-pagination.mjs +119 -164
  109. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.mjs +225 -172
  110. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sortable-table.mjs +355 -188
  111. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.mjs +152 -96
  112. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.mjs +61 -29
  113. package/fesm2022/hmcts-opal-frontend-common-components-moj-moj-timeline.mjs +74 -26
  114. package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-BqsP0gj2.mjs +41 -0
  115. package/fesm2022/hmcts-opal-frontend-common-constants.mjs +7 -13
  116. package/fesm2022/hmcts-opal-frontend-common-directives-capitalisation.mjs +55 -43
  117. package/fesm2022/hmcts-opal-frontend-common-directives-govuk-button.mjs +86 -60
  118. package/fesm2022/hmcts-opal-frontend-common-directives-moj-multi-select.mjs +184 -223
  119. package/fesm2022/hmcts-opal-frontend-common-directives-trim-leading-trailing-whitespace.mjs +56 -40
  120. package/fesm2022/hmcts-opal-frontend-common-guards-account.mjs +17 -37
  121. package/fesm2022/hmcts-opal-frontend-common-guards-auth.mjs +30 -41
  122. package/fesm2022/hmcts-opal-frontend-common-guards-business-unit-route-permissions.mjs +31 -90
  123. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate-interfaces.mjs +0 -4
  124. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate-types.mjs +0 -4
  125. package/fesm2022/hmcts-opal-frontend-common-guards-can-deactivate.mjs +3 -9
  126. package/fesm2022/hmcts-opal-frontend-common-guards-feature-flag.mjs +29 -64
  127. package/fesm2022/hmcts-opal-frontend-common-guards-has-flow-state.mjs +13 -20
  128. package/fesm2022/hmcts-opal-frontend-common-guards-has-url-state-match.mjs +19 -48
  129. package/fesm2022/hmcts-opal-frontend-common-guards-helpers.mjs +21 -54
  130. package/fesm2022/hmcts-opal-frontend-common-guards-route-permissions.mjs +20 -30
  131. package/fesm2022/hmcts-opal-frontend-common-guards-signed-in.mjs +13 -24
  132. package/fesm2022/hmcts-opal-frontend-common-guards-types.mjs +0 -4
  133. package/fesm2022/hmcts-opal-frontend-common-interceptors-content-digest.mjs +59 -107
  134. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error-constants.mjs +11 -17
  135. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error-interfaces.mjs +0 -4
  136. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-error.mjs +74 -148
  137. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry-constants.mjs +18 -13
  138. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry-interfaces.mjs +0 -4
  139. package/fesm2022/hmcts-opal-frontend-common-interceptors-http-retry.mjs +65 -134
  140. package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-8EP_PgKk.mjs +55 -0
  141. package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-DuQgLlU6.mjs +57 -0
  142. package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-DtlFlzU9.mjs +47 -0
  143. package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-BqsP0gj2.mjs +41 -0
  144. package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page-interfaces.mjs +0 -4
  145. package/fesm2022/hmcts-opal-frontend-common-pages-dashboard-page.mjs +112 -62
  146. package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-8EP_PgKk.mjs +55 -0
  147. package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-B3EkD8uw.mjs +41 -0
  148. package/fesm2022/hmcts-opal-frontend-common-pages-routing-constants.mjs +22 -27
  149. package/fesm2022/hmcts-opal-frontend-common-pages-routing-interfaces.mjs +0 -4
  150. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-CT2Bh7gD.mjs +127 -0
  151. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-BxpouMug.mjs +55 -0
  152. package/fesm2022/hmcts-opal-frontend-common-pages.mjs +51 -52
  153. package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-B3EkD8uw.mjs +41 -0
  154. package/fesm2022/hmcts-opal-frontend-common-pipes-date-format.mjs +41 -28
  155. package/fesm2022/hmcts-opal-frontend-common-pipes-days-ago.mjs +43 -40
  156. package/fesm2022/hmcts-opal-frontend-common-pipes-monetary.mjs +43 -39
  157. package/fesm2022/hmcts-opal-frontend-common-pipes-national-insurance.mjs +41 -29
  158. package/fesm2022/hmcts-opal-frontend-common-resolvers-title.mjs +37 -25
  159. package/fesm2022/hmcts-opal-frontend-common-services-app-initializer-service.mjs +68 -91
  160. package/fesm2022/hmcts-opal-frontend-common-services-app-insights-service.mjs +74 -65
  161. package/fesm2022/hmcts-opal-frontend-common-services-auth-service-constants.mjs +6 -10
  162. package/fesm2022/hmcts-opal-frontend-common-services-auth-service-interfaces.mjs +0 -4
  163. package/fesm2022/hmcts-opal-frontend-common-services-auth-service.mjs +49 -42
  164. package/fesm2022/hmcts-opal-frontend-common-services-date-service-interfaces.mjs +0 -4
  165. package/fesm2022/hmcts-opal-frontend-common-services-date-service.mjs +118 -233
  166. package/fesm2022/hmcts-opal-frontend-common-services-history-transformation-service.mjs +185 -484
  167. package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.mjs +12 -11
  168. package/fesm2022/hmcts-opal-frontend-common-services-launch-darkly-service.mjs +77 -115
  169. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service-interfaces.mjs +0 -4
  170. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service-mocks.mjs +150 -159
  171. package/fesm2022/hmcts-opal-frontend-common-services-opal-user-service.mjs +119 -202
  172. package/fesm2022/hmcts-opal-frontend-common-services-permissions-service.mjs +47 -68
  173. package/fesm2022/hmcts-opal-frontend-common-services-session-service-constants.mjs +3 -9
  174. package/fesm2022/hmcts-opal-frontend-common-services-session-service-interfaces.mjs +0 -4
  175. package/fesm2022/hmcts-opal-frontend-common-services-session-service-mocks.mjs +4 -8
  176. package/fesm2022/hmcts-opal-frontend-common-services-session-service.mjs +50 -40
  177. package/fesm2022/hmcts-opal-frontend-common-services-sort-service-interfaces.mjs +0 -4
  178. package/fesm2022/hmcts-opal-frontend-common-services-sort-service.mjs +56 -96
  179. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-interfaces.mjs +0 -4
  180. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service-mocks.mjs +19 -26
  181. package/fesm2022/hmcts-opal-frontend-common-services-transfer-state-service.mjs +71 -99
  182. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-constants.mjs +4 -8
  183. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service-interfaces.mjs +0 -4
  184. package/fesm2022/hmcts-opal-frontend-common-services-transformation-service.mjs +65 -106
  185. package/fesm2022/hmcts-opal-frontend-common-services-utils-service.mjs +104 -193
  186. package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-CT2Bh7gD.mjs +127 -0
  187. package/fesm2022/hmcts-opal-frontend-common-sign-in.component-Dz97ji3i.mjs +55 -0
  188. package/fesm2022/hmcts-opal-frontend-common-stores-global-constants.mjs +6 -10
  189. package/fesm2022/hmcts-opal-frontend-common-stores-global-interfaces.mjs +0 -4
  190. package/fesm2022/hmcts-opal-frontend-common-stores-global-types.mjs +0 -4
  191. package/fesm2022/hmcts-opal-frontend-common-stores-global.mjs +52 -57
  192. package/fesm2022/hmcts-opal-frontend-common-types.mjs +0 -4
  193. package/fesm2022/hmcts-opal-frontend-common-validators-amount.mjs +7 -18
  194. package/fesm2022/hmcts-opal-frontend-common-validators-date-after-year.mjs +8 -15
  195. package/fesm2022/hmcts-opal-frontend-common-validators-date-before.mjs +9 -18
  196. package/fesm2022/hmcts-opal-frontend-common-validators-date-of-birth.mjs +13 -21
  197. package/fesm2022/hmcts-opal-frontend-common-validators-future-date.mjs +9 -18
  198. package/fesm2022/hmcts-opal-frontend-common-validators-invalid-value.mjs +6 -12
  199. package/fesm2022/hmcts-opal-frontend-common-validators-national-insurance-number.mjs +9 -17
  200. package/fesm2022/hmcts-opal-frontend-common-validators-non-negative-value.mjs +10 -26
  201. package/fesm2022/hmcts-opal-frontend-common-validators-non-zero-value.mjs +10 -26
  202. package/fesm2022/hmcts-opal-frontend-common-validators-optional-max-length.mjs +7 -14
  203. package/fesm2022/hmcts-opal-frontend-common-validators-optional-valid-date.mjs +13 -26
  204. package/fesm2022/hmcts-opal-frontend-common-validators-optional-valid-telephone.mjs +12 -17
  205. package/fesm2022/hmcts-opal-frontend-common-validators-over-eighteen.mjs +19 -48
  206. package/fesm2022/hmcts-opal-frontend-common-validators-past-date.mjs +11 -19
  207. package/fesm2022/hmcts-opal-frontend-common-validators-pattern-validator.mjs +7 -26
  208. package/fesm2022/hmcts-opal-frontend-common-validators-valid-value.mjs +6 -12
  209. package/fesm2022/hmcts-opal-frontend-common.mjs +56 -76
  210. package/package.json +6 -1
  211. package/types/hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.d.ts +95 -104
  212. package/types/hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.d.ts +75 -78
  213. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.d.ts +4 -7
  214. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base.d.ts +123 -126
  215. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base-interfaces.d.ts +4 -7
  216. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-base.d.ts +156 -159
  217. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-parent-base.d.ts +13 -16
  218. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base-interfaces.d.ts +5 -7
  219. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-array-removal-base.d.ts +46 -50
  220. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-base-interfaces.d.ts +27 -35
  221. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-base.d.ts +323 -328
  222. package/types/hmcts-opal-frontend-common-components-abstract-abstract-form-parent-base.d.ts +33 -36
  223. package/types/hmcts-opal-frontend-common-components-abstract-abstract-nested-form-base.d.ts +75 -78
  224. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-instances-table-base.d.ts +15 -13
  225. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-constants.d.ts +16 -19
  226. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-interfaces.d.ts +23 -30
  227. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base-types.d.ts +1 -3
  228. package/types/hmcts-opal-frontend-common-components-abstract-abstract-report-summary-list-base.d.ts +179 -188
  229. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-interfaces.d.ts +6 -9
  230. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-pagination.d.ts +66 -66
  231. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table-types.d.ts +2 -5
  232. package/types/hmcts-opal-frontend-common-components-abstract-abstract-sortable-table.d.ts +112 -113
  233. package/types/hmcts-opal-frontend-common-components-abstract-abstract-tab-data.d.ts +83 -86
  234. package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-interfaces.d.ts +12 -15
  235. package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter-types.d.ts +1 -3
  236. package/types/hmcts-opal-frontend-common-components-abstract-abstract-table-filter.d.ts +113 -116
  237. package/types/hmcts-opal-frontend-common-components-abstract-interfaces.d.ts +16 -23
  238. package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete-interfaces.d.ts +4 -6
  239. package/types/hmcts-opal-frontend-common-components-alphagov-alphagov-accessible-autocomplete.d.ts +136 -95
  240. package/types/hmcts-opal-frontend-common-components-custom-custom-accessible-monetary.d.ts +35 -29
  241. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-label.d.ts +6 -9
  242. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item-custom-account-information-item-value.d.ts +6 -9
  243. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information-custom-account-information-item.d.ts +12 -10
  244. package/types/hmcts-opal-frontend-common-components-custom-custom-account-information.d.ts +5 -8
  245. package/types/hmcts-opal-frontend-common-components-custom-custom-action-links.d.ts +18 -12
  246. package/types/hmcts-opal-frontend-common-components-custom-custom-deferred-live-region-announcement.d.ts +67 -57
  247. package/types/hmcts-opal-frontend-common-components-custom-custom-horizontal-scroll-pane.d.ts +5 -8
  248. package/types/hmcts-opal-frontend-common-components-custom-custom-page-header.d.ts +5 -8
  249. package/types/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes-custom-scrollable-panes-inner-pane.d.ts +16 -10
  250. package/types/hmcts-opal-frontend-common-components-custom-custom-scrollable-panes.d.ts +11 -9
  251. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-label.d.ts +12 -10
  252. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item-custom-summary-metric-bar-item-value.d.ts +12 -10
  253. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar-custom-summary-metric-bar-item.d.ts +26 -20
  254. package/types/hmcts-opal-frontend-common-components-custom-custom-summary-metric-bar.d.ts +5 -8
  255. package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-inner-pane.d.ts +16 -10
  256. package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane-custom-vertical-scroll-pane-outer-pane.d.ts +11 -9
  257. package/types/hmcts-opal-frontend-common-components-custom-custom-vertical-scroll-pane.d.ts +5 -8
  258. package/types/hmcts-opal-frontend-common-components-govuk-govuk-accordion.d.ts +72 -64
  259. package/types/hmcts-opal-frontend-common-components-govuk-govuk-back-link.d.ts +16 -17
  260. package/types/hmcts-opal-frontend-common-components-govuk-govuk-button.d.ts +29 -17
  261. package/types/hmcts-opal-frontend-common-components-govuk-govuk-cancel-link.d.ts +22 -18
  262. package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes-interfaces.d.ts +14 -16
  263. package/types/hmcts-opal-frontend-common-components-govuk-govuk-checkboxes.d.ts +96 -43
  264. package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input-interfaces.d.ts +13 -15
  265. package/types/hmcts-opal-frontend-common-components-govuk-govuk-date-input.d.ts +75 -34
  266. package/types/hmcts-opal-frontend-common-components-govuk-govuk-details.d.ts +11 -9
  267. package/types/hmcts-opal-frontend-common-components-govuk-govuk-error-summary.d.ts +23 -19
  268. package/types/hmcts-opal-frontend-common-components-govuk-govuk-footer-interfaces.d.ts +5 -7
  269. package/types/hmcts-opal-frontend-common-components-govuk-govuk-footer.d.ts +14 -13
  270. package/types/hmcts-opal-frontend-common-components-govuk-govuk-header-interfaces.d.ts +4 -6
  271. package/types/hmcts-opal-frontend-common-components-govuk-govuk-header.d.ts +25 -23
  272. package/types/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption-types.d.ts +1 -3
  273. package/types/hmcts-opal-frontend-common-components-govuk-govuk-heading-with-caption.d.ts +32 -14
  274. package/types/hmcts-opal-frontend-common-components-govuk-govuk-inset-text.d.ts +16 -10
  275. package/types/hmcts-opal-frontend-common-components-govuk-govuk-list-govuk-list-link.d.ts +16 -12
  276. package/types/hmcts-opal-frontend-common-components-govuk-govuk-list.d.ts +5 -8
  277. package/types/hmcts-opal-frontend-common-components-govuk-govuk-notification-banner.d.ts +37 -20
  278. package/types/hmcts-opal-frontend-common-components-govuk-govuk-pagination.d.ts +59 -47
  279. package/types/hmcts-opal-frontend-common-components-govuk-govuk-panel.d.ts +12 -10
  280. package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio-interfaces.d.ts +17 -20
  281. package/types/hmcts-opal-frontend-common-components-govuk-govuk-radio.d.ts +162 -101
  282. package/types/hmcts-opal-frontend-common-components-govuk-govuk-select-interfaces.d.ts +4 -6
  283. package/types/hmcts-opal-frontend-common-components-govuk-govuk-select.d.ts +67 -26
  284. package/types/hmcts-opal-frontend-common-components-govuk-govuk-skip-link.d.ts +20 -0
  285. package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-card-list.d.ts +67 -35
  286. package/types/hmcts-opal-frontend-common-components-govuk-govuk-summary-list.d.ts +80 -47
  287. package/types/hmcts-opal-frontend-common-components-govuk-govuk-table.d.ts +47 -30
  288. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-list-item.d.ts +44 -34
  289. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs-govuk-tabs-panel.d.ts +19 -17
  290. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tabs.d.ts +44 -36
  291. package/types/hmcts-opal-frontend-common-components-govuk-govuk-tag.d.ts +16 -10
  292. package/types/hmcts-opal-frontend-common-components-govuk-govuk-task-list.d.ts +35 -17
  293. package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-area.d.ts +83 -29
  294. package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input-prefix-suffix.d.ts +74 -28
  295. package/types/hmcts-opal-frontend-common-components-govuk-govuk-text-input.d.ts +65 -23
  296. package/types/hmcts-opal-frontend-common-components-govuk-helpers.d.ts +1 -3
  297. package/types/hmcts-opal-frontend-common-components-hod-hod-loading-spinner.d.ts +18 -12
  298. package/types/hmcts-opal-frontend-common-components-moj-moj-alert.d.ts +89 -69
  299. package/types/hmcts-opal-frontend-common-components-moj-moj-badge.d.ts +16 -10
  300. package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu-moj-button-menu-item.d.ts +16 -12
  301. package/types/hmcts-opal-frontend-common-components-moj-moj-button-menu.d.ts +32 -26
  302. package/types/hmcts-opal-frontend-common-components-moj-moj-date-picker.d.ts +116 -60
  303. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-header.d.ts +11 -9
  304. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-item.d.ts +33 -29
  305. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option-moj-filter-panel-option-form-group-keyword.d.ts +34 -22
  306. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-option.d.ts +22 -18
  307. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected-moj-filter-panel-selected-tag.d.ts +32 -24
  308. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel-moj-filter-panel-selected.d.ts +29 -21
  309. package/types/hmcts-opal-frontend-common-components-moj-moj-filter-moj-filter-panel.d.ts +5 -8
  310. package/types/hmcts-opal-frontend-common-components-moj-moj-filter.d.ts +23 -17
  311. package/types/hmcts-opal-frontend-common-components-moj-moj-header-interfaces.d.ts +4 -6
  312. package/types/hmcts-opal-frontend-common-components-moj-moj-header.d.ts +25 -23
  313. package/types/hmcts-opal-frontend-common-components-moj-moj-inset-text.d.ts +16 -10
  314. package/types/hmcts-opal-frontend-common-components-moj-moj-notification-badge.d.ts +11 -9
  315. package/types/hmcts-opal-frontend-common-components-moj-moj-page-header.d.ts +11 -9
  316. package/types/hmcts-opal-frontend-common-components-moj-moj-pagination.d.ts +99 -83
  317. package/types/hmcts-opal-frontend-common-components-moj-moj-primary-navigation.d.ts +102 -67
  318. package/types/hmcts-opal-frontend-common-components-moj-moj-sortable-table.d.ts +83 -51
  319. package/types/hmcts-opal-frontend-common-components-moj-moj-sub-navigation.d.ts +62 -42
  320. package/types/hmcts-opal-frontend-common-components-moj-moj-ticket-panel.d.ts +21 -11
  321. package/types/hmcts-opal-frontend-common-components-moj-moj-timeline.d.ts +8 -12
  322. package/types/hmcts-opal-frontend-common-constants.d.ts +20 -25
  323. package/types/hmcts-opal-frontend-common-directives-capitalisation.d.ts +17 -15
  324. package/types/hmcts-opal-frontend-common-directives-govuk-button.d.ts +33 -21
  325. package/types/hmcts-opal-frontend-common-directives-moj-multi-select.d.ts +92 -69
  326. package/types/hmcts-opal-frontend-common-directives-trim-leading-trailing-whitespace.d.ts +13 -11
  327. package/types/hmcts-opal-frontend-common-guards-account.d.ts +2 -5
  328. package/types/hmcts-opal-frontend-common-guards-auth.d.ts +4 -7
  329. package/types/hmcts-opal-frontend-common-guards-business-unit-route-permissions.d.ts +14 -19
  330. package/types/hmcts-opal-frontend-common-guards-can-deactivate-interfaces.d.ts +4 -7
  331. package/types/hmcts-opal-frontend-common-guards-can-deactivate-types.d.ts +3 -6
  332. package/types/hmcts-opal-frontend-common-guards-can-deactivate.d.ts +4 -8
  333. package/types/hmcts-opal-frontend-common-guards-feature-flag.d.ts +4 -7
  334. package/types/hmcts-opal-frontend-common-guards-has-flow-state.d.ts +2 -5
  335. package/types/hmcts-opal-frontend-common-guards-has-url-state-match.d.ts +2 -5
  336. package/types/hmcts-opal-frontend-common-guards-helpers.d.ts +8 -15
  337. package/types/hmcts-opal-frontend-common-guards-route-permissions.d.ts +2 -5
  338. package/types/hmcts-opal-frontend-common-guards-signed-in.d.ts +2 -5
  339. package/types/hmcts-opal-frontend-common-guards-types.d.ts +2 -5
  340. package/types/hmcts-opal-frontend-common-interceptors-content-digest.d.ts +2 -5
  341. package/types/hmcts-opal-frontend-common-interceptors-http-error-constants.d.ts +4 -9
  342. package/types/hmcts-opal-frontend-common-interceptors-http-error-interfaces.d.ts +9 -11
  343. package/types/hmcts-opal-frontend-common-interceptors-http-error.d.ts +2 -5
  344. package/types/hmcts-opal-frontend-common-interceptors-http-retry-constants.d.ts +5 -11
  345. package/types/hmcts-opal-frontend-common-interceptors-http-retry-interfaces.d.ts +7 -9
  346. package/types/hmcts-opal-frontend-common-interceptors-http-retry.d.ts +9 -15
  347. package/types/hmcts-opal-frontend-common-pages-dashboard-page-interfaces.d.ts +17 -21
  348. package/types/hmcts-opal-frontend-common-pages-dashboard-page.d.ts +89 -96
  349. package/types/hmcts-opal-frontend-common-pages-routing-constants.d.ts +3 -7
  350. package/types/hmcts-opal-frontend-common-pages-routing-interfaces.d.ts +24 -29
  351. package/types/hmcts-opal-frontend-common-pages.d.ts +2 -5
  352. package/types/hmcts-opal-frontend-common-pipes-date-format.d.ts +8 -11
  353. package/types/hmcts-opal-frontend-common-pipes-days-ago.d.ts +7 -10
  354. package/types/hmcts-opal-frontend-common-pipes-monetary.d.ts +8 -11
  355. package/types/hmcts-opal-frontend-common-pipes-national-insurance.d.ts +7 -10
  356. package/types/hmcts-opal-frontend-common-resolvers-title.d.ts +8 -11
  357. package/types/hmcts-opal-frontend-common-services-app-initializer-service.d.ts +37 -41
  358. package/types/hmcts-opal-frontend-common-services-app-insights-service.d.ts +14 -17
  359. package/types/hmcts-opal-frontend-common-services-auth-service-constants.d.ts +2 -5
  360. package/types/hmcts-opal-frontend-common-services-auth-service-interfaces.d.ts +6 -8
  361. package/types/hmcts-opal-frontend-common-services-auth-service.d.ts +8 -12
  362. package/types/hmcts-opal-frontend-common-services-date-service-interfaces.d.ts +7 -9
  363. package/types/hmcts-opal-frontend-common-services-date-service.d.ts +149 -153
  364. package/types/hmcts-opal-frontend-common-services-history-transformation-service.d.ts +104 -125
  365. package/types/hmcts-opal-frontend-common-services-launch-darkly-service-mocks.d.ts +13 -16
  366. package/types/hmcts-opal-frontend-common-services-launch-darkly-service.d.ts +46 -49
  367. package/types/hmcts-opal-frontend-common-services-opal-user-service-interfaces.d.ts +28 -36
  368. package/types/hmcts-opal-frontend-common-services-opal-user-service-mocks.d.ts +4 -9
  369. package/types/hmcts-opal-frontend-common-services-opal-user-service.d.ts +97 -104
  370. package/types/hmcts-opal-frontend-common-services-permissions-service.d.ts +33 -36
  371. package/types/hmcts-opal-frontend-common-services-session-service-constants.d.ts +2 -5
  372. package/types/hmcts-opal-frontend-common-services-session-service-interfaces.d.ts +6 -9
  373. package/types/hmcts-opal-frontend-common-services-session-service-mocks.d.ts +2 -5
  374. package/types/hmcts-opal-frontend-common-services-session-service.d.ts +17 -20
  375. package/types/hmcts-opal-frontend-common-services-sort-service-interfaces.d.ts +9 -13
  376. package/types/hmcts-opal-frontend-common-services-sort-service.d.ts +64 -67
  377. package/types/hmcts-opal-frontend-common-services-transfer-state-service-interfaces.d.ts +20 -26
  378. package/types/hmcts-opal-frontend-common-services-transfer-state-service-mocks.d.ts +11 -17
  379. package/types/hmcts-opal-frontend-common-services-transfer-state-service.d.ts +44 -47
  380. package/types/hmcts-opal-frontend-common-services-transformation-service-constants.d.ts +2 -5
  381. package/types/hmcts-opal-frontend-common-services-transformation-service-interfaces.d.ts +12 -14
  382. package/types/hmcts-opal-frontend-common-services-transformation-service.d.ts +41 -44
  383. package/types/hmcts-opal-frontend-common-services-utils-service.d.ts +119 -114
  384. package/types/hmcts-opal-frontend-common-stores-global-constants.d.ts +2 -5
  385. package/types/hmcts-opal-frontend-common-stores-global-interfaces.d.ts +6 -8
  386. package/types/hmcts-opal-frontend-common-stores-global-types.d.ts +2 -5
  387. package/types/hmcts-opal-frontend-common-stores-global.d.ts +52 -57
  388. package/types/hmcts-opal-frontend-common-types.d.ts +1 -3
  389. package/types/hmcts-opal-frontend-common-validators-amount.d.ts +2 -5
  390. package/types/hmcts-opal-frontend-common-validators-date-after-year.d.ts +2 -5
  391. package/types/hmcts-opal-frontend-common-validators-date-before.d.ts +2 -5
  392. package/types/hmcts-opal-frontend-common-validators-date-of-birth.d.ts +2 -5
  393. package/types/hmcts-opal-frontend-common-validators-future-date.d.ts +2 -5
  394. package/types/hmcts-opal-frontend-common-validators-invalid-value.d.ts +2 -5
  395. package/types/hmcts-opal-frontend-common-validators-national-insurance-number.d.ts +2 -5
  396. package/types/hmcts-opal-frontend-common-validators-non-negative-value.d.ts +2 -5
  397. package/types/hmcts-opal-frontend-common-validators-non-zero-value.d.ts +2 -5
  398. package/types/hmcts-opal-frontend-common-validators-optional-max-length.d.ts +2 -5
  399. package/types/hmcts-opal-frontend-common-validators-optional-valid-date.d.ts +2 -5
  400. package/types/hmcts-opal-frontend-common-validators-optional-valid-telephone.d.ts +2 -5
  401. package/types/hmcts-opal-frontend-common-validators-over-eighteen.d.ts +3 -6
  402. package/types/hmcts-opal-frontend-common-validators-past-date.d.ts +2 -5
  403. package/types/hmcts-opal-frontend-common-validators-pattern-validator.d.ts +2 -5
  404. package/types/hmcts-opal-frontend-common-validators-valid-value.d.ts +2 -5
  405. package/types/hmcts-opal-frontend-common.d.ts +23 -31
  406. package/fesm2022/hmcts-opal-frontend-common-access-denied.component-DeYZkvfj.mjs +0 -21
  407. package/fesm2022/hmcts-opal-frontend-common-account-created.component-DUd7qbuq.mjs +0 -15
  408. package/fesm2022/hmcts-opal-frontend-common-concurrency-failure.component-BfPeI980.mjs +0 -14
  409. package/fesm2022/hmcts-opal-frontend-common-internal-server-error.component-DzHlkMqq.mjs +0 -26
  410. package/fesm2022/hmcts-opal-frontend-common-pages-access-denied.component-DeYZkvfj.mjs +0 -21
  411. package/fesm2022/hmcts-opal-frontend-common-pages-account-created.component-DUd7qbuq.mjs +0 -15
  412. package/fesm2022/hmcts-opal-frontend-common-pages-concurrency-failure.component-BfPeI980.mjs +0 -14
  413. package/fesm2022/hmcts-opal-frontend-common-pages-internal-server-error.component-DzHlkMqq.mjs +0 -26
  414. package/fesm2022/hmcts-opal-frontend-common-pages-permission-denied.component-C28WmjEQ.mjs +0 -14
  415. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in-stub.component-BKGzFqXC.mjs +0 -42
  416. package/fesm2022/hmcts-opal-frontend-common-pages-sign-in.component-DgVojWf0.mjs +0 -28
  417. package/fesm2022/hmcts-opal-frontend-common-permission-denied.component-C28WmjEQ.mjs +0 -14
  418. package/fesm2022/hmcts-opal-frontend-common-sign-in-stub.component-BKGzFqXC.mjs +0 -42
  419. package/fesm2022/hmcts-opal-frontend-common-sign-in.component-BZz2kmre.mjs +0 -28
@@ -0,0 +1,57 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, inject } from "@angular/core";
3
+ import { Router } from "@angular/router";
4
+ import { GovukButtonComponent } from "@hmcts/opal-frontend-common/components/govuk/govuk-button";
5
+ var AccessDeniedComponent = class AccessDeniedComponent {
6
+ router = inject(Router);
7
+ handleGoBackButtonClick() {
8
+ this.router.navigate(["/"]);
9
+ }
10
+ static ɵfac = i0.ɵɵngDeclareFactory({
11
+ minVersion: "12.0.0",
12
+ version: "21.2.25",
13
+ ngImport: i0,
14
+ type: AccessDeniedComponent,
15
+ deps: [],
16
+ target: i0.ɵɵFactoryTarget.Component
17
+ });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({
19
+ minVersion: "14.0.0",
20
+ version: "21.2.25",
21
+ type: AccessDeniedComponent,
22
+ isStandalone: true,
23
+ selector: "opal-lib-access-denied",
24
+ ngImport: i0,
25
+ template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Access Denied</h1>\n <p class=\"govuk-body\">You do not have the appropriate permissions to access this page.</p>\n <p class=\"govuk-body\">\n <opal-lib-govuk-button\n buttonClasses=\"govuk-button--secondary\"\n buttonId=\"go-back\"\n (buttonClickEvent)=\"handleGoBackButtonClick()\"\n >\n Back to dashboard</opal-lib-govuk-button\n >\n </p>\n </div>\n</div>\n",
26
+ dependencies: [{
27
+ kind: "component",
28
+ type: GovukButtonComponent,
29
+ selector: "opal-lib-govuk-button",
30
+ inputs: [
31
+ "buttonId",
32
+ "type",
33
+ "buttonClasses"
34
+ ],
35
+ outputs: ["buttonClickEvent"]
36
+ }],
37
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
38
+ });
39
+ };
40
+ i0.ɵɵngDeclareClassMetadata({
41
+ minVersion: "12.0.0",
42
+ version: "21.2.25",
43
+ ngImport: i0,
44
+ type: AccessDeniedComponent,
45
+ decorators: [{
46
+ type: Component,
47
+ args: [{
48
+ selector: "opal-lib-access-denied",
49
+ imports: [GovukButtonComponent],
50
+ changeDetection: ChangeDetectionStrategy.OnPush,
51
+ template: "<div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <h1 class=\"govuk-heading-l\">Access Denied</h1>\n <p class=\"govuk-body\">You do not have the appropriate permissions to access this page.</p>\n <p class=\"govuk-body\">\n <opal-lib-govuk-button\n buttonClasses=\"govuk-button--secondary\"\n buttonId=\"go-back\"\n (buttonClickEvent)=\"handleGoBackButtonClick()\"\n >\n Back to dashboard</opal-lib-govuk-button\n >\n </p>\n </div>\n</div>\n"
52
+ }]
53
+ }]
54
+ });
55
+ export { AccessDeniedComponent };
56
+
57
+ //# sourceMappingURL=hmcts-opal-frontend-common-access-denied.component-DuQgLlU6.mjs.map
@@ -0,0 +1,47 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component } from "@angular/core";
3
+ import { GovukPanelComponent } from "@hmcts/opal-frontend-common/components/govuk/govuk-panel";
4
+ var AccountCreated = class AccountCreated {
5
+ static ɵfac = i0.ɵɵngDeclareFactory({
6
+ minVersion: "12.0.0",
7
+ version: "21.2.25",
8
+ ngImport: i0,
9
+ type: AccountCreated,
10
+ deps: [],
11
+ target: i0.ɵɵFactoryTarget.Component
12
+ });
13
+ static ɵcmp = i0.ɵɵngDeclareComponent({
14
+ minVersion: "14.0.0",
15
+ version: "21.2.25",
16
+ type: AccountCreated,
17
+ isStandalone: true,
18
+ selector: "opal-lib-account-created",
19
+ ngImport: i0,
20
+ template: "<div class=\"govuk-grid-column-two-thirds\">\n <opal-lib-govuk-panel panelTitle=\"User account created\"></opal-lib-govuk-panel>\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h2 class=\"govuk-fieldset__heading\">Next steps</h2>\n </legend>\n <p class=\"govuk-body\">\n Your Opal account has been created but is not yet live. <br />\n Contact your team lead to activate it fully.\n </p>\n </fieldset>\n</div>\n",
21
+ dependencies: [{
22
+ kind: "component",
23
+ type: GovukPanelComponent,
24
+ selector: "opal-lib-govuk-panel",
25
+ inputs: ["panelTitle"]
26
+ }],
27
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
28
+ });
29
+ };
30
+ i0.ɵɵngDeclareClassMetadata({
31
+ minVersion: "12.0.0",
32
+ version: "21.2.25",
33
+ ngImport: i0,
34
+ type: AccountCreated,
35
+ decorators: [{
36
+ type: Component,
37
+ args: [{
38
+ selector: "opal-lib-account-created",
39
+ imports: [GovukPanelComponent],
40
+ changeDetection: ChangeDetectionStrategy.OnPush,
41
+ template: "<div class=\"govuk-grid-column-two-thirds\">\n <opal-lib-govuk-panel panelTitle=\"User account created\"></opal-lib-govuk-panel>\n <fieldset class=\"govuk-fieldset\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h2 class=\"govuk-fieldset__heading\">Next steps</h2>\n </legend>\n <p class=\"govuk-body\">\n Your Opal account has been created but is not yet live. <br />\n Contact your team lead to activate it fully.\n </p>\n </fieldset>\n</div>\n"
42
+ }]
43
+ }]
44
+ });
45
+ export { AccountCreated };
46
+
47
+ //# sourceMappingURL=hmcts-opal-frontend-common-account-created.component-DtlFlzU9.mjs.map
@@ -1,82 +1,74 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Component } from '@angular/core';
3
- import { Subject } from 'rxjs';
4
- import { map, tap, distinctUntilChanged, takeUntil } from 'rxjs/operators';
5
- import { AbstractTabData } from '@hmcts/opal-frontend-common/components/abstract/abstract-tab-data';
6
- import { PermissionsService } from '@hmcts/opal-frontend-common/services/permissions-service';
7
- import { GlobalStore } from '@hmcts/opal-frontend-common/stores/global';
8
-
9
- // abstract-account-summary-base.component.ts
10
- class AbstractAccountSummaryBaseComponent extends AbstractTabData {
11
- destroy$ = new Subject();
12
- refreshFragment$ = new Subject();
13
- permissionsService = inject(PermissionsService);
14
- globalStore = inject(GlobalStore);
15
- userState = this.globalStore.userState();
16
- accountData;
17
- /**
18
- * Fetches tab data and compares its version.
19
- * @param serviceCall The observable service call to fetch the tab data.
20
- * @param compareVersion A callback function to compare the version of the fetched data.
21
- * @returns An observable of the transformed tab data.
22
- */
23
- fetchTabData(serviceCall, compareVersion) {
24
- return serviceCall.pipe(map((data) => this.transformTabData(data)), tap((data) => compareVersion(data.version)), distinctUntilChanged(), takeUntil(this.destroy$));
25
- }
26
- // Default tab transform just returns input; override if needed.
27
- transformTabData(data) {
28
- return data;
29
- }
30
- /**
31
- * Checks if the user has the specified permission.
32
- * @param permission The permission to check.
33
- * @returns True if the user has the permission, false otherwise.
34
- */
35
- hasPermission(permission) {
36
- return this.permissionsService.hasPermissionAccess(permission, this.userState.business_unit_users);
37
- }
38
- /**
39
- * Checks if the user has the specified permission for a specific business unit.
40
- * @param permission The permission to check.
41
- * @param businessUnitId The ID of the business unit.
42
- * @returns True if the user has the permission for the business unit, false otherwise.
43
- */
44
- hasBusinessUnitPermission(permission, businessUnitId) {
45
- return this.permissionsService.hasBusinessUnitPermissionAccess(permission, businessUnitId, this.userState.business_unit_users);
46
- }
47
- /**
48
- * Refreshes the page with the latest header data.
49
- * @param accountId The ID of the account.
50
- * @param onSuccess A callback function to execute on successful data fetch.
51
- */
52
- refreshPage(accountId, onSuccess) {
53
- this.getHeaderData(accountId)
54
- .pipe(tap((header) => this.transformHeaderForStore(accountId, header)), map((header) => this.transformHeaderForView(header)), takeUntil(this.destroy$))
55
- .subscribe((header) => {
56
- onSuccess(header);
57
- this.refreshFragment$.next(this.activeTab);
58
- });
59
- }
60
- ngOnInit() {
61
- this.getHeaderDataFromRoute();
62
- this.setupTabDataStream();
63
- }
64
- ngOnDestroy() {
65
- this.destroy$.next();
66
- this.destroy$.complete();
67
- this.refreshFragment$.complete();
68
- }
69
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AbstractAccountSummaryBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
70
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: AbstractAccountSummaryBaseComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
71
- }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AbstractAccountSummaryBaseComponent, decorators: [{
73
- type: Component,
74
- args: [{ template: '' }]
75
- }] });
76
-
77
- /**
78
- * Generated bundle index. Do not edit.
79
- */
80
-
1
+ import * as i0 from "@angular/core";
2
+ import { Component, inject } from "@angular/core";
3
+ import { Subject } from "rxjs";
4
+ import { distinctUntilChanged, map, takeUntil, tap } from "rxjs/operators";
5
+ import { AbstractTabData } from "@hmcts/opal-frontend-common/components/abstract/abstract-tab-data";
6
+ import { PermissionsService } from "@hmcts/opal-frontend-common/services/permissions-service";
7
+ import { GlobalStore } from "@hmcts/opal-frontend-common/stores/global";
8
+ var AbstractAccountSummaryBaseComponent = class AbstractAccountSummaryBaseComponent extends AbstractTabData {
9
+ destroy$ = new Subject();
10
+ refreshFragment$ = new Subject();
11
+ permissionsService = inject(PermissionsService);
12
+ globalStore = inject(GlobalStore);
13
+ userState = this.globalStore.userState();
14
+ accountData;
15
+ fetchTabData(serviceCall, compareVersion) {
16
+ return serviceCall.pipe(map((data) => this.transformTabData(data)), tap((data) => compareVersion(data.version)), distinctUntilChanged(), takeUntil(this.destroy$));
17
+ }
18
+ transformTabData(data) {
19
+ return data;
20
+ }
21
+ hasPermission(permission) {
22
+ return this.permissionsService.hasPermissionAccess(permission, this.userState.business_unit_users);
23
+ }
24
+ hasBusinessUnitPermission(permission, businessUnitId) {
25
+ return this.permissionsService.hasBusinessUnitPermissionAccess(permission, businessUnitId, this.userState.business_unit_users);
26
+ }
27
+ refreshPage(accountId, onSuccess) {
28
+ this.getHeaderData(accountId).pipe(tap((header) => this.transformHeaderForStore(accountId, header)), map((header) => this.transformHeaderForView(header)), takeUntil(this.destroy$)).subscribe((header) => {
29
+ onSuccess(header);
30
+ this.refreshFragment$.next(this.activeTab);
31
+ });
32
+ }
33
+ ngOnInit() {
34
+ this.getHeaderDataFromRoute();
35
+ this.setupTabDataStream();
36
+ }
37
+ ngOnDestroy() {
38
+ this.destroy$.next();
39
+ this.destroy$.complete();
40
+ this.refreshFragment$.complete();
41
+ }
42
+ static ɵfac = i0.ɵɵngDeclareFactory({
43
+ minVersion: "12.0.0",
44
+ version: "21.2.25",
45
+ ngImport: i0,
46
+ type: AbstractAccountSummaryBaseComponent,
47
+ deps: null,
48
+ target: i0.ɵɵFactoryTarget.Component
49
+ });
50
+ static ɵcmp = i0.ɵɵngDeclareComponent({
51
+ minVersion: "14.0.0",
52
+ version: "21.2.25",
53
+ type: AbstractAccountSummaryBaseComponent,
54
+ isStandalone: true,
55
+ selector: "ng-component",
56
+ usesInheritance: true,
57
+ ngImport: i0,
58
+ template: "",
59
+ isInline: true
60
+ });
61
+ };
62
+ i0.ɵɵngDeclareClassMetadata({
63
+ minVersion: "12.0.0",
64
+ version: "21.2.25",
65
+ ngImport: i0,
66
+ type: AbstractAccountSummaryBaseComponent,
67
+ decorators: [{
68
+ type: Component,
69
+ args: [{ template: "" }]
70
+ }]
71
+ });
81
72
  export { AbstractAccountSummaryBaseComponent };
82
- //# sourceMappingURL=hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.mjs.map
73
+
74
+ //# sourceMappingURL=hmcts-opal-frontend-common-components-abstract-abstract-account-summary-base.mjs.map
@@ -1,94 +1,73 @@
1
- import * as i0 from '@angular/core';
2
- import { Component } from '@angular/core';
3
- import { AbstractAccountSummaryBaseComponent } from '@hmcts/opal-frontend-common/components/abstract/abstract-account-summary-base';
4
-
1
+ import * as i0 from "@angular/core";
2
+ import { Component } from "@angular/core";
3
+ import { AbstractAccountSummaryBaseComponent } from "@hmcts/opal-frontend-common/components/abstract/abstract-account-summary-base";
5
4
  /* istanbul ignore start -- @preserve */
6
- class AbstractCreditorDetailsBaseComponent extends AbstractAccountSummaryBaseComponent {
7
- accountId = this.getAccountIdFromRoute();
8
- /**
9
- * Fetches tab data through the shared summary cache flow and applies account version comparison.
10
- * @param serviceCall The typed service call used to retrieve tab data.
11
- * @returns The tab data observable with the caller's concrete tab type preserved.
12
- */
13
- fetchTabDataTyped(serviceCall) {
14
- return this.fetchTabData(serviceCall, (version) => this.accountStore.compareVersion(version));
15
- }
16
- /**
17
- * Reads creditor heading data resolved on the route, transforms it for display and store state,
18
- * and sets the active tab from the URL fragment.
19
- */
20
- getHeaderDataFromRoute() {
21
- const headingData = this.activatedRoute.snapshot.data[this.headerDataRouteKey];
22
- this.accountData = this.transformHeaderForView(headingData);
23
- this.transformHeaderForStore(this.accountId, this.accountData);
24
- this.activeTab = this.activatedRoute.snapshot.fragment || this.defaultActiveTab;
25
- }
26
- /**
27
- * Transforms payload data using the consuming application's transformation service and configuration.
28
- * @param payload The payload to transform using the configured payload transformer.
29
- * @returns The transformed payload.
30
- */
31
- transformPayload(payload) {
32
- /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
33
- return this.payloadTransformer.transformPayload(payload, this.transformItemsConfig);
34
- }
35
- /**
36
- * Transforms creditor heading data from the API shape into the view shape.
37
- * @param header The creditor heading data to transform.
38
- * @returns The transformed creditor heading data for display.
39
- */
40
- transformHeaderForView(header) {
41
- return this.transformPayload(header);
42
- }
43
- /**
44
- * Transforms creditor tab data from the API shape into the view shape.
45
- * @param data The tab data to transform.
46
- * @returns The transformed tab data with the original tab type preserved.
47
- */
48
- transformTabData(data) {
49
- return this.transformPayload(data);
50
- }
51
- /**
52
- * Refreshes the current creditor summary page and updates store state after the latest header is loaded.
53
- */
54
- refreshPage() {
55
- this.accountStore.setHasVersionMismatch(false);
56
- super.refreshPage(Number(this.accountStore.account_id()), (header) => {
57
- this.accountStore.setSuccessMessage(this.latestBannerMessage);
58
- this.accountData = header;
59
- });
60
- }
61
- /**
62
- * Checks whether the current user has the requested permission for the active account business unit.
63
- * @param permissionKey The key used to look up the permission ID.
64
- * @returns True when the user has the permission for the account business unit.
65
- */
66
- hasBusinessUnitPermissionKey(permissionKey) {
67
- const permission = this.permissions[permissionKey];
68
- return (typeof permission === 'number' &&
69
- super.hasBusinessUnitPermission(permission, Number(this.accountStore.business_unit_id())));
70
- }
71
- /**
72
- * Clears transient account summary store flags before the component is destroyed.
73
- */
74
- ngOnDestroy() {
75
- this.accountStore.clearSuccessMessage();
76
- this.accountStore.setHasVersionMismatch(false);
77
- super.ngOnDestroy();
78
- }
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AbstractCreditorDetailsBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
80
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: AbstractCreditorDetailsBaseComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
81
- }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: AbstractCreditorDetailsBaseComponent, decorators: [{
83
- type: Component,
84
- args: [{
85
- template: '',
86
- }]
87
- }] });
88
-
89
- /**
90
- * Generated bundle index. Do not edit.
91
- */
92
-
5
+ var AbstractCreditorDetailsBaseComponent = class AbstractCreditorDetailsBaseComponent extends AbstractAccountSummaryBaseComponent {
6
+ accountId = this.getAccountIdFromRoute();
7
+ fetchTabDataTyped(serviceCall) {
8
+ return this.fetchTabData(serviceCall, (version) => this.accountStore.compareVersion(version));
9
+ }
10
+ getHeaderDataFromRoute() {
11
+ const headingData = this.activatedRoute.snapshot.data[this.headerDataRouteKey];
12
+ this.accountData = this.transformHeaderForView(headingData);
13
+ this.transformHeaderForStore(this.accountId, this.accountData);
14
+ this.activeTab = this.activatedRoute.snapshot.fragment || this.defaultActiveTab;
15
+ }
16
+ transformPayload(payload) {
17
+ return this.payloadTransformer.transformPayload(payload, this.transformItemsConfig);
18
+ }
19
+ transformHeaderForView(header) {
20
+ return this.transformPayload(header);
21
+ }
22
+ transformTabData(data) {
23
+ return this.transformPayload(data);
24
+ }
25
+ refreshPage() {
26
+ this.accountStore.setHasVersionMismatch(false);
27
+ super.refreshPage(Number(this.accountStore.account_id()), (header) => {
28
+ this.accountStore.setSuccessMessage(this.latestBannerMessage);
29
+ this.accountData = header;
30
+ });
31
+ }
32
+ hasBusinessUnitPermissionKey(permissionKey) {
33
+ const permission = this.permissions[permissionKey];
34
+ return typeof permission === "number" && super.hasBusinessUnitPermission(permission, Number(this.accountStore.business_unit_id()));
35
+ }
36
+ ngOnDestroy() {
37
+ this.accountStore.clearSuccessMessage();
38
+ this.accountStore.setHasVersionMismatch(false);
39
+ super.ngOnDestroy();
40
+ }
41
+ static ɵfac = i0.ɵɵngDeclareFactory({
42
+ minVersion: "12.0.0",
43
+ version: "21.2.25",
44
+ ngImport: i0,
45
+ type: AbstractCreditorDetailsBaseComponent,
46
+ deps: null,
47
+ target: i0.ɵɵFactoryTarget.Component
48
+ });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({
50
+ minVersion: "14.0.0",
51
+ version: "21.2.25",
52
+ type: AbstractCreditorDetailsBaseComponent,
53
+ isStandalone: true,
54
+ selector: "ng-component",
55
+ usesInheritance: true,
56
+ ngImport: i0,
57
+ template: "",
58
+ isInline: true
59
+ });
60
+ };
61
+ i0.ɵɵngDeclareClassMetadata({
62
+ minVersion: "12.0.0",
63
+ version: "21.2.25",
64
+ ngImport: i0,
65
+ type: AbstractCreditorDetailsBaseComponent,
66
+ decorators: [{
67
+ type: Component,
68
+ args: [{ template: "" }]
69
+ }]
70
+ });
93
71
  export { AbstractCreditorDetailsBaseComponent };
94
- //# sourceMappingURL=hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.mjs.map
72
+
73
+ //# sourceMappingURL=hmcts-opal-frontend-common-components-abstract-abstract-creditor-details-base.mjs.map
@@ -1,4 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- //# sourceMappingURL=hmcts-opal-frontend-common-components-abstract-abstract-form-alias-base-interfaces.mjs.map