@hmcts/rpx-xui-common-lib 2.1.2-angular-upgrade-11 → 2.1.2-google-analytics-1

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 (513) 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/index.mjs +2 -0
  17. package/esm2022/lib/components/invite-user-form/invite-user-form.component.mjs +51 -0
  18. package/esm2022/lib/components/invite-user-permissions/invite-user-permission.component.mjs +54 -0
  19. package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +33 -0
  20. package/esm2022/lib/components/pagination/pagination.component.mjs +92 -0
  21. package/esm2022/lib/components/public_api.mjs +39 -0
  22. package/esm2022/lib/components/search-judicials/search-judicials.component.mjs +185 -0
  23. package/esm2022/lib/components/search-location/search-location.component.mjs +240 -0
  24. package/esm2022/lib/components/search-service/search-service.component.mjs +94 -0
  25. package/esm2022/lib/components/search-venue/search-venue.component.mjs +188 -0
  26. package/esm2022/lib/components/selected-case/selected-case.component.mjs +381 -0
  27. package/esm2022/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +135 -0
  28. package/esm2022/lib/components/selected-case-list/selected-case-list.component.mjs +98 -0
  29. package/esm2022/lib/components/service-message/service-message.component.mjs +62 -0
  30. package/esm2022/lib/components/service-messages/service-messages.component.mjs +165 -0
  31. package/esm2022/lib/components/share-case/share-case.component.mjs +427 -0
  32. package/esm2022/lib/components/share-case-confirm/share-case-confirm.component.mjs +85 -0
  33. package/esm2022/lib/components/tab/tab.component.mjs +40 -0
  34. package/esm2022/lib/components/tc-confirm/tc-confirm.component.mjs +66 -0
  35. package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +17 -0
  36. package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +17 -0
  37. package/esm2022/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +58 -0
  38. package/esm2022/lib/components/user-details/user-details.component.mjs +276 -0
  39. package/esm2022/lib/components/user-list/user-list.component.mjs +100 -0
  40. package/esm2022/lib/components/user-select/user-select.component.mjs +94 -0
  41. package/esm2022/lib/components/write-address/write-address.component.mjs +342 -0
  42. package/esm2022/lib/components/write-address-inputs/write-address-inputs.component.mjs +165 -0
  43. package/esm2022/lib/directives/feature-toggle/feature-toggle.directive.mjs +41 -0
  44. package/esm2022/lib/directives/index.mjs +2 -0
  45. package/esm2022/lib/directives/let/let.directive.mjs +29 -0
  46. package/esm2022/lib/directives/public-api.mjs +3 -0
  47. package/esm2022/lib/exui-common-lib.module.mjs +313 -0
  48. package/esm2022/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +55 -0
  49. package/esm2022/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +137 -0
  50. package/esm2022/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +127 -0
  51. package/esm2022/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +46 -0
  52. package/esm2022/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +79 -0
  53. package/esm2022/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +79 -0
  54. package/esm2022/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +45 -0
  55. package/esm2022/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +71 -0
  56. package/esm2022/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +84 -0
  57. package/esm2022/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +48 -0
  58. package/esm2022/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +42 -0
  59. package/esm2022/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +80 -0
  60. package/esm2022/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +185 -0
  61. package/esm2022/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +57 -0
  62. package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.mjs +2 -0
  63. package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +111 -0
  64. package/esm2022/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +140 -0
  65. package/esm2022/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +34 -0
  66. package/esm2022/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +129 -0
  67. package/esm2022/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +204 -0
  68. package/esm2022/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +60 -0
  69. package/esm2022/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +58 -0
  70. package/esm2022/lib/gov-ui/components/index.mjs +2 -0
  71. package/esm2022/lib/gov-ui/components/public_api.mjs +22 -0
  72. package/esm2022/lib/gov-ui/directives/remove-host.directive.mjs +30 -0
  73. package/esm2022/lib/gov-ui/gov-ui.service.mjs +14 -0
  74. package/esm2022/lib/gov-ui/index.mjs +2 -0
  75. package/esm2022/lib/gov-ui/models/checkboxes-model.mjs +2 -0
  76. package/esm2022/lib/gov-ui/models/error-messages-model.mjs +2 -0
  77. package/esm2022/lib/gov-ui/models/gov-ui-config-model.mjs +2 -0
  78. package/esm2022/lib/gov-ui/models/index.mjs +2 -0
  79. package/esm2022/lib/gov-ui/models/public_api.mjs +7 -0
  80. package/esm2022/lib/gov-ui/models/radio-buttons.model.mjs +2 -0
  81. package/esm2022/lib/gov-ui/public_api.mjs +8 -0
  82. package/esm2022/lib/gov-ui/util/helpers/html-templates.helper.mjs +22 -0
  83. package/esm2022/lib/gov-ui/validators/checkboxes-be-checked.validator.mjs +18 -0
  84. package/esm2022/lib/gov-ui/validators/date.validator.mjs +15 -0
  85. package/esm2022/lib/gov-ui/validators/index.mjs +2 -0
  86. package/esm2022/lib/gov-ui/validators/public_api.mjs +7 -0
  87. package/esm2022/lib/gov-ui/validators/radio-group.validator.mjs +15 -0
  88. package/esm2022/lib/models/address-message.enum.mjs +11 -0
  89. package/esm2022/lib/models/address-option.model.mjs +21 -0
  90. package/esm2022/lib/models/address.model.mjs +4 -0
  91. package/esm2022/lib/models/case-share.model.mjs +7 -0
  92. package/esm2022/lib/models/contact-details.model.mjs +7 -0
  93. package/esm2022/lib/models/due-date.model.mjs +8 -0
  94. package/esm2022/lib/models/feature-user.mjs +5 -0
  95. package/esm2022/lib/models/filter.model.mjs +3 -0
  96. package/esm2022/lib/models/idle-config.model.mjs +2 -0
  97. package/esm2022/lib/models/index.mjs +19 -0
  98. package/esm2022/lib/models/location.model.mjs +7 -0
  99. package/esm2022/lib/models/pagination.model.mjs +2 -0
  100. package/esm2022/lib/models/person.model.mjs +19 -0
  101. package/esm2022/lib/models/public_api.mjs +7 -0
  102. package/esm2022/lib/models/search-options.model.mjs +2 -0
  103. package/esm2022/lib/models/service-message.model.mjs +2 -0
  104. package/esm2022/lib/models/task-name.model.mjs +2 -0
  105. package/esm2022/lib/models/tcDocument.model.mjs +2 -0
  106. package/esm2022/lib/models/timeout-notification.model.mjs +2 -0
  107. package/esm2022/lib/models/user-access-type.model.mjs +2 -0
  108. package/esm2022/lib/models/user-details.model.mjs +2 -0
  109. package/esm2022/lib/models/user.model.mjs +2 -0
  110. package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +15 -0
  111. package/esm2022/lib/pipes/index.mjs +2 -0
  112. package/esm2022/lib/services/address/address-parser.mjs +76 -0
  113. package/esm2022/lib/services/address/address-type.enum.mjs +7 -0
  114. package/esm2022/lib/services/address/address.service.mjs +55 -0
  115. package/esm2022/lib/services/case-sharing-state/case-sharing-state.service.mjs +170 -0
  116. package/esm2022/lib/services/cookie/cookie.service.mjs +48 -0
  117. package/esm2022/lib/services/feature-toggle/feature-toggle.guard.mjs +37 -0
  118. package/esm2022/lib/services/feature-toggle/feature-toggle.service.mjs +33 -0
  119. package/esm2022/lib/services/feature-toggle/launch-darkly.service.mjs +65 -0
  120. package/esm2022/lib/services/filter/filter.service.mjs +95 -0
  121. package/esm2022/lib/services/find-person/find-person.service.mjs +92 -0
  122. package/esm2022/lib/services/google-analytics/google-analytics.service.mjs +73 -0
  123. package/esm2022/lib/services/google-tag-manager/google-tag-manager.service.mjs +85 -0
  124. package/esm2022/lib/services/index.mjs +2 -0
  125. package/esm2022/lib/services/loading/loading.service.mjs +41 -0
  126. package/esm2022/lib/services/locations/location.service.mjs +38 -0
  127. package/esm2022/lib/services/manage-session/manage-session.services.mjs +50 -0
  128. package/esm2022/lib/services/public-api.mjs +18 -0
  129. package/esm2022/lib/services/ref-data/index.mjs +4 -0
  130. package/esm2022/lib/services/ref-data/models/ref-data-htmcs-service.model.mjs +2 -0
  131. package/esm2022/lib/services/ref-data/models/ref-data-region.model.mjs +2 -0
  132. package/esm2022/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.mjs +2 -0
  133. package/esm2022/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +33 -0
  134. package/esm2022/lib/services/ref-data/ref-data.service.mjs +34 -0
  135. package/esm2022/lib/services/role-guard/role.guard.mjs +43 -0
  136. package/esm2022/lib/services/role-guard/role.service.mjs +22 -0
  137. package/esm2022/lib/services/storage/session-storage/session-storage.service.mjs +43 -0
  138. package/esm2022/lib/services/task-name/task-name.service.mjs +35 -0
  139. package/esm2022/lib/services/timeout-notifications/timeout-notifications.service.mjs +103 -0
  140. package/esm2022/lib/window.mjs +4 -0
  141. package/esm2022/public-api.mjs +12 -0
  142. package/fesm2022/hmcts-rpx-xui-common-lib.mjs +10377 -0
  143. package/fesm2022/hmcts-rpx-xui-common-lib.mjs.map +1 -0
  144. package/index.d.ts +5 -0
  145. package/lib/components/accessibility/accessibility.component.d.ts +7 -1
  146. package/lib/components/checkbox-list/checkbox-list.component.d.ts +14 -7
  147. package/lib/components/contact-details/contact-details.component.d.ts +3 -0
  148. package/lib/components/cookie-banner/cookie-banner.component.d.ts +5 -1
  149. package/lib/components/due-date/due-date.component.d.ts +12 -6
  150. package/lib/components/exui-main-wrapper/exui-page-wrapper.component.d.ts +3 -0
  151. package/lib/components/find-location/find-location.component.d.ts +16 -8
  152. package/lib/components/find-person/find-person.component.d.ts +5 -2
  153. package/lib/components/find-service/find-service.component.d.ts +29 -0
  154. package/lib/components/find-task-name/find-task-name.component.d.ts +44 -0
  155. package/lib/components/generic-filter/generic-filter-utils.d.ts +2 -5
  156. package/lib/components/generic-filter/generic-filter.component.d.ts +29 -8
  157. package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +3 -0
  158. package/lib/components/invite-user-form/invite-user-form.component.d.ts +4 -1
  159. package/lib/components/invite-user-permissions/invite-user-permission.component.d.ts +3 -0
  160. package/lib/components/loading-spinner/loading-spinner.component.d.ts +8 -1
  161. package/lib/components/pagination/pagination.component.d.ts +3 -0
  162. package/lib/components/public_api.d.ts +11 -0
  163. package/lib/components/search-judicials/search-judicials.component.d.ts +4 -1
  164. package/lib/components/search-location/search-location.component.d.ts +27 -20
  165. package/lib/components/search-service/search-service.component.d.ts +20 -0
  166. package/lib/components/search-venue/search-venue.component.d.ts +4 -2
  167. package/lib/components/selected-case/selected-case.component.d.ts +4 -1
  168. package/lib/components/selected-case-confirm/selected-case-confirm.component.d.ts +3 -0
  169. package/lib/components/selected-case-list/selected-case-list.component.d.ts +4 -0
  170. package/lib/components/service-message/service-message.component.d.ts +9 -4
  171. package/lib/components/service-messages/service-messages.component.d.ts +15 -5
  172. package/lib/components/share-case/share-case.component.d.ts +41 -2
  173. package/lib/components/share-case-confirm/share-case-confirm.component.d.ts +3 -0
  174. package/lib/components/tab/tab.component.d.ts +3 -0
  175. package/lib/components/tc-confirm/tc-confirm.component.d.ts +3 -0
  176. package/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.d.ts +3 -0
  177. package/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.d.ts +3 -0
  178. package/lib/components/terms-and-conditions/terms-and-conditions.component.d.ts +3 -0
  179. package/lib/components/user-details/user-details.component.d.ts +4 -0
  180. package/lib/components/user-list/user-list.component.d.ts +3 -0
  181. package/lib/components/user-select/user-select.component.d.ts +5 -3
  182. package/lib/components/write-address/write-address.component.d.ts +45 -0
  183. package/lib/components/write-address-inputs/write-address-inputs.component.d.ts +16 -0
  184. package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +4 -1
  185. package/lib/directives/let/let.directive.d.ts +4 -1
  186. package/lib/exui-common-lib.module.d.ts +83 -4
  187. package/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.d.ts +3 -0
  188. package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +17 -5
  189. package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +3 -0
  190. package/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.d.ts +3 -0
  191. package/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +3 -0
  192. package/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.d.ts +3 -0
  193. package/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.d.ts +3 -0
  194. package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +4 -2
  195. package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +4 -0
  196. package/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.d.ts +3 -0
  197. package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +5 -2
  198. package/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.d.ts +3 -0
  199. package/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.d.ts +3 -0
  200. package/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.d.ts +3 -0
  201. package/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.d.ts +7 -0
  202. package/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.d.ts +7 -2
  203. package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +4 -1
  204. package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +4 -1
  205. package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +6 -3
  206. package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +3 -0
  207. package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +4 -1
  208. package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +3 -0
  209. package/lib/gov-ui/components/public_api.d.ts +20 -0
  210. package/lib/gov-ui/directives/remove-host.directive.d.ts +3 -0
  211. package/lib/gov-ui/gov-ui.service.d.ts +3 -0
  212. package/lib/gov-ui/models/checkboxes-model.d.ts +4 -7
  213. package/lib/gov-ui/models/gov-ui-config-model.d.ts +2 -0
  214. package/lib/gov-ui/models/public_api.d.ts +0 -1
  215. package/lib/gov-ui/models/radio-buttons.model.d.ts +9 -0
  216. package/lib/gov-ui/public_api.d.ts +1 -0
  217. package/lib/models/address-message.enum.d.ts +9 -0
  218. package/lib/models/address-option.model.d.ts +9 -0
  219. package/lib/models/address.model.d.ts +9 -0
  220. package/lib/models/case-share.model.d.ts +5 -0
  221. package/lib/models/contact-details.model.d.ts +4 -0
  222. package/lib/models/feature-user.d.ts +4 -6
  223. package/lib/models/filter.model.d.ts +43 -9
  224. package/lib/models/index.d.ts +4 -0
  225. package/lib/models/location.model.d.ts +12 -12
  226. package/lib/models/person.model.d.ts +3 -0
  227. package/lib/models/public_api.d.ts +1 -0
  228. package/lib/models/search-options.model.d.ts +1 -1
  229. package/lib/models/service-message.model.d.ts +8 -0
  230. package/lib/models/task-name.model.d.ts +4 -0
  231. package/lib/models/user-access-type.model.d.ts +6 -0
  232. package/lib/models/user-details.model.d.ts +2 -0
  233. package/lib/pipes/capitalize/capitalize.pipe.d.ts +7 -0
  234. package/lib/pipes/index.d.ts +1 -0
  235. package/lib/services/address/address-parser.d.ts +17 -0
  236. package/lib/services/address/address-type.enum.d.ts +5 -0
  237. package/lib/services/address/address.service.d.ts +15 -0
  238. package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +5 -2
  239. package/lib/services/cookie/cookie.service.d.ts +3 -0
  240. package/lib/services/feature-toggle/feature-toggle.guard.d.ts +8 -2
  241. package/lib/services/feature-toggle/feature-toggle.service.d.ts +4 -0
  242. package/lib/services/feature-toggle/launch-darkly.service.d.ts +14 -10
  243. package/lib/services/filter/filter.service.d.ts +6 -0
  244. package/lib/services/find-person/find-person.service.d.ts +5 -2
  245. package/lib/services/google-analytics/google-analytics.service.d.ts +4 -1
  246. package/lib/services/google-tag-manager/google-tag-manager.service.d.ts +5 -1
  247. package/lib/services/loading/loading.service.d.ts +5 -2
  248. package/lib/services/locations/location.service.d.ts +4 -1
  249. package/lib/services/manage-session/manage-session.services.d.ts +3 -0
  250. package/lib/services/public-api.d.ts +2 -4
  251. package/lib/services/ref-data/index.d.ts +3 -0
  252. package/lib/services/ref-data/models/ref-data-htmcs-service.model.d.ts +13 -0
  253. package/lib/services/ref-data/models/ref-data-region.model.d.ts +4 -0
  254. package/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.d.ts +8 -0
  255. package/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.d.ts +18 -0
  256. package/lib/services/ref-data/ref-data.service.d.ts +17 -0
  257. package/lib/services/role-guard/role.guard.d.ts +7 -3
  258. package/lib/services/role-guard/role.service.d.ts +9 -4
  259. package/lib/services/{session-storage → storage/session-storage}/session-storage.service.d.ts +3 -0
  260. package/lib/services/task-name/task-name.service.d.ts +17 -0
  261. package/lib/services/timeout-notifications/timeout-notifications.service.d.ts +8 -2
  262. package/lib/window.d.ts +1 -1
  263. package/package.json +22 -22
  264. package/public-api.d.ts +1 -0
  265. package/bundles/hmcts-rpx-xui-common-lib.umd.js +0 -9742
  266. package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +0 -1
  267. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +0 -16
  268. package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +0 -1
  269. package/esm2015/hmcts-rpx-xui-common-lib.js +0 -73
  270. package/esm2015/lib/components/accessibility/accessibility.component.js +0 -20
  271. package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +0 -275
  272. package/esm2015/lib/components/contact-details/contact-details.component.js +0 -27
  273. package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +0 -129
  274. package/esm2015/lib/components/due-date/due-date.component.js +0 -210
  275. package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -42
  276. package/esm2015/lib/components/find-location/find-location.component.js +0 -240
  277. package/esm2015/lib/components/find-person/find-person.component.js +0 -259
  278. package/esm2015/lib/components/generic-filter/generic-filter-utils.js +0 -65
  279. package/esm2015/lib/components/generic-filter/generic-filter.component.js +0 -636
  280. package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -42
  281. package/esm2015/lib/components/index.js +0 -7
  282. package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +0 -45
  283. package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -44
  284. package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +0 -27
  285. package/esm2015/lib/components/pagination/pagination.component.js +0 -50
  286. package/esm2015/lib/components/public_api.js +0 -33
  287. package/esm2015/lib/components/search-judicials/search-judicials.component.js +0 -249
  288. package/esm2015/lib/components/search-location/search-location.component.js +0 -294
  289. package/esm2015/lib/components/search-venue/search-venue.component.js +0 -246
  290. package/esm2015/lib/components/selected-case/selected-case.component.js +0 -316
  291. package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -74
  292. package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +0 -94
  293. package/esm2015/lib/components/service-message/service-message.component.js +0 -40
  294. package/esm2015/lib/components/service-messages/service-messages.component.js +0 -106
  295. package/esm2015/lib/components/share-case/share-case.component.js +0 -172
  296. package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +0 -67
  297. package/esm2015/lib/components/tab/tab.component.js +0 -45
  298. package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +0 -37
  299. package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -19
  300. package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -19
  301. package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -26
  302. package/esm2015/lib/components/user-details/user-details.component.js +0 -78
  303. package/esm2015/lib/components/user-list/user-list.component.js +0 -63
  304. package/esm2015/lib/components/user-select/user-select.component.js +0 -105
  305. package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +0 -95
  306. package/esm2015/lib/directives/index.js +0 -7
  307. package/esm2015/lib/directives/let/let.directive.js +0 -68
  308. package/esm2015/lib/directives/public-api.js +0 -8
  309. package/esm2015/lib/exui-common-lib.module.js +0 -162
  310. package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -51
  311. package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -32
  312. package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -114
  313. package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -34
  314. package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -43
  315. package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -57
  316. package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -37
  317. package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -54
  318. package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -31
  319. package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -51
  320. package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -32
  321. package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -46
  322. package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -69
  323. package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -43
  324. package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -35
  325. package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -90
  326. package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -33
  327. package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -75
  328. package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -49
  329. package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -43
  330. package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -42
  331. package/esm2015/lib/gov-ui/components/index.js +0 -7
  332. package/esm2015/lib/gov-ui/components/public_api.js +0 -7
  333. package/esm2015/lib/gov-ui/directives/remove-host.directive.js +0 -50
  334. package/esm2015/lib/gov-ui/gov-ui.service.js +0 -19
  335. package/esm2015/lib/gov-ui/index.js +0 -7
  336. package/esm2015/lib/gov-ui/models/banner-data-model.js +0 -16
  337. package/esm2015/lib/gov-ui/models/checkboxes-model.js +0 -22
  338. package/esm2015/lib/gov-ui/models/error-messages-model.js +0 -16
  339. package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +0 -36
  340. package/esm2015/lib/gov-ui/models/index.js +0 -7
  341. package/esm2015/lib/gov-ui/models/isession-storage.interface.js +0 -24
  342. package/esm2015/lib/gov-ui/models/public_api.js +0 -13
  343. package/esm2015/lib/gov-ui/public_api.js +0 -12
  344. package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +0 -32
  345. package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -58
  346. package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +0 -37
  347. package/esm2015/lib/gov-ui/validators/date.validator.js +0 -32
  348. package/esm2015/lib/gov-ui/validators/index.js +0 -7
  349. package/esm2015/lib/gov-ui/validators/public_api.js +0 -12
  350. package/esm2015/lib/gov-ui/validators/radio-group.validator.js +0 -27
  351. package/esm2015/lib/models/case-share.model.js +0 -26
  352. package/esm2015/lib/models/contact-details.model.js +0 -31
  353. package/esm2015/lib/models/due-date.model.js +0 -15
  354. package/esm2015/lib/models/feature-user.js +0 -20
  355. package/esm2015/lib/models/filter.model.js +0 -120
  356. package/esm2015/lib/models/idle-config.model.js +0 -20
  357. package/esm2015/lib/models/index.js +0 -20
  358. package/esm2015/lib/models/location.model.js +0 -129
  359. package/esm2015/lib/models/pagination.model.js +0 -18
  360. package/esm2015/lib/models/person.model.js +0 -92
  361. package/esm2015/lib/models/public_api.js +0 -11
  362. package/esm2015/lib/models/search-options.model.js +0 -22
  363. package/esm2015/lib/models/tcDocument.model.js +0 -18
  364. package/esm2015/lib/models/timeout-notification.model.js +0 -18
  365. package/esm2015/lib/models/user-details.model.js +0 -22
  366. package/esm2015/lib/models/user.model.js +0 -25
  367. package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +0 -218
  368. package/esm2015/lib/services/cookie/cookie.service.js +0 -110
  369. package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +0 -74
  370. package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +0 -53
  371. package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +0 -141
  372. package/esm2015/lib/services/filter/filter.service.js +0 -118
  373. package/esm2015/lib/services/find-person/find-person.service.js +0 -214
  374. package/esm2015/lib/services/google-analytics/google-analytics.service.js +0 -123
  375. package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +0 -125
  376. package/esm2015/lib/services/index.js +0 -7
  377. package/esm2015/lib/services/loading/loading.service.js +0 -78
  378. package/esm2015/lib/services/locations/location.service.js +0 -57
  379. package/esm2015/lib/services/manage-session/manage-session.services.js +0 -105
  380. package/esm2015/lib/services/public-api.js +0 -25
  381. package/esm2015/lib/services/role-guard/role.guard.js +0 -78
  382. package/esm2015/lib/services/role-guard/role.service.js +0 -39
  383. package/esm2015/lib/services/session-storage/session-storage.service.js +0 -55
  384. package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +0 -158
  385. package/esm2015/lib/window.js +0 -13
  386. package/esm2015/public-api.js +0 -16
  387. package/esm5/hmcts-rpx-xui-common-lib.js +0 -73
  388. package/esm5/lib/components/accessibility/accessibility.component.js +0 -22
  389. package/esm5/lib/components/checkbox-list/checkbox-list.component.js +0 -391
  390. package/esm5/lib/components/contact-details/contact-details.component.js +0 -29
  391. package/esm5/lib/components/cookie-banner/cookie-banner.component.js +0 -154
  392. package/esm5/lib/components/due-date/due-date.component.js +0 -254
  393. package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -45
  394. package/esm5/lib/components/find-location/find-location.component.js +0 -293
  395. package/esm5/lib/components/find-person/find-person.component.js +0 -286
  396. package/esm5/lib/components/generic-filter/generic-filter-utils.js +0 -66
  397. package/esm5/lib/components/generic-filter/generic-filter.component.js +0 -839
  398. package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -47
  399. package/esm5/lib/components/index.js +0 -7
  400. package/esm5/lib/components/invite-user-form/invite-user-form.component.js +0 -54
  401. package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -46
  402. package/esm5/lib/components/loading-spinner/loading-spinner.component.js +0 -29
  403. package/esm5/lib/components/pagination/pagination.component.js +0 -58
  404. package/esm5/lib/components/public_api.js +0 -33
  405. package/esm5/lib/components/search-judicials/search-judicials.component.js +0 -291
  406. package/esm5/lib/components/search-location/search-location.component.js +0 -330
  407. package/esm5/lib/components/search-venue/search-venue.component.js +0 -290
  408. package/esm5/lib/components/selected-case/selected-case.component.js +0 -430
  409. package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -84
  410. package/esm5/lib/components/selected-case-list/selected-case-list.component.js +0 -109
  411. package/esm5/lib/components/service-message/service-message.component.js +0 -46
  412. package/esm5/lib/components/service-messages/service-messages.component.js +0 -122
  413. package/esm5/lib/components/share-case/share-case.component.js +0 -223
  414. package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +0 -70
  415. package/esm5/lib/components/tab/tab.component.js +0 -51
  416. package/esm5/lib/components/tc-confirm/tc-confirm.component.js +0 -42
  417. package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -22
  418. package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -22
  419. package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -29
  420. package/esm5/lib/components/user-details/user-details.component.js +0 -92
  421. package/esm5/lib/components/user-list/user-list.component.js +0 -76
  422. package/esm5/lib/components/user-select/user-select.component.js +0 -131
  423. package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +0 -104
  424. package/esm5/lib/directives/index.js +0 -7
  425. package/esm5/lib/directives/let/let.directive.js +0 -78
  426. package/esm5/lib/directives/public-api.js +0 -8
  427. package/esm5/lib/exui-common-lib.module.js +0 -162
  428. package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -56
  429. package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -36
  430. package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -135
  431. package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -37
  432. package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -49
  433. package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -65
  434. package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -40
  435. package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -66
  436. package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -34
  437. package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -67
  438. package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -36
  439. package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -52
  440. package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -77
  441. package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -50
  442. package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -38
  443. package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -108
  444. package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -40
  445. package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -87
  446. package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -51
  447. package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -49
  448. package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -46
  449. package/esm5/lib/gov-ui/components/index.js +0 -7
  450. package/esm5/lib/gov-ui/components/public_api.js +0 -7
  451. package/esm5/lib/gov-ui/directives/remove-host.directive.js +0 -52
  452. package/esm5/lib/gov-ui/gov-ui.service.js +0 -22
  453. package/esm5/lib/gov-ui/index.js +0 -7
  454. package/esm5/lib/gov-ui/models/banner-data-model.js +0 -16
  455. package/esm5/lib/gov-ui/models/checkboxes-model.js +0 -22
  456. package/esm5/lib/gov-ui/models/error-messages-model.js +0 -16
  457. package/esm5/lib/gov-ui/models/gov-ui-config-model.js +0 -36
  458. package/esm5/lib/gov-ui/models/index.js +0 -7
  459. package/esm5/lib/gov-ui/models/isession-storage.interface.js +0 -24
  460. package/esm5/lib/gov-ui/models/public_api.js +0 -13
  461. package/esm5/lib/gov-ui/public_api.js +0 -12
  462. package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +0 -57
  463. package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -58
  464. package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +0 -38
  465. package/esm5/lib/gov-ui/validators/date.validator.js +0 -32
  466. package/esm5/lib/gov-ui/validators/index.js +0 -7
  467. package/esm5/lib/gov-ui/validators/public_api.js +0 -12
  468. package/esm5/lib/gov-ui/validators/radio-group.validator.js +0 -27
  469. package/esm5/lib/models/case-share.model.js +0 -26
  470. package/esm5/lib/models/contact-details.model.js +0 -31
  471. package/esm5/lib/models/due-date.model.js +0 -15
  472. package/esm5/lib/models/feature-user.js +0 -28
  473. package/esm5/lib/models/filter.model.js +0 -124
  474. package/esm5/lib/models/idle-config.model.js +0 -20
  475. package/esm5/lib/models/index.js +0 -20
  476. package/esm5/lib/models/location.model.js +0 -129
  477. package/esm5/lib/models/pagination.model.js +0 -18
  478. package/esm5/lib/models/person.model.js +0 -92
  479. package/esm5/lib/models/public_api.js +0 -11
  480. package/esm5/lib/models/search-options.model.js +0 -22
  481. package/esm5/lib/models/tcDocument.model.js +0 -18
  482. package/esm5/lib/models/timeout-notification.model.js +0 -18
  483. package/esm5/lib/models/user-details.model.js +0 -22
  484. package/esm5/lib/models/user.model.js +0 -25
  485. package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +0 -289
  486. package/esm5/lib/services/cookie/cookie.service.js +0 -136
  487. package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +0 -89
  488. package/esm5/lib/services/feature-toggle/feature-toggle.service.js +0 -90
  489. package/esm5/lib/services/feature-toggle/launch-darkly.service.js +0 -187
  490. package/esm5/lib/services/filter/filter.service.js +0 -153
  491. package/esm5/lib/services/find-person/find-person.service.js +0 -238
  492. package/esm5/lib/services/google-analytics/google-analytics.service.js +0 -128
  493. package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +0 -135
  494. package/esm5/lib/services/index.js +0 -7
  495. package/esm5/lib/services/loading/loading.service.js +0 -109
  496. package/esm5/lib/services/locations/location.service.js +0 -86
  497. package/esm5/lib/services/manage-session/manage-session.services.js +0 -111
  498. package/esm5/lib/services/public-api.js +0 -25
  499. package/esm5/lib/services/role-guard/role.guard.js +0 -81
  500. package/esm5/lib/services/role-guard/role.service.js +0 -45
  501. package/esm5/lib/services/session-storage/session-storage.service.js +0 -96
  502. package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +0 -190
  503. package/esm5/lib/window.js +0 -13
  504. package/esm5/public-api.js +0 -16
  505. package/fesm2015/hmcts-rpx-xui-common-lib.js +0 -7973
  506. package/fesm2015/hmcts-rpx-xui-common-lib.js.map +0 -1
  507. package/fesm5/hmcts-rpx-xui-common-lib.js +0 -9423
  508. package/fesm5/hmcts-rpx-xui-common-lib.js.map +0 -1
  509. package/hmcts-rpx-xui-common-lib.d.ts +0 -67
  510. package/hmcts-rpx-xui-common-lib.metadata.json +0 -1
  511. package/lib/gov-ui/models/banner-data-model.d.ts +0 -4
  512. package/lib/gov-ui/models/isession-storage.interface.d.ts +0 -4
  513. package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +0 -6
@@ -0,0 +1,40 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/material/legacy-tabs";
5
+ import * as i3 from "rpx-xui-translation";
6
+ function TabComponent_mat_tab_1_Template(rf, ctx) { if (rf & 1) {
7
+ i0.ɵɵelement(0, "mat-tab", 2);
8
+ i0.ɵɵpipe(1, "rpxTranslate");
9
+ } if (rf & 2) {
10
+ const tabItem_r1 = ctx.$implicit;
11
+ i0.ɵɵproperty("label", i0.ɵɵpipeBind1(1, 1, tabItem_r1.text));
12
+ } }
13
+ export class TabComponent {
14
+ constructor() {
15
+ this.tabChange = new EventEmitter();
16
+ }
17
+ tabChanged(event) {
18
+ this.tabChange.emit(event);
19
+ }
20
+ static { this.ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); }; }
21
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["xuilib-tab"]], inputs: { tabItems: "tabItems" }, outputs: { tabChange: "tabChange" }, decls: 2, vars: 1, consts: [["animationDuration", "0ms", 3, "selectedTabChange"], [3, "label", 4, "ngFor", "ngForOf"], [3, "label"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "mat-tab-group", 0);
23
+ i0.ɵɵlistener("selectedTabChange", function TabComponent_Template_mat_tab_group_selectedTabChange_0_listener($event) { return ctx.tabChanged($event); });
24
+ i0.ɵɵtemplate(1, TabComponent_mat_tab_1_Template, 2, 3, "mat-tab", 1);
25
+ i0.ɵɵelementEnd();
26
+ } if (rf & 2) {
27
+ i0.ɵɵadvance();
28
+ i0.ɵɵproperty("ngForOf", ctx.tabItems);
29
+ } }, dependencies: [i1.NgForOf, i2.MatLegacyTabGroup, i2.MatLegacyTab, i3.RpxTranslatePipe], encapsulation: 2 }); }
30
+ }
31
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TabComponent, [{
32
+ type: Component,
33
+ args: [{ selector: 'xuilib-tab', template: "<mat-tab-group animationDuration=\"0ms\" (selectedTabChange)=\"tabChanged($event)\">\n <mat-tab *ngFor=\"let tabItem of tabItems; let last = last;\" [label]=\"tabItem.text | rpxTranslate\">\n </mat-tab>\n</mat-tab-group>" }]
34
+ }], () => [], { tabItems: [{
35
+ type: Input
36
+ }], tabChange: [{
37
+ type: Output
38
+ }] }); })();
39
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabComponent, { className: "TabComponent", filePath: "lib/components/tab/tab.component.ts", lineNumber: 12 }); })();
40
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdGFiL3RhYi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3RhYi90YWIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQ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kNoYW5nZWQoZXZlbnQ6IGFueSk6IHZvaWQge1xuICAgICAgdGhpcy50YWJDaGFuZ2UuZW1pdChldmVudCk7XG4gICAgfVxufVxuIiwiPG1hdC10YWItZ3JvdXAgYW5pbWF0aW9uRHVyYXRpb249XCIwbXNcIiAoc2VsZWN0ZWRUYWJDaGFuZ2UpPVwidGFiQ2hhbmdlZCgkZXZlbnQpXCI+XG4gICAgPG1hdC10YWIgKm5nRm9yPVwibGV0IHRhYkl0ZW0gb2YgdGFiSXRlbXM7IGxldCBsYXN0ID0gbGFzdDtcIiBbbGFiZWxdPVwidGFiSXRlbS50ZXh0IHwgcnB4VHJhbnNsYXRlXCI+XG4gICAgPC9tYXQtdGFiPlxuPC9tYXQtdGFiLWdyb3VwPiJdfQ==
@@ -0,0 +1,66 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/router";
4
+ import * as i2 from "rpx-xui-translation";
5
+ export class TcConfirmComponent {
6
+ constructor() {
7
+ this.confirm = new EventEmitter();
8
+ }
9
+ onClick() {
10
+ this.confirm.emit();
11
+ }
12
+ static { this.ɵfac = function TcConfirmComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TcConfirmComponent)(); }; }
13
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcConfirmComponent, selectors: [["xuilib-tc-confirm"]], inputs: { buttonText: "buttonText" }, outputs: { confirm: "confirm" }, decls: 26, vars: 18, consts: [[1, "govuk-width-container"], ["role", "main", 1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-heading-m"], ["routerLink", "/terms-and-conditions", "rel", "noopener noreferrer", "target", "_blank"], [1, "govuk-button", 3, "click"], [1, "govuk-grid-column-one-third"]], template: function TcConfirmComponent_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementStart(0, "div", 0)(1, "main", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "h1", 5);
15
+ i0.ɵɵtext(6);
16
+ i0.ɵɵpipe(7, "rpxTranslate");
17
+ i0.ɵɵelementEnd();
18
+ i0.ɵɵelementStart(8, "h2", 6);
19
+ i0.ɵɵtext(9);
20
+ i0.ɵɵpipe(10, "rpxTranslate");
21
+ i0.ɵɵelementEnd();
22
+ i0.ɵɵelementStart(11, "p");
23
+ i0.ɵɵtext(12);
24
+ i0.ɵɵpipe(13, "rpxTranslate");
25
+ i0.ɵɵelementStart(14, "a", 7);
26
+ i0.ɵɵtext(15);
27
+ i0.ɵɵpipe(16, "rpxTranslate");
28
+ i0.ɵɵelementEnd();
29
+ i0.ɵɵtext(17, ". ");
30
+ i0.ɵɵelementEnd();
31
+ i0.ɵɵelementStart(18, "p");
32
+ i0.ɵɵtext(19);
33
+ i0.ɵɵpipe(20, "rpxTranslate");
34
+ i0.ɵɵelementEnd();
35
+ i0.ɵɵelementStart(21, "p")(22, "button", 8);
36
+ i0.ɵɵlistener("click", function TcConfirmComponent_Template_button_click_22_listener() { return ctx.onClick(); });
37
+ i0.ɵɵtext(23);
38
+ i0.ɵɵpipe(24, "rpxTranslate");
39
+ i0.ɵɵelementEnd()()()()();
40
+ i0.ɵɵelement(25, "div", 9);
41
+ i0.ɵɵelementEnd()();
42
+ } if (rf & 2) {
43
+ i0.ɵɵadvance(6);
44
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "Using this service"));
45
+ i0.ɵɵadvance(3);
46
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 8, "Terms and conditions"));
47
+ i0.ɵɵadvance(3);
48
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 10, "We've recently updated the"), " ");
49
+ i0.ɵɵadvance(3);
50
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 12, "terms and conditions"));
51
+ i0.ɵɵadvance(4);
52
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(20, 14, "You must review and accept them."), " ");
53
+ i0.ɵɵadvance(4);
54
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(24, 16, ctx.buttonText), " ");
55
+ } }, dependencies: [i1.RouterLink, i2.RpxTranslatePipe] }); }
56
+ }
57
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcConfirmComponent, [{
58
+ type: Component,
59
+ args: [{ selector: 'xuilib-tc-confirm', template: "<div class=\"govuk-width-container\">\n <main role=\"main\" class=\"govuk-main-wrapper\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"column-two-thirds\">\n <h1 class=\"govuk-heading-xl\">{{'Using this service' | rpxTranslate}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Terms and conditions' | rpxTranslate}}</h2>\n <p>{{'We\\'ve recently updated the' | rpxTranslate}}\n <a\n routerLink=\"/terms-and-conditions\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >{{'terms and conditions' | rpxTranslate}}</a\n >.\n </p>\n <p>{{'You must review and accept them.' | rpxTranslate}}\n </p>\n <p>\n <button class=\"govuk-button\" (click)=\"onClick()\">\n {{ buttonText | rpxTranslate }}\n </button>\n </p>\n </div>\n </div>\n </div>\n <div class=\"govuk-grid-column-one-third\"></div>\n </main>\n</div>\n" }]
60
+ }], () => [], { buttonText: [{
61
+ type: Input
62
+ }], confirm: [{
63
+ type: Output
64
+ }] }); })();
65
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TcConfirmComponent, { className: "TcConfirmComponent", filePath: "lib/components/tc-confirm/tc-confirm.component.ts", lineNumber: 8 }); })();
66
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGMtY29uZmlybS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8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B9fVxuICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgPC9wPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICAgIDxkaXYgY2xhc3M9XCJnb3Z1ay1ncmlkLWNvbHVtbi1vbmUtdGhpcmRcIj48L2Rpdj5cbiAgPC9tYWluPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,17 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ const _c0 = ["*"];
4
+ export class TcDisplayHtmlComponent {
5
+ constructor() { }
6
+ static { this.ɵfac = function TcDisplayHtmlComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TcDisplayHtmlComponent)(); }; }
7
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcDisplayHtmlComponent, selectors: [["xuilib-tc-display-html"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function TcDisplayHtmlComponent_Template(rf, ctx) { if (rf & 1) {
8
+ i0.ɵɵprojectionDef();
9
+ i0.ɵɵprojection(0);
10
+ } }, styles: ["[_nghost-%COMP%]{display:block;width:100%}"] }); }
11
+ }
12
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcDisplayHtmlComponent, [{
13
+ type: Component,
14
+ args: [{ selector: 'xuilib-tc-display-html', template: "<ng-content></ng-content>", styles: [":host{display:block;width:100%}\n"] }]
15
+ }], () => [], null); })();
16
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TcDisplayHtmlComponent, { className: "TcDisplayHtmlComponent", filePath: "lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.ts", lineNumber: 8 }); })();
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGMtZGlzcGxheS1odG1sLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzI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L25nLWNvbnRlbnQ+Il19
@@ -0,0 +1,17 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ const _c0 = ["*"];
4
+ export class TcDisplayPlainComponent {
5
+ constructor() { }
6
+ static { this.ɵfac = function TcDisplayPlainComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TcDisplayPlainComponent)(); }; }
7
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TcDisplayPlainComponent, selectors: [["xuilib-tc-display-plain"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function TcDisplayPlainComponent_Template(rf, ctx) { if (rf & 1) {
8
+ i0.ɵɵprojectionDef();
9
+ i0.ɵɵprojection(0);
10
+ } }, styles: ["[_nghost-%COMP%]{display:block;width:100%}"] }); }
11
+ }
12
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TcDisplayPlainComponent, [{
13
+ type: Component,
14
+ args: [{ selector: 'xuilib-tc-display-plain', template: "<ng-content></ng-content>", styles: [":host{display:block;width:100%}\n"] }]
15
+ }], () => [], null); })();
16
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TcDisplayPlainComponent, { className: "TcDisplayPlainComponent", filePath: "lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.ts", lineNumber: 8 }); })();
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGMtZGlzcGxheS1wbGFpbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3Rlcm1zLWFuZC1jb25kaXRpb25zL3RjLWRpc3BsYXkvdGMtZGlzcGxheS1wbGFpbi90Yy1kaXNwbGF5LXBsYWluLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdGVybXMtYW5kLWNvbmRpdGlvbnMvdGMtZGlzcGxheS90Yy1kaXNwbGF5LXBsYWluL3RjLWRpc3BsYXktcGxhaW4uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBTzFDLE1BQU0sT0FBTyx1QkFBdUI7SUFFbEMsZ0JBQWdCLENBQUM7d0hBRk4sdUJBQXVCO29FQUF2Qix1QkFBdUI7O1lDUHBDLGtCQUF5Qjs7O2lGRE9aLHVCQUF1QjtjQUxuQyxTQUFTOzJCQUNFLHlCQUF5Qjs7a0ZBSXhCLHVCQUF1QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICd4dWlsaWItdGMtZGlzcGxheS1wbGFpbicsXG4gIHRlbXBsYXRlVXJsOiAnLi90Yy1kaXNwbGF5LXBsYWluLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vdGMtZGlzcGxheS1wbGFpbi5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFRjRGlzcGxheVBsYWluQ29tcG9uZW50IHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG59XG4iLCI8bmctY29udGVudD48L25nLWNvbnRlbnQ+Il19
@@ -0,0 +1,58 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "./tc-display/tc-display-html/tc-display-html.component";
5
+ import * as i3 from "./tc-display/tc-display-plain/tc-display-plain.component";
6
+ import * as i4 from "rpx-xui-translation";
7
+ function TermsAndConditionsComponent_xuilib_tc_display_html_1_Template(rf, ctx) { if (rf & 1) {
8
+ i0.ɵɵelementStart(0, "xuilib-tc-display-html");
9
+ i0.ɵɵelement(1, "div", 3);
10
+ i0.ɵɵpipe(2, "rpxTranslate");
11
+ i0.ɵɵelementEnd();
12
+ } if (rf & 2) {
13
+ const ctx_r0 = i0.ɵɵnextContext();
14
+ i0.ɵɵadvance();
15
+ i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 1, ctx_r0.document.content), i0.ɵɵsanitizeHtml);
16
+ } }
17
+ function TermsAndConditionsComponent_xuilib_tc_display_plain_2_Template(rf, ctx) { if (rf & 1) {
18
+ i0.ɵɵelementStart(0, "xuilib-tc-display-plain");
19
+ i0.ɵɵtext(1);
20
+ i0.ɵɵpipe(2, "rpxTranslate");
21
+ i0.ɵɵelementEnd();
22
+ } if (rf & 2) {
23
+ const ctx_r0 = i0.ɵɵnextContext();
24
+ i0.ɵɵadvance();
25
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r0.document.content), " ");
26
+ } }
27
+ function TermsAndConditionsComponent_div_3_Template(rf, ctx) { if (rf & 1) {
28
+ i0.ɵɵelementStart(0, "div");
29
+ i0.ɵɵtext(1);
30
+ i0.ɵɵpipe(2, "rpxTranslate");
31
+ i0.ɵɵelementEnd();
32
+ } if (rf & 2) {
33
+ i0.ɵɵadvance();
34
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "An error occured. Please try again."), " ");
35
+ } }
36
+ export class TermsAndConditionsComponent {
37
+ constructor() { }
38
+ static { this.ɵfac = function TermsAndConditionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TermsAndConditionsComponent)(); }; }
39
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TermsAndConditionsComponent, selectors: [["xuilib-terms-and-conditions"]], inputs: { document: "document" }, decls: 4, vars: 3, consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "innerHTML"]], template: function TermsAndConditionsComponent_Template(rf, ctx) { if (rf & 1) {
40
+ i0.ɵɵelementContainerStart(0, 0);
41
+ i0.ɵɵtemplate(1, TermsAndConditionsComponent_xuilib_tc_display_html_1_Template, 3, 3, "xuilib-tc-display-html", 1)(2, TermsAndConditionsComponent_xuilib_tc_display_plain_2_Template, 3, 3, "xuilib-tc-display-plain", 1)(3, TermsAndConditionsComponent_div_3_Template, 3, 3, "div", 2);
42
+ i0.ɵɵelementContainerEnd();
43
+ } if (rf & 2) {
44
+ i0.ɵɵproperty("ngSwitch", ctx.document.mimeType);
45
+ i0.ɵɵadvance();
46
+ i0.ɵɵproperty("ngSwitchCase", "text/html");
47
+ i0.ɵɵadvance();
48
+ i0.ɵɵproperty("ngSwitchCase", "text/plain");
49
+ } }, dependencies: [i1.NgSwitch, i1.NgSwitchCase, i1.NgSwitchDefault, i2.TcDisplayHtmlComponent, i3.TcDisplayPlainComponent, i4.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block;width:100%}"] }); }
50
+ }
51
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TermsAndConditionsComponent, [{
52
+ type: Component,
53
+ args: [{ selector: 'xuilib-terms-and-conditions', template: "<ng-container [ngSwitch]=\"document.mimeType\">\n <xuilib-tc-display-html *ngSwitchCase=\"'text/html'\">\n <div [innerHTML]=\"document.content | rpxTranslate\"></div>\n </xuilib-tc-display-html>\n <xuilib-tc-display-plain *ngSwitchCase=\"'text/plain'\">\n {{ document.content | rpxTranslate}}\n </xuilib-tc-display-plain>\n <div *ngSwitchDefault>\n {{'An error occured. Please try again.' | rpxTranslate}}\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%}\n"] }]
54
+ }], () => [], { document: [{
55
+ type: Input
56
+ }] }); })();
57
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TermsAndConditionsComponent, { className: "TermsAndConditionsComponent", filePath: "lib/components/terms-and-conditions/terms-and-conditions.component.ts", lineNumber: 9 }); })();
58
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVybXMtYW5kLWNvbmRpdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXh1aS1jb21tb24tbGliL3NyYy9saWIvY29tcG9uZW50cy90ZXJtcy1hbmQtY29uZGl0aW9ucy90ZXJtcy1hbmQtY29uZGl0aW9ucy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3Rlcm1zLWFuZC1jb25kaXRpb25zL3Rlcm1zLWFuZC1jb25kaXRpb25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7O0lDQy9DLDhDQUFvRDtJQUNsRCx5QkFBeUQ7O0lBQzNELGlCQUF5Qjs7O0lBRGxCLGNBQTZDO0lBQTdDLDRGQUE2Qzs7O0lBRXBELCtDQUFzRDtJQUNwRCxZQUNGOztJQUFBLGlCQUEwQjs7O0lBRHhCLGNBQ0Y7SUFERSw4RUFDRjs7O0lBQ0EsMkJBQXNCO0lBQ3BCLFlBQ0Y7O0lBQUEsaUJBQU07O0lBREosY0FDRjtJQURFLDRGQUNGOztBRERGLE1BQU0sT0FBTywyQkFBMkI7SUFJdEMsZ0JBQWdCLENBQUM7NEhBSk4sMkJBQTJCO29FQUEzQiwyQkFBMkI7WUNSeEMsZ0NBQTZDO1lBTzNDLEFBSEEsQUFIQSxrSEFBb0QsdUdBR0UsK0RBR2h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biAgICB7eyBkb2N1bWVudC5jb250ZW50IHwgcnB4VHJhbnNsYXRlfX1cbiAgPC94dWlsaWItdGMtZGlzcGxheS1wbGFpbj5cbiAgPGRpdiAqbmdTd2l0Y2hEZWZhdWx0PlxuICAgIHt7J0FuIGVycm9yIG9jY3VyZWQuIFBsZWFzZSB0cnkgYWdhaW4uJyB8IHJweFRyYW5zbGF0ZX19XG4gIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -0,0 +1,276 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@angular/router";
5
+ import * as i3 from "rpx-xui-translation";
6
+ function UserDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
7
+ i0.ɵɵelementStart(0, "div", 5)(1, "span", 6);
8
+ i0.ɵɵtext(2, "!");
9
+ i0.ɵɵelementEnd();
10
+ i0.ɵɵelementStart(3, "span", 7);
11
+ i0.ɵɵtext(4, "Warning");
12
+ i0.ɵɵelementEnd();
13
+ i0.ɵɵelementStart(5, "strong", 8);
14
+ i0.ɵɵtext(6);
15
+ i0.ɵɵpipe(7, "rpxTranslate");
16
+ i0.ɵɵelementEnd()();
17
+ } if (rf & 2) {
18
+ const ctx_r0 = i0.ɵɵnextContext();
19
+ i0.ɵɵadvance(6);
20
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 1, ctx_r0.warningTitle), "\n");
21
+ } }
22
+ function UserDetailsComponent_dl_1_div_17_div_5_Template(rf, ctx) { if (rf & 1) {
23
+ i0.ɵɵelementStart(0, "div");
24
+ i0.ɵɵtext(1);
25
+ i0.ɵɵpipe(2, "rpxTranslate");
26
+ i0.ɵɵelementEnd();
27
+ } if (rf & 2) {
28
+ i0.ɵɵadvance();
29
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage organisations"));
30
+ } }
31
+ function UserDetailsComponent_dl_1_div_17_div_6_Template(rf, ctx) { if (rf & 1) {
32
+ i0.ɵɵelementStart(0, "div");
33
+ i0.ɵɵtext(1);
34
+ i0.ɵɵpipe(2, "rpxTranslate");
35
+ i0.ɵɵelementEnd();
36
+ } if (rf & 2) {
37
+ i0.ɵɵadvance();
38
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage users"));
39
+ } }
40
+ function UserDetailsComponent_dl_1_div_17_div_7_Template(rf, ctx) { if (rf & 1) {
41
+ i0.ɵɵelementStart(0, "div");
42
+ i0.ɵɵtext(1);
43
+ i0.ɵɵpipe(2, "rpxTranslate");
44
+ i0.ɵɵelementEnd();
45
+ } if (rf & 2) {
46
+ i0.ɵɵadvance();
47
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage cases"));
48
+ } }
49
+ function UserDetailsComponent_dl_1_div_17_div_8_Template(rf, ctx) { if (rf & 1) {
50
+ i0.ɵɵelementStart(0, "div");
51
+ i0.ɵɵtext(1);
52
+ i0.ɵɵpipe(2, "rpxTranslate");
53
+ i0.ɵɵelementEnd();
54
+ } if (rf & 2) {
55
+ i0.ɵɵadvance();
56
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Case access administrator"));
57
+ } }
58
+ function UserDetailsComponent_dl_1_div_17_div_9_Template(rf, ctx) { if (rf & 1) {
59
+ i0.ɵɵelementStart(0, "div");
60
+ i0.ɵɵtext(1);
61
+ i0.ɵɵpipe(2, "rpxTranslate");
62
+ i0.ɵɵelementEnd();
63
+ } if (rf & 2) {
64
+ i0.ɵɵadvance();
65
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Manage fee accounts"));
66
+ } }
67
+ function UserDetailsComponent_dl_1_div_17_div_10_Template(rf, ctx) { if (rf & 1) {
68
+ i0.ɵɵelementStart(0, "div");
69
+ i0.ɵɵtext(1);
70
+ i0.ɵɵpipe(2, "rpxTranslate");
71
+ i0.ɵɵelementEnd();
72
+ } if (rf & 2) {
73
+ const accesstype_r2 = ctx.$implicit;
74
+ i0.ɵɵadvance();
75
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, accesstype_r2));
76
+ } }
77
+ function UserDetailsComponent_dl_1_div_17_a_12_Template(rf, ctx) { if (rf & 1) {
78
+ i0.ɵɵelementStart(0, "a", 17);
79
+ i0.ɵɵtext(1);
80
+ i0.ɵɵpipe(2, "rpxTranslate");
81
+ i0.ɵɵelementStart(3, "span", 7);
82
+ i0.ɵɵtext(4);
83
+ i0.ɵɵpipe(5, "rpxTranslate");
84
+ i0.ɵɵelementEnd()();
85
+ } if (rf & 2) {
86
+ const ctx_r0 = i0.ɵɵnextContext(3);
87
+ i0.ɵɵproperty("routerLink", ctx_r0.editPermissionRouterLink);
88
+ i0.ɵɵadvance();
89
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 3, "Change"), " ");
90
+ i0.ɵɵadvance(3);
91
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "roles"));
92
+ } }
93
+ function UserDetailsComponent_dl_1_div_17_Template(rf, ctx) { if (rf & 1) {
94
+ i0.ɵɵelementStart(0, "div", 11)(1, "dt", 12);
95
+ i0.ɵɵtext(2);
96
+ i0.ɵɵpipe(3, "rpxTranslate");
97
+ i0.ɵɵelementEnd();
98
+ i0.ɵɵelementStart(4, "dd", 13);
99
+ i0.ɵɵtemplate(5, UserDetailsComponent_dl_1_div_17_div_5_Template, 3, 3, "div", 3)(6, UserDetailsComponent_dl_1_div_17_div_6_Template, 3, 3, "div", 3)(7, UserDetailsComponent_dl_1_div_17_div_7_Template, 3, 3, "div", 3)(8, UserDetailsComponent_dl_1_div_17_div_8_Template, 3, 3, "div", 3)(9, UserDetailsComponent_dl_1_div_17_div_9_Template, 3, 3, "div", 3)(10, UserDetailsComponent_dl_1_div_17_div_10_Template, 3, 3, "div", 15);
100
+ i0.ɵɵelementEnd();
101
+ i0.ɵɵelementStart(11, "dd", 13);
102
+ i0.ɵɵtemplate(12, UserDetailsComponent_dl_1_div_17_a_12_Template, 6, 7, "a", 16);
103
+ i0.ɵɵelementEnd()();
104
+ } if (rf & 2) {
105
+ const ctx_r0 = i0.ɵɵnextContext(2);
106
+ i0.ɵɵadvance(2);
107
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 8, "Permissions"));
108
+ i0.ɵɵadvance(3);
109
+ i0.ɵɵproperty("ngIf", ctx_r0.user.manageOrganisations === "Yes");
110
+ i0.ɵɵadvance();
111
+ i0.ɵɵproperty("ngIf", ctx_r0.user.manageUsers === "Yes");
112
+ i0.ɵɵadvance();
113
+ i0.ɵɵproperty("ngIf", ctx_r0.user.manageCases === "Yes");
114
+ i0.ɵɵadvance();
115
+ i0.ɵɵproperty("ngIf", ctx_r0.userHasRole("pui-caa"));
116
+ i0.ɵɵadvance();
117
+ i0.ɵɵproperty("ngIf", ctx_r0.userHasRole("pui-finance-manager"));
118
+ i0.ɵɵadvance();
119
+ i0.ɵɵproperty("ngForOf", ctx_r0.enabledAccessTypes);
120
+ i0.ɵɵadvance(2);
121
+ i0.ɵɵproperty("ngIf", ctx_r0.editPermissionRouterLink && ctx_r0.showEditLink);
122
+ } }
123
+ function UserDetailsComponent_dl_1_Template(rf, ctx) { if (rf & 1) {
124
+ i0.ɵɵelementStart(0, "dl", 9)(1, "div", 10)(2, "div", 11)(3, "dt", 12);
125
+ i0.ɵɵtext(4);
126
+ i0.ɵɵpipe(5, "rpxTranslate");
127
+ i0.ɵɵelementEnd();
128
+ i0.ɵɵelementStart(6, "dd", 13);
129
+ i0.ɵɵtext(7);
130
+ i0.ɵɵpipe(8, "rpxTranslate");
131
+ i0.ɵɵelementEnd();
132
+ i0.ɵɵelement(9, "dd", 13);
133
+ i0.ɵɵelementEnd();
134
+ i0.ɵɵelementStart(10, "div", 11)(11, "dt", 12);
135
+ i0.ɵɵtext(12);
136
+ i0.ɵɵpipe(13, "rpxTranslate");
137
+ i0.ɵɵelementEnd();
138
+ i0.ɵɵelementStart(14, "dd", 13);
139
+ i0.ɵɵtext(15);
140
+ i0.ɵɵelementEnd();
141
+ i0.ɵɵelement(16, "dd", 13);
142
+ i0.ɵɵelementEnd();
143
+ i0.ɵɵtemplate(17, UserDetailsComponent_dl_1_div_17_Template, 13, 10, "div", 14);
144
+ i0.ɵɵelementEnd()();
145
+ } if (rf & 2) {
146
+ const ctx_r0 = i0.ɵɵnextContext();
147
+ i0.ɵɵadvance(4);
148
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 5, "Name"));
149
+ i0.ɵɵadvance(3);
150
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 7, ctx_r0.user.fullName));
151
+ i0.ɵɵadvance(5);
152
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 9, "Email address"));
153
+ i0.ɵɵadvance(3);
154
+ i0.ɵɵtextInterpolate(ctx_r0.user.email);
155
+ i0.ɵɵadvance(2);
156
+ i0.ɵɵproperty("ngIf", !ctx_r0.user.resendInvite);
157
+ } }
158
+ function UserDetailsComponent_button_2_Template(rf, ctx) { if (rf & 1) {
159
+ const _r3 = i0.ɵɵgetCurrentView();
160
+ i0.ɵɵelementStart(0, "button", 18);
161
+ i0.ɵɵlistener("click", function UserDetailsComponent_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.suspendUser(ctx_r0.user)); })("keyup.enter", function UserDetailsComponent_button_2_Template_button_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.suspendUser(ctx_r0.user)); });
162
+ i0.ɵɵtext(1);
163
+ i0.ɵɵpipe(2, "rpxTranslate");
164
+ i0.ɵɵelementEnd();
165
+ } if (rf & 2) {
166
+ i0.ɵɵadvance();
167
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, "Suspend account"), "\n");
168
+ } }
169
+ function UserDetailsComponent_div_3_Template(rf, ctx) { if (rf & 1) {
170
+ const _r4 = i0.ɵɵgetCurrentView();
171
+ i0.ɵɵelementStart(0, "div")(1, "div", 19)(2, "p");
172
+ i0.ɵɵtext(3);
173
+ i0.ɵɵpipe(4, "rpxTranslate");
174
+ i0.ɵɵelementEnd();
175
+ i0.ɵɵelementStart(5, "p");
176
+ i0.ɵɵtext(6);
177
+ i0.ɵɵpipe(7, "rpxTranslate");
178
+ i0.ɵɵelementEnd();
179
+ i0.ɵɵelementStart(8, "p");
180
+ i0.ɵɵtext(9);
181
+ i0.ɵɵpipe(10, "rpxTranslate");
182
+ i0.ɵɵelementEnd()();
183
+ i0.ɵɵelementStart(11, "button", 20);
184
+ i0.ɵɵlistener("click", function UserDetailsComponent_div_3_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.reinviteClick(ctx_r0.user)); })("keyup.enter", function UserDetailsComponent_div_3_Template_button_keyup_enter_11_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.reinviteClick(ctx_r0.user)); });
185
+ i0.ɵɵtext(12);
186
+ i0.ɵɵpipe(13, "rpxTranslate");
187
+ i0.ɵɵelementEnd()();
188
+ } if (rf & 2) {
189
+ i0.ɵɵadvance(3);
190
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 4, "This user has already been invited but has not activated their account."));
191
+ i0.ɵɵadvance(3);
192
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "If you resend an invitation, they'll receive an email from HM Courts and Tribunals to finish setting up their account."));
193
+ i0.ɵɵadvance(3);
194
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 8, "You can't invite the same user more than once an hour."));
195
+ i0.ɵɵadvance(3);
196
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "Resend invitation"), " ");
197
+ } }
198
+ function UserDetailsComponent_p_4_Template(rf, ctx) { if (rf & 1) {
199
+ i0.ɵɵelementStart(0, "p", 21)(1, "a", 22);
200
+ i0.ɵɵtext(2);
201
+ i0.ɵɵpipe(3, "rpxTranslate");
202
+ i0.ɵɵelementEnd();
203
+ i0.ɵɵtext(4);
204
+ i0.ɵɵpipe(5, "rpxTranslate");
205
+ i0.ɵɵelementEnd();
206
+ } if (rf & 2) {
207
+ const ctx_r0 = i0.ɵɵnextContext();
208
+ i0.ɵɵadvance();
209
+ i0.ɵɵproperty("routerLink", ctx_r0.suspendHelpLink);
210
+ i0.ɵɵadvance();
211
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 3, "Get help"));
212
+ i0.ɵɵadvance(2);
213
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 5, "to reactivate this account."), "");
214
+ } }
215
+ export class UserDetailsComponent {
216
+ constructor() {
217
+ this.enabledAccessTypes = [];
218
+ this.showEditLink = false;
219
+ this.showHelpLink = false;
220
+ this.suspendUserEvent = new EventEmitter();
221
+ this.showSuspendUserButton = false;
222
+ this.reinvite = new EventEmitter();
223
+ }
224
+ reinviteClick(user) {
225
+ this.reinvite.emit(user);
226
+ }
227
+ suspendUser(suspendUser) {
228
+ this.suspendUserEvent.emit(suspendUser);
229
+ }
230
+ userHasRole(theRole) {
231
+ if (this.user && this.user.roles) {
232
+ return this.user.roles.includes(theRole);
233
+ }
234
+ return false;
235
+ }
236
+ static { this.ɵfac = function UserDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UserDetailsComponent)(); }; }
237
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserDetailsComponent, selectors: [["xuilib-user-details"]], inputs: { user: "user", enabledAccessTypes: "enabledAccessTypes", editPermissionRouterLink: "editPermissionRouterLink", warningTitle: "warningTitle", showEditLink: "showEditLink", showHelpLink: "showHelpLink", suspendHelpLink: "suspendHelpLink", showSuspendUserButton: "showSuspendUserButton" }, outputs: { suspendUserEvent: "suspendUserEvent", reinvite: "reinvite" }, decls: 5, vars: 5, consts: [["class", "govuk-warning-text", 4, "ngIf"], ["class", "govuk-table", "role", "presentation", 4, "ngIf"], ["class", "govuk-button govuk-button--warning", "tabindex", "0", 3, "click", "keyup.enter", 4, "ngIf"], [4, "ngIf"], ["class", "govuk-body", 4, "ngIf"], [1, "govuk-warning-text"], [1, "govuk-warning-text__icon"], [1, "govuk-visually-hidden"], [1, "govuk-warning-text__text"], ["role", "presentation", 1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["role", "link", 3, "routerLink", 4, "ngIf"], ["role", "link", 3, "routerLink"], ["tabindex", "0", 1, "govuk-button", "govuk-button--warning", 3, "click", "keyup.enter"], [1, "govuk-inset-text"], ["tabindex", "0", "id", "resend-invite-button", 1, "govuk-button", 3, "click", "keyup.enter"], [1, "govuk-body"], ["target", "_blank", 3, "routerLink"]], template: function UserDetailsComponent_Template(rf, ctx) { if (rf & 1) {
238
+ i0.ɵɵtemplate(0, UserDetailsComponent_div_0_Template, 8, 3, "div", 0)(1, UserDetailsComponent_dl_1_Template, 18, 11, "dl", 1)(2, UserDetailsComponent_button_2_Template, 3, 3, "button", 2)(3, UserDetailsComponent_div_3_Template, 14, 12, "div", 3)(4, UserDetailsComponent_p_4_Template, 6, 7, "p", 4);
239
+ } if (rf & 2) {
240
+ i0.ɵɵproperty("ngIf", ctx.warningTitle && ctx.warningTitle !== "");
241
+ i0.ɵɵadvance();
242
+ i0.ɵɵproperty("ngIf", ctx.user);
243
+ i0.ɵɵadvance();
244
+ i0.ɵɵproperty("ngIf", ctx.showSuspendUserButton);
245
+ i0.ɵɵadvance();
246
+ i0.ɵɵproperty("ngIf", ctx.user && ctx.user.resendInvite);
247
+ i0.ɵɵadvance();
248
+ i0.ɵɵproperty("ngIf", ctx.showHelpLink && ctx.suspendHelpLink);
249
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, i3.RpxTranslatePipe], styles: ["[_nghost-%COMP%]{display:block}"] }); }
250
+ }
251
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserDetailsComponent, [{
252
+ type: Component,
253
+ args: [{ selector: 'xuilib-user-details', template: "<div class=\"govuk-warning-text\" *ngIf=\"warningTitle && warningTitle !== ''\">\n<span class=\"govuk-warning-text__icon\">!</span>\n<span class=\"govuk-visually-hidden\">Warning</span>\n<strong class=\"govuk-warning-text__text\">\n {{ warningTitle | rpxTranslate}}\n</strong>\n</div>\n<dl class=\"govuk-table\" *ngIf=\"user\" role=\"presentation\">\n <div class=\"govuk-table__body\">\n <div class=\"govuk-table__row\">\n <dt class=\"govuk-table__header\" scope=\"row\">{{'Name' | rpxTranslate}}</dt>\n <dd class=\"govuk-table__cell\">{{user.fullName | rpxTranslate}}</dd>\n <dd class=\"govuk-table__cell\"></dd>\n </div>\n <div class=\"govuk-table__row\">\n <dt class=\"govuk-table__header\" scope=\"row\">{{'Email address' | rpxTranslate}}</dt>\n <dd class=\"govuk-table__cell\">{{user.email}}</dd>\n <dd class=\"govuk-table__cell\"></dd>\n </div>\n <div class=\"govuk-table__row\" *ngIf=\"!user.resendInvite\">\n <dt class=\"govuk-table__header\" scope=\"row\">{{'Permissions' | rpxTranslate}}</dt>\n <dd class=\"govuk-table__cell\">\n <div *ngIf=\"user.manageOrganisations === 'Yes'\">{{'Manage organisations' | rpxTranslate}}</div>\n <div *ngIf=\"user.manageUsers === 'Yes'\">{{'Manage users' | rpxTranslate}}</div>\n <div *ngIf=\"user.manageCases === 'Yes'\">{{'Manage cases' | rpxTranslate}}</div>\n <div *ngIf=\"userHasRole('pui-caa')\">{{'Case access administrator' | rpxTranslate}}</div>\n <div *ngIf=\"userHasRole('pui-finance-manager')\">{{'Manage fee accounts' | rpxTranslate}}</div>\n <div *ngFor=\"let accesstype of enabledAccessTypes\">{{ accesstype | rpxTranslate}}</div> \n </dd>\n <dd class=\"govuk-table__cell\"><a *ngIf=\"editPermissionRouterLink && showEditLink\" role=\"link\" [routerLink]=\"editPermissionRouterLink\">{{'Change' | rpxTranslate}} <span class=\"govuk-visually-hidden\">{{'roles' | rpxTranslate}}</span></a></dd>\n </div>\n </div>\n</dl>\n<button *ngIf=\"showSuspendUserButton\" class=\"govuk-button govuk-button--warning\" tabindex=\"0\" (click)=\"suspendUser(user)\" (keyup.enter)=\"suspendUser(user)\">\n {{'Suspend account' | rpxTranslate}}\n</button>\n<div *ngIf=\"user && user.resendInvite\">\n <div class=\"govuk-inset-text\">\n <p>{{'This user has already been invited but has not activated their account.' | rpxTranslate}}</p>\n <p>{{'If you resend an invitation, they\\'ll receive an email from HM Courts and Tribunals to finish setting up their account.' | rpxTranslate}}</p>\n <p>{{'You can\\'t invite the same user more than once an hour.' | rpxTranslate}}</p>\n </div>\n <button class=\"govuk-button\" tabindex=\"0\" (click)=\"reinviteClick(user)\" (keyup.enter)=\"reinviteClick(user)\" id=\"resend-invite-button\">\n {{'Resend invitation' | rpxTranslate}}\n </button>\n</div>\n<p class=\"govuk-body\" *ngIf=\"showHelpLink && suspendHelpLink\"><a [routerLink]=\"suspendHelpLink\" target=\"_blank\">{{'Get help' | rpxTranslate}}</a> {{'to reactivate this account.' | rpxTranslate}}</p>\n", styles: [":host{display:block}\n"] }]
254
+ }], null, { user: [{
255
+ type: Input
256
+ }], enabledAccessTypes: [{
257
+ type: Input
258
+ }], editPermissionRouterLink: [{
259
+ type: Input
260
+ }], warningTitle: [{
261
+ type: Input
262
+ }], showEditLink: [{
263
+ type: Input
264
+ }], showHelpLink: [{
265
+ type: Input
266
+ }], suspendHelpLink: [{
267
+ type: Input
268
+ }], suspendUserEvent: [{
269
+ type: Output
270
+ }], showSuspendUserButton: [{
271
+ type: Input
272
+ }], reinvite: [{
273
+ type: Output
274
+ }] }); })();
275
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(UserDetailsComponent, { className: "UserDetailsComponent", filePath: "lib/components/user-details/user-details.component.ts", lineNumber: 9 }); })();
276
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1kZXRhaWxzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4dWktY29tbW9uLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvdXNlci1kZXRhaWxzL3VzZXItZGV0YWlscy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9leHVpLWNvbW1vbi1saWIvc3JjL2xpYi9jb21wb25lbnRzL3VzZXItZGV0YWlscy91c2VyLWRldGFpbHMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0lDQ3ZFLEFBREEsOEJBQTRFLGNBQ3JDO0lBQUEsaUJBQUM7SUFBQSxpQkFBTztJQUMvQywrQkFBb0M7SUFBQSx1QkFBTztJQUFBLGlCQUFPO0lBQ2xELGlDQUF5QztJQUNyQyxZQUNKOztJQUNBLEFBREEsaUJBQVMsRUFDSDs7O0lBRkYsZUFDSjtJQURJLDJFQUNKOzs7SUFpQlUsMkJBQWdEO0lBQUEsWUFBeUM7O0lBQUEsaUJBQU07O0lBQS9DLGNBQXlDO0lBQXpDLGtFQUF5Qzs7O0lBQ3pGLDJCQUF3QztJQUFBLFlBQWlDOztJQUFBLGlCQUFNOztJQUF2QyxjQUFpQztJQUFqQywwREFBaUM7OztJQUN6RSwyQkFBd0M7S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