@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
@@ -1,24 +1,28 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { FeatureUser } from '../../models/feature-user';
3
3
  import { FeatureToggleService } from './feature-toggle.service';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class LaunchDarklyService implements FeatureToggleService {
5
6
  private client;
6
7
  private readonly ready;
7
8
  private readonly features;
8
- private user;
9
+ private context;
9
10
  private clientId;
10
11
  initialize(user: FeatureUser, clientId: string): void;
11
- isEnabled(feature: string): Observable<boolean>;
12
+ isEnabled(feature: string, defaultValue?: boolean): Observable<boolean>;
12
13
  getArray<R = any>(feature: string): Observable<R[]>;
13
14
  getValue<R>(feature: string, defaultValue: R): Observable<R>;
14
15
  /**
15
- * This method returns an observable that will only get the state of the feature toggle
16
- * once. It calls the LD SDK directly, and should only be used in circumstances where
17
- * only one value should be emitted, that value coming directly from LD. This will likely
18
- * only apply for Guards, and should be used only when absolutely necessary.
19
- * @see getValue for regular usage.
20
- * @param feature string
21
- * @param defaultValue R
22
- */
16
+ * This method returns an observable that will only get the state of the feature toggle
17
+ * once. It calls the LD SDK directly, and should only be used in circumstances where
18
+ * only one value should be emitted, that value coming directly from LD. This will likely
19
+ * only apply for Guards, and should be used only when absolutely necessary.
20
+ * @see getValue for regular usage.
21
+ * @param feature string
22
+ * @param defaultValue R
23
+ */
23
24
  getValueOnce<R>(feature: string, defaultValue: R): Observable<R>;
25
+ getValueSync<R>(feature: string, defaultValue: R): R;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<LaunchDarklyService, never>;
27
+ static ɵprov: i0.ɵɵInjectableDeclaration<LaunchDarklyService>;
24
28
  }
@@ -1,5 +1,6 @@
1
1
  import { BehaviorSubject, Observable } from 'rxjs';
2
2
  import { FilterError, FilterPersistence, FilterSetting } from '../../models';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class FilterService {
4
5
  givenErrors: BehaviorSubject<FilterError[]>;
5
6
  isInitialSetting: boolean;
@@ -7,9 +8,14 @@ export declare class FilterService {
7
8
  private readonly streams;
8
9
  persist(setting: FilterSetting, persistence: FilterPersistence): void;
9
10
  get(id: string): FilterSetting | null;
11
+ isSameUser(id: string): boolean;
10
12
  getStream(id: string): Observable<FilterSetting>;
13
+ clearSessionAndLocalPersistance(id: string): void;
11
14
  private persistLocal;
12
15
  private persistSession;
13
16
  private persistMemory;
14
17
  private updateStreams;
18
+ getUserId(): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
15
21
  }
@@ -1,17 +1,20 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { Caseworker, JudicialUserModel, Person, SearchOptions } from '../../models';
4
- import { SessionStorageService } from '../session-storage/session-storage.service';
4
+ import { SessionStorageService } from '../storage/session-storage/session-storage.service';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class FindAPersonService {
6
7
  private readonly http;
7
8
  private readonly sessionStorageService;
8
9
  static caseworkersKey: string;
9
10
  userId: string;
10
- assignedUser: string;
11
+ assignedUser: string | string[];
11
12
  constructor(http: HttpClient, sessionStorageService: SessionStorageService);
12
13
  find(searchOptions: SearchOptions): Observable<Person[]>;
13
14
  findCaseworkers(searchOptions: SearchOptions): Observable<Person[]>;
14
15
  mapCaseworkers(caseworkers: Caseworker[], roleCategory: string): Person[];
15
16
  searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
16
17
  searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FindAPersonService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<FindAPersonService>;
17
20
  }
@@ -1,5 +1,6 @@
1
1
  import { Title } from '@angular/platform-browser';
2
2
  import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class GoogleAnalyticsService {
4
5
  private readonly router;
5
6
  private readonly title;
@@ -9,5 +10,7 @@ export declare class GoogleAnalyticsService {
9
10
  constructor(router: Router, title: Title, window: any, document: any);
10
11
  init(googleAnalyticsKey: string): void;
11
12
  private listenForRouteChanges;
12
- event(eventName: string, params: {}): void;
13
+ event(eventName: string, params: Record<string, any>): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoogleAnalyticsService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<GoogleAnalyticsService>;
13
16
  }
@@ -1,5 +1,6 @@
1
1
  import { Title } from '@angular/platform-browser';
2
2
  import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class GoogleTagManagerService {
4
5
  private readonly router;
5
6
  private readonly title;
@@ -9,5 +10,8 @@ export declare class GoogleTagManagerService {
9
10
  constructor(router: Router, title: Title, window: any, document: any);
10
11
  init(googleTagManagerKey: string): void;
11
12
  private listenForRouteChanges;
12
- event(eventName: string, params: {}): void;
13
+ virtualPageView(eventName: string, path: string, title: string, metadata?: Record<string, any>): void;
14
+ event(eventName: string, params: Record<string, any>): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTagManagerService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTagManagerService>;
13
17
  }
@@ -1,4 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
+ import * as i0 from "@angular/core";
2
3
  export declare abstract class HasLoadingState {
3
4
  get isLoading(): Observable<boolean>;
4
5
  }
@@ -9,4 +10,6 @@ export declare class LoadingService implements HasLoadingState {
9
10
  register(): string;
10
11
  unregister(token: string): void;
11
12
  private generateToken;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
12
15
  }
@@ -1,6 +1,7 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { LocationByEPIMMSModel, LocationsByService } from '../../models/location.model';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class LocationService {
5
6
  private readonly http;
6
7
  constructor(http: HttpClient);
@@ -11,7 +12,7 @@ export declare class LocationService {
11
12
  * @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
12
13
  * @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
13
14
  */
14
- getAllLocations(serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[], bookingLocations: string[]): Observable<LocationByEPIMMSModel[]>;
15
+ getAllLocations(locationUrl: string, serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[]): Observable<LocationByEPIMMSModel[]>;
15
16
  /**
16
17
  * @description searchLocations from service Ids/location type/search term
17
18
  * @param serviceIds: BBA3 | BBA3,BFA1 split with ','
@@ -20,4 +21,6 @@ export declare class LocationService {
20
21
  * @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
21
22
  */
22
23
  searchLocations(serviceIds: string, locationType: string, searchTerm: string): Observable<LocationByEPIMMSModel[]>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocationService>;
23
26
  }
@@ -2,6 +2,7 @@ import { Idle } from '@ng-idle/core';
2
2
  import { Keepalive } from '@ng-idle/keepalive';
3
3
  import { Observable } from 'rxjs';
4
4
  import { IdleConfigModel } from '../../models/idle-config.model';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class ManageSessionServices {
6
7
  private readonly idle;
7
8
  private readonly keepalive;
@@ -9,4 +10,6 @@ export declare class ManageSessionServices {
9
10
  constructor(idle: Idle, keepalive: Keepalive);
10
11
  init(idleConfig: IdleConfigModel): void;
11
12
  appStateChanges(): Observable<any>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ManageSessionServices, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ManageSessionServices>;
12
15
  }
@@ -1,6 +1,7 @@
1
1
  export * from './feature-toggle/feature-toggle.guard';
2
2
  export * from './feature-toggle/feature-toggle.service';
3
3
  export * from './feature-toggle/launch-darkly.service';
4
+ export * from './address/address.service';
4
5
  export * from './google-analytics/google-analytics.service';
5
6
  export * from './google-tag-manager/google-tag-manager.service';
6
7
  export * from './manage-session/manage-session.services';
@@ -10,3 +11,4 @@ export * from './role-guard/role.service';
10
11
  export * from './cookie/cookie.service';
11
12
  export * from './loading/loading.service';
12
13
  export * from './filter/filter.service';
14
+ export * from './ref-data';
@@ -0,0 +1,3 @@
1
+ export * from './models/ref-data-htmcs-service.model';
2
+ export * from './models/ref-data-region.model';
3
+ export * from './ref-data.service';
@@ -0,0 +1,13 @@
1
+ export interface RefDataHMCTSService {
2
+ jurisdiction: string;
3
+ service_id: number;
4
+ org_unit: string;
5
+ business_area: string;
6
+ sub_business_area: string;
7
+ service_description: string;
8
+ service_code: string;
9
+ service_short_description: string;
10
+ ccd_service_name: string;
11
+ last_update: string;
12
+ ccd_case_types: string[];
13
+ }
@@ -0,0 +1,4 @@
1
+ export interface RefDataRegion {
2
+ region_id: string;
3
+ description: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ import { LocationModel } from '../../../../models';
2
+ export interface LocationModelsByServiceCodeResponse {
3
+ court_type: string;
4
+ court_type_id: string;
5
+ court_venues: LocationModel[];
6
+ service_code: string;
7
+ welsh_court_type: string;
8
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { LocationModel } from '../../../models';
4
+ import { RefDataHMCTSService } from '../models/ref-data-htmcs-service.model';
5
+ import { RefDataRegion } from '../models/ref-data-region.model';
6
+ import { LocationModelsByServiceCodeResponse } from './models/ref-data-locations-by-service-code-response.model';
7
+ import * as i0 from "@angular/core";
8
+ export declare class RefDataDataAccessService {
9
+ private readonly http;
10
+ static refDataUrl: string;
11
+ constructor(http: HttpClient);
12
+ getServices(): Observable<RefDataHMCTSService[]>;
13
+ getRegions(): Observable<RefDataRegion[]>;
14
+ getLocationsByServiceCode(serviceCode: string): Observable<LocationModelsByServiceCodeResponse>;
15
+ getLocations(): Observable<LocationModel[]>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<RefDataDataAccessService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<RefDataDataAccessService>;
18
+ }
@@ -0,0 +1,17 @@
1
+ import { Observable } from 'rxjs';
2
+ import { LocationByEPIMMSModel } from '../../models';
3
+ import { RefDataHMCTSService } from './models/ref-data-htmcs-service.model';
4
+ import { RefDataRegion } from './models/ref-data-region.model';
5
+ import { RefDataDataAccessService } from './ref-data-data-access/ref-data-data-access.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class RefDataService {
8
+ private readonly refDataDataAccessService;
9
+ regions$: Observable<RefDataRegion[]>;
10
+ services$: Observable<RefDataHMCTSService[]>;
11
+ locations$: Observable<LocationByEPIMMSModel[]>;
12
+ private readonly locationsByServiceCodesCache;
13
+ constructor(refDataDataAccessService: RefDataDataAccessService);
14
+ getLocationsByServiceCodes(serviceCodes: string[]): Observable<LocationByEPIMMSModel[]>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<RefDataService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<RefDataService>;
17
+ }
@@ -1,12 +1,16 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router, UrlTree } from '@angular/router';
1
+ import { ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router';
2
+ import { Observable } from 'rxjs';
2
3
  import { RoleService } from './role.service';
4
+ import * as i0 from "@angular/core";
3
5
  export declare enum RoleMatching {
4
6
  ALL = 0,
5
7
  ANY = 1
6
8
  }
7
- export declare class RoleGuard implements CanActivate {
9
+ export declare class RoleGuard {
8
10
  private readonly roleService;
9
11
  private readonly router;
10
12
  constructor(roleService: RoleService, router: Router);
11
- canActivate(route: ActivatedRouteSnapshot): boolean | UrlTree;
13
+ canActivate(route: ActivatedRouteSnapshot): Observable<boolean | UrlTree>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuard, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuard>;
12
16
  }
@@ -1,7 +1,11 @@
1
- export declare type Role = string;
2
- export declare type Roles = Role[];
1
+ import { BehaviorSubject } from 'rxjs';
2
+ import * as i0 from "@angular/core";
3
+ export type Role = string;
4
+ export type Roles = Role[];
3
5
  export declare class RoleService {
4
- private pRoles;
5
- get roles(): Roles;
6
+ readonly pRoles: BehaviorSubject<Roles>;
7
+ roles$: import("rxjs").Observable<Roles>;
6
8
  set roles(roles: Roles);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleService>;
7
11
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class SessionStorageService {
2
3
  /**
3
4
  * Get an item from the session storage.
@@ -17,4 +18,6 @@ export declare class SessionStorageService {
17
18
  * Clear all the items held in session storage.
18
19
  */
19
20
  clear(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
20
23
  }
@@ -0,0 +1,17 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { TaskNameModel } from '../../models/task-name.model';
4
+ import { SessionStorageService } from '../storage/session-storage/session-storage.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TaskNameService {
7
+ private readonly http;
8
+ private readonly sessionStorageService;
9
+ static taskNamesKey: string;
10
+ constructor(http: HttpClient, sessionStorageService: SessionStorageService);
11
+ /**
12
+ * @return Observable<any[]>: Array of taskName in Observable
13
+ */
14
+ getTaskName(service: string): Observable<TaskNameModel[]>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskNameService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<TaskNameService>;
17
+ }
@@ -1,12 +1,13 @@
1
1
  import { Idle } from '@ng-idle/core';
2
2
  import { Keepalive } from '@ng-idle/keepalive';
3
3
  import { Observable } from 'rxjs';
4
- import { TimeoutNotificationConfig } from '../../models/timeout-notification.model';
4
+ import { TimeoutNotificationConfig } from '../../models';
5
+ import * as i0 from "@angular/core";
5
6
  /**
6
7
  * TimeoutNotificationsService
7
8
  *
8
9
  * The Timeout Notification Service allows your application to receive notifications
9
- * when a User is approaching the the total time that a User has been idle for.
10
+ * when a User is approaching the total time that a User has been idle for.
10
11
  *
11
12
  * This can be set by your application using the Timeout Notification Config object.
12
13
  *
@@ -19,6 +20,7 @@ import { TimeoutNotificationConfig } from '../../models/timeout-notification.mod
19
20
  export declare class TimeoutNotificationsService {
20
21
  private readonly idle;
21
22
  private readonly keepalive;
23
+ private readonly subs;
22
24
  private readonly eventEmitter;
23
25
  constructor(idle: Idle, keepalive: Keepalive);
24
26
  /**
@@ -41,8 +43,12 @@ export declare class TimeoutNotificationsService {
41
43
  * @see README.md for more information on TimeoutNotificationService.
42
44
  */
43
45
  initialise(config: TimeoutNotificationConfig): void;
46
+ reset(): void;
47
+ close(): void;
44
48
  /**
45
49
  * Expose the notification events, so that a 3rd party service can listen to the notifications.
46
50
  */
47
51
  notificationOnChange(): Observable<any>;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeoutNotificationsService, never>;
53
+ static ɵprov: i0.ɵɵInjectableDeclaration<TimeoutNotificationsService>;
48
54
  }
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@hmcts/rpx-xui-common-lib",
3
- "version": "2.1.6-angular-upgrade-11-welsh",
3
+ "version": "2.1.6-javascript-void",
4
4
  "peerDependencies": {
5
- "launchdarkly-js-client-sdk": "^2.15.2",
6
- "ngx-pagination": "^3.2.1"
5
+ "launchdarkly-js-client-sdk": "^3.3.0",
6
+ "ngx-pagination": "^3.2.1",
7
+ "rpx-xui-translation": "^0.1.1"
7
8
  },
8
9
  "publishConfig": {
9
10
  "access": "public"
@@ -25,12 +26,21 @@
25
26
  "dependencies": {
26
27
  "tslib": "^2.0.0"
27
28
  },
28
- "main": "bundles/hmcts-rpx-xui-common-lib.umd.js",
29
- "module": "fesm2015/hmcts-rpx-xui-common-lib.js",
30
- "es2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
31
- "esm2015": "esm2015/hmcts-rpx-xui-common-lib.js",
32
- "fesm2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
33
- "typings": "hmcts-rpx-xui-common-lib.d.ts",
34
- "metadata": "hmcts-rpx-xui-common-lib.metadata.json",
35
- "sideEffects": false
29
+ "module": "fesm2022/hmcts-rpx-xui-common-lib.mjs",
30
+ "typings": "index.d.ts",
31
+ "exports": {
32
+ "./package.json": {
33
+ "default": "./package.json"
34
+ },
35
+ ".": {
36
+ "types": "./index.d.ts",
37
+ "esm2022": "./esm2022/hmcts-rpx-xui-common-lib.mjs",
38
+ "esm": "./esm2022/hmcts-rpx-xui-common-lib.mjs",
39
+ "default": "./fesm2022/hmcts-rpx-xui-common-lib.mjs"
40
+ }
41
+ },
42
+ "sideEffects": false,
43
+ "scripts": {
44
+ "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
45
+ }
36
46
  }
package/public-api.d.ts CHANGED
@@ -3,5 +3,6 @@ export * from './lib/directives';
3
3
  export * from './lib/exui-common-lib.module';
4
4
  export * from './lib/gov-ui';
5
5
  export * from './lib/models';
6
+ export * from './lib/pipes';
6
7
  export * from './lib/services';
7
8
  export * from './lib/window';