@hmcts/ccd-case-ui-toolkit 6.13.9 → 6.13.10-angular11-welsh-release-part1-8

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 (297) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +15073 -11129
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
  5. package/esm2015/lib/app.config.js +1 -1
  6. package/esm2015/lib/components/banners/alert/alert.component.js +7 -5
  7. package/esm2015/lib/components/banners/alert/alert.module.js +12 -4
  8. package/esm2015/lib/components/footer/footer.component.js +55 -30
  9. package/esm2015/lib/components/footer/footers.module.js +12 -4
  10. package/esm2015/lib/components/form/date-input/date-input.component.js +56 -37
  11. package/esm2015/lib/components/form/form.module.js +8 -4
  12. package/esm2015/lib/components/header/header-bar/header-bar.component.js +32 -19
  13. package/esm2015/lib/components/header/headers.module.js +6 -4
  14. package/esm2015/lib/components/header/navigation/navigation-item.component.js +9 -7
  15. package/esm2015/lib/components/header/phase/phase.component.js +20 -9
  16. package/esm2015/lib/components/tabs/tabs.component.js +8 -5
  17. package/esm2015/lib/components/tabs/tabs.module.js +6 -2
  18. package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.service.js +19 -1
  19. package/esm2015/lib/shared/components/activity/activity-banner/activity-banner.component.js +12 -9
  20. package/esm2015/lib/shared/components/activity/activity-icon/activity-icon.component.js +11 -8
  21. package/esm2015/lib/shared/components/activity/activity.component.js +15 -10
  22. package/esm2015/lib/shared/components/activity/activity.module.js +6 -2
  23. package/esm2015/lib/shared/components/case-editor/case-create/case-create.component.js +2 -2
  24. package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +29 -25
  25. package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +81 -48
  26. package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +185 -131
  27. package/esm2015/lib/shared/components/case-editor/case-editor.module.js +30 -26
  28. package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.js +51 -26
  29. package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.js +51 -28
  30. package/esm2015/lib/shared/components/case-editor/case-progress/case-progress.component.js +2 -2
  31. package/esm2015/lib/shared/components/case-editor/services/case-edit-wizard.guard.js +3 -2
  32. package/esm2015/lib/shared/components/case-editor/services/cases.service.js +7 -1
  33. package/esm2015/lib/shared/components/case-editor/services/work-allocation.service.js +2 -2
  34. package/esm2015/lib/shared/components/case-history/case-history.component.js +89 -63
  35. package/esm2015/lib/shared/components/case-history/case-history.module.js +18 -14
  36. package/esm2015/lib/shared/components/case-list/case-list.component.js +56 -49
  37. package/esm2015/lib/shared/components/case-list/case-list.module.js +8 -4
  38. package/esm2015/lib/shared/components/case-list-filters/case-list-filters.module.js +11 -7
  39. package/esm2015/lib/shared/components/case-timeline/case-timeline.component.js +9 -6
  40. package/esm2015/lib/shared/components/case-timeline/case-timeline.module.js +12 -8
  41. package/esm2015/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.js +106 -61
  42. package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.js +89 -69
  43. package/esm2015/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.js +45 -23
  44. package/esm2015/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.js +12 -4
  45. package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +87 -59
  46. package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.js +32 -20
  47. package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.js +107 -79
  48. package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.js +79 -49
  49. package/esm2015/lib/shared/components/case-viewer/case-view/case-view.component.js +1 -1
  50. package/esm2015/lib/shared/components/case-viewer/case-viewer.module.js +37 -27
  51. package/esm2015/lib/shared/components/case-viewer/printer/case-printer.component.js +36 -22
  52. package/esm2015/lib/shared/components/create-case-filters/create-case-filters.component.js +63 -40
  53. package/esm2015/lib/shared/components/create-case-filters/create-case-filters.module.js +6 -2
  54. package/esm2015/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.js +28 -14
  55. package/esm2015/lib/shared/components/dialogs/dialogs.module.js +6 -2
  56. package/esm2015/lib/shared/components/dialogs/document-dialog/document-dialog.component.js +28 -14
  57. package/esm2015/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.js +28 -14
  58. package/esm2015/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.js +28 -14
  59. package/esm2015/lib/shared/components/error/callback-errors.component.js +34 -23
  60. package/esm2015/lib/shared/components/error/errors.module.js +6 -2
  61. package/esm2015/lib/shared/components/error-message/error-message.component.js +14 -11
  62. package/esm2015/lib/shared/components/error-message/error-message.module.js +8 -4
  63. package/esm2015/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.js +39 -20
  64. package/esm2015/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.js +34 -18
  65. package/esm2015/lib/shared/components/event-start/components/task-assigned/task-assigned.component.js +34 -19
  66. package/esm2015/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.js +50 -25
  67. package/esm2015/lib/shared/components/event-start/components/task-conflict/task-conflict.component.js +39 -20
  68. package/esm2015/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.js +34 -18
  69. package/esm2015/lib/shared/components/event-start/event-start.module.js +8 -4
  70. package/esm2015/lib/shared/components/event-trigger/event-trigger.component.js +27 -17
  71. package/esm2015/lib/shared/components/event-trigger/event-trigger.module.js +6 -2
  72. package/esm2015/lib/shared/components/loading-spinner/loading-spinner.component.js +7 -5
  73. package/esm2015/lib/shared/components/loading-spinner/loading-spinner.module.js +6 -2
  74. package/esm2015/lib/shared/components/pagination/pagination.component.js +84 -67
  75. package/esm2015/lib/shared/components/pagination/pagination.module.js +8 -4
  76. package/esm2015/lib/shared/components/palette/address/write-address-field.component.js +50 -31
  77. package/esm2015/lib/shared/components/palette/base-field/field-read-label.component.js +10 -8
  78. package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +5 -1
  79. package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -1
  80. package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +2 -2
  81. package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +31 -25
  82. package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +6 -1
  83. package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +18 -12
  84. package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +16 -12
  85. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +45 -32
  86. package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +50 -46
  87. package/esm2015/lib/shared/components/palette/complex/read-complex-field-raw.component.js +7 -6
  88. package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +22 -20
  89. package/esm2015/lib/shared/components/palette/complex/write-complex-field.component.js +5 -4
  90. package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +16 -12
  91. package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +29 -17
  92. package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +31 -25
  93. package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +9 -7
  94. package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +32 -20
  95. package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +9 -7
  96. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +26 -17
  97. package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +16 -12
  98. package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +9 -7
  99. package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +19 -14
  100. package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +9 -7
  101. package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +20 -15
  102. package/esm2015/lib/shared/components/palette/history/event-log/event-log-details.component.js +87 -65
  103. package/esm2015/lib/shared/components/palette/history/event-log/event-log-table.component.js +60 -46
  104. package/esm2015/lib/shared/components/palette/index.js +3 -6
  105. package/esm2015/lib/shared/components/palette/label/label-field.component.js +24 -5
  106. package/esm2015/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.js +126 -0
  107. package/esm2015/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.js +220 -0
  108. package/esm2015/lib/shared/components/palette/linked-cases/components/index.js +8 -0
  109. package/esm2015/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.js +572 -0
  110. package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.js +219 -0
  111. package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.js +285 -0
  112. package/esm2015/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.js +79 -0
  113. package/esm2015/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.js +214 -0
  114. package/esm2015/lib/shared/components/palette/linked-cases/domain/index.js +3 -0
  115. package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.js +2 -0
  116. package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases.model.js +21 -0
  117. package/esm2015/lib/shared/components/palette/linked-cases/enums/index.js +2 -0
  118. package/esm2015/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.js +35 -0
  119. package/esm2015/lib/shared/components/palette/linked-cases/index.js +6 -0
  120. package/esm2015/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.js +183 -0
  121. package/esm2015/lib/shared/components/palette/linked-cases/services/index.js +2 -0
  122. package/esm2015/lib/shared/components/palette/linked-cases/services/linked-cases.service.js +134 -0
  123. package/esm2015/lib/shared/components/palette/linked-cases/utils/validators.utils.js +27 -0
  124. package/esm2015/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.js +272 -0
  125. package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +16 -12
  126. package/esm2015/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.js +15 -11
  127. package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +19 -14
  128. package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +16 -12
  129. package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-field.component.js +43 -25
  130. package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-row.component.js +7 -6
  131. package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-raw.component.js +41 -29
  132. package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-table.component.js +48 -35
  133. package/esm2015/lib/shared/components/palette/organisation/write-organisation-field.component.js +88 -50
  134. package/esm2015/lib/shared/components/palette/palette.module.js +104 -56
  135. package/esm2015/lib/shared/components/palette/palette.service.js +19 -7
  136. package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +16 -12
  137. package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +7 -5
  138. package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +16 -12
  139. package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +7 -5
  140. package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +16 -12
  141. package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +7 -5
  142. package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +20 -15
  143. package/esm2015/lib/shared/components/search-filters/search-filters.component.js +60 -35
  144. package/esm2015/lib/shared/components/search-filters/search-filters.module.js +14 -10
  145. package/esm2015/lib/shared/components/search-result/search-result.component.js +132 -95
  146. package/esm2015/lib/shared/components/search-result/search-result.module.js +16 -13
  147. package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +90 -52
  148. package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.module.js +13 -9
  149. package/esm2015/lib/shared/domain/alert/alert-status-params.model.js +2 -0
  150. package/esm2015/lib/shared/domain/definition/display-context-enum.model.js +12 -0
  151. package/esm2015/lib/shared/pipes/index.js +3 -1
  152. package/esm2015/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.js +28 -0
  153. package/esm2015/lib/shared/pipes/link-cases-from-reason-code/index.js +2 -0
  154. package/esm2015/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.js +28 -0
  155. package/esm2015/lib/shared/pipes/link-cases-reason-code/index.js +2 -0
  156. package/esm2015/lib/shared/pipes/pipes.module.js +12 -4
  157. package/esm2015/lib/shared/services/alert/alert.service.js +28 -8
  158. package/esm2015/lib/shared/services/common-data-service/common-data-service.js +1 -1
  159. package/esm2015/lib/shared/services/fields/fields.utils.js +7 -1
  160. package/esm2015/lib/shared/services/form/form-value.service.js +33 -2
  161. package/esm2015/lib/shared/services/request/request.options.builder.js +7 -1
  162. package/esm2015/lib/shared/services/window/window.service.js +1 -1
  163. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +10753 -7152
  164. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
  165. package/lib/app.config.d.ts.map +1 -1
  166. package/lib/components/banners/alert/alert.module.d.ts +2 -1
  167. package/lib/components/banners/alert/alert.module.d.ts.map +1 -1
  168. package/lib/components/footer/footers.module.d.ts +2 -1
  169. package/lib/components/footer/footers.module.d.ts.map +1 -1
  170. package/lib/components/form/form.module.d.ts +2 -1
  171. package/lib/components/form/form.module.d.ts.map +1 -1
  172. package/lib/components/header/headers.module.d.ts +2 -1
  173. package/lib/components/header/headers.module.d.ts.map +1 -1
  174. package/lib/components/tabs/tabs.component.d.ts.map +1 -1
  175. package/lib/components/tabs/tabs.module.d.ts +2 -1
  176. package/lib/components/tabs/tabs.module.d.ts.map +1 -1
  177. package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts +13 -0
  178. package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts.map +1 -1
  179. package/lib/shared/components/activity/activity.module.d.ts +2 -1
  180. package/lib/shared/components/activity/activity.module.d.ts.map +1 -1
  181. package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
  182. package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +1 -0
  183. package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
  184. package/lib/shared/components/case-editor/case-editor.module.d.ts +3 -2
  185. package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
  186. package/lib/shared/components/case-editor/services/case-edit-wizard.guard.d.ts.map +1 -1
  187. package/lib/shared/components/case-editor/services/cases.service.d.ts +2 -0
  188. package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -1
  189. package/lib/shared/components/case-history/case-history.module.d.ts +2 -1
  190. package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -1
  191. package/lib/shared/components/case-list/case-list.module.d.ts +2 -1
  192. package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -1
  193. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +2 -1
  194. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -1
  195. package/lib/shared/components/case-timeline/case-timeline.module.d.ts +2 -1
  196. package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -1
  197. package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
  198. package/lib/shared/components/case-viewer/case-viewer.module.d.ts +6 -4
  199. package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
  200. package/lib/shared/components/create-case-filters/create-case-filters.module.d.ts +2 -1
  201. package/lib/shared/components/create-case-filters/create-case-filters.module.d.ts.map +1 -1
  202. package/lib/shared/components/dialogs/dialogs.module.d.ts +2 -1
  203. package/lib/shared/components/dialogs/dialogs.module.d.ts.map +1 -1
  204. package/lib/shared/components/error/errors.module.d.ts +2 -1
  205. package/lib/shared/components/error/errors.module.d.ts.map +1 -1
  206. package/lib/shared/components/error-message/error-message.module.d.ts +2 -1
  207. package/lib/shared/components/error-message/error-message.module.d.ts.map +1 -1
  208. package/lib/shared/components/event-start/event-start.module.d.ts +2 -1
  209. package/lib/shared/components/event-start/event-start.module.d.ts.map +1 -1
  210. package/lib/shared/components/event-trigger/event-trigger.module.d.ts +2 -1
  211. package/lib/shared/components/event-trigger/event-trigger.module.d.ts.map +1 -1
  212. package/lib/shared/components/loading-spinner/loading-spinner.module.d.ts +2 -1
  213. package/lib/shared/components/loading-spinner/loading-spinner.module.d.ts.map +1 -1
  214. package/lib/shared/components/pagination/pagination.module.d.ts +2 -1
  215. package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
  216. package/lib/shared/components/palette/base-field/field-read.component.d.ts +1 -0
  217. package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -1
  218. package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -1
  219. package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts.map +1 -1
  220. package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts.map +1 -1
  221. package/lib/shared/components/palette/index.d.ts +2 -5
  222. package/lib/shared/components/palette/index.d.ts.map +1 -1
  223. package/lib/shared/components/palette/label/label-field.component.d.ts +2 -1
  224. package/lib/shared/components/palette/label/label-field.component.d.ts.map +1 -1
  225. package/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.d.ts +23 -0
  226. package/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.d.ts.map +1 -0
  227. package/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.d.ts +18 -0
  228. package/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.d.ts.map +1 -0
  229. package/lib/shared/components/palette/linked-cases/components/index.d.ts +8 -0
  230. package/lib/shared/components/palette/linked-cases/components/index.d.ts.map +1 -0
  231. package/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.d.ts +49 -0
  232. package/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.d.ts.map +1 -0
  233. package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts +38 -0
  234. package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts.map +1 -0
  235. package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts +47 -0
  236. package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts.map +1 -0
  237. package/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.d.ts +18 -0
  238. package/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.d.ts.map +1 -0
  239. package/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.d.ts +38 -0
  240. package/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.d.ts.map +1 -0
  241. package/lib/shared/components/palette/linked-cases/domain/index.d.ts +3 -0
  242. package/lib/shared/components/palette/linked-cases/domain/index.d.ts.map +1 -0
  243. package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts +12 -0
  244. package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts.map +1 -0
  245. package/lib/shared/components/palette/linked-cases/domain/linked-cases.model.d.ts +68 -0
  246. package/lib/shared/components/palette/linked-cases/domain/linked-cases.model.d.ts.map +1 -0
  247. package/lib/shared/components/palette/linked-cases/enums/index.d.ts +2 -0
  248. package/lib/shared/components/palette/linked-cases/enums/index.d.ts.map +1 -0
  249. package/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.d.ts +31 -0
  250. package/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.d.ts.map +1 -0
  251. package/lib/shared/components/palette/linked-cases/index.d.ts +6 -0
  252. package/lib/shared/components/palette/linked-cases/index.d.ts.map +1 -0
  253. package/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.d.ts +38 -0
  254. package/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.d.ts.map +1 -0
  255. package/lib/shared/components/palette/linked-cases/services/index.d.ts +2 -0
  256. package/lib/shared/components/palette/linked-cases/services/index.d.ts.map +1 -0
  257. package/lib/shared/components/palette/linked-cases/services/linked-cases.service.d.ts +44 -0
  258. package/lib/shared/components/palette/linked-cases/services/linked-cases.service.d.ts.map +1 -0
  259. package/lib/shared/components/palette/linked-cases/utils/validators.utils.d.ts +10 -0
  260. package/lib/shared/components/palette/linked-cases/utils/validators.utils.d.ts.map +1 -0
  261. package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts +43 -0
  262. package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts.map +1 -0
  263. package/lib/shared/components/palette/palette.module.d.ts +68 -58
  264. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  265. package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
  266. package/lib/shared/components/search-filters/search-filters.module.d.ts +2 -1
  267. package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
  268. package/lib/shared/components/search-result/search-result.module.d.ts +3 -2
  269. package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
  270. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +2 -1
  271. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
  272. package/lib/shared/domain/alert/alert-status-params.model.d.ts +6 -0
  273. package/lib/shared/domain/alert/alert-status-params.model.d.ts.map +1 -0
  274. package/lib/shared/domain/definition/display-context-enum.model.d.ts +10 -0
  275. package/lib/shared/domain/definition/display-context-enum.model.d.ts.map +1 -0
  276. package/lib/shared/pipes/index.d.ts +2 -0
  277. package/lib/shared/pipes/index.d.ts.map +1 -1
  278. package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts +12 -0
  279. package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts.map +1 -0
  280. package/lib/shared/pipes/link-cases-from-reason-code/index.d.ts +2 -0
  281. package/lib/shared/pipes/link-cases-from-reason-code/index.d.ts.map +1 -0
  282. package/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.d.ts +12 -0
  283. package/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.d.ts.map +1 -0
  284. package/lib/shared/pipes/link-cases-reason-code/index.d.ts +2 -0
  285. package/lib/shared/pipes/link-cases-reason-code/index.d.ts.map +1 -0
  286. package/lib/shared/pipes/pipes.module.d.ts +4 -2
  287. package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
  288. package/lib/shared/services/alert/alert.service.d.ts +8 -4
  289. package/lib/shared/services/alert/alert.service.d.ts.map +1 -1
  290. package/lib/shared/services/common-data-service/common-data-service.d.ts.map +1 -1
  291. package/lib/shared/services/fields/fields.utils.d.ts +1 -0
  292. package/lib/shared/services/fields/fields.utils.d.ts.map +1 -1
  293. package/lib/shared/services/form/form-value.service.d.ts +14 -0
  294. package/lib/shared/services/form/form-value.service.d.ts.map +1 -1
  295. package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
  296. package/lib/shared/services/window/window.service.d.ts.map +1 -1
  297. package/package.json +1 -1
@@ -1,23 +1,40 @@
1
1
  import { Component, Input } from '@angular/core';
2
2
  import { CaseField } from '../../../domain/definition/case-field.model';
3
3
  import * as i0 from "@angular/core";
4
+ function LabelFieldComponent_ccd_markdown_2_Template(rf, ctx) { if (rf & 1) {
5
+ i0.ɵɵelement(0, "ccd-markdown", 2);
6
+ i0.ɵɵpipe(1, "rpxTranslate");
7
+ } if (rf & 2) {
8
+ const ctx_r0 = i0.ɵɵnextContext();
9
+ i0.ɵɵproperty("content", i0.ɵɵpipeBind1(1, 2, ctx_r0.caseField.label))("markdownUseHrefAsRouterLink", ctx_r0.markdownUseHrefAsRouterLink);
10
+ } }
11
+ function LabelFieldComponent_ccd_markdown_3_Template(rf, ctx) { if (rf & 1) {
12
+ i0.ɵɵelement(0, "ccd-markdown", 2);
13
+ } if (rf & 2) {
14
+ const ctx_r1 = i0.ɵɵnextContext();
15
+ i0.ɵɵproperty("content", ctx_r1.caseField.value || ctx_r1.caseField.label)("markdownUseHrefAsRouterLink", ctx_r1.markdownUseHrefAsRouterLink);
16
+ } }
4
17
  export class LabelFieldComponent {
5
18
  constructor() {
6
19
  this.caseFields = [];
20
+ this.labelCanBeTranslated = false;
7
21
  }
8
22
  }
9
23
  LabelFieldComponent.ɵfac = function LabelFieldComponent_Factory(t) { return new (t || LabelFieldComponent)(); };
10
- LabelFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LabelFieldComponent, selectors: [["ccd-label-field"]], inputs: { caseField: "caseField", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 4, vars: 6, consts: [["ccdLabelSubstitutor", "", 1, "case-field", 3, "hidden", "caseField", "contextFields", "id"], [3, "content", "markdownUseHrefAsRouterLink"]], template: function LabelFieldComponent_Template(rf, ctx) { if (rf & 1) {
24
+ LabelFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LabelFieldComponent, selectors: [["ccd-label-field"]], inputs: { caseField: "caseField", caseFields: "caseFields", labelCanBeTranslated: "labelCanBeTranslated", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 5, vars: 6, consts: [["ccdLabelSubstitutor", "", 1, "case-field", 3, "hidden", "caseField", "contextFields", "id"], [3, "content", "markdownUseHrefAsRouterLink", 4, "ngIf"], [3, "content", "markdownUseHrefAsRouterLink"]], template: function LabelFieldComponent_Template(rf, ctx) { if (rf & 1) {
11
25
  i0.ɵɵelementStart(0, "dl", 0);
12
26
  i0.ɵɵelementStart(1, "dt");
13
- i0.ɵɵelement(2, "ccd-markdown", 1);
27
+ i0.ɵɵtemplate(2, LabelFieldComponent_ccd_markdown_2_Template, 2, 4, "ccd-markdown", 1);
28
+ i0.ɵɵtemplate(3, LabelFieldComponent_ccd_markdown_3_Template, 1, 2, "ccd-markdown", 1);
14
29
  i0.ɵɵelementEnd();
15
- i0.ɵɵelement(3, "dd");
30
+ i0.ɵɵelement(4, "dd");
16
31
  i0.ɵɵelementEnd();
17
32
  } if (rf & 2) {
18
33
  i0.ɵɵproperty("hidden", ctx.caseField.hidden)("caseField", ctx.caseField)("contextFields", ctx.caseFields)("id", ctx.caseField.id);
19
34
  i0.ɵɵadvance(2);
20
- i0.ɵɵproperty("content", ctx.caseField.value || ctx.caseField.label)("markdownUseHrefAsRouterLink", ctx.markdownUseHrefAsRouterLink);
35
+ i0.ɵɵproperty("ngIf", ctx.labelCanBeTranslated);
36
+ i0.ɵɵadvance(1);
37
+ i0.ɵɵproperty("ngIf", !ctx.labelCanBeTranslated);
21
38
  } }, encapsulation: 2 });
22
39
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LabelFieldComponent, [{
23
40
  type: Component,
@@ -29,7 +46,9 @@ LabelFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: LabelFieldComponent,
29
46
  type: Input
30
47
  }], caseFields: [{
31
48
  type: Input
49
+ }], labelCanBeTranslated: [{
50
+ type: Input
32
51
  }], markdownUseHrefAsRouterLink: [{
33
52
  type: Input
34
53
  }] }); })();
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvd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bnRdPVwiY2FzZUZpZWxkLmxhYmVsIHwgcnB4VHJhbnNsYXRlXCIgW21hcmtkb3duVXNlSHJlZkFzUm91dGVyTGlua109XCJtYXJrZG93blVzZUhyZWZBc1JvdXRlckxpbmtcIj5cbiAgICA8L2NjZC1tYXJrZG93bj5cblxuICAgIDxjY2QtbWFya2Rvd24gKm5nSWY9XCIhbGFiZWxDYW5CZVRyYW5zbGF0ZWRcIiBbY29udGVudF09XCJjYXNlRmllbGQudmFsdWUgfHwgY2FzZUZpZWxkLmxhYmVsXCIgW21hcmtkb3duVXNlSHJlZkFzUm91dGVyTGlua109XCJtYXJrZG93blVzZUhyZWZBc1JvdXRlckxpbmtcIj5cbiAgICA8L2NjZC1tYXJrZG93bj5cbiAgPC9kdD5cbiAgPGRkPjwvZGQ+XG48L2RsPlxuIl19
@@ -0,0 +1,126 @@
1
+ import { Component, EventEmitter, Output } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { LinkedCasesPages } from '../../enums';
4
+ import { LinkedCasesService } from '../../services/linked-cases.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/router";
7
+ import * as i2 from "../../services/linked-cases.service";
8
+ import * as i3 from "@angular/common";
9
+ function BeforeYouStartComponent_div_1_p_3_Template(rf, ctx) { if (rf & 1) {
10
+ i0.ɵɵelementStart(0, "p", 5);
11
+ i0.ɵɵelementStart(1, "span", 6);
12
+ i0.ɵɵtext(2, "Error:");
13
+ i0.ɵɵelementEnd();
14
+ i0.ɵɵtext(3);
15
+ i0.ɵɵelementEnd();
16
+ } if (rf & 2) {
17
+ const ctx_r2 = i0.ɵɵnextContext(2);
18
+ i0.ɵɵadvance(3);
19
+ i0.ɵɵtextInterpolate1(" ", ctx_r2.serverLinkedApiError.message, " ");
20
+ } }
21
+ function BeforeYouStartComponent_div_1_Template(rf, ctx) { if (rf & 1) {
22
+ const _r4 = i0.ɵɵgetCurrentView();
23
+ i0.ɵɵelementStart(0, "div");
24
+ i0.ɵɵelementStart(1, "h1", 1);
25
+ i0.ɵɵtext(2, "There is a problem");
26
+ i0.ɵɵelementEnd();
27
+ i0.ɵɵtemplate(3, BeforeYouStartComponent_div_1_p_3_Template, 4, 1, "p", 2);
28
+ i0.ɵɵelementStart(4, "p", 3);
29
+ i0.ɵɵelementStart(5, "a", 4);
30
+ i0.ɵɵlistener("click", function BeforeYouStartComponent_div_1_Template_a_click_5_listener() { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onBack(); });
31
+ i0.ɵɵtext(6, "Go back to the Linked cases tab");
32
+ i0.ɵɵelementEnd();
33
+ i0.ɵɵelementEnd();
34
+ i0.ɵɵelementEnd();
35
+ } if (rf & 2) {
36
+ const ctx_r0 = i0.ɵɵnextContext();
37
+ i0.ɵɵadvance(3);
38
+ i0.ɵɵproperty("ngIf", ctx_r0.serverLinkedApiError);
39
+ } }
40
+ function BeforeYouStartComponent_div_2_div_3_Template(rf, ctx) { if (rf & 1) {
41
+ i0.ɵɵelementStart(0, "div", 11);
42
+ i0.ɵɵelementStart(1, "p", 3);
43
+ i0.ɵɵtext(2, "If a group of linked cases has a lead case, you must start from the lead case.");
44
+ i0.ɵɵelementEnd();
45
+ i0.ɵɵelementStart(3, "p", 3);
46
+ i0.ɵɵtext(4, "If the cases to be linked has no lead, you can start the linking journey from any of those cases.");
47
+ i0.ɵɵelementEnd();
48
+ i0.ɵɵelementEnd();
49
+ } }
50
+ function BeforeYouStartComponent_div_2_div_4_Template(rf, ctx) { if (rf & 1) {
51
+ i0.ɵɵelementStart(0, "div", 12);
52
+ i0.ɵɵelementStart(1, "p", 3);
53
+ i0.ɵɵtext(2, "If there are linked hearings for the case you need to un-link then you must unlink the hearing first.");
54
+ i0.ɵɵelementEnd();
55
+ i0.ɵɵelementEnd();
56
+ } }
57
+ function BeforeYouStartComponent_div_2_Template(rf, ctx) { if (rf & 1) {
58
+ const _r8 = i0.ɵɵgetCurrentView();
59
+ i0.ɵɵelementStart(0, "div");
60
+ i0.ɵɵelementStart(1, "h1", 1);
61
+ i0.ɵɵtext(2, "Before you start");
62
+ i0.ɵɵelementEnd();
63
+ i0.ɵɵtemplate(3, BeforeYouStartComponent_div_2_div_3_Template, 5, 0, "div", 7);
64
+ i0.ɵɵtemplate(4, BeforeYouStartComponent_div_2_div_4_Template, 3, 0, "div", 8);
65
+ i0.ɵɵelementStart(5, "div", 9);
66
+ i0.ɵɵelementStart(6, "button", 10);
67
+ i0.ɵɵlistener("click", function BeforeYouStartComponent_div_2_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.onNext(); });
68
+ i0.ɵɵtext(7, "Next");
69
+ i0.ɵɵelementEnd();
70
+ i0.ɵɵelementEnd();
71
+ i0.ɵɵelementEnd();
72
+ } if (rf & 2) {
73
+ const ctx_r1 = i0.ɵɵnextContext();
74
+ i0.ɵɵadvance(3);
75
+ i0.ɵɵproperty("ngIf", ctx_r1.isLinkCasesJourney);
76
+ i0.ɵɵadvance(1);
77
+ i0.ɵɵproperty("ngIf", !ctx_r1.isLinkCasesJourney);
78
+ } }
79
+ export class BeforeYouStartComponent {
80
+ constructor(router, linkedCasesService) {
81
+ this.router = router;
82
+ this.linkedCasesService = linkedCasesService;
83
+ this.linkedCasesStateEmitter = new EventEmitter();
84
+ this.isLinkCasesJourney = false;
85
+ this.isLinkCasesJourney = this.linkedCasesService.isLinkedCasesEventTrigger;
86
+ this.serverLinkedApiError = this.linkedCasesService.serverLinkedApiError;
87
+ // re-initiate the state based on the casefield value
88
+ const linkedCaseRefereneIds = this.linkedCasesService.caseFieldValue.filter(item => item).map(item => item.id);
89
+ this.linkedCasesService.linkedCases = this.linkedCasesService.linkedCases.filter(item => linkedCaseRefereneIds.indexOf(item.caseReference) !== -1);
90
+ this.linkedCasesService.initialCaseLinks = this.linkedCasesService.linkedCases;
91
+ }
92
+ onNext() {
93
+ this.linkedCasesStateEmitter.emit({
94
+ currentLinkedCasesPage: LinkedCasesPages.BEFORE_YOU_START,
95
+ errorMessages: this.errorMessages,
96
+ navigateToNextPage: true
97
+ });
98
+ }
99
+ onBack() {
100
+ this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId]).then(() => {
101
+ window.location.hash = 'Linked cases';
102
+ });
103
+ }
104
+ }
105
+ BeforeYouStartComponent.ɵfac = function BeforeYouStartComponent_Factory(t) { return new (t || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.LinkedCasesService)); };
106
+ BeforeYouStartComponent.ɵcmp = i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "link-cases-journey", 4, "ngIf"], ["id", "manage-link-cases-journey", 4, "ngIf"], [1, "govuk-button-group"], ["type", "button", "id", "next-button", 1, "button", "button-primary", 3, "click"], ["id", "link-cases-journey"], ["id", "manage-link-cases-journey"]], template: function BeforeYouStartComponent_Template(rf, ctx) { if (rf & 1) {
107
+ i0.ɵɵelementStart(0, "div");
108
+ i0.ɵɵtemplate(1, BeforeYouStartComponent_div_1_Template, 7, 1, "div", 0);
109
+ i0.ɵɵtemplate(2, BeforeYouStartComponent_div_2_Template, 8, 2, "div", 0);
110
+ i0.ɵɵelementEnd();
111
+ } if (rf & 2) {
112
+ i0.ɵɵadvance(1);
113
+ i0.ɵɵproperty("ngIf", ctx.serverLinkedApiError);
114
+ i0.ɵɵadvance(1);
115
+ i0.ɵɵproperty("ngIf", !ctx.serverLinkedApiError);
116
+ } }, directives: [i3.NgIf], encapsulation: 2 });
117
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BeforeYouStartComponent, [{
118
+ type: Component,
119
+ args: [{
120
+ selector: 'ccd-linked-cases-before-you-start',
121
+ templateUrl: './before-you-start.component.html'
122
+ }]
123
+ }], function () { return [{ type: i1.Router }, { type: i2.LinkedCasesService }]; }, { linkedCasesStateEmitter: [{
124
+ type: Output
125
+ }] }); })();
126
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVmb3JlLXlvdS1zdGFydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9saW5rZWQtY2FzZXMvY29tcG9uZW50cy9iZWZvcmUteW91LXN0YXJ0L2JlZm9yZS15b3Utc3RhcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvbGlua2VkLWNhc2VzL2NvbXBvbmVudHMvYmVmb3JlLXlvdS1zdGFydC9iZWZvcmUteW91LXN0YXJ0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFHekMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHFDQUFxQyxD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pvdXJuZXkgZnJvbSBhbnkgb2YgdGhvc2VcbiAgICAgICAgY2FzZXMuPC9wPlxuICAgIDwvZGl2PlxuICAgIDxkaXYgaWQ9XCJtYW5hZ2UtbGluay1jYXNlcy1qb3VybmV5XCIgKm5nSWY9XCIhaXNMaW5rQ2FzZXNKb3VybmV5XCI+XG4gICAgICA8cCBjbGFzcz1cImdvdnVrLWJvZHlcIj5JZiB0aGVyZSBhcmUgbGlua2VkIGhlYXJpbmdzIGZvciB0aGUgY2FzZSB5b3UgbmVlZCB0byB1bi1saW5rIHRoZW4geW91IG11c3QgdW5saW5rIHRoZVxuICAgICAgICBoZWFyaW5nIGZpcnN0LjwvcD5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwiZ292dWstYnV0dG9uLWdyb3VwXCI+XG4gICAgICA8YnV0dG9uIGNsYXNzPVwiYnV0dG9uIGJ1dHRvbi1wcmltYXJ5XCIgdHlwZT1cImJ1dHRvblwiIGlkPVwibmV4dC1idXR0b25cIiAoY2xpY2spPVwib25OZXh0KClcIj5OZXh0PC9idXR0b24+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,220 @@
1
+ import { Component, EventEmitter, Output } from '@angular/core';
2
+ import { LinkedCasesPages } from '../../enums';
3
+ import { LinkedCasesService } from '../../services/linked-cases.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../services/linked-cases.service";
6
+ function CheckYourAnswersComponent_table_4_tr_9_Template(rf, ctx) { if (rf & 1) {
7
+ const _r8 = i0.ɵɵgetCurrentView();
8
+ i0.ɵɵelementStart(0, "tr", 7);
9
+ i0.ɵɵelementStart(1, "td", 14);
10
+ i0.ɵɵtext(2);
11
+ i0.ɵɵelement(3, "br");
12
+ i0.ɵɵtext(4);
13
+ i0.ɵɵpipe(5, "ccdCaseReference");
14
+ i0.ɵɵelementEnd();
15
+ i0.ɵɵelementStart(6, "td", 14);
16
+ i0.ɵɵelementStart(7, "a", 15);
17
+ i0.ɵɵlistener("click", function CheckYourAnswersComponent_table_4_tr_9_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.onChange(); });
18
+ i0.ɵɵtext(8, "Change");
19
+ i0.ɵɵelementEnd();
20
+ i0.ɵɵelementEnd();
21
+ i0.ɵɵelementEnd();
22
+ } if (rf & 2) {
23
+ const case_r6 = ctx.$implicit;
24
+ i0.ɵɵadvance(2);
25
+ i0.ɵɵtextInterpolate1(" ", case_r6.caseName, " ");
26
+ i0.ɵɵadvance(2);
27
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 2, case_r6.caseReference), " ");
28
+ } }
29
+ function CheckYourAnswersComponent_table_4_tr_10_Template(rf, ctx) { if (rf & 1) {
30
+ i0.ɵɵelementStart(0, "tr", 7);
31
+ i0.ɵɵelementStart(1, "td", 16);
32
+ i0.ɵɵtext(2, " None ");
33
+ i0.ɵɵelementEnd();
34
+ i0.ɵɵelementEnd();
35
+ } }
36
+ function CheckYourAnswersComponent_table_4_Template(rf, ctx) { if (rf & 1) {
37
+ i0.ɵɵelementStart(0, "table", 13);
38
+ i0.ɵɵelementStart(1, "caption", 5);
39
+ i0.ɵɵtext(2, "Cases to unlink");
40
+ i0.ɵɵelementEnd();
41
+ i0.ɵɵelementStart(3, "thead", 6);
42
+ i0.ɵɵelementStart(4, "tr", 7);
43
+ i0.ɵɵelementStart(5, "th", 8);
44
+ i0.ɵɵtext(6, "Case name and number");
45
+ i0.ɵɵelementEnd();
46
+ i0.ɵɵelement(7, "th", 8);
47
+ i0.ɵɵelementEnd();
48
+ i0.ɵɵelementEnd();
49
+ i0.ɵɵelementStart(8, "tbody", 10);
50
+ i0.ɵɵtemplate(9, CheckYourAnswersComponent_table_4_tr_9_Template, 9, 4, "tr", 11);
51
+ i0.ɵɵtemplate(10, CheckYourAnswersComponent_table_4_tr_10_Template, 3, 0, "tr", 12);
52
+ i0.ɵɵelementEnd();
53
+ i0.ɵɵelementEnd();
54
+ } if (rf & 2) {
55
+ const ctx_r0 = i0.ɵɵnextContext();
56
+ i0.ɵɵadvance(9);
57
+ i0.ɵɵproperty("ngForOf", ctx_r0.casesToUnlink);
58
+ i0.ɵɵadvance(1);
59
+ i0.ɵɵproperty("ngIf", !ctx_r0.casesToUnlink.length);
60
+ } }
61
+ function CheckYourAnswersComponent_th_15_Template(rf, ctx) { if (rf & 1) {
62
+ i0.ɵɵelement(0, "th", 8);
63
+ } }
64
+ function CheckYourAnswersComponent_tr_17_span_8_span_1_Template(rf, ctx) { if (rf & 1) {
65
+ i0.ɵɵelementStart(0, "span");
66
+ i0.ɵɵtext(1);
67
+ i0.ɵɵpipe(2, "ccdLinkCasesReasonValue");
68
+ i0.ɵɵelementEnd();
69
+ } if (rf & 2) {
70
+ const reason_r12 = i0.ɵɵnextContext().$implicit;
71
+ i0.ɵɵadvance(1);
72
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, reason_r12), " ");
73
+ } }
74
+ function CheckYourAnswersComponent_tr_17_span_8_span_2_Template(rf, ctx) { if (rf & 1) {
75
+ i0.ɵɵelementStart(0, "span");
76
+ i0.ɵɵtext(1);
77
+ i0.ɵɵpipe(2, "ccdLinkCasesReasonValue");
78
+ i0.ɵɵelementEnd();
79
+ } if (rf & 2) {
80
+ const reason_r12 = i0.ɵɵnextContext().$implicit;
81
+ i0.ɵɵadvance(1);
82
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, reason_r12.Reason.value), " ");
83
+ } }
84
+ function CheckYourAnswersComponent_tr_17_span_8_br_3_Template(rf, ctx) { if (rf & 1) {
85
+ i0.ɵɵelement(0, "br");
86
+ } }
87
+ function CheckYourAnswersComponent_tr_17_span_8_Template(rf, ctx) { if (rf & 1) {
88
+ i0.ɵɵelementStart(0, "span");
89
+ i0.ɵɵtemplate(1, CheckYourAnswersComponent_tr_17_span_8_span_1_Template, 3, 3, "span", 19);
90
+ i0.ɵɵtemplate(2, CheckYourAnswersComponent_tr_17_span_8_span_2_Template, 3, 3, "span", 19);
91
+ i0.ɵɵtemplate(3, CheckYourAnswersComponent_tr_17_span_8_br_3_Template, 1, 0, "br", 19);
92
+ i0.ɵɵelementEnd();
93
+ } if (rf & 2) {
94
+ const isLast_r13 = ctx.last;
95
+ const ctx_r10 = i0.ɵɵnextContext(2);
96
+ i0.ɵɵadvance(1);
97
+ i0.ɵɵproperty("ngIf", ctx_r10.isLinkCasesJourney);
98
+ i0.ɵɵadvance(1);
99
+ i0.ɵɵproperty("ngIf", !ctx_r10.isLinkCasesJourney);
100
+ i0.ɵɵadvance(1);
101
+ i0.ɵɵproperty("ngIf", !isLast_r13);
102
+ } }
103
+ function CheckYourAnswersComponent_tr_17_td_10_Template(rf, ctx) { if (rf & 1) {
104
+ const _r20 = i0.ɵɵgetCurrentView();
105
+ i0.ɵɵelementStart(0, "td", 14);
106
+ i0.ɵɵelementStart(1, "a", 15);
107
+ i0.ɵɵlistener("click", function CheckYourAnswersComponent_tr_17_td_10_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r20); const ctx_r19 = i0.ɵɵnextContext(2); return ctx_r19.onChange(); });
108
+ i0.ɵɵtext(2, "Change");
109
+ i0.ɵɵelementEnd();
110
+ i0.ɵɵelementEnd();
111
+ } }
112
+ function CheckYourAnswersComponent_tr_17_Template(rf, ctx) { if (rf & 1) {
113
+ i0.ɵɵelementStart(0, "tr", 7);
114
+ i0.ɵɵelementStart(1, "td", 14);
115
+ i0.ɵɵelementStart(2, "span");
116
+ i0.ɵɵtext(3);
117
+ i0.ɵɵelement(4, "br");
118
+ i0.ɵɵtext(5);
119
+ i0.ɵɵpipe(6, "ccdCaseReference");
120
+ i0.ɵɵelementEnd();
121
+ i0.ɵɵelementEnd();
122
+ i0.ɵɵelementStart(7, "td", 14);
123
+ i0.ɵɵtemplate(8, CheckYourAnswersComponent_tr_17_span_8_Template, 4, 3, "span", 17);
124
+ i0.ɵɵelementEnd();
125
+ i0.ɵɵelement(9, "td", 14);
126
+ i0.ɵɵtemplate(10, CheckYourAnswersComponent_tr_17_td_10_Template, 3, 0, "td", 18);
127
+ i0.ɵɵelementEnd();
128
+ } if (rf & 2) {
129
+ const case_r9 = ctx.$implicit;
130
+ const ctx_r2 = i0.ɵɵnextContext();
131
+ i0.ɵɵadvance(3);
132
+ i0.ɵɵtextInterpolate1("", case_r9.caseName, " ");
133
+ i0.ɵɵadvance(2);
134
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 4, case_r9.caseReference), " ");
135
+ i0.ɵɵadvance(3);
136
+ i0.ɵɵproperty("ngForOf", case_r9.reasons);
137
+ i0.ɵɵadvance(2);
138
+ i0.ɵɵproperty("ngIf", ctx_r2.isLinkCasesJourney);
139
+ } }
140
+ function CheckYourAnswersComponent_tr_18_Template(rf, ctx) { if (rf & 1) {
141
+ i0.ɵɵelementStart(0, "tr", 7);
142
+ i0.ɵɵelementStart(1, "td", 20);
143
+ i0.ɵɵtext(2, " None ");
144
+ i0.ɵɵelementEnd();
145
+ i0.ɵɵelementEnd();
146
+ } }
147
+ export class CheckYourAnswersComponent {
148
+ constructor(linkedCasesService) {
149
+ this.linkedCasesService = linkedCasesService;
150
+ this.linkedCasesStateEmitter = new EventEmitter();
151
+ }
152
+ ngOnInit() {
153
+ this.isLinkCasesJourney = this.linkedCasesService.isLinkedCasesEventTrigger;
154
+ this.linkedCasesTableCaption = this.linkedCasesService.isLinkedCasesEventTrigger ? 'Proposed case links' : 'Linked cases';
155
+ this.linkedCases = this.linkedCasesService.linkedCases.filter(linkedCase => !linkedCase.unlink);
156
+ this.casesToUnlink = this.linkedCasesService.linkedCases.filter(linkedCase => linkedCase.unlink && linkedCase.unlink === true);
157
+ }
158
+ onChange() {
159
+ this.linkedCasesService.editMode = true;
160
+ this.linkedCasesStateEmitter.emit({
161
+ currentLinkedCasesPage: LinkedCasesPages.CHECK_YOUR_ANSWERS,
162
+ navigateToPreviousPage: true,
163
+ navigateToNextPage: true
164
+ });
165
+ }
166
+ }
167
+ CheckYourAnswersComponent.ɵfac = function CheckYourAnswersComponent_Factory(t) { return new (t || CheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1.LinkedCasesService)); };
168
+ CheckYourAnswersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CheckYourAnswersComponent, selectors: [["ccd-linked-cases-check-your-answers"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, decls: 19, vars: 5, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-heading-xl"], ["id", "cases-to-unlink-table", "class", "govuk-table", 4, "ngIf"], ["id", "linked-cases-table", 1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--m"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header"], ["scope", "col", "class", "govuk-table__header", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], ["id", "cases-to-unlink-table", 1, "govuk-table"], [1, "govuk-table__cell"], ["href", "javascript:void(0)", 1, "govuk-link", "govuk-link--no-visited-state", "float-right", 3, "click"], ["colspan", "2", 1, "govuk-table__cell"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__cell", 4, "ngIf"], [4, "ngIf"], ["colspan", "4", 1, "govuk-table__cell"]], template: function CheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
169
+ i0.ɵɵelementStart(0, "div", 0);
170
+ i0.ɵɵelementStart(1, "div", 1);
171
+ i0.ɵɵelementStart(2, "h1", 2);
172
+ i0.ɵɵtext(3, "Check your answers");
173
+ i0.ɵɵelementEnd();
174
+ i0.ɵɵtemplate(4, CheckYourAnswersComponent_table_4_Template, 11, 2, "table", 3);
175
+ i0.ɵɵelementStart(5, "table", 4);
176
+ i0.ɵɵelementStart(6, "caption", 5);
177
+ i0.ɵɵtext(7);
178
+ i0.ɵɵelementEnd();
179
+ i0.ɵɵelementStart(8, "thead", 6);
180
+ i0.ɵɵelementStart(9, "tr", 7);
181
+ i0.ɵɵelementStart(10, "th", 8);
182
+ i0.ɵɵtext(11, "Case name and number");
183
+ i0.ɵɵelementEnd();
184
+ i0.ɵɵelementStart(12, "th", 8);
185
+ i0.ɵɵtext(13, "Reasons for case link");
186
+ i0.ɵɵelementEnd();
187
+ i0.ɵɵelement(14, "th", 8);
188
+ i0.ɵɵtemplate(15, CheckYourAnswersComponent_th_15_Template, 1, 0, "th", 9);
189
+ i0.ɵɵelementEnd();
190
+ i0.ɵɵelementEnd();
191
+ i0.ɵɵelementStart(16, "tbody", 10);
192
+ i0.ɵɵtemplate(17, CheckYourAnswersComponent_tr_17_Template, 11, 6, "tr", 11);
193
+ i0.ɵɵtemplate(18, CheckYourAnswersComponent_tr_18_Template, 3, 0, "tr", 12);
194
+ i0.ɵɵelementEnd();
195
+ i0.ɵɵelementEnd();
196
+ i0.ɵɵelementEnd();
197
+ i0.ɵɵelementEnd();
198
+ } if (rf & 2) {
199
+ i0.ɵɵadvance(4);
200
+ i0.ɵɵproperty("ngIf", !ctx.isLinkCasesJourney);
201
+ i0.ɵɵadvance(3);
202
+ i0.ɵɵtextInterpolate(ctx.linkedCasesTableCaption);
203
+ i0.ɵɵadvance(8);
204
+ i0.ɵɵproperty("ngIf", ctx.isLinkCasesJourney);
205
+ i0.ɵɵadvance(2);
206
+ i0.ɵɵproperty("ngForOf", ctx.linkedCases);
207
+ i0.ɵɵadvance(1);
208
+ i0.ɵɵproperty("ngIf", !ctx.linkedCases.length);
209
+ } }, styles: [".float-right[_ngcontent-%COMP%]{float:right}"] });
210
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckYourAnswersComponent, [{
211
+ type: Component,
212
+ args: [{
213
+ selector: 'ccd-linked-cases-check-your-answers',
214
+ templateUrl: './check-your-answers.component.html',
215
+ styleUrls: ['./check-your-answers.component.scss']
216
+ }]
217
+ }], function () { return [{ type: i1.LinkedCasesService }]; }, { linkedCasesStateEmitter: [{
218
+ type: Output
219
+ }] }); })();
220
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2steW91ci1hbnN3ZXJzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2xpbmtlZC1jYXNlcy9jb21wb25lbnRzL2NoZWNrLXlvdXItYW5zd2Vycy9jaGVjay15b3VyLWFuc3dlcnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvbGlua2VkLWNhc2VzL2NvbXBvbmVudHMvY2hlY2steW91ci1hbnN3ZXJzL2NoZWNrLXlvdXItYW5zd2Vycy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFeEUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHFDQUFxQyxDQUFDOzs7OztJQ1VqRSw2QkFBZ0U7SUFDOUQsOEJBQThCO0lBQzVCLFlBQW1CO0lBQUEscUJBQUk7SUFBQyxZQUMxQjs7SUFBQSxpQkFBSztJQUNMLDhCQUE4QjtJQUM1Qiw2QkFBOEc7SUFBckIsOExBQW9CO0lBQUMsc0JBQU07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cIiAqbmdJZj1cIiFsaW5rZWRDYXNlcy5sZW5ndGhcIj5cbiAgICAgICAgICA8dGQgY2xhc3M9XCJnb3Z1ay10YWJsZV9fY2VsbFwiIGNvbHNwYW49XCI0XCI+XG4gICAgICAgICAgICBOb25lXG4gICAgICAgICAgPC90ZD5cbiAgICAgICAgPC90cj5cbiAgICAgIDwvdGJvZHk+XG4gICAgPC90YWJsZT5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,8 @@
1
+ export * from './before-you-start/before-you-start.component';
2
+ export * from './check-your-answers/check-your-answers.component';
3
+ export * from './link-cases/link-cases.component';
4
+ export * from './linked-cases-table/linked-cases-from-table.component';
5
+ export * from './linked-cases-table/linked-cases-to-table.component';
6
+ export * from './no-linked-cases/no-linked-cases.component';
7
+ export * from './unlink-cases/unlink-cases.component';
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9saW5rZWQtY2FzZXMvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtDQUErQyxDQUFDO0FBQzlELGNBQWMsbURBQW1ELENBQUM7QUFDbEUsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLHdEQUF3RCxDQUFDO0FBQ3ZFLGNBQWMsc0RBQXNELENBQUM7QUFDckUsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iZWZvcmUteW91LXN0YXJ0L2JlZm9yZS15b3Utc3RhcnQuY29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