@hmcts/rpx-xui-common-lib 2.1.6-angular-upgrade-11-welsh → 2.1.6-javascript-void

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 (361) hide show
  1. package/README.md +1 -1
  2. package/esm2022/hmcts-rpx-xui-common-lib.mjs +5 -0
  3. package/esm2022/lib/components/accessibility/accessibility.component.mjs +833 -0
  4. package/esm2022/lib/components/checkbox-list/checkbox-list.component.mjs +232 -0
  5. package/esm2022/lib/components/contact-details/contact-details.component.mjs +123 -0
  6. package/esm2022/lib/components/cookie-banner/cookie-banner.component.mjs +151 -0
  7. package/esm2022/lib/components/due-date/due-date.component.mjs +141 -0
  8. package/esm2022/lib/components/exui-main-wrapper/exui-page-wrapper.component.mjs +80 -0
  9. package/esm2022/lib/components/find-location/find-location.component.mjs +220 -0
  10. package/esm2022/lib/components/find-person/find-person.component.mjs +234 -0
  11. package/esm2022/lib/components/find-service/find-service.component.mjs +193 -0
  12. package/esm2022/lib/components/find-task-name/find-task-name.component.mjs +200 -0
  13. package/esm2022/lib/components/generic-filter/generic-filter-utils.mjs +21 -0
  14. package/esm2022/lib/components/generic-filter/generic-filter.component.mjs +1224 -0
  15. package/esm2022/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.mjs +56 -0
  16. package/esm2022/lib/components/invite-user-form/invite-user-form.component.mjs +51 -0
  17. package/esm2022/lib/components/invite-user-permissions/invite-user-permission.component.mjs +54 -0
  18. package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +33 -0
  19. package/esm2022/lib/components/pagination/pagination.component.mjs +92 -0
  20. package/esm2022/lib/components/public_api.mjs +39 -0
  21. package/esm2022/lib/components/search-judicials/search-judicials.component.mjs +185 -0
  22. package/esm2022/lib/components/search-location/search-location.component.mjs +240 -0
  23. package/esm2022/lib/components/search-service/search-service.component.mjs +94 -0
  24. package/esm2022/lib/components/search-venue/search-venue.component.mjs +188 -0
  25. package/esm2022/lib/components/selected-case/selected-case.component.mjs +381 -0
  26. package/esm2022/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +135 -0
  27. package/esm2022/lib/components/selected-case-list/selected-case-list.component.mjs +98 -0
  28. package/esm2022/lib/components/service-message/service-message.component.mjs +62 -0
  29. package/esm2022/lib/components/service-messages/service-messages.component.mjs +163 -0
  30. package/esm2022/lib/components/share-case/share-case.component.mjs +427 -0
  31. package/esm2022/lib/components/share-case-confirm/share-case-confirm.component.mjs +85 -0
  32. package/esm2022/lib/components/tab/tab.component.mjs +40 -0
  33. package/esm2022/lib/components/tc-confirm/tc-confirm.component.mjs +66 -0
  34. package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +17 -0
  35. package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +17 -0
  36. package/esm2022/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +58 -0
  37. package/esm2022/lib/components/user-details/user-details.component.mjs +276 -0
  38. package/esm2022/lib/components/user-list/user-list.component.mjs +100 -0
  39. package/esm2022/lib/components/user-select/user-select.component.mjs +94 -0
  40. package/esm2022/lib/components/write-address/write-address.component.mjs +342 -0
  41. package/esm2022/lib/components/write-address-inputs/write-address-inputs.component.mjs +165 -0
  42. package/esm2022/lib/directives/feature-toggle/feature-toggle.directive.mjs +41 -0
  43. package/esm2022/lib/directives/let/let.directive.mjs +29 -0
  44. package/esm2022/lib/exui-common-lib.module.mjs +313 -0
  45. package/esm2022/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +55 -0
  46. package/esm2022/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +137 -0
  47. package/esm2022/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +127 -0
  48. package/esm2022/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +46 -0
  49. package/esm2022/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +79 -0
  50. package/esm2022/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +79 -0
  51. package/esm2022/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +45 -0
  52. package/esm2022/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +71 -0
  53. package/esm2022/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +84 -0
  54. package/esm2022/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +48 -0
  55. package/esm2022/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +42 -0
  56. package/esm2022/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +80 -0
  57. package/esm2022/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +185 -0
  58. package/esm2022/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +57 -0
  59. package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.mjs +2 -0
  60. package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +111 -0
  61. package/esm2022/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +140 -0
  62. package/esm2022/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +34 -0
  63. package/esm2022/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +129 -0
  64. package/esm2022/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +204 -0
  65. package/esm2022/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +60 -0
  66. package/esm2022/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +58 -0
  67. package/esm2022/lib/gov-ui/directives/remove-host.directive.mjs +30 -0
  68. package/esm2022/lib/gov-ui/gov-ui.service.mjs +14 -0
  69. package/esm2022/lib/gov-ui/models/checkboxes-model.mjs +2 -0
  70. package/{esm2015/lib/gov-ui/models/gov-ui-config-model.js → esm2022/lib/gov-ui/models/gov-ui-config-model.mjs} +1 -1
  71. package/{esm2015/lib/gov-ui/models/public_api.js → esm2022/lib/gov-ui/models/public_api.mjs} +1 -2
  72. package/esm2022/lib/gov-ui/models/radio-buttons.model.mjs +2 -0
  73. package/esm2022/lib/gov-ui/util/helpers/html-templates.helper.mjs +22 -0
  74. package/{esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js → esm2022/lib/gov-ui/validators/checkboxes-be-checked.validator.mjs} +1 -1
  75. package/{esm2015/lib/gov-ui/validators/date.validator.js → esm2022/lib/gov-ui/validators/date.validator.mjs} +1 -1
  76. package/esm2022/lib/gov-ui/validators/radio-group.validator.mjs +15 -0
  77. package/esm2022/lib/models/address-message.enum.mjs +11 -0
  78. package/esm2022/lib/models/address-option.model.mjs +21 -0
  79. package/esm2022/lib/models/address.model.mjs +4 -0
  80. package/{esm2015/lib/models/contact-details.model.js → esm2022/lib/models/contact-details.model.mjs} +1 -1
  81. package/esm2022/lib/models/feature-user.mjs +5 -0
  82. package/esm2022/lib/models/filter.model.mjs +3 -0
  83. package/esm2022/lib/models/index.mjs +19 -0
  84. package/esm2022/lib/models/location.model.mjs +7 -0
  85. package/esm2022/lib/models/person.model.mjs +21 -0
  86. package/{esm2015/lib/models/public_api.js → esm2022/lib/models/public_api.mjs} +2 -1
  87. package/{esm2015/lib/models/search-options.model.js → esm2022/lib/models/search-options.model.mjs} +1 -1
  88. package/esm2022/lib/models/service-message.model.mjs +2 -0
  89. package/esm2022/lib/models/task-name.model.mjs +2 -0
  90. package/esm2022/lib/models/user-access-type.model.mjs +2 -0
  91. package/esm2022/lib/models/user-details.model.mjs +2 -0
  92. package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +15 -0
  93. package/esm2022/lib/pipes/index.mjs +2 -0
  94. package/esm2022/lib/services/address/address-parser.mjs +76 -0
  95. package/esm2022/lib/services/address/address-type.enum.mjs +7 -0
  96. package/esm2022/lib/services/address/address.service.mjs +55 -0
  97. package/esm2022/lib/services/case-sharing-state/case-sharing-state.service.mjs +170 -0
  98. package/esm2022/lib/services/cookie/cookie.service.mjs +48 -0
  99. package/esm2022/lib/services/feature-toggle/feature-toggle.guard.mjs +37 -0
  100. package/esm2022/lib/services/feature-toggle/feature-toggle.service.mjs +33 -0
  101. package/esm2022/lib/services/feature-toggle/launch-darkly.service.mjs +65 -0
  102. package/esm2022/lib/services/filter/filter.service.mjs +95 -0
  103. package/esm2022/lib/services/find-person/find-person.service.mjs +92 -0
  104. package/esm2022/lib/services/google-analytics/google-analytics.service.mjs +73 -0
  105. package/esm2022/lib/services/google-tag-manager/google-tag-manager.service.mjs +85 -0
  106. package/{esm2015/lib/services/loading/loading.service.js → esm2022/lib/services/loading/loading.service.mjs} +8 -6
  107. package/esm2022/lib/services/locations/location.service.mjs +38 -0
  108. package/{esm2015/lib/services/manage-session/manage-session.services.js → esm2022/lib/services/manage-session/manage-session.services.mjs} +8 -10
  109. package/esm2022/lib/services/public-api.mjs +18 -0
  110. package/esm2022/lib/services/ref-data/index.mjs +4 -0
  111. package/esm2022/lib/services/ref-data/models/ref-data-htmcs-service.model.mjs +2 -0
  112. package/esm2022/lib/services/ref-data/models/ref-data-region.model.mjs +2 -0
  113. package/esm2022/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.mjs +2 -0
  114. package/esm2022/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +33 -0
  115. package/esm2022/lib/services/ref-data/ref-data.service.mjs +34 -0
  116. package/esm2022/lib/services/role-guard/role.guard.mjs +43 -0
  117. package/esm2022/lib/services/role-guard/role.service.mjs +22 -0
  118. package/esm2022/lib/services/storage/session-storage/session-storage.service.mjs +43 -0
  119. package/esm2022/lib/services/task-name/task-name.service.mjs +35 -0
  120. package/esm2022/lib/services/timeout-notifications/timeout-notifications.service.mjs +103 -0
  121. package/{esm2015/public-api.js → esm2022/public-api.mjs} +2 -1
  122. package/fesm2022/hmcts-rpx-xui-common-lib.mjs +10377 -0
  123. package/fesm2022/hmcts-rpx-xui-common-lib.mjs.map +1 -0
  124. package/index.d.ts +5 -0
  125. package/lib/components/accessibility/accessibility.component.d.ts +7 -1
  126. package/lib/components/checkbox-list/checkbox-list.component.d.ts +8 -2
  127. package/lib/components/contact-details/contact-details.component.d.ts +3 -0
  128. package/lib/components/cookie-banner/cookie-banner.component.d.ts +5 -1
  129. package/lib/components/due-date/due-date.component.d.ts +8 -2
  130. package/lib/components/exui-main-wrapper/exui-page-wrapper.component.d.ts +3 -0
  131. package/lib/components/find-location/find-location.component.d.ts +12 -6
  132. package/lib/components/find-person/find-person.component.d.ts +5 -2
  133. package/lib/components/find-service/find-service.component.d.ts +24 -9
  134. package/lib/components/find-task-name/find-task-name.component.d.ts +44 -0
  135. package/lib/components/generic-filter/generic-filter-utils.d.ts +2 -5
  136. package/lib/components/generic-filter/generic-filter.component.d.ts +25 -6
  137. package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +3 -0
  138. package/lib/components/invite-user-form/invite-user-form.component.d.ts +3 -0
  139. package/lib/components/invite-user-permissions/invite-user-permission.component.d.ts +3 -0
  140. package/lib/components/loading-spinner/loading-spinner.component.d.ts +8 -1
  141. package/lib/components/pagination/pagination.component.d.ts +3 -0
  142. package/lib/components/public_api.d.ts +6 -0
  143. package/lib/components/search-judicials/search-judicials.component.d.ts +3 -0
  144. package/lib/components/search-location/search-location.component.d.ts +25 -20
  145. package/lib/components/search-service/search-service.component.d.ts +16 -9
  146. package/lib/components/search-venue/search-venue.component.d.ts +3 -1
  147. package/lib/components/selected-case/selected-case.component.d.ts +3 -0
  148. package/lib/components/selected-case-confirm/selected-case-confirm.component.d.ts +3 -0
  149. package/lib/components/selected-case-list/selected-case-list.component.d.ts +3 -0
  150. package/lib/components/service-message/service-message.component.d.ts +9 -4
  151. package/lib/components/service-messages/service-messages.component.d.ts +15 -5
  152. package/lib/components/share-case/share-case.component.d.ts +4 -0
  153. package/lib/components/share-case-confirm/share-case-confirm.component.d.ts +3 -0
  154. package/lib/components/tab/tab.component.d.ts +3 -0
  155. package/lib/components/tc-confirm/tc-confirm.component.d.ts +3 -0
  156. package/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.d.ts +3 -0
  157. package/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.d.ts +3 -0
  158. package/lib/components/terms-and-conditions/terms-and-conditions.component.d.ts +3 -0
  159. package/lib/components/user-details/user-details.component.d.ts +4 -0
  160. package/lib/components/user-list/user-list.component.d.ts +3 -0
  161. package/lib/components/user-select/user-select.component.d.ts +5 -3
  162. package/lib/components/write-address/write-address.component.d.ts +45 -0
  163. package/lib/components/write-address-inputs/write-address-inputs.component.d.ts +16 -0
  164. package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +3 -0
  165. package/lib/directives/let/let.directive.d.ts +3 -0
  166. package/lib/exui-common-lib.module.d.ts +83 -4
  167. package/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.d.ts +3 -0
  168. package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +17 -5
  169. package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +3 -0
  170. package/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.d.ts +3 -0
  171. package/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +3 -0
  172. package/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.d.ts +3 -0
  173. package/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.d.ts +3 -0
  174. package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +4 -2
  175. package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +4 -0
  176. package/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.d.ts +3 -0
  177. package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +5 -2
  178. package/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.d.ts +3 -0
  179. package/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.d.ts +3 -0
  180. package/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.d.ts +3 -0
  181. package/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.d.ts +7 -0
  182. package/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.d.ts +7 -2
  183. package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +3 -0
  184. package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +3 -0
  185. package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +6 -3
  186. package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +3 -0
  187. package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +3 -0
  188. package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +3 -0
  189. package/lib/gov-ui/directives/remove-host.directive.d.ts +3 -0
  190. package/lib/gov-ui/gov-ui.service.d.ts +3 -0
  191. package/lib/gov-ui/models/checkboxes-model.d.ts +4 -7
  192. package/lib/gov-ui/models/gov-ui-config-model.d.ts +2 -0
  193. package/lib/gov-ui/models/public_api.d.ts +0 -1
  194. package/lib/gov-ui/models/radio-buttons.model.d.ts +9 -0
  195. package/lib/models/address-message.enum.d.ts +9 -0
  196. package/lib/models/address-option.model.d.ts +9 -0
  197. package/lib/models/address.model.d.ts +9 -0
  198. package/lib/models/contact-details.model.d.ts +4 -0
  199. package/lib/models/feature-user.d.ts +4 -6
  200. package/lib/models/filter.model.d.ts +42 -9
  201. package/lib/models/index.d.ts +4 -0
  202. package/lib/models/location.model.d.ts +12 -12
  203. package/lib/models/person.model.d.ts +5 -3
  204. package/lib/models/public_api.d.ts +1 -0
  205. package/lib/models/search-options.model.d.ts +1 -1
  206. package/lib/models/service-message.model.d.ts +8 -0
  207. package/lib/models/task-name.model.d.ts +4 -0
  208. package/lib/models/user-access-type.model.d.ts +6 -0
  209. package/lib/models/user-details.model.d.ts +2 -0
  210. package/lib/pipes/capitalize/capitalize.pipe.d.ts +7 -0
  211. package/lib/pipes/index.d.ts +1 -0
  212. package/lib/services/address/address-parser.d.ts +17 -0
  213. package/lib/services/address/address-type.enum.d.ts +5 -0
  214. package/lib/services/address/address.service.d.ts +15 -0
  215. package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +3 -0
  216. package/lib/services/cookie/cookie.service.d.ts +3 -0
  217. package/lib/services/feature-toggle/feature-toggle.guard.d.ts +8 -2
  218. package/lib/services/feature-toggle/feature-toggle.service.d.ts +4 -0
  219. package/lib/services/feature-toggle/launch-darkly.service.d.ts +14 -10
  220. package/lib/services/filter/filter.service.d.ts +6 -0
  221. package/lib/services/find-person/find-person.service.d.ts +5 -2
  222. package/lib/services/google-analytics/google-analytics.service.d.ts +4 -1
  223. package/lib/services/google-tag-manager/google-tag-manager.service.d.ts +5 -1
  224. package/lib/services/loading/loading.service.d.ts +3 -0
  225. package/lib/services/locations/location.service.d.ts +4 -1
  226. package/lib/services/manage-session/manage-session.services.d.ts +3 -0
  227. package/lib/services/public-api.d.ts +2 -0
  228. package/lib/services/ref-data/index.d.ts +3 -0
  229. package/lib/services/ref-data/models/ref-data-htmcs-service.model.d.ts +13 -0
  230. package/lib/services/ref-data/models/ref-data-region.model.d.ts +4 -0
  231. package/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.d.ts +8 -0
  232. package/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.d.ts +18 -0
  233. package/lib/services/ref-data/ref-data.service.d.ts +17 -0
  234. package/lib/services/role-guard/role.guard.d.ts +7 -3
  235. package/lib/services/role-guard/role.service.d.ts +8 -4
  236. package/lib/services/{session-storage → storage/session-storage}/session-storage.service.d.ts +3 -0
  237. package/lib/services/task-name/task-name.service.d.ts +17 -0
  238. package/lib/services/timeout-notifications/timeout-notifications.service.d.ts +8 -2
  239. package/package.json +21 -11
  240. package/public-api.d.ts +1 -0
  241. package/bundles/hmcts-rpx-xui-common-lib.umd.js +0 -5139
  242. package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +0 -1
  243. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +0 -2
  244. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +0 -1
  245. package/esm2015/hmcts-rpx-xui-common-lib.js +0 -70
  246. package/esm2015/lib/components/accessibility/accessibility.component.js +0 -14
  247. package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +0 -177
  248. package/esm2015/lib/components/contact-details/contact-details.component.js +0 -17
  249. package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +0 -68
  250. package/esm2015/lib/components/due-date/due-date.component.js +0 -115
  251. package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -28
  252. package/esm2015/lib/components/find-location/find-location.component.js +0 -124
  253. package/esm2015/lib/components/find-person/find-person.component.js +0 -118
  254. package/esm2015/lib/components/find-service/find-service.component.js +0 -31
  255. package/esm2015/lib/components/generic-filter/generic-filter-utils.js +0 -21
  256. package/esm2015/lib/components/generic-filter/generic-filter.component.js +0 -387
  257. package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -27
  258. package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +0 -25
  259. package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -25
  260. package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +0 -18
  261. package/esm2015/lib/components/pagination/pagination.component.js +0 -28
  262. package/esm2015/lib/components/public_api.js +0 -33
  263. package/esm2015/lib/components/search-judicials/search-judicials.component.js +0 -126
  264. package/esm2015/lib/components/search-location/search-location.component.js +0 -133
  265. package/esm2015/lib/components/search-service/search-service.component.js +0 -31
  266. package/esm2015/lib/components/search-venue/search-venue.component.js +0 -123
  267. package/esm2015/lib/components/selected-case/selected-case.component.js +0 -158
  268. package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -36
  269. package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +0 -49
  270. package/esm2015/lib/components/service-message/service-message.component.js +0 -22
  271. package/esm2015/lib/components/service-messages/service-messages.component.js +0 -48
  272. package/esm2015/lib/components/share-case/share-case.component.js +0 -205
  273. package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +0 -34
  274. package/esm2015/lib/components/tab/tab.component.js +0 -21
  275. package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +0 -22
  276. package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -13
  277. package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -13
  278. package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -16
  279. package/esm2015/lib/components/user-details/user-details.component.js +0 -41
  280. package/esm2015/lib/components/user-list/user-list.component.js +0 -33
  281. package/esm2015/lib/components/user-select/user-select.component.js +0 -58
  282. package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +0 -42
  283. package/esm2015/lib/directives/let/let.directive.js +0 -30
  284. package/esm2015/lib/exui-common-lib.module.js +0 -160
  285. package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -31
  286. package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -21
  287. package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -64
  288. package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -22
  289. package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -28
  290. package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -35
  291. package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -23
  292. package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -34
  293. package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -21
  294. package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -33
  295. package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -21
  296. package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -27
  297. package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -39
  298. package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -27
  299. package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -23
  300. package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -48
  301. package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -19
  302. package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -41
  303. package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -28
  304. package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -23
  305. package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -15
  306. package/esm2015/lib/gov-ui/directives/remove-host.directive.js +0 -29
  307. package/esm2015/lib/gov-ui/gov-ui.service.js +0 -13
  308. package/esm2015/lib/gov-ui/models/banner-data-model.js +0 -2
  309. package/esm2015/lib/gov-ui/models/checkboxes-model.js +0 -2
  310. package/esm2015/lib/gov-ui/models/isession-storage.interface.js +0 -2
  311. package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +0 -22
  312. package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -22
  313. package/esm2015/lib/gov-ui/validators/radio-group.validator.js +0 -15
  314. package/esm2015/lib/models/feature-user.js +0 -5
  315. package/esm2015/lib/models/filter.model.js +0 -3
  316. package/esm2015/lib/models/index.js +0 -15
  317. package/esm2015/lib/models/location.model.js +0 -7
  318. package/esm2015/lib/models/person.model.js +0 -19
  319. package/esm2015/lib/models/user-details.model.js +0 -2
  320. package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +0 -157
  321. package/esm2015/lib/services/cookie/cookie.service.js +0 -47
  322. package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +0 -35
  323. package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +0 -27
  324. package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +0 -59
  325. package/esm2015/lib/services/filter/filter.service.js +0 -64
  326. package/esm2015/lib/services/find-person/find-person.service.js +0 -106
  327. package/esm2015/lib/services/google-analytics/google-analytics.service.js +0 -68
  328. package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +0 -71
  329. package/esm2015/lib/services/locations/location.service.js +0 -39
  330. package/esm2015/lib/services/public-api.js +0 -16
  331. package/esm2015/lib/services/role-guard/role.guard.js +0 -37
  332. package/esm2015/lib/services/role-guard/role.service.js +0 -20
  333. package/esm2015/lib/services/session-storage/session-storage.service.js +0 -41
  334. package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +0 -92
  335. package/fesm2015/hmcts-rpx-xui-common-lib.js +0 -4172
  336. package/fesm2015/hmcts-rpx-xui-common-lib.js.map +0 -1
  337. package/hmcts-rpx-xui-common-lib.d.ts +0 -69
  338. package/hmcts-rpx-xui-common-lib.metadata.json +0 -1
  339. package/lib/gov-ui/models/banner-data-model.d.ts +0 -4
  340. package/lib/gov-ui/models/isession-storage.interface.d.ts +0 -4
  341. package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +0 -6
  342. /package/{esm2015/lib/components/index.js → esm2022/lib/components/index.mjs} +0 -0
  343. /package/{esm2015/lib/directives/index.js → esm2022/lib/directives/index.mjs} +0 -0
  344. /package/{esm2015/lib/directives/public-api.js → esm2022/lib/directives/public-api.mjs} +0 -0
  345. /package/{esm2015/lib/gov-ui/components/index.js → esm2022/lib/gov-ui/components/index.mjs} +0 -0
  346. /package/{esm2015/lib/gov-ui/components/public_api.js → esm2022/lib/gov-ui/components/public_api.mjs} +0 -0
  347. /package/{esm2015/lib/gov-ui/index.js → esm2022/lib/gov-ui/index.mjs} +0 -0
  348. /package/{esm2015/lib/gov-ui/models/error-messages-model.js → esm2022/lib/gov-ui/models/error-messages-model.mjs} +0 -0
  349. /package/{esm2015/lib/gov-ui/models/index.js → esm2022/lib/gov-ui/models/index.mjs} +0 -0
  350. /package/{esm2015/lib/gov-ui/public_api.js → esm2022/lib/gov-ui/public_api.mjs} +0 -0
  351. /package/{esm2015/lib/gov-ui/validators/index.js → esm2022/lib/gov-ui/validators/index.mjs} +0 -0
  352. /package/{esm2015/lib/gov-ui/validators/public_api.js → esm2022/lib/gov-ui/validators/public_api.mjs} +0 -0
  353. /package/{esm2015/lib/models/case-share.model.js → esm2022/lib/models/case-share.model.mjs} +0 -0
  354. /package/{esm2015/lib/models/due-date.model.js → esm2022/lib/models/due-date.model.mjs} +0 -0
  355. /package/{esm2015/lib/models/idle-config.model.js → esm2022/lib/models/idle-config.model.mjs} +0 -0
  356. /package/{esm2015/lib/models/pagination.model.js → esm2022/lib/models/pagination.model.mjs} +0 -0
  357. /package/{esm2015/lib/models/tcDocument.model.js → esm2022/lib/models/tcDocument.model.mjs} +0 -0
  358. /package/{esm2015/lib/models/timeout-notification.model.js → esm2022/lib/models/timeout-notification.model.mjs} +0 -0
  359. /package/{esm2015/lib/models/user.model.js → esm2022/lib/models/user.model.mjs} +0 -0
  360. /package/{esm2015/lib/services/index.js → esm2022/lib/services/index.mjs} +0 -0
  361. /package/{esm2015/lib/window.js → esm2022/lib/window.mjs} +0 -0
@@ -0,0 +1,140 @@
1
+ import { DOCUMENT } from '@angular/common';
2
+ import { Component, Inject, Input } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/router";
6
+ import * as i3 from "rpx-xui-translation";
7
+ function HmctsErrorSummaryComponent_div_0_li_6_a_1_Template(rf, ctx) { if (rf & 1) {
8
+ const _r1 = i0.ɵɵgetCurrentView();
9
+ i0.ɵɵelementStart(0, "a", 9);
10
+ i0.ɵɵlistener("click", function HmctsErrorSummaryComponent_div_0_li_6_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r1); const message_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.scrollTo(message_r2["id"])); });
11
+ i0.ɵɵtext(1);
12
+ i0.ɵɵpipe(2, "rpxTranslate");
13
+ i0.ɵɵelementEnd();
14
+ } if (rf & 2) {
15
+ const message_r2 = i0.ɵɵnextContext().$implicit;
16
+ i0.ɵɵproperty("fragment", message_r2["id"]);
17
+ i0.ɵɵadvance();
18
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, message_r2["message"]));
19
+ } }
20
+ function HmctsErrorSummaryComponent_div_0_li_6_span_2_Template(rf, ctx) { if (rf & 1) {
21
+ i0.ɵɵelementStart(0, "span");
22
+ i0.ɵɵtext(1);
23
+ i0.ɵɵpipe(2, "rpxTranslate");
24
+ i0.ɵɵelementEnd();
25
+ } if (rf & 2) {
26
+ const message_r2 = i0.ɵɵnextContext().$implicit;
27
+ i0.ɵɵadvance();
28
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, message_r2["message"]));
29
+ } }
30
+ function HmctsErrorSummaryComponent_div_0_li_6_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵelementStart(0, "li");
32
+ i0.ɵɵtemplate(1, HmctsErrorSummaryComponent_div_0_li_6_a_1_Template, 3, 4, "a", 7)(2, HmctsErrorSummaryComponent_div_0_li_6_span_2_Template, 3, 3, "span", 8);
33
+ i0.ɵɵelementEnd();
34
+ } if (rf & 2) {
35
+ const message_r2 = ctx.$implicit;
36
+ const ctx_r2 = i0.ɵɵnextContext(2);
37
+ i0.ɵɵadvance();
38
+ i0.ɵɵproperty("ngIf", ctx_r2.hasElement(message_r2["id"]));
39
+ i0.ɵɵadvance();
40
+ i0.ɵɵproperty("ngIf", !ctx_r2.hasElement(message_r2["id"]));
41
+ } }
42
+ function HmctsErrorSummaryComponent_div_0_Template(rf, ctx) { if (rf & 1) {
43
+ i0.ɵɵelementStart(0, "div", 2)(1, "h2", 3);
44
+ i0.ɵɵtext(2);
45
+ i0.ɵɵpipe(3, "rpxTranslate");
46
+ i0.ɵɵelementEnd();
47
+ i0.ɵɵelementStart(4, "div", 4)(5, "ul", 5);
48
+ i0.ɵɵtemplate(6, HmctsErrorSummaryComponent_div_0_li_6_Template, 3, 2, "li", 6);
49
+ i0.ɵɵelementEnd()()();
50
+ } if (rf & 2) {
51
+ const ctx_r2 = i0.ɵɵnextContext();
52
+ i0.ɵɵadvance(2);
53
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 2, ctx_r2.header), " ");
54
+ i0.ɵɵadvance(4);
55
+ i0.ɵɵproperty("ngForOf", ctx_r2.messages);
56
+ } }
57
+ function HmctsErrorSummaryComponent_div_1_p_7_Template(rf, ctx) { if (rf & 1) {
58
+ i0.ɵɵelementStart(0, "p", 16);
59
+ i0.ɵɵtext(1);
60
+ i0.ɵɵpipe(2, "rpxTranslate");
61
+ i0.ɵɵelementEnd();
62
+ } if (rf & 2) {
63
+ const message_r4 = ctx.$implicit;
64
+ i0.ɵɵadvance();
65
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, message_r4["message"]));
66
+ } }
67
+ function HmctsErrorSummaryComponent_div_1_Template(rf, ctx) { if (rf & 1) {
68
+ i0.ɵɵelementStart(0, "div", 10);
69
+ i0.ɵɵnamespaceSVG();
70
+ i0.ɵɵelementStart(1, "svg", 11);
71
+ i0.ɵɵelement(2, "path", 12);
72
+ i0.ɵɵelementEnd();
73
+ i0.ɵɵnamespaceHTML();
74
+ i0.ɵɵelementStart(3, "div", 13)(4, "span", 14);
75
+ i0.ɵɵtext(5);
76
+ i0.ɵɵpipe(6, "rpxTranslate");
77
+ i0.ɵɵelementEnd();
78
+ i0.ɵɵtemplate(7, HmctsErrorSummaryComponent_div_1_p_7_Template, 3, 3, "p", 15);
79
+ i0.ɵɵelementEnd()();
80
+ } if (rf & 2) {
81
+ const ctx_r2 = i0.ɵɵnextContext();
82
+ i0.ɵɵadvance(5);
83
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 2, "Warning"));
84
+ i0.ɵɵadvance(2);
85
+ i0.ɵɵproperty("ngForOf", ctx_r2.messages);
86
+ } }
87
+ /*
88
+ Error Summary component
89
+ State Less component
90
+ @property errorMessages that is array of messages.
91
+ Component is also responsible for scrolling. Up and Down the page when user click on links
92
+ */
93
+ export class HmctsErrorSummaryComponent {
94
+ set errorMessages(value) {
95
+ this.messages = value;
96
+ }
97
+ constructor(document) {
98
+ this.document = document;
99
+ }
100
+ ngAfterViewInit() {
101
+ this.scrollTo('errorSummary');
102
+ }
103
+ ngOnChanges(changes) {
104
+ if (changes.errorMessages) {
105
+ this.scrollTo('errorSummary');
106
+ }
107
+ }
108
+ scrollTo(selector) {
109
+ if (this.document.querySelector(`#${selector}`)) {
110
+ const el = this.document.querySelector(`#${selector}`);
111
+ el.focus();
112
+ }
113
+ }
114
+ hasElement(selector) {
115
+ return this.document.querySelector(`#${selector}`);
116
+ }
117
+ static { this.ɵfac = function HmctsErrorSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HmctsErrorSummaryComponent)(i0.ɵɵdirectiveInject(DOCUMENT)); }; }
118
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsErrorSummaryComponent, selectors: [["xuilib-hmcts-error-summary"]], inputs: { errorMessages: "errorMessages", header: "header", showWarningMessage: "showWarningMessage" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [["id", "errorSummary", "class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 4, "ngIf"], ["class", "hmcts-banner hmcts-banner--warning", 4, "ngIf"], ["id", "errorSummary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], [3, "routerLink", "fragment", "click", 4, "ngIf"], [4, "ngIf"], [3, "click", "routerLink", "fragment"], [1, "hmcts-banner", "hmcts-banner--warning"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["class", "govuk-body", 4, "ngFor", "ngForOf"], [1, "govuk-body"]], template: function HmctsErrorSummaryComponent_Template(rf, ctx) { if (rf & 1) {
119
+ i0.ɵɵtemplate(0, HmctsErrorSummaryComponent_div_0_Template, 7, 4, "div", 0)(1, HmctsErrorSummaryComponent_div_1_Template, 8, 4, "div", 1);
120
+ } if (rf & 2) {
121
+ i0.ɵɵproperty("ngIf", !ctx.showWarningMessage && ctx.messages && ctx.messages.length > 0);
122
+ i0.ɵɵadvance();
123
+ i0.ɵɵproperty("ngIf", ctx.showWarningMessage);
124
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.RpxTranslatePipe], encapsulation: 2 }); }
125
+ }
126
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsErrorSummaryComponent, [{
127
+ type: Component,
128
+ args: [{ selector: 'xuilib-hmcts-error-summary', template: "<div *ngIf=\"!showWarningMessage && messages && messages.length > 0\" id=\"errorSummary\" class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{header | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li *ngFor=\"let message of messages\">\n <a (click)=\"scrollTo(message['id'])\" [routerLink]=\"\" [fragment]=\"message['id']\"\n *ngIf=\"hasElement(message['id'])\">{{message['message'] | rpxTranslate}}</a>\n <span *ngIf=\"!hasElement(message['id'])\">{{message['message'] | rpxTranslate}}</span>\n </li>\n </ul>\n </div>\n</div>\n<div *ngIf=\"showWarningMessage\" class=\"hmcts-banner hmcts-banner--warning\">\n <svg class=\"hmcts-banner__icon\" fill=\"currentColor\" role=\"presentation\" focusable=\"false\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 25 25\" height=\"25\" width=\"25\">\n <path d=\"M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z\" /></svg>\n <div class=\"hmcts-banner__message\">\n <span class=\"hmcts-banner__assistive\">{{'Warning' | rpxTranslate}}</span>\n <p class=\"govuk-body\" *ngFor=\"let message of messages\">{{ message['message'] | rpxTranslate}}</p>\n </div>\n</div>\n" }]
129
+ }], () => [{ type: undefined, decorators: [{
130
+ type: Inject,
131
+ args: [DOCUMENT]
132
+ }] }], { errorMessages: [{
133
+ type: Input
134
+ }], header: [{
135
+ type: Input
136
+ }], showWarningMessage: [{
137
+ type: Input
138
+ }] }); })();
139
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsErrorSummaryComponent, { className: "HmctsErrorSummaryComponent", filePath: "lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.ts", lineNumber: 13 }); })();
140
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG1jdHMtZXJyb3Itc3VtbWFyeS5jb21wb25lbn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2VbJ21lc3NhZ2UnXSB8IHJweFRyYW5zbGF0ZX19PC9wPlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -0,0 +1,34 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "rpx-xui-translation";
5
+ function HmctsIdentityBarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
6
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "div", 3)(3, "span", 4);
7
+ i0.ɵɵtext(4);
8
+ i0.ɵɵpipe(5, "rpxTranslate");
9
+ i0.ɵɵelementEnd()()()();
10
+ } if (rf & 2) {
11
+ const ctx_r0 = i0.ɵɵnextContext();
12
+ i0.ɵɵadvance(4);
13
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 1, ctx_r0.value));
14
+ } }
15
+ export class HmctsIdentityBarComponent {
16
+ set content(value) {
17
+ this.value = value.name;
18
+ }
19
+ constructor() { }
20
+ static { this.ɵfac = function HmctsIdentityBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HmctsIdentityBarComponent)(); }; }
21
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsIdentityBarComponent, selectors: [["xuilib-hmcts-identity-bar"]], inputs: { content: "content" }, decls: 1, vars: 1, consts: [["class", "hmcts-identity-bar", 4, "ngIf"], [1, "hmcts-identity-bar"], [1, "hmcts-identity-bar__container"], [1, "hmcts-identity-bar__details"], [1, "hmcts-identity-bar__title"]], template: function HmctsIdentityBarComponent_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵtemplate(0, HmctsIdentityBarComponent_div_0_Template, 6, 3, "div", 0);
23
+ } if (rf & 2) {
24
+ i0.ɵɵproperty("ngIf", ctx.value);
25
+ } }, dependencies: [i1.NgIf, i2.RpxTranslatePipe] }); }
26
+ }
27
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsIdentityBarComponent, [{
28
+ type: Component,
29
+ args: [{ selector: 'xuilib-hmcts-identity-bar', template: "<div class=\"hmcts-identity-bar\" *ngIf=\"value\">\n <div class=\"hmcts-identity-bar__container\">\n <div class=\"hmcts-identity-bar__details\">\n <span class=\"hmcts-identity-bar__title\">{{value | rpxTranslate}}</span>\n </div>\n </div>\n</div>\n" }]
30
+ }], () => [], { content: [{
31
+ type: Input
32
+ }] }); })();
33
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsIdentityBarComponent, { className: "HmctsIdentityBarComponent", filePath: "lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.ts", lineNumber: 8 }); })();
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG1jdHMtaWRlbnRpdHktYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2dvdi11aS9jb21wb25lbnRzL2htY3RzLWlkZW50aXR5LWJhci9obWN0cy1pZGVudGl0eS1iYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvZ292LXVpL2NvbXBvbmVudHMvaG1jdHMtaWRlbnRpdHktYmFyL2htY3RzLWlkZW50aXR5LWJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7SUNHM0MsQUFERixBQURGLEFBREYsOEJBQThDLGFBQ0QsYUFDQSxjQUNDO0lBQUEsWUFBd0I7O0lBR3RFLEFBREUsQUFERSxBQURrRSxpQkFBTyxFQUN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HMtaWRlbnRpdHktYmFyX19jb250YWluZXJcIj5cbiAgICA8ZGl2IGNsYXNzPVwiaG1jdHMtaWRlbnRpdHktYmFyX19kZXRhaWxzXCI+XG4gICAgICA8c3BhbiBjbGFzcz1cImhtY3RzLWlkZW50aXR5LWJhcl9fdGl0bGVcIj57e3ZhbHVlIHwgcnB4VHJhbnNsYXRlfX08L3NwYW4+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,129 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/router";
5
+ import * as i3 from "../hmcts-error-summary/hmcts-error-summary.component";
6
+ import * as i4 from "../hmcts-banner/hmcts-banner.component";
7
+ import * as i5 from "rpx-xui-translation";
8
+ const _c0 = ["*"];
9
+ function HmctsMainWrapperComponent_a_0_Template(rf, ctx) { if (rf & 1) {
10
+ const _r1 = i0.ɵɵgetCurrentView();
11
+ i0.ɵɵelementStart(0, "a", 8);
12
+ i0.ɵɵlistener("click", function HmctsMainWrapperComponent_a_0_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onGoBack()); });
13
+ i0.ɵɵtext(1);
14
+ i0.ɵɵpipe(2, "rpxTranslate");
15
+ i0.ɵɵelementEnd();
16
+ } if (rf & 2) {
17
+ const ctx_r1 = i0.ɵɵnextContext();
18
+ i0.ɵɵproperty("routerLink", ctx_r1.backLink);
19
+ i0.ɵɵadvance();
20
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Back"));
21
+ } }
22
+ function HmctsMainWrapperComponent_xuilib_hmcts_error_summary_4_Template(rf, ctx) { if (rf & 1) {
23
+ i0.ɵɵelement(0, "xuilib-hmcts-error-summary", 9);
24
+ } if (rf & 2) {
25
+ const ctx_r1 = i0.ɵɵnextContext();
26
+ i0.ɵɵproperty("errorMessages", ctx_r1.summaryErrors.items)("header", ctx_r1.summaryErrors.header)("showWarningMessage", ctx_r1.showWarningMessage);
27
+ } }
28
+ function HmctsMainWrapperComponent_xuilib_hmcts_banner_5_Template(rf, ctx) { if (rf & 1) {
29
+ i0.ɵɵelement(0, "xuilib-hmcts-banner", 10);
30
+ } if (rf & 2) {
31
+ const ctx_r1 = i0.ɵɵnextContext();
32
+ i0.ɵɵproperty("type", ctx_r1.bannerData.type)("message", ctx_r1.bannerData.message);
33
+ } }
34
+ function HmctsMainWrapperComponent_h1_6_Template(rf, ctx) { if (rf & 1) {
35
+ i0.ɵɵelementStart(0, "h1", 11);
36
+ i0.ɵɵtext(1);
37
+ i0.ɵɵpipe(2, "rpxTranslate");
38
+ i0.ɵɵelementEnd();
39
+ } if (rf & 2) {
40
+ const ctx_r1 = i0.ɵɵnextContext();
41
+ i0.ɵɵadvance();
42
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.title));
43
+ } }
44
+ function HmctsMainWrapperComponent_div_8_a_2_Template(rf, ctx) { if (rf & 1) {
45
+ const _r3 = i0.ɵɵgetCurrentView();
46
+ i0.ɵɵelementStart(0, "a", 15);
47
+ i0.ɵɵlistener("click", function HmctsMainWrapperComponent_div_8_a_2_Template_a_click_0_listener() { const actionButton_r4 = i0.ɵɵrestoreView(_r3).$implicit; return i0.ɵɵresetView(actionButton_r4.action()); });
48
+ i0.ɵɵtext(1);
49
+ i0.ɵɵpipe(2, "rpxTranslate");
50
+ i0.ɵɵelementEnd();
51
+ } if (rf & 2) {
52
+ const actionButton_r4 = ctx.$implicit;
53
+ i0.ɵɵclassMapInterpolate1("govuk-button ", actionButton_r4.class, "");
54
+ i0.ɵɵadvance();
55
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 4, actionButton_r4.name));
56
+ } }
57
+ function HmctsMainWrapperComponent_div_8_Template(rf, ctx) { if (rf & 1) {
58
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 13);
59
+ i0.ɵɵtemplate(2, HmctsMainWrapperComponent_div_8_a_2_Template, 3, 6, "a", 14);
60
+ i0.ɵɵelementEnd()();
61
+ } if (rf & 2) {
62
+ const ctx_r1 = i0.ɵɵnextContext();
63
+ i0.ɵɵadvance(2);
64
+ i0.ɵɵproperty("ngForOf", ctx_r1.actionButtons);
65
+ } }
66
+ /*
67
+ * Main Content wrapper
68
+ * Responsible for:
69
+ * Wrapping content within the gov-uk html elements bellow
70
+ * @prop showBackLink - switch for back link
71
+ * @prop title = title
72
+ * @prop summaryErrors list of errors
73
+ * @prop back link, title (title), summaryErrors (array of errors)
74
+ * */
75
+ export class HmctsMainWrapperComponent {
76
+ set banner(value) {
77
+ this.bannerData = value;
78
+ }
79
+ constructor() {
80
+ this.backEvent = new EventEmitter();
81
+ }
82
+ ngOnInit() {
83
+ this.hasBackLink = this.backLink !== undefined || this.backEvent.observers.length > 0;
84
+ }
85
+ onGoBack() {
86
+ this.backEvent.emit();
87
+ }
88
+ static { this.ɵfac = function HmctsMainWrapperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HmctsMainWrapperComponent)(); }; }
89
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsMainWrapperComponent, selectors: [["xuilib-hmcts-main-wrapper"]], inputs: { backLink: "backLink", title: "title", summaryErrors: "summaryErrors", banner: "banner", actionButtons: "actionButtons", showWarningMessage: "showWarningMessage" }, outputs: { backEvent: "backEvent" }, ngContentSelectors: _c0, decls: 9, vars: 5, consts: [["class", "govuk-back-link", 3, "routerLink", "click", 4, "ngIf"], ["id", "content", "role", "main", 1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [3, "errorMessages", "header", "showWarningMessage", 4, "ngIf"], [3, "type", "message", 4, "ngIf"], ["class", "govuk-heading-xl", 4, "ngIf"], ["class", "govuk-grid-column-one-third", 4, "ngIf"], [1, "govuk-back-link", 3, "click", "routerLink"], [3, "errorMessages", "header", "showWarningMessage"], [3, "type", "message"], [1, "govuk-heading-xl"], [1, "govuk-grid-column-one-third"], [1, "hmcts-page-heading__actions-wrapper"], ["role", "button", "draggable", "false", 3, "class", "click", 4, "ngFor", "ngForOf"], ["role", "button", "draggable", "false", 3, "click"]], template: function HmctsMainWrapperComponent_Template(rf, ctx) { if (rf & 1) {
90
+ i0.ɵɵprojectionDef();
91
+ i0.ɵɵtemplate(0, HmctsMainWrapperComponent_a_0_Template, 3, 4, "a", 0);
92
+ i0.ɵɵelementStart(1, "main", 1)(2, "div", 2)(3, "div", 3);
93
+ i0.ɵɵtemplate(4, HmctsMainWrapperComponent_xuilib_hmcts_error_summary_4_Template, 1, 3, "xuilib-hmcts-error-summary", 4)(5, HmctsMainWrapperComponent_xuilib_hmcts_banner_5_Template, 1, 2, "xuilib-hmcts-banner", 5)(6, HmctsMainWrapperComponent_h1_6_Template, 3, 3, "h1", 6);
94
+ i0.ɵɵprojection(7);
95
+ i0.ɵɵelementEnd();
96
+ i0.ɵɵtemplate(8, HmctsMainWrapperComponent_div_8_Template, 3, 1, "div", 7);
97
+ i0.ɵɵelementEnd()();
98
+ } if (rf & 2) {
99
+ i0.ɵɵproperty("ngIf", ctx.hasBackLink);
100
+ i0.ɵɵadvance(4);
101
+ i0.ɵɵproperty("ngIf", ctx.summaryErrors && !ctx.summaryErrors.isFromValid);
102
+ i0.ɵɵadvance();
103
+ i0.ɵɵproperty("ngIf", ctx.bannerData);
104
+ i0.ɵɵadvance();
105
+ i0.ɵɵproperty("ngIf", ctx.title);
106
+ i0.ɵɵadvance(2);
107
+ i0.ɵɵproperty("ngIf", (ctx.actionButtons == null ? null : ctx.actionButtons.length) > 0);
108
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.HmctsErrorSummaryComponent, i4.HmctsBannerComponent, i5.RpxTranslatePipe], encapsulation: 2 }); }
109
+ }
110
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsMainWrapperComponent, [{
111
+ type: Component,
112
+ args: [{ selector: 'xuilib-hmcts-main-wrapper', template: "<a *ngIf=\"hasBackLink\" [routerLink]=\"backLink\" (click)=\"onGoBack()\" class=\"govuk-back-link\">{{'Back' | rpxTranslate}}</a>\n<main id=\"content\" role=\"main\" class=\"govuk-main-wrapper\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <xuilib-hmcts-error-summary\n *ngIf=\"summaryErrors && !summaryErrors.isFromValid\"\n [errorMessages]=\"summaryErrors.items\"\n [header]=\"summaryErrors.header\"\n [showWarningMessage]=\"showWarningMessage\">\n </xuilib-hmcts-error-summary>\n <xuilib-hmcts-banner *ngIf=\"bannerData\"\n [type]=\"bannerData.type\"\n [message]=\"bannerData.message\"\n ></xuilib-hmcts-banner>\n <h1 *ngIf=\"title\" class=\"govuk-heading-xl\">{{title | rpxTranslate}}</h1>\n <ng-content></ng-content>\n </div>\n <div class=\"govuk-grid-column-one-third\" *ngIf=\"actionButtons?.length > 0\">\n <div class=\"hmcts-page-heading__actions-wrapper\">\n <a\n *ngFor=\"let actionButton of actionButtons\"\n (click)=\"actionButton.action()\"\n role=\"button\"\n draggable=\"false\"\n class=\"govuk-button {{ actionButton.class }}\"\n >{{ actionButton.name | rpxTranslate }}</a>\n </div>\n </div>\n </div>\n</main>\n" }]
113
+ }], () => [], { backLink: [{
114
+ type: Input
115
+ }], title: [{
116
+ type: Input
117
+ }], summaryErrors: [{
118
+ type: Input
119
+ }], banner: [{
120
+ type: Input
121
+ }], actionButtons: [{
122
+ type: Input
123
+ }], showWarningMessage: [{
124
+ type: Input
125
+ }], backEvent: [{
126
+ type: Output
127
+ }] }); })();
128
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsMainWrapperComponent, { className: "HmctsMainWrapperComponent", filePath: "lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.ts", lineNumber: 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wvZGl2PlxuICAgIDxkaXYgY2xhc3M9XCJnb3Z1ay1ncmlkLWNvbHVtbi1vbmUtdGhpcmRcIiAqbmdJZj1cImFjdGlvbkJ1dHRvbnM/Lmxlbmd0aCA+IDBcIj5cbiAgICAgIDxkaXYgY2xhc3M9XCJobWN0cy1wYWdlLWhlYWRpbmdfX2FjdGlvbnMtd3JhcHBlclwiPlxuICAgICAgICA8YVxuICAgICAgICAgICpuZ0Zvcj1cImxldCBhY3Rpb25CdXR0b24gb2YgYWN0aW9uQnV0dG9uc1wiXG4gICAgICAgICAgKGNsaWNrKT1cImFjdGlvbkJ1dHRvbi5hY3Rpb24oKVwiXG4gICAgICAgICAgcm9sZT1cImJ1dHRvblwiXG4gICAgICAgICAgZHJhZ2dhYmxlPVwiZmFsc2VcIlxuICAgICAgICAgIGNsYXNzPVwiZ292dWstYnV0dG9uIHt7IGFjdGlvbkJ1dHRvbi5jbGFzcyB9fVwiXG4gICAgICAgID57eyBhY3Rpb25CdXR0b24ubmFtZSB8IHJweFRyYW5zbGF0ZSB9fTwvYT5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvbWFpbj5cbiJdfQ==
@@ -0,0 +1,204 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/router";
5
+ import * as i3 from "ngx-pagination";
6
+ import * as i4 from "rpx-xui-translation";
7
+ function HmctsPaginationComponent_ul_6_a_2_Template(rf, ctx) { if (rf & 1) {
8
+ const _r2 = i0.ɵɵgetCurrentView();
9
+ i0.ɵɵelementStart(0, "a", 11);
10
+ i0.ɵɵlistener("keyup.enter", function HmctsPaginationComponent_ul_6_a_2_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r2); i0.ɵɵnextContext(2); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.previous()); })("click", function HmctsPaginationComponent_ul_6_a_2_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r2); i0.ɵɵnextContext(2); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.previous()); });
11
+ i0.ɵɵtext(1);
12
+ i0.ɵɵpipe(2, "rpxTranslate");
13
+ i0.ɵɵelementStart(3, "span", 12);
14
+ i0.ɵɵtext(4);
15
+ i0.ɵɵpipe(5, "rpxTranslate");
16
+ i0.ɵɵelementEnd()();
17
+ } if (rf & 2) {
18
+ i0.ɵɵadvance();
19
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 2, "Previous"), " ");
20
+ i0.ɵɵadvance(3);
21
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "set of pages"));
22
+ } }
23
+ function HmctsPaginationComponent_ul_6_ng_container_3_li_1_a_1_Template(rf, ctx) { if (rf & 1) {
24
+ const _r4 = i0.ɵɵgetCurrentView();
25
+ i0.ɵɵelementStart(0, "a", 11);
26
+ i0.ɵɵlistener("keyup.enter", function HmctsPaginationComponent_ul_6_ng_container_3_li_1_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(3); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.setCurrent(page_r5.value)); })("click", function HmctsPaginationComponent_ul_6_ng_container_3_li_1_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r4); const page_r5 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(3); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.setCurrent(page_r5.value)); });
27
+ i0.ɵɵelementStart(1, "span", 12);
28
+ i0.ɵɵtext(2);
29
+ i0.ɵɵpipe(3, "rpxTranslate");
30
+ i0.ɵɵelementEnd();
31
+ i0.ɵɵelementStart(4, "span");
32
+ i0.ɵɵtext(5);
33
+ i0.ɵɵpipe(6, "number");
34
+ i0.ɵɵelementEnd()();
35
+ } if (rf & 2) {
36
+ const page_r5 = i0.ɵɵnextContext().$implicit;
37
+ i0.ɵɵadvance(2);
38
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(3, 2, "page"), " ");
39
+ i0.ɵɵadvance(3);
40
+ i0.ɵɵtextInterpolate(page_r5.label === "..." ? page_r5.label : i0.ɵɵpipeBind2(6, 4, page_r5.label, ""));
41
+ } }
42
+ function HmctsPaginationComponent_ul_6_ng_container_3_li_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
43
+ i0.ɵɵelementContainerStart(0);
44
+ i0.ɵɵelementStart(1, "span");
45
+ i0.ɵɵtext(2);
46
+ i0.ɵɵpipe(3, "number");
47
+ i0.ɵɵelementEnd();
48
+ i0.ɵɵelementContainerEnd();
49
+ } if (rf & 2) {
50
+ const page_r5 = i0.ɵɵnextContext().$implicit;
51
+ i0.ɵɵadvance(2);
52
+ i0.ɵɵtextInterpolate(page_r5.label === "..." ? page_r5.label : i0.ɵɵpipeBind2(3, 1, page_r5.label, ""));
53
+ } }
54
+ function HmctsPaginationComponent_ul_6_ng_container_3_li_1_Template(rf, ctx) { if (rf & 1) {
55
+ i0.ɵɵelementStart(0, "li", 14);
56
+ i0.ɵɵtemplate(1, HmctsPaginationComponent_ul_6_ng_container_3_li_1_a_1_Template, 7, 7, "a", 8)(2, HmctsPaginationComponent_ul_6_ng_container_3_li_1_ng_container_2_Template, 4, 4, "ng-container", 9);
57
+ i0.ɵɵelementEnd();
58
+ } if (rf & 2) {
59
+ const page_r5 = ctx.$implicit;
60
+ i0.ɵɵnextContext(3);
61
+ const p_r3 = i0.ɵɵreference(1);
62
+ i0.ɵɵclassProp("hmcts-pagination__item--active", p_r3.getCurrent() === page_r5.value)("hmcts-pagination__item--dots", page_r5.label === "...");
63
+ i0.ɵɵadvance();
64
+ i0.ɵɵproperty("ngIf", p_r3.getCurrent() !== page_r5.value);
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵproperty("ngIf", p_r3.getCurrent() === page_r5.value);
67
+ } }
68
+ function HmctsPaginationComponent_ul_6_ng_container_3_Template(rf, ctx) { if (rf & 1) {
69
+ i0.ɵɵelementContainerStart(0);
70
+ i0.ɵɵtemplate(1, HmctsPaginationComponent_ul_6_ng_container_3_li_1_Template, 3, 6, "li", 13);
71
+ i0.ɵɵelementContainerEnd();
72
+ } if (rf & 2) {
73
+ i0.ɵɵnextContext(2);
74
+ const p_r3 = i0.ɵɵreference(1);
75
+ i0.ɵɵadvance();
76
+ i0.ɵɵproperty("ngForOf", p_r3.pages);
77
+ } }
78
+ function HmctsPaginationComponent_ul_6_a_5_Template(rf, ctx) { if (rf & 1) {
79
+ const _r6 = i0.ɵɵgetCurrentView();
80
+ i0.ɵɵelementStart(0, "a", 11);
81
+ i0.ɵɵlistener("keyup.enter", function HmctsPaginationComponent_ul_6_a_5_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r6); i0.ɵɵnextContext(2); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.next()); })("click", function HmctsPaginationComponent_ul_6_a_5_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r6); i0.ɵɵnextContext(2); const p_r3 = i0.ɵɵreference(1); return i0.ɵɵresetView(p_r3.next()); });
82
+ i0.ɵɵtext(1);
83
+ i0.ɵɵpipe(2, "rpxTranslate");
84
+ i0.ɵɵelementStart(3, "span", 12);
85
+ i0.ɵɵtext(4);
86
+ i0.ɵɵpipe(5, "rpxTranslate");
87
+ i0.ɵɵelementEnd()();
88
+ } if (rf & 2) {
89
+ i0.ɵɵadvance();
90
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Next"));
91
+ i0.ɵɵadvance(3);
92
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, "page"), "");
93
+ } }
94
+ function HmctsPaginationComponent_ul_6_Template(rf, ctx) { if (rf & 1) {
95
+ i0.ɵɵelementStart(0, "ul", 6)(1, "li", 7);
96
+ i0.ɵɵtemplate(2, HmctsPaginationComponent_ul_6_a_2_Template, 6, 6, "a", 8);
97
+ i0.ɵɵelementEnd();
98
+ i0.ɵɵtemplate(3, HmctsPaginationComponent_ul_6_ng_container_3_Template, 2, 1, "ng-container", 9);
99
+ i0.ɵɵelementStart(4, "li", 10);
100
+ i0.ɵɵtemplate(5, HmctsPaginationComponent_ul_6_a_5_Template, 6, 6, "a", 8);
101
+ i0.ɵɵelementEnd()();
102
+ } if (rf & 2) {
103
+ const ctx_r6 = i0.ɵɵnextContext();
104
+ const p_r3 = i0.ɵɵreference(1);
105
+ i0.ɵɵadvance();
106
+ i0.ɵɵclassProp("disabled", p_r3.isFirstPage());
107
+ i0.ɵɵadvance();
108
+ i0.ɵɵproperty("ngIf", 1 < p_r3.getCurrent());
109
+ i0.ɵɵadvance();
110
+ i0.ɵɵproperty("ngIf", ctx_r6.showPageNumbers);
111
+ i0.ɵɵadvance();
112
+ i0.ɵɵclassProp("disabled", p_r3.isLastPage());
113
+ i0.ɵɵadvance();
114
+ i0.ɵɵproperty("ngIf", !p_r3.isLastPage());
115
+ } }
116
+ function HmctsPaginationComponent_p_7_Template(rf, ctx) { if (rf & 1) {
117
+ i0.ɵɵelementStart(0, "p", 15);
118
+ i0.ɵɵtext(1);
119
+ i0.ɵɵpipe(2, "rpxTranslate");
120
+ i0.ɵɵelementStart(3, "b");
121
+ i0.ɵɵtext(4);
122
+ i0.ɵɵelementEnd();
123
+ i0.ɵɵtext(5);
124
+ i0.ɵɵpipe(6, "rpxTranslate");
125
+ i0.ɵɵelementStart(7, "b");
126
+ i0.ɵɵtext(8);
127
+ i0.ɵɵelementEnd();
128
+ i0.ɵɵtext(9);
129
+ i0.ɵɵpipe(10, "rpxTranslate");
130
+ i0.ɵɵelementStart(11, "b");
131
+ i0.ɵɵtext(12);
132
+ i0.ɵɵelementEnd();
133
+ i0.ɵɵtext(13);
134
+ i0.ɵɵpipe(14, "rpxTranslate");
135
+ i0.ɵɵelementEnd();
136
+ } if (rf & 2) {
137
+ const ctx_r6 = i0.ɵɵnextContext();
138
+ const p_r3 = i0.ɵɵreference(1);
139
+ i0.ɵɵadvance();
140
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 7, "Showing"), " ");
141
+ i0.ɵɵadvance(3);
142
+ i0.ɵɵtextInterpolate(p_r3.getCurrent() * ctx_r6.pageSize - ctx_r6.pageSize + 1);
143
+ i0.ɵɵadvance();
144
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 9, "to"), " ");
145
+ i0.ɵɵadvance(3);
146
+ i0.ɵɵtextInterpolate(p_r3.getCurrent() * ctx_r6.pageSize > p_r3.getTotalItems() ? p_r3.getTotalItems() : p_r3.getCurrent() * ctx_r6.pageSize);
147
+ i0.ɵɵadvance();
148
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 11, "of"), " ");
149
+ i0.ɵɵadvance(3);
150
+ i0.ɵɵtextInterpolate(p_r3.getTotalItems());
151
+ i0.ɵɵadvance();
152
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 13, "results"), "");
153
+ } }
154
+ export class HmctsPaginationComponent {
155
+ constructor() {
156
+ this.maxSize = 7;
157
+ this.pageSize = 10;
158
+ this.showPageNumbers = true;
159
+ this.showResultCount = true;
160
+ this.pageChange = new EventEmitter();
161
+ this.pageBoundsCorrection = new EventEmitter();
162
+ }
163
+ static { this.ɵfac = function HmctsPaginationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HmctsPaginationComponent)(); }; }
164
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HmctsPaginationComponent, selectors: [["xuilib-hmcts-pagination"]], inputs: { id: "id", maxSize: "maxSize", pageSize: "pageSize", showPageNumbers: "showPageNumbers", showResultCount: "showResultCount" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, decls: 8, vars: 7, consts: [["p", "paginationApi"], [3, "pageChange", "pageBoundsCorrection", "id", "maxSize"], ["id", "pagination-label", 1, "hmcts-pagination"], ["aria-labelledby", "pagination-label", 1, "govuk-visually-hidden"], ["class", "hmcts-pagination__list", 4, "ngIf"], ["class", "hmcts-pagination__results", 4, "ngIf"], [1, "hmcts-pagination__list"], [1, "hmcts-pagination__item", "hmcts-pagination__item--prev"], ["class", "hmcts-pagination__link", 3, "routerLink", "keyup.enter", "click", 4, "ngIf"], [4, "ngIf"], [1, "hmcts-pagination__item", "hmcts-pagination__item--next"], [1, "hmcts-pagination__link", 3, "keyup.enter", "click", "routerLink"], [1, "govuk-visually-hidden"], ["class", "hmcts-pagination__item", 3, "hmcts-pagination__item--active", "hmcts-pagination__item--dots", 4, "ngFor", "ngForOf"], [1, "hmcts-pagination__item"], [1, "hmcts-pagination__results"]], template: function HmctsPaginationComponent_Template(rf, ctx) { if (rf & 1) {
165
+ const _r1 = i0.ɵɵgetCurrentView();
166
+ i0.ɵɵelementStart(0, "pagination-template", 1, 0);
167
+ i0.ɵɵlistener("pageChange", function HmctsPaginationComponent_Template_pagination_template_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageChange.emit($event)); })("pageBoundsCorrection", function HmctsPaginationComponent_Template_pagination_template_pageBoundsCorrection_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pageBoundsCorrection.emit($event)); });
168
+ i0.ɵɵelementStart(2, "nav", 2)(3, "p", 3);
169
+ i0.ɵɵtext(4);
170
+ i0.ɵɵpipe(5, "rpxTranslate");
171
+ i0.ɵɵelementEnd();
172
+ i0.ɵɵtemplate(6, HmctsPaginationComponent_ul_6_Template, 6, 7, "ul", 4)(7, HmctsPaginationComponent_p_7_Template, 15, 15, "p", 5);
173
+ i0.ɵɵelementEnd()();
174
+ } if (rf & 2) {
175
+ const p_r3 = i0.ɵɵreference(1);
176
+ i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
177
+ i0.ɵɵadvance(4);
178
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "Pagination navigation"));
179
+ i0.ɵɵadvance(2);
180
+ i0.ɵɵproperty("ngIf", !(p_r3.pages.length <= 1));
181
+ i0.ɵɵadvance();
182
+ i0.ɵɵproperty("ngIf", ctx.showResultCount);
183
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.PaginationControlsDirective, i1.DecimalPipe, i4.RpxTranslatePipe], styles: [".hmcts-pagination__results[_ngcontent-%COMP%]{float:right}"] }); }
184
+ }
185
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HmctsPaginationComponent, [{
186
+ type: Component,
187
+ args: [{ selector: 'xuilib-hmcts-pagination', template: "<pagination-template #p=\"paginationApi\" [id]=\"id\" [maxSize]=\"maxSize\" (pageChange)=\"pageChange.emit($event)\"\n (pageBoundsCorrection)=\"pageBoundsCorrection.emit($event)\">\n\n <nav class=\"hmcts-pagination\" id=\"pagination-label\">\n <p class=\"govuk-visually-hidden\" aria-labelledby=\"pagination-label\">{{'Pagination navigation' | rpxTranslate}}</p>\n <ul class=\"hmcts-pagination__list\" *ngIf=\"!(p.pages.length <= 1)\">\n\n <li class=\"hmcts-pagination__item hmcts-pagination__item--prev\" [class.disabled]=\"p.isFirstPage()\">\n <a [routerLink]=\"\" class=\"hmcts-pagination__link\" *ngIf=\"1 < p.getCurrent()\" (keyup.enter)=\"p.previous()\"\n (click)=\"p.previous()\">{{'Previous' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{'set of pages' | rpxTranslate}}</span></a>\n </li>\n\n <ng-container *ngIf=\"showPageNumbers\">\n <li class=\"hmcts-pagination__item\" [class.hmcts-pagination__item--active]=\"p.getCurrent() === page.value\"\n [class.hmcts-pagination__item--dots]=\"page.label === '...'\" *ngFor=\"let page of p.pages\">\n <a class=\"hmcts-pagination__link\" [routerLink]=\"\" (keyup.enter)=\"p.setCurrent(page.value)\"\n (click)=\"p.setCurrent(page.value)\" *ngIf=\"p.getCurrent() !== page.value\">\n <span class=\"govuk-visually-hidden\">{{'page' | rpxTranslate}} </span>\n <span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>\n </a>\n <ng-container *ngIf=\"p.getCurrent() === page.value\">\n <span>{{ (page.label === '...') ? page.label : (page.label | number:'') }}</span>\n </ng-container>\n </li>\n </ng-container>\n\n <li class=\"hmcts-pagination__item hmcts-pagination__item--next\" [class.disabled]=\"p.isLastPage()\">\n <a [routerLink]=\"\" class=\"hmcts-pagination__link\" *ngIf=\"!p.isLastPage()\" (keyup.enter)=\"p.next()\"\n (click)=\"p.next()\">{{'Next' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'page' | rpxTranslate}}</span></a>\n </li>\n\n </ul>\n <p class=\"hmcts-pagination__results\" *ngIf=\"showResultCount\">{{'Showing' | rpxTranslate}} <b>{{(p.getCurrent() * pageSize) - pageSize + 1}}</b>\n {{'to' | rpxTranslate}} <b>{{ p.getCurrent() * pageSize > p.getTotalItems() ? p.getTotalItems() : p.getCurrent() *\n pageSize}}</b> {{'of' | rpxTranslate}} <b>{{p.getTotalItems()}}</b> {{'results' | rpxTranslate}}</p>\n </nav>\n\n</pagination-template>\n", styles: [".hmcts-pagination__results{float:right}\n"] }]
188
+ }], null, { id: [{
189
+ type: Input
190
+ }], maxSize: [{
191
+ type: Input
192
+ }], pageSize: [{
193
+ type: Input
194
+ }], showPageNumbers: [{
195
+ type: Input
196
+ }], showResultCount: [{
197
+ type: Input
198
+ }], pageChange: [{
199
+ type: Output
200
+ }], pageBoundsCorrection: [{
201
+ type: Output
202
+ }] }); })();
203
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HmctsPaginationComponent, { className: "HmctsPaginationComponent", filePath: "lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.ts", lineNumber: 8 }); })();
204
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia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