@hmcts/rpx-xui-common-lib 2.1.7-angular-upgrade-11 → 2.1.7-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 +167 -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 +70 -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 +10386 -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 -5141
  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 -94
  335. package/fesm2015/hmcts-rpx-xui-common-lib.js +0 -4174
  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,6 +1,7 @@
1
1
  import { FormGroup } from '@angular/forms';
2
2
  import { ErrorMessagesModel } from '../../models';
3
3
  import { GovUiConfigModel } from '../../models/gov-ui-config-model';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class GovUkSelectComponent {
5
6
  constructor();
6
7
  errorMessage: ErrorMessagesModel;
@@ -12,4 +13,6 @@ export declare class GovUkSelectComponent {
12
13
  id: string;
13
14
  }[];
14
15
  setDescribedBy(): string;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUkSelectComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovUkSelectComponent, "xuilib-gov-select", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "group": { "alias": "group"; "required": false; }; "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
15
18
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class GovukTableComponent {
2
3
  classes: string;
3
4
  caption: string;
@@ -6,6 +7,8 @@ export declare class GovukTableComponent {
6
7
  columnConfig: GovukTableColumnConfig[];
7
8
  constructor();
8
9
  formatDate(date: Date): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovukTableComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovukTableComponent, "xuilib-gov-uk-table", never, { "classes": { "alias": "classes"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "firstCellIsHeader": { "alias": "firstCellIsHeader"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "columnConfig": { "alias": "columnConfig"; "required": false; }; }, {}, never, never, false, never>;
9
12
  }
10
13
  export declare class GovukTableColumnConfig {
11
14
  header: string;
@@ -1,9 +1,12 @@
1
1
  import { FormGroup } from '@angular/forms';
2
2
  import { ErrorMessagesModel } from '../../models';
3
3
  import { GovUiConfigModel } from '../../models/gov-ui-config-model';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class GovUkTextareaComponent {
5
6
  config: GovUiConfigModel;
6
7
  errorMessage: ErrorMessagesModel;
7
8
  group: FormGroup;
8
9
  setDescribedBy(): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUkTextareaComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<GovUkTextareaComponent, "xuilib-gov-uk-textarea", never, { "config": { "alias": "config"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "group": { "alias": "group"; "required": false; }; }, {}, never, never, false, never>;
9
12
  }
@@ -0,0 +1,7 @@
1
+ export interface HmctsBannerInfo {
2
+ message: string;
3
+ type: 'warning' | 'success' | 'information';
4
+ title?: string;
5
+ showMessageIcon?: boolean;
6
+ messageBoldText?: boolean;
7
+ }
@@ -1,5 +1,10 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class HmctsBannerComponent {
2
- constructor();
3
- type: string;
4
3
  message: string;
4
+ type: 'warning' | 'success' | 'information';
5
+ title?: string;
6
+ showMessageIcon?: boolean;
7
+ messageBoldText?: boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsBannerComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsBannerComponent, "xuilib-hmcts-banner", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showMessageIcon": { "alias": "showMessageIcon"; "required": false; }; "messageBoldText": { "alias": "messageBoldText"; "required": false; }; }, {}, never, never, false, never>;
5
10
  }
@@ -1,4 +1,5 @@
1
1
  import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChanges {
3
4
  private readonly document;
4
5
  set errorMessages(value: any);
@@ -10,4 +11,6 @@ export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChan
10
11
  ngOnChanges(changes: SimpleChanges): void;
11
12
  scrollTo(selector: any): void;
12
13
  hasElement(selector: any): any;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsErrorSummaryComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsErrorSummaryComponent, "xuilib-hmcts-error-summary", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "header": { "alias": "header"; "required": false; }; "showWarningMessage": { "alias": "showWarningMessage"; "required": false; }; }, {}, never, never, false, never>;
13
16
  }
@@ -1,5 +1,8 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class HmctsIdentityBarComponent {
2
3
  set content(value: any);
3
4
  value: string;
4
5
  constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsIdentityBarComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsIdentityBarComponent, "xuilib-hmcts-identity-bar", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
5
8
  }
@@ -1,7 +1,8 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { BannerDataModel } from '../../models/banner-data-model';
2
+ import { HmctsBannerInfo } from '../hmcts-banner/hmcts-banner-info.interface';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class HmctsMainWrapperComponent implements OnInit {
4
- bannerData: BannerDataModel;
5
+ bannerData: HmctsBannerInfo;
5
6
  backLink: string;
6
7
  title: string;
7
8
  summaryErrors: {
@@ -12,7 +13,7 @@ export declare class HmctsMainWrapperComponent implements OnInit {
12
13
  message: any;
13
14
  }[];
14
15
  };
15
- set banner(value: BannerDataModel);
16
+ set banner(value: HmctsBannerInfo);
16
17
  actionButtons: {
17
18
  name: string;
18
19
  class: string;
@@ -24,4 +25,6 @@ export declare class HmctsMainWrapperComponent implements OnInit {
24
25
  constructor();
25
26
  ngOnInit(): void;
26
27
  onGoBack(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsMainWrapperComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsMainWrapperComponent, "xuilib-hmcts-main-wrapper", never, { "backLink": { "alias": "backLink"; "required": false; }; "title": { "alias": "title"; "required": false; }; "summaryErrors": { "alias": "summaryErrors"; "required": false; }; "banner": { "alias": "banner"; "required": false; }; "actionButtons": { "alias": "actionButtons"; "required": false; }; "showWarningMessage": { "alias": "showWarningMessage"; "required": false; }; }, { "backEvent": "backEvent"; }, never, ["*"], false, never>;
27
30
  }
@@ -1,4 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class HmctsPaginationComponent {
3
4
  id: string;
4
5
  maxSize: number;
@@ -7,4 +8,6 @@ export declare class HmctsPaginationComponent {
7
8
  showResultCount: boolean;
8
9
  pageChange: EventEmitter<number>;
9
10
  pageBoundsCorrection: EventEmitter<number>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsPaginationComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsPaginationComponent, "xuilib-hmcts-pagination", never, { "id": { "alias": "id"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showPageNumbers": { "alias": "showPageNumbers"; "required": false; }; "showResultCount": { "alias": "showResultCount"; "required": false; }; }, { "pageChange": "pageChange"; "pageBoundsCorrection": "pageBoundsCorrection"; }, never, never, false, never>;
10
13
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class HmctsPrimaryNavigationComponent {
2
3
  set userLoggedIn(value: any);
3
4
  label: string;
@@ -9,4 +10,6 @@ export declare class HmctsPrimaryNavigationComponent {
9
10
  isBrandedHeader: boolean;
10
11
  isUserLoggedIn: boolean;
11
12
  constructor();
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsPrimaryNavigationComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsPrimaryNavigationComponent, "xuilib-hmcts-primary-navigation", never, { "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isBrandedHeader": { "alias": "isBrandedHeader"; "required": false; }; }, {}, never, never, false, never>;
12
15
  }
@@ -1,6 +1,9 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class HmctsSubNavigationComponent {
2
3
  label: string;
3
4
  items: SubNavigation[];
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HmctsSubNavigationComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HmctsSubNavigationComponent, "xuilib-hmcts-sub-navigation", never, { "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
4
7
  }
5
8
  export interface SubNavigation {
6
9
  text: string;
@@ -1,6 +1,9 @@
1
1
  import { ElementRef, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class RemoveHostDirective implements OnInit {
3
4
  private readonly el;
4
5
  constructor(el: ElementRef);
5
6
  ngOnInit(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoveHostDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveHostDirective, "[appRemoveHost]", never, {}, {}, never, never, false, never>;
6
9
  }
@@ -1,3 +1,6 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class GovUiService {
2
3
  constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<GovUiService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<GovUiService>;
3
6
  }
@@ -1,9 +1,6 @@
1
- import { FormGroup } from '@angular/forms';
2
- import { GovUiConfigModel } from './gov-ui-config-model';
3
1
  export interface CheckboxesModel {
4
- key: string;
5
- group: FormGroup;
6
- config: GovUiConfigModel;
7
- errors: any;
8
- items: GovUiConfigModel[];
2
+ id: string;
3
+ value: string;
4
+ label: string;
5
+ hint?: string;
9
6
  }
@@ -11,4 +11,6 @@ export interface GovUiConfigModel {
11
11
  type?: string;
12
12
  isPageHeading?: boolean;
13
13
  rows?: number;
14
+ fullWidth?: boolean;
15
+ optional?: boolean;
14
16
  }
@@ -1,4 +1,3 @@
1
1
  export * from './checkboxes-model';
2
2
  export * from './error-messages-model';
3
- export * from './banner-data-model';
4
3
  export * from './gov-ui-config-model';
@@ -0,0 +1,9 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import { GovUiConfigModel } from './gov-ui-config-model';
3
+ export interface RadioButtonsModel {
4
+ key: string;
5
+ group: FormGroup;
6
+ config: GovUiConfigModel;
7
+ errors: any;
8
+ items: GovUiConfigModel[];
9
+ }
@@ -0,0 +1,9 @@
1
+ export declare enum AddressMessageEnum {
2
+ NO_OPTION_SELECTED = "Select an option",
3
+ NO_STREET_SELECTED = "Enter building and street",
4
+ NO_CITY_SELECTED = "Enter town or city",
5
+ NO_COUNTRY_SELECTED = "Enter country",
6
+ NO_POSTCODE_SELECTED = "Enter a valid postcode",
7
+ SELECT_ADDRESS = "Select an address",
8
+ INVALID_POSTCODE = "Enter valid postcode"
9
+ }
@@ -0,0 +1,9 @@
1
+ import { AddressModel } from '.';
2
+ export declare class AddressOption {
3
+ description: string;
4
+ value: AddressModel;
5
+ constructor(addressModel: AddressModel, description: string);
6
+ private getDescription;
7
+ private prefixWithCommaIfPresent;
8
+ private removeInitialCommaIfPresent;
9
+ }
@@ -0,0 +1,9 @@
1
+ export declare class AddressModel {
2
+ addressLine1: string;
3
+ addressLine2?: string;
4
+ addressLine3?: string;
5
+ postTown: string;
6
+ county?: string;
7
+ postCode: string;
8
+ country: string;
9
+ }
@@ -10,4 +10,8 @@ export interface ContactDetailsDataModel {
10
10
  email?: string;
11
11
  phone?: string;
12
12
  openingTimes?: string;
13
+ contactDetails?: {
14
+ name: string;
15
+ contactLink: string;
16
+ };
13
17
  }
@@ -3,10 +3,8 @@ export declare class AnonymousFeatureUser {
3
3
  }
4
4
  export declare class LoggedInFeatureUser {
5
5
  key: string;
6
- custom: {
7
- [key: string]: any;
8
- roles: string[];
9
- orgId: string;
10
- };
6
+ [key: string]: any;
7
+ roles: string[];
8
+ orgId: string;
11
9
  }
12
- export declare type FeatureUser = AnonymousFeatureUser | LoggedInFeatureUser;
10
+ export type FeatureUser = AnonymousFeatureUser | LoggedInFeatureUser;
@@ -1,51 +1,84 @@
1
+ import { FormGroup } from '@angular/forms';
1
2
  import { BookingCheckType } from './location.model';
2
3
  import { PersonRole } from './person.model';
3
- export declare type FilterFieldType = 'checkbox' | 'radio' | 'select' | 'find-person' | 'find-location' | 'checkbox-large' | 'find-service';
4
- export declare type FilterPersistence = 'local' | 'session' | 'memory';
4
+ export type FilterFieldType = 'group-title' | 'checkbox' | 'radio' | 'select' | 'find-person' | 'find-location' | 'checkbox-large' | 'find-service' | 'text-input' | 'email-input' | 'group-select' | 'nested-checkbox' | 'find-task-name';
5
+ export type FilterPersistence = 'local' | 'session' | 'memory';
6
+ export interface FilterConfigOption {
7
+ key: string;
8
+ label: string;
9
+ selectAll?: boolean;
10
+ }
5
11
  export interface FilterConfig {
6
12
  id: string;
7
13
  fields: FilterFieldConfig[];
8
14
  persistence: FilterPersistence;
9
15
  applyButtonText: string;
16
+ enableDisabledButton?: boolean;
10
17
  cancelButtonText: string;
11
18
  cancelSetting?: FilterSetting;
12
- enableDisabledButton?: boolean;
13
19
  showCancelFilterButton?: boolean;
20
+ preSelectedNestedCheckbox?: number[];
21
+ cancelButtonCallback?(): void;
22
+ applyButtonCallback?(): void;
23
+ copyFields?(form: FormGroup): FormGroup;
24
+ }
25
+ export interface FilterFieldOption {
26
+ key: string;
27
+ label: string;
28
+ selectAll?: true;
14
29
  }
15
30
  export interface FilterFieldConfig {
16
31
  name: string;
17
- options: {
18
- key: string;
19
- label: string;
20
- selectAll?: true;
21
- }[];
32
+ options: FilterConfigOption[];
22
33
  minSelected: number;
23
34
  maxSelected: number;
35
+ type: FilterFieldType;
24
36
  minSelectedError?: string;
25
37
  maxSelectedError?: string;
26
38
  displayMaxSelectedError?: boolean;
27
39
  displayMinSelectedError?: boolean;
40
+ emailError?: string;
28
41
  lineBreakBefore?: boolean;
29
42
  showCondition?: string;
30
43
  enableCondition?: string;
31
44
  enableAddButton?: boolean;
32
45
  enableAddLocationButton?: boolean;
46
+ enableAddTaskNameButton?: boolean;
33
47
  changeResetFields?: string[];
34
48
  findPersonField?: string;
35
49
  findLocationField?: string;
50
+ findTaskNameField?: string;
36
51
  domainField?: string;
37
52
  disable?: boolean;
38
53
  disabledText?: string;
39
- type: FilterFieldType;
40
54
  domain?: PersonRole;
41
55
  title?: string;
56
+ titleClasses?: string;
57
+ titleHint?: string;
42
58
  subTitle?: string;
43
59
  locationTitle?: string;
60
+ hintText?: string;
44
61
  radioSelectionChange?: string;
45
62
  bookingCheckType?: BookingCheckType;
63
+ placeholderContent?: string;
64
+ maxWidth480px?: boolean;
65
+ maxRows?: number;
66
+ groupOptions?: GroupOptions[];
67
+ maxlength?: number;
68
+ defaultOption?: FilterConfigOption;
69
+ readonly?: boolean;
70
+ servicesField?: string;
71
+ services?: string[];
72
+ propertyNameFilter?: string;
73
+ }
74
+ export interface GroupOptions {
75
+ group: string;
76
+ options: FilterFieldOption[];
77
+ placeholderContent?: string;
46
78
  }
47
79
  export interface FilterSetting {
48
80
  id: string;
81
+ idamId?: string;
49
82
  reset?: boolean;
50
83
  fields: {
51
84
  name: string;
@@ -1,7 +1,11 @@
1
+ export * from './address-message.enum';
2
+ export * from './address-option.model';
3
+ export * from './address.model';
1
4
  export * from './case-share.model';
2
5
  export * from './contact-details.model';
3
6
  export * from './due-date.model';
4
7
  export * from './feature-user';
8
+ export * from './filter.model';
5
9
  export * from './idle-config.model';
6
10
  export * from './location.model';
7
11
  export * from './pagination.model';
@@ -13,45 +13,45 @@ export interface LocationModel {
13
13
  court_status?: string;
14
14
  court_open_date?: string;
15
15
  closed_date?: string;
16
- postcode: string;
17
- court_address: string;
16
+ postcode?: string;
17
+ court_address?: string;
18
18
  phone_number?: string;
19
19
  court_location_code?: string;
20
20
  dx_address?: string;
21
21
  welsh_site_name?: string;
22
22
  welsh_court_address?: string;
23
23
  venue_name?: string;
24
- is_case_management_location: string;
25
- is_hearing_location: string;
24
+ is_case_management_location?: string;
25
+ is_hearing_location?: string;
26
26
  }
27
27
  export interface LocationByEPIMMSModel {
28
28
  epimms_id: string;
29
- site_name: string;
29
+ site_name?: string;
30
30
  court_name?: string;
31
31
  open_for_public?: string;
32
- region_id: string;
33
- region: string;
32
+ region_id?: string;
33
+ region?: string;
34
34
  cluster_id?: string;
35
35
  cluster_name?: string;
36
36
  court_status?: string;
37
37
  court_open_date?: string;
38
38
  closed_date?: string;
39
- postcode: string;
40
- court_address: string;
39
+ postcode?: string;
40
+ court_address?: string;
41
41
  phone_number?: string;
42
42
  court_location_code?: string;
43
43
  dx_address?: string;
44
44
  welsh_site_name?: string;
45
45
  welsh_court_address?: string;
46
46
  venue_name?: string;
47
- is_case_management_location: string;
48
- is_hearing_location: string;
47
+ is_case_management_location?: string;
48
+ is_hearing_location?: string;
49
49
  }
50
50
  export interface LocationsByService {
51
51
  service?: string;
52
52
  serviceCode?: string;
53
53
  bookable?: boolean;
54
- locations: Location[];
54
+ locations: LocationByEPIMMSModel[];
55
55
  }
56
56
  export declare enum BookingCheckType {
57
57
  NO_CHECK = "NO_CHECK",
@@ -32,15 +32,17 @@ export interface Caseworker {
32
32
  }
33
33
  export declare enum PersonRole {
34
34
  JUDICIAL = "Judicial",
35
- CASEWORKER = "Legal Ops",
35
+ LEGAL_OPERATIONS = "Legal Ops",
36
36
  ADMIN = "Admin",
37
- CTSC = "CTSC User",
37
+ CTSC = "CTSC",
38
38
  ALL = "All"
39
39
  }
40
40
  export declare enum RoleCategory {
41
41
  JUDICIAL = "JUDICIAL",
42
- CASEWORKER = "LEGAL_OPERATIONS",
42
+ LEGAL_OPERATIONS = "LEGAL_OPERATIONS",
43
43
  ADMIN = "ADMIN",
44
44
  CTSC = "CTSC",
45
+ PROFESSIONAL = "PROFESSIONAL",
46
+ CITIZEN = "CITIZEN",
45
47
  ALL = "ALL"
46
48
  }
@@ -2,4 +2,5 @@ export * from './tcDocument.model';
2
2
  export * from './contact-details.model';
3
3
  export * from './feature-user';
4
4
  export * from './user.model';
5
+ export * from './user-access-type.model';
5
6
  export * from './filter.model';
@@ -4,5 +4,5 @@ export interface SearchOptions {
4
4
  userRole: PersonRole;
5
5
  services: string[];
6
6
  userIncluded?: boolean;
7
- assignedUser?: string;
7
+ assignedUser?: string | string[];
8
8
  }
@@ -0,0 +1,8 @@
1
+ export interface ServiceMessages {
2
+ index: number;
3
+ roles: string;
4
+ message_en: string;
5
+ message_cy: string;
6
+ begin?: string;
7
+ end?: string;
8
+ }
@@ -0,0 +1,4 @@
1
+ export interface TaskNameModel {
2
+ taskId: number;
3
+ taskName: string;
4
+ }
@@ -0,0 +1,6 @@
1
+ export interface UserAccessType {
2
+ jurisdictionId: string;
3
+ organisationProfileId: string;
4
+ accessTypeId: string;
5
+ enabled: boolean;
6
+ }
@@ -1,7 +1,9 @@
1
+ import { UserAccessType } from './user-access-type.model';
1
2
  export interface UserDetails {
2
3
  caseRoles?: string;
3
4
  email: string;
4
5
  firstName: string;
5
6
  idamId: string;
6
7
  lastName: string;
8
+ userAccessTypes?: UserAccessType[];
7
9
  }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CapitalizePipe implements PipeTransform {
4
+ transform(value: string): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", false>;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './capitalize/capitalize.pipe';
@@ -0,0 +1,17 @@
1
+ import { AddressModel } from '../../models';
2
+ /**
3
+ * Moving all this logic here into Address Parser class, so that it
4
+ * will be easier for us when we move this parsing logic to into
5
+ * `Shim` java service.
6
+ */
7
+ export declare class AddressParser {
8
+ parse(address: any): AddressModel;
9
+ private parseAddressLine1;
10
+ private parseAddressLine2;
11
+ private parseAddressLine3;
12
+ private removeNonAddressValues;
13
+ private removeUndefinedString;
14
+ private removeEmptySpaces;
15
+ private removeInitialComma;
16
+ private prefixWithCommaIfPresent;
17
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum AddressType {
2
+ DPA = "DPA",
3
+ UK = "United Kingdom",
4
+ RD06 = "RD06"
5
+ }
@@ -0,0 +1,15 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { AddressModel } from '../../models';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AddressService {
6
+ private readonly http;
7
+ constructor(http: HttpClient);
8
+ getAddressesForPostcode(postcode: string): Observable<AddressModel[]>;
9
+ private format;
10
+ private formatAddressLines;
11
+ private shiftAddressLinesUp;
12
+ private toCapitalCase;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddressService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<AddressService>;
15
+ }
@@ -1,5 +1,6 @@
1
1
  import { SharedCase } from '../../models/case-share.model';
2
2
  import { UserDetails } from '../../models/user-details.model';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class CaseSharingStateService {
4
5
  private caseState;
5
6
  private readonly subject;
@@ -12,4 +13,6 @@ export declare class CaseSharingStateService {
12
13
  requestCancel(caseId: string, user: UserDetails): void;
13
14
  removeCase(caseId: string): void;
14
15
  userHasAccess(c: SharedCase, user: UserDetails): boolean;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaseSharingStateService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<CaseSharingStateService>;
15
18
  }
@@ -1,3 +1,4 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CookieService {
2
3
  private readonly document?;
3
4
  constructor(doc?: any);
@@ -6,4 +7,6 @@ export declare class CookieService {
6
7
  deleteCookie(key: string, path?: string, domain?: string): void;
7
8
  deleteCookieByPartialMatch(key: string, path?: string, domain?: string): void;
8
9
  checkCookie(key: string): boolean;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CookieService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<CookieService>;
9
12
  }
@@ -1,7 +1,8 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router, UrlTree } from '@angular/router';
1
+ import { ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router';
2
2
  import { Observable } from 'rxjs';
3
3
  import { FeatureToggleService } from './feature-toggle.service';
4
- export declare class FeatureToggleGuard implements CanActivate {
4
+ import * as i0 from "@angular/core";
5
+ export declare class FeatureToggleGuard {
5
6
  private readonly featureToggleService;
6
7
  private readonly router;
7
8
  constructor(featureToggleService: FeatureToggleService, router: Router);
@@ -10,7 +11,12 @@ export declare class FeatureToggleGuard implements CanActivate {
10
11
  * in the data array for the route:
11
12
  * - needsFeaturesEnabled: An array of feature keys that need to be enabled for this route
12
13
  * - featureDisabledRedirect: the URL to redirect to when the this route is not accessible due to disabled features
14
+ * - expectFeatureEnabled: Sets whether a route should be enabled/disabled based on whether feature is present
13
15
  * @param route Automatically provided by Angular
16
+ * Note: Per Angular 18, when a guard returns a UrlTree as a redirect,
17
+ * the redirecting navigation will now use replaceUrl if the initial navigation was also using the replaceUrl option.
14
18
  */
15
19
  canActivate(route: ActivatedRouteSnapshot): Observable<boolean | UrlTree>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureToggleGuard, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<FeatureToggleGuard>;
16
22
  }
@@ -1,8 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { FeatureUser } from '../../models/feature-user';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class FeatureToggleService {
4
5
  initialize(_user: FeatureUser, _clientId: string): void;
5
6
  isEnabled(_feature: string): Observable<boolean>;
6
7
  getValue<R>(_key: string, _defaultValue: R): Observable<R>;
7
8
  getValueOnce<R>(_key: string, _defaultValue: R): Observable<R>;
9
+ getValueSync<R>(feature: string, defaultValue: R): R;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FeatureToggleService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<FeatureToggleService>;
8
12
  }