@hmcts/rpx-xui-common-lib 2.1.0-angular-upgrade-11 → 2.1.1-angular-upgrade-11

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 (270) hide show
  1. package/bundles/hmcts-rpx-xui-common-lib.umd.js +7051 -2390
  2. package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
  3. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +15 -1
  4. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-rpx-xui-common-lib.js +8 -2
  6. package/esm2015/lib/components/accessibility/accessibility.component.js +9 -3
  7. package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +112 -14
  8. package/esm2015/lib/components/contact-details/contact-details.component.js +12 -2
  9. package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +65 -4
  10. package/esm2015/lib/components/due-date/due-date.component.js +97 -2
  11. package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +21 -7
  12. package/esm2015/lib/components/find-location/find-location.component.js +119 -10
  13. package/esm2015/lib/components/find-person/find-person.component.js +150 -9
  14. package/esm2015/lib/components/generic-filter/generic-filter-utils.js +55 -11
  15. package/esm2015/lib/components/generic-filter/generic-filter.component.js +276 -27
  16. package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +18 -3
  17. package/esm2015/lib/components/index.js +7 -2
  18. package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +22 -2
  19. package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +21 -2
  20. package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +12 -3
  21. package/esm2015/lib/components/pagination/pagination.component.js +24 -2
  22. package/esm2015/lib/components/public_api.js +33 -33
  23. package/esm2015/lib/components/search-judicials/search-judicials.component.js +133 -10
  24. package/esm2015/lib/components/search-location/search-location.component.js +158 -7
  25. package/esm2015/lib/components/search-venue/search-venue.component.js +135 -12
  26. package/esm2015/lib/components/selected-case/selected-case.component.js +176 -20
  27. package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +41 -3
  28. package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +52 -3
  29. package/esm2015/lib/components/service-message/service-message.component.js +20 -2
  30. package/esm2015/lib/components/service-messages/service-messages.component.js +65 -7
  31. package/esm2015/lib/components/share-case/share-case.component.js +87 -6
  32. package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +37 -4
  33. package/esm2015/lib/components/tab/tab.component.js +26 -2
  34. package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +17 -2
  35. package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +8 -2
  36. package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +8 -2
  37. package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +12 -2
  38. package/esm2015/lib/components/user-details/user-details.component.js +39 -2
  39. package/esm2015/lib/components/user-list/user-list.component.js +32 -2
  40. package/esm2015/lib/components/user-select/user-select.component.js +52 -5
  41. package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +56 -3
  42. package/esm2015/lib/directives/index.js +7 -2
  43. package/esm2015/lib/directives/let/let.directive.js +39 -1
  44. package/esm2015/lib/directives/public-api.js +8 -3
  45. package/esm2015/lib/exui-common-lib.module.js +26 -3
  46. package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +22 -2
  47. package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +13 -2
  48. package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +54 -4
  49. package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +14 -2
  50. package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +17 -2
  51. package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +24 -2
  52. package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +16 -2
  53. package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +22 -2
  54. package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +12 -2
  55. package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +24 -6
  56. package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +13 -2
  57. package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +21 -2
  58. package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +32 -2
  59. package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +18 -2
  60. package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +14 -2
  61. package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +44 -2
  62. package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +16 -2
  63. package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +36 -2
  64. package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +23 -2
  65. package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +22 -2
  66. package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +30 -3
  67. package/esm2015/lib/gov-ui/components/index.js +7 -2
  68. package/esm2015/lib/gov-ui/components/public_api.js +7 -22
  69. package/esm2015/lib/gov-ui/directives/remove-host.directive.js +22 -1
  70. package/esm2015/lib/gov-ui/gov-ui.service.js +8 -2
  71. package/esm2015/lib/gov-ui/index.js +7 -2
  72. package/esm2015/lib/gov-ui/models/banner-data-model.js +16 -2
  73. package/esm2015/lib/gov-ui/models/checkboxes-model.js +22 -2
  74. package/esm2015/lib/gov-ui/models/error-messages-model.js +16 -2
  75. package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +36 -2
  76. package/esm2015/lib/gov-ui/models/index.js +7 -2
  77. package/esm2015/lib/gov-ui/models/isession-storage.interface.js +24 -2
  78. package/esm2015/lib/gov-ui/models/public_api.js +10 -5
  79. package/esm2015/lib/gov-ui/public_api.js +9 -5
  80. package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +14 -4
  81. package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +48 -12
  82. package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +24 -5
  83. package/esm2015/lib/gov-ui/validators/date.validator.js +20 -3
  84. package/esm2015/lib/gov-ui/validators/index.js +7 -2
  85. package/esm2015/lib/gov-ui/validators/public_api.js +9 -4
  86. package/esm2015/lib/gov-ui/validators/radio-group.validator.js +15 -3
  87. package/esm2015/lib/models/case-share.model.js +26 -2
  88. package/esm2015/lib/models/contact-details.model.js +31 -7
  89. package/esm2015/lib/models/due-date.model.js +14 -7
  90. package/esm2015/lib/models/feature-user.js +16 -1
  91. package/esm2015/lib/models/filter.model.js +116 -1
  92. package/esm2015/lib/models/idle-config.model.js +20 -2
  93. package/esm2015/lib/models/index.js +19 -14
  94. package/esm2015/lib/models/location.model.js +108 -2
  95. package/esm2015/lib/models/pagination.model.js +18 -2
  96. package/esm2015/lib/models/person.model.js +92 -17
  97. package/esm2015/lib/models/public_api.js +11 -6
  98. package/esm2015/lib/models/search-options.model.js +22 -2
  99. package/esm2015/lib/models/tcDocument.model.js +18 -2
  100. package/esm2015/lib/models/timeout-notification.model.js +18 -2
  101. package/esm2015/lib/models/user-details.model.js +22 -2
  102. package/esm2015/lib/models/user.model.js +25 -2
  103. package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +84 -9
  104. package/esm2015/lib/services/cookie/cookie.service.js +71 -8
  105. package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +43 -4
  106. package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +28 -2
  107. package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +94 -12
  108. package/esm2015/lib/services/filter/filter.service.js +56 -2
  109. package/esm2015/lib/services/find-person/find-person.service.js +123 -15
  110. package/esm2015/lib/services/google-analytics/google-analytics.service.js +63 -8
  111. package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +64 -10
  112. package/esm2015/lib/services/index.js +7 -2
  113. package/esm2015/lib/services/loading/loading.service.js +41 -2
  114. package/esm2015/lib/services/locations/location.service.js +28 -12
  115. package/esm2015/lib/services/manage-session/manage-session.services.js +63 -10
  116. package/esm2015/lib/services/public-api.js +22 -13
  117. package/esm2015/lib/services/role-guard/role.guard.js +53 -12
  118. package/esm2015/lib/services/role-guard/role.service.js +21 -2
  119. package/esm2015/lib/services/session-storage/session-storage.service.js +17 -3
  120. package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +75 -9
  121. package/esm2015/lib/window.js +10 -1
  122. package/esm2015/public-api.js +13 -8
  123. package/esm5/hmcts-rpx-xui-common-lib.js +74 -0
  124. package/esm5/lib/components/accessibility/accessibility.component.js +22 -0
  125. package/esm5/lib/components/checkbox-list/checkbox-list.component.js +391 -0
  126. package/esm5/lib/components/contact-details/contact-details.component.js +29 -0
  127. package/esm5/lib/components/cookie-banner/cookie-banner.component.js +154 -0
  128. package/esm5/lib/components/due-date/due-date.component.js +254 -0
  129. package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +45 -0
  130. package/esm5/lib/components/find-location/find-location.component.js +279 -0
  131. package/esm5/lib/components/find-person/find-person.component.js +286 -0
  132. package/esm5/lib/components/generic-filter/generic-filter-utils.js +66 -0
  133. package/esm5/lib/components/generic-filter/generic-filter.component.js +822 -0
  134. package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +47 -0
  135. package/esm5/lib/components/index.js +7 -0
  136. package/esm5/lib/components/invite-user-form/invite-user-form.component.js +54 -0
  137. package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +46 -0
  138. package/esm5/lib/components/loading-spinner/loading-spinner.component.js +29 -0
  139. package/esm5/lib/components/pagination/pagination.component.js +58 -0
  140. package/esm5/lib/components/public_api.js +33 -0
  141. package/esm5/lib/components/search-judicials/search-judicials.component.js +291 -0
  142. package/esm5/lib/components/search-location/search-location.component.js +302 -0
  143. package/esm5/lib/components/search-venue/search-venue.component.js +290 -0
  144. package/esm5/lib/components/selected-case/selected-case.component.js +430 -0
  145. package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +84 -0
  146. package/esm5/lib/components/selected-case-list/selected-case-list.component.js +109 -0
  147. package/esm5/lib/components/service-message/service-message.component.js +46 -0
  148. package/esm5/lib/components/service-messages/service-messages.component.js +122 -0
  149. package/esm5/lib/components/share-case/share-case.component.js +223 -0
  150. package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +70 -0
  151. package/esm5/lib/components/tab/tab.component.js +51 -0
  152. package/esm5/lib/components/tc-confirm/tc-confirm.component.js +42 -0
  153. package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +22 -0
  154. package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +22 -0
  155. package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +29 -0
  156. package/esm5/lib/components/user-details/user-details.component.js +92 -0
  157. package/esm5/lib/components/user-list/user-list.component.js +76 -0
  158. package/esm5/lib/components/user-select/user-select.component.js +131 -0
  159. package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +104 -0
  160. package/esm5/lib/directives/index.js +7 -0
  161. package/esm5/lib/directives/let/let.directive.js +78 -0
  162. package/esm5/lib/directives/public-api.js +8 -0
  163. package/esm5/lib/exui-common-lib.module.js +178 -0
  164. package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +56 -0
  165. package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +36 -0
  166. package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +135 -0
  167. package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +37 -0
  168. package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +49 -0
  169. package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +65 -0
  170. package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +40 -0
  171. package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +66 -0
  172. package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +34 -0
  173. package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +67 -0
  174. package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +36 -0
  175. package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +52 -0
  176. package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +77 -0
  177. package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +50 -0
  178. package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +38 -0
  179. package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +108 -0
  180. package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +40 -0
  181. package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +87 -0
  182. package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +51 -0
  183. package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +49 -0
  184. package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +46 -0
  185. package/esm5/lib/gov-ui/components/index.js +7 -0
  186. package/esm5/lib/gov-ui/components/public_api.js +7 -0
  187. package/esm5/lib/gov-ui/directives/remove-host.directive.js +52 -0
  188. package/esm5/lib/gov-ui/gov-ui.service.js +22 -0
  189. package/esm5/lib/gov-ui/index.js +7 -0
  190. package/esm5/lib/gov-ui/models/banner-data-model.js +16 -0
  191. package/esm5/lib/gov-ui/models/checkboxes-model.js +22 -0
  192. package/esm5/lib/gov-ui/models/error-messages-model.js +16 -0
  193. package/esm5/lib/gov-ui/models/gov-ui-config-model.js +36 -0
  194. package/esm5/lib/gov-ui/models/index.js +7 -0
  195. package/esm5/lib/gov-ui/models/isession-storage.interface.js +24 -0
  196. package/esm5/lib/gov-ui/models/public_api.js +13 -0
  197. package/esm5/lib/gov-ui/public_api.js +12 -0
  198. package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +57 -0
  199. package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +58 -0
  200. package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +38 -0
  201. package/esm5/lib/gov-ui/validators/date.validator.js +32 -0
  202. package/esm5/lib/gov-ui/validators/index.js +7 -0
  203. package/esm5/lib/gov-ui/validators/public_api.js +12 -0
  204. package/esm5/lib/gov-ui/validators/radio-group.validator.js +27 -0
  205. package/esm5/lib/models/case-share.model.js +26 -0
  206. package/esm5/lib/models/contact-details.model.js +31 -0
  207. package/esm5/lib/models/due-date.model.js +15 -0
  208. package/esm5/lib/models/feature-user.js +28 -0
  209. package/esm5/lib/models/filter.model.js +122 -0
  210. package/esm5/lib/models/idle-config.model.js +20 -0
  211. package/esm5/lib/models/index.js +19 -0
  212. package/esm5/lib/models/location.model.js +108 -0
  213. package/esm5/lib/models/pagination.model.js +18 -0
  214. package/esm5/lib/models/person.model.js +92 -0
  215. package/esm5/lib/models/public_api.js +11 -0
  216. package/esm5/lib/models/search-options.model.js +22 -0
  217. package/esm5/lib/models/tcDocument.model.js +18 -0
  218. package/esm5/lib/models/timeout-notification.model.js +18 -0
  219. package/esm5/lib/models/user-details.model.js +22 -0
  220. package/esm5/lib/models/user.model.js +25 -0
  221. package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +289 -0
  222. package/esm5/lib/services/cookie/cookie.service.js +136 -0
  223. package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +89 -0
  224. package/esm5/lib/services/feature-toggle/feature-toggle.service.js +90 -0
  225. package/esm5/lib/services/feature-toggle/launch-darkly.service.js +187 -0
  226. package/esm5/lib/services/filter/filter.service.js +153 -0
  227. package/esm5/lib/services/find-person/find-person.service.js +238 -0
  228. package/esm5/lib/services/google-analytics/google-analytics.service.js +128 -0
  229. package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +135 -0
  230. package/esm5/lib/services/index.js +7 -0
  231. package/esm5/lib/services/loading/loading.service.js +109 -0
  232. package/esm5/lib/services/locations/location.service.js +82 -0
  233. package/esm5/lib/services/manage-session/manage-session.services.js +111 -0
  234. package/esm5/lib/services/public-api.js +25 -0
  235. package/esm5/lib/services/role-guard/role.guard.js +81 -0
  236. package/esm5/lib/services/role-guard/role.service.js +45 -0
  237. package/esm5/lib/services/session-storage/session-storage.service.js +96 -0
  238. package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +190 -0
  239. package/esm5/lib/window.js +13 -0
  240. package/esm5/public-api.js +16 -0
  241. package/fesm2015/hmcts-rpx-xui-common-lib.js +4742 -871
  242. package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
  243. package/fesm5/hmcts-rpx-xui-common-lib.js +9247 -0
  244. package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -0
  245. package/hmcts-rpx-xui-common-lib.d.ts +1 -0
  246. package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
  247. package/lib/components/checkbox-list/checkbox-list.component.d.ts +5 -6
  248. package/lib/components/due-date/due-date.component.d.ts +4 -4
  249. package/lib/components/find-location/find-location.component.d.ts +2 -4
  250. package/lib/components/generic-filter/generic-filter.component.d.ts +2 -4
  251. package/lib/components/invite-user-form/invite-user-form.component.d.ts +1 -1
  252. package/lib/components/public_api.d.ts +0 -5
  253. package/lib/components/search-judicials/search-judicials.component.d.ts +1 -1
  254. package/lib/components/search-location/search-location.component.d.ts +2 -4
  255. package/lib/components/search-venue/search-venue.component.d.ts +1 -1
  256. package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +1 -1
  257. package/lib/directives/let/let.directive.d.ts +1 -1
  258. package/lib/exui-common-lib.module.d.ts +3 -1
  259. package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +1 -1
  260. package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +1 -1
  261. package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +1 -1
  262. package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +1 -1
  263. package/lib/gov-ui/components/public_api.d.ts +0 -20
  264. package/lib/gov-ui/public_api.d.ts +0 -1
  265. package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +1 -1
  266. package/lib/services/loading/loading.service.d.ts +2 -2
  267. package/lib/services/public-api.d.ts +4 -0
  268. package/lib/services/role-guard/role.service.d.ts +1 -2
  269. package/lib/window.d.ts +1 -1
  270. package/package.json +16 -6
@@ -25,20 +25,19 @@ export declare class CheckboxListComponent<T> implements OnChanges {
25
25
  * Note: This array is immutable, which means pushing and popping will
26
26
  * have no effect on which checkboxes are selected.
27
27
  */
28
- get selection(): T[];
29
- set selection(value: T[]);
28
+ selection: T[];
30
29
  private pSelection;
31
30
  private pSelectionMade;
32
31
  /**
33
32
  * Indicates whether or not all of the items are selected.
34
33
  */
35
- get allSelected(): boolean;
34
+ readonly allSelected: boolean;
36
35
  ngOnChanges(): void;
37
36
  /**
38
37
  * Indicates whether or not there are any options to render.
39
38
  */
40
- get hasOptions(): boolean;
41
- get isFunctional(): boolean;
39
+ readonly hasOptions: boolean;
40
+ readonly isFunctional: boolean;
42
41
  /**
43
42
  * Indicates whether or not an item is part of the current selection.
44
43
  * @param item The item in question.
@@ -63,7 +62,7 @@ export declare class CheckboxListComponent<T> implements OnChanges {
63
62
  * @param item The item to check in the options.
64
63
  */
65
64
  containsItem(items: T[], item: T): boolean;
66
- private get hasPreselection();
65
+ private readonly hasPreselection;
67
66
  private setupPreselection;
68
67
  private getSelection;
69
68
  private checkSelection;
@@ -36,13 +36,13 @@ export declare class DueDateComponent implements OnChanges {
36
36
  */
37
37
  mediumUrgencyCutoff: number;
38
38
  private pBadge;
39
- get badge(): string;
39
+ readonly badge: string;
40
40
  private pLabel;
41
- get label(): string;
41
+ readonly label: string;
42
42
  private pAccessibleLabel;
43
- get accessibleLabel(): string;
43
+ readonly accessibleLabel: string;
44
44
  private pDaysDiff;
45
- get daysDiff(): number;
45
+ readonly daysDiff: number;
46
46
  ngOnChanges(): void;
47
47
  private handleInputChanges;
48
48
  private getDaysDifference;
@@ -19,10 +19,8 @@ export declare class FindLocationComponent {
19
19
  searchLocationComponent: SearchLocationComponent;
20
20
  private pServices;
21
21
  private pDisabled;
22
- get disabled(): boolean;
23
- set disabled(value: boolean);
24
- get services(): string[];
25
- set services(value: string[]);
22
+ disabled: boolean;
23
+ services: string[];
26
24
  addLocation(): void;
27
25
  removeLocation(location: LocationByEPIMMSModel): void;
28
26
  onInputChanged(term: string): void;
@@ -11,11 +11,9 @@ export declare class GenericFilterComponent implements OnInit, OnDestroy {
11
11
  formSub: Subscription;
12
12
  constructor(filterService: FilterService, fb: FormBuilder);
13
13
  private _config;
14
- get config(): FilterConfig;
15
- set config(value: FilterConfig);
14
+ config: FilterConfig;
16
15
  private _settings?;
17
- get settings(): FilterSetting;
18
- set settings(value: FilterSetting);
16
+ settings: FilterSetting;
19
17
  private static addFormValidators;
20
18
  ngOnInit(): void;
21
19
  ngOnDestroy(): void;
@@ -4,6 +4,6 @@ export declare class InviteUserFormComponent {
4
4
  isInvalid: any;
5
5
  submitForm: EventEmitter<any>;
6
6
  inviteUserForm: FormGroup;
7
- set errorMessages(value: any);
7
+ errorMessages: any;
8
8
  onSubmit(): void;
9
9
  }
@@ -25,8 +25,3 @@ export * from './cookie-banner/cookie-banner.component';
25
25
  export * from './find-location/find-location.component';
26
26
  export * from './search-location/search-location.component';
27
27
  export * from './pagination/pagination.component';
28
- export * from './search-venue/search-venue.component';
29
- export * from './search-judicials/search-judicials.component';
30
- export * from './find-person/find-person.component';
31
- export * from './user-select/user-select.component';
32
- export * from './exui-main-wrapper/exui-page-wrapper.component';
@@ -27,7 +27,7 @@ export declare class SearchJudicialsComponent implements OnInit {
27
27
  onKeyDown(): void;
28
28
  onKeyUp(event: any): void;
29
29
  onFocus(): void;
30
- get displayedJudicialsDuplicationFiltered(): JudicialUserModel[];
30
+ readonly displayedJudicialsDuplicationFiltered: JudicialUserModel[];
31
31
  filter(term: string): void;
32
32
  onSelectionChange(selection?: JudicialUserModel): void;
33
33
  search(currentValue: string): void;
@@ -25,10 +25,8 @@ export declare class SearchLocationComponent implements OnInit {
25
25
  private pSelectedLocations;
26
26
  private pReset;
27
27
  constructor(locationService: LocationService, fb: FormBuilder, cd: ChangeDetectorRef);
28
- get reset(): boolean;
29
- set reset(value: boolean);
30
- get selectedLocations(): any[];
31
- set selectedLocations(value: any[]);
28
+ reset: boolean;
29
+ selectedLocations: any[];
32
30
  ngOnInit(): void;
33
31
  filter(term: string): void;
34
32
  onSelectionChange(location: LocationByEPIMMSModel): void;
@@ -27,7 +27,7 @@ export declare class SearchVenueComponent implements OnInit, AfterContentInit {
27
27
  onKeyDown(): void;
28
28
  onKeyUp(event: any): void;
29
29
  onFocus(): void;
30
- get displayedLocationsDuplicationFiltered(): LocationByEPIMMSModel[];
30
+ readonly displayedLocationsDuplicationFiltered: LocationByEPIMMSModel[];
31
31
  filter(term: string): void;
32
32
  onSelectionChange(selection?: LocationByEPIMMSModel): void;
33
33
  search(currentValue: string): void;
@@ -6,7 +6,7 @@ export declare class FeatureToggleDirective implements OnDestroy {
6
6
  private readonly templateRef;
7
7
  private feature;
8
8
  private subscription;
9
- set xuilibFeatureToggle(feature: string);
9
+ xuilibFeatureToggle: string;
10
10
  constructor(service: FeatureToggleService, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>);
11
11
  ngOnDestroy(): void;
12
12
  private updateSubscription;
@@ -7,5 +7,5 @@ export declare class LetDirective<T = any> {
7
7
  private readonly viewContainer;
8
8
  private readonly context;
9
9
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<LetContext<T>>);
10
- set xuilibLet(condition: T);
10
+ xuilibLet: T;
11
11
  }
@@ -27,7 +27,9 @@ import { HmctsPaginationComponent } from './gov-ui/components/hmcts-pagination/h
27
27
  import { HmctsPrimaryNavigationComponent } from './gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component';
28
28
  import { HmctsSubNavigationComponent } from './gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component';
29
29
  import { RemoveHostDirective } from './gov-ui/directives/remove-host.directive';
30
- export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof GenericFilterComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof SearchVenueComponent | typeof SearchJudicialsComponent | typeof FindPersonComponent | typeof FeatureToggleDirective | typeof LetDirective)[];
30
+ import { CaseSharingStateService, CookieService, FilterService, FindAPersonService, GoogleAnalyticsService, GoogleTagManagerService, LaunchDarklyService, LoadingService, LocationService, ManageSessionServices, SessionStorageService, TimeoutNotificationsService } from './services';
31
+ export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof GenericFilterComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof FeatureToggleDirective | typeof LetDirective | typeof FindPersonComponent | typeof SearchJudicialsComponent | typeof SearchVenueComponent)[];
31
32
  export declare const GOV_UI_COMPONENTS: (typeof HmctsIdentityBarComponent | typeof HmctsPaginationComponent | typeof HmctsSubNavigationComponent | typeof HmctsPrimaryNavigationComponent | typeof HmctsErrorSummaryComponent | typeof HmctsMainWrapperComponent | typeof HmctsBannerComponent | typeof GovukTableComponent | typeof GovUkFormGroupWrapperComponent | typeof GovUkLabelComponent | typeof GovUkErrorMessageComponent | typeof GovUkCheckboxesComponent | typeof GovUkRadioComponent | typeof RemoveHostDirective)[];
33
+ export declare const COMMON_SERVICES: (typeof FilterService | typeof CaseSharingStateService | typeof CookieService | typeof LocationService | typeof SessionStorageService | typeof FindAPersonService | typeof LaunchDarklyService | typeof GoogleAnalyticsService | typeof GoogleTagManagerService | typeof ManageSessionServices | typeof TimeoutNotificationsService | typeof LoadingService)[];
32
34
  export declare class ExuiCommonLibModule {
33
35
  }
@@ -1,7 +1,7 @@
1
1
  import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
2
2
  export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChanges {
3
3
  private readonly document;
4
- set errorMessages(value: any);
4
+ errorMessages: any;
5
5
  header: string;
6
6
  showWarningMessage: boolean;
7
7
  messages: object[];
@@ -1,5 +1,5 @@
1
1
  export declare class HmctsIdentityBarComponent {
2
- set content(value: any);
2
+ content: any;
3
3
  value: string;
4
4
  constructor();
5
5
  }
@@ -12,7 +12,7 @@ export declare class HmctsMainWrapperComponent implements OnInit {
12
12
  message: any;
13
13
  }[];
14
14
  };
15
- set banner(value: BannerDataModel);
15
+ banner: BannerDataModel;
16
16
  actionButtons: {
17
17
  name: string;
18
18
  class: string;
@@ -1,5 +1,5 @@
1
1
  export declare class HmctsPrimaryNavigationComponent {
2
- set userLoggedIn(value: any);
2
+ userLoggedIn: any;
3
3
  label: string;
4
4
  items: {
5
5
  active: boolean;
@@ -1,21 +1 @@
1
1
  export * from './hmcts-sub-navigation/hmcts-sub-navigation.component';
2
- export * from './hmcts-primary-navigation/hmcts-primary-navigation.component';
3
- export * from './hmcts-pagination/hmcts-pagination.component';
4
- export * from './hmcts-main-wrapper/hmcts-main-wrapper.component';
5
- export * from './hmcts-identity-bar/hmcts-identity-bar.component';
6
- export * from './hmcts-error-summary/hmcts-error-summary.component';
7
- export * from './hmcts-banner/hmcts-banner.component';
8
- export * from './gov-uk-textarea/gov-uk-textarea.component';
9
- export * from './gov-uk-table/gov-uk-table.component';
10
- export * from './gov-uk-select/gov-uk-select.component';
11
- export * from './gov-uk-radios/gov-uk-radios.component';
12
- export * from './gov-uk-radio/gov-uk-radio.component';
13
- export * from './gov-uk-label/gov-uk-label.component';
14
- export * from './gov-uk-input/gov-uk-input.component';
15
- export * from './gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component';
16
- export * from './gov-uk-file-upload/gov-uk-file-upload.component';
17
- export * from './gov-uk-fieldset/gov-uk-fieldset.component';
18
- export * from './gov-uk-error-message/gov-uk-error-message.component';
19
- export * from './gov-uk-date/gov-uk-date.component';
20
- export * from './gov-uk-checkboxes/gov-uk-checkboxes.component';
21
- export * from './gov-uk-checkbox/gov-uk-checkbox.component';
@@ -1,4 +1,3 @@
1
- export * from './directives/remove-host.directive';
2
1
  export * from './gov-ui.service';
3
2
  export * from './validators';
4
3
  export * from './components';
@@ -3,7 +3,7 @@ import { UserDetails } from '../../models/user-details.model';
3
3
  export declare class CaseSharingStateService {
4
4
  private caseState;
5
5
  private readonly subject;
6
- get state(): import("rxjs").Observable<SharedCase[]>;
6
+ readonly state: import("rxjs").Observable<SharedCase[]>;
7
7
  constructor();
8
8
  setCases(cases: SharedCase[]): void;
9
9
  getCases(): SharedCase[];
@@ -1,11 +1,11 @@
1
1
  import { Observable } from 'rxjs';
2
2
  export declare abstract class HasLoadingState {
3
- get isLoading(): Observable<boolean>;
3
+ readonly isLoading: Observable<boolean>;
4
4
  }
5
5
  export declare class LoadingService implements HasLoadingState {
6
6
  private readonly registered;
7
7
  private readonly loading;
8
- get isLoading(): Observable<boolean>;
8
+ readonly isLoading: Observable<boolean>;
9
9
  register(): string;
10
10
  unregister(token: string): void;
11
11
  private generateToken;
@@ -1,3 +1,4 @@
1
+ export * from './case-sharing-state/case-sharing-state.service';
1
2
  export * from './feature-toggle/feature-toggle.guard';
2
3
  export * from './feature-toggle/feature-toggle.service';
3
4
  export * from './feature-toggle/launch-darkly.service';
@@ -9,4 +10,7 @@ export * from './role-guard/role.guard';
9
10
  export * from './role-guard/role.service';
10
11
  export * from './cookie/cookie.service';
11
12
  export * from './loading/loading.service';
13
+ export * from './locations/location.service';
12
14
  export * from './filter/filter.service';
15
+ export * from './find-person/find-person.service';
16
+ export * from './session-storage/session-storage.service';
@@ -2,6 +2,5 @@ export declare type Role = string;
2
2
  export declare type Roles = Role[];
3
3
  export declare class RoleService {
4
4
  private pRoles;
5
- get roles(): Roles;
6
- set roles(roles: Roles);
5
+ roles: Roles;
7
6
  }
package/lib/window.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  export declare const windowToken: InjectionToken<unknown>;
3
- export declare function windowProvider(): Window & typeof globalThis;
3
+ export declare function windowProvider(): Window;
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@hmcts/rpx-xui-common-lib",
3
- "version": "2.1.0-angular-upgrade-11",
3
+ "version": "2.1.1-angular-upgrade-11",
4
4
  "peerDependencies": {
5
+ "@angular/common": "^7.2.0",
6
+ "@angular/core": "^7.2.0",
7
+ "@angular/material": "^7.2.0",
8
+ "@angular/cdk": "^7.2.0",
5
9
  "launchdarkly-js-client-sdk": "^2.15.2",
6
10
  "ngx-pagination": "^3.2.1"
7
11
  },
@@ -22,15 +26,21 @@
22
26
  "email": "ronald.mansveld@hmcts.net"
23
27
  }
24
28
  ],
25
- "dependencies": {
26
- "tslib": "^2.0.0"
29
+ "devDependencies": {
30
+ "ngx-spec": "^2.1.4",
31
+ "node-sass": "^4.0.0"
27
32
  },
28
33
  "main": "bundles/hmcts-rpx-xui-common-lib.umd.js",
29
- "module": "fesm2015/hmcts-rpx-xui-common-lib.js",
34
+ "module": "fesm5/hmcts-rpx-xui-common-lib.js",
30
35
  "es2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
36
+ "esm5": "esm5/hmcts-rpx-xui-common-lib.js",
31
37
  "esm2015": "esm2015/hmcts-rpx-xui-common-lib.js",
38
+ "fesm5": "fesm5/hmcts-rpx-xui-common-lib.js",
32
39
  "fesm2015": "fesm2015/hmcts-rpx-xui-common-lib.js",
33
40
  "typings": "hmcts-rpx-xui-common-lib.d.ts",
34
41
  "metadata": "hmcts-rpx-xui-common-lib.metadata.json",
35
- "sideEffects": false
36
- }
42
+ "sideEffects": false,
43
+ "dependencies": {
44
+ "tslib": "^1.9.0"
45
+ }
46
+ }