@hmcts/ccd-case-ui-toolkit 7.0.20 → 7.0.21-CVE-fix-01

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 (1081) hide show
  1. package/esm2022/lib/app.config.mjs +93 -0
  2. package/esm2022/lib/components/banners/alert/alert-icon-class.pipe.mjs +25 -0
  3. package/esm2022/lib/components/banners/alert/alert.component.mjs +94 -0
  4. package/esm2022/lib/components/banners/alert/alert.module.mjs +32 -0
  5. package/esm2022/lib/components/banners/banners.module.mjs +32 -0
  6. package/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +119 -0
  7. package/esm2022/lib/components/banners/notification-banner/notification-banner.module.mjs +19 -0
  8. package/esm2022/lib/components/body/body.component.mjs +20 -0
  9. package/esm2022/lib/components/body/body.module.mjs +20 -0
  10. package/esm2022/lib/components/footer/footer.component.mjs +109 -0
  11. package/esm2022/lib/components/footer/footers.module.mjs +25 -0
  12. package/esm2022/lib/components/form/date-input/date-input.component.mjs +342 -0
  13. package/esm2022/lib/components/form/form.module.mjs +29 -0
  14. package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +98 -0
  15. package/esm2022/lib/components/header/headers.module.mjs +25 -0
  16. package/esm2022/lib/components/header/navigation/navigation-item.component.mjs +44 -0
  17. package/esm2022/lib/components/header/navigation/navigation.component.mjs +25 -0
  18. package/esm2022/lib/components/header/phase/phase.component.mjs +48 -0
  19. package/esm2022/lib/components/tabs/tab.component.mjs +31 -0
  20. package/esm2022/lib/components/tabs/tabs.component.mjs +82 -0
  21. package/esm2022/lib/components/tabs/tabs.module.mjs +38 -0
  22. package/esm2022/lib/shared/commons/address-validation-constants.mjs +13 -0
  23. package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +19 -0
  24. package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +46 -0
  25. package/esm2022/lib/shared/commons/constants.mjs +13 -0
  26. package/esm2022/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +42 -0
  27. package/esm2022/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +35 -0
  28. package/esm2022/lib/shared/components/activity/activity.component.mjs +158 -0
  29. package/esm2022/lib/shared/components/activity/activity.module.mjs +55 -0
  30. package/esm2022/lib/shared/components/case-editor/case-access-utils/index.mjs +105 -0
  31. package/esm2022/lib/shared/components/case-editor/case-create/case-create.component.mjs +95 -0
  32. package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +463 -0
  33. package/esm2022/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +131 -0
  34. package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +140 -0
  35. package/esm2022/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +70 -0
  36. package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +779 -0
  37. package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +560 -0
  38. package/esm2022/lib/shared/components/case-editor/case-editor.module.mjs +118 -0
  39. package/esm2022/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +96 -0
  40. package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +82 -0
  41. package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +166 -0
  42. package/esm2022/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +84 -0
  43. package/esm2022/lib/shared/components/case-editor/domain/confirmation.model.mjs +25 -0
  44. package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +9 -0
  45. package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +7 -0
  46. package/esm2022/lib/shared/components/case-editor/domain/wizard-page.model.mjs +33 -0
  47. package/esm2022/lib/shared/components/case-editor/domain/wizard.model.mjs +55 -0
  48. package/esm2022/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +98 -0
  49. package/esm2022/lib/shared/components/case-editor/services/case-flag-state.service.mjs +19 -0
  50. package/esm2022/lib/shared/components/case-editor/services/case-worker.service.mjs +35 -0
  51. package/esm2022/lib/shared/components/case-editor/services/case.notifier.mjs +53 -0
  52. package/esm2022/lib/shared/components/case-editor/services/cases.service.mjs +302 -0
  53. package/esm2022/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +42 -0
  54. package/esm2022/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +153 -0
  55. package/esm2022/lib/shared/components/case-editor/services/event-trigger.service.mjs +18 -0
  56. package/esm2022/lib/shared/components/case-editor/services/judicial-worker.service.mjs +35 -0
  57. package/esm2022/lib/shared/components/case-editor/services/page-validation.service.mjs +54 -0
  58. package/esm2022/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +40 -0
  59. package/esm2022/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +117 -0
  60. package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +215 -0
  61. package/esm2022/lib/shared/components/case-header/case-header.component.mjs +64 -0
  62. package/esm2022/lib/shared/components/case-header/case-header.module.mjs +25 -0
  63. package/esm2022/lib/shared/components/case-history/case-history.component.mjs +252 -0
  64. package/esm2022/lib/shared/components/case-history/case-history.module.mjs +36 -0
  65. package/esm2022/lib/shared/components/case-history/domain/case-history.model.mjs +37 -0
  66. package/esm2022/lib/shared/components/case-history/services/case-history.service.mjs +43 -0
  67. package/esm2022/lib/shared/components/case-list/case-list.component.mjs +373 -0
  68. package/esm2022/lib/shared/components/case-list/case-list.module.mjs +31 -0
  69. package/esm2022/lib/shared/components/case-list-filters/case-list-filters.component.mjs +56 -0
  70. package/esm2022/lib/shared/components/case-list-filters/case-list-filters.module.mjs +39 -0
  71. package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +115 -0
  72. package/esm2022/lib/shared/components/case-timeline/case-timeline.module.mjs +32 -0
  73. package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +251 -0
  74. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +310 -0
  75. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +74 -0
  76. package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +155 -0
  77. package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +710 -0
  78. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +60 -0
  79. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +255 -0
  80. package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +210 -0
  81. package/esm2022/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +49 -0
  82. package/esm2022/lib/shared/components/case-viewer/case-view/case-view.component.mjs +106 -0
  83. package/esm2022/lib/shared/components/case-viewer/case-viewer.component.mjs +136 -0
  84. package/esm2022/lib/shared/components/case-viewer/case-viewer.module.mjs +98 -0
  85. package/esm2022/lib/shared/components/case-viewer/printer/case-printer.component.mjs +116 -0
  86. package/esm2022/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +61 -0
  87. package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +141 -0
  88. package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +70 -0
  89. package/esm2022/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +11 -0
  90. package/esm2022/lib/shared/components/create-case-filters/create-case-filters.component.mjs +288 -0
  91. package/esm2022/lib/shared/components/create-case-filters/create-case-filters.module.mjs +44 -0
  92. package/esm2022/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +59 -0
  93. package/esm2022/lib/shared/components/dialogs/dialogs.module.mjs +51 -0
  94. package/esm2022/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +61 -0
  95. package/esm2022/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +59 -0
  96. package/esm2022/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +63 -0
  97. package/esm2022/lib/shared/components/error/callback-errors.component.mjs +147 -0
  98. package/esm2022/lib/shared/components/error/domain/error-context.mjs +5 -0
  99. package/esm2022/lib/shared/components/error/errors.module.mjs +33 -0
  100. package/esm2022/lib/shared/components/error-message/error-message.component.mjs +44 -0
  101. package/esm2022/lib/shared/components/error-message/error-message.module.mjs +41 -0
  102. package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +61 -0
  103. package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +55 -0
  104. package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +111 -0
  105. package/esm2022/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +69 -0
  106. package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +60 -0
  107. package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +55 -0
  108. package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +97 -0
  109. package/esm2022/lib/shared/components/event-start/event-start.component.mjs +55 -0
  110. package/esm2022/lib/shared/components/event-start/event-start.module.mjs +71 -0
  111. package/esm2022/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +31 -0
  112. package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +177 -0
  113. package/esm2022/lib/shared/components/event-trigger/event-trigger.component.mjs +117 -0
  114. package/esm2022/lib/shared/components/event-trigger/event-trigger.module.mjs +37 -0
  115. package/esm2022/lib/shared/components/loading-spinner/loading-spinner.component.mjs +25 -0
  116. package/esm2022/lib/shared/components/loading-spinner/loading-spinner.module.mjs +29 -0
  117. package/esm2022/lib/shared/components/pagination/pagination.component.mjs +261 -0
  118. package/esm2022/lib/shared/components/pagination/pagination.module.mjs +26 -0
  119. package/esm2022/lib/shared/components/palette/address/address-option.model.mjs +23 -0
  120. package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +287 -0
  121. package/esm2022/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +30 -0
  122. package/esm2022/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +44 -0
  123. package/esm2022/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +84 -0
  124. package/esm2022/lib/shared/components/palette/base-field/field-read-label.component.mjs +85 -0
  125. package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +89 -0
  126. package/esm2022/lib/shared/components/palette/base-field/field-write.component.mjs +77 -0
  127. package/esm2022/lib/shared/components/palette/base-field/payment-field.component.mjs +37 -0
  128. package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +182 -0
  129. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +48 -0
  130. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +49 -0
  131. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +356 -0
  132. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +155 -0
  133. package/esm2022/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +93 -0
  134. package/esm2022/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +191 -0
  135. package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +302 -0
  136. package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +208 -0
  137. package/esm2022/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +169 -0
  138. package/esm2022/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +224 -0
  139. package/esm2022/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +311 -0
  140. package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +202 -0
  141. package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +355 -0
  142. package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +268 -0
  143. package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +516 -0
  144. package/esm2022/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +43 -0
  145. package/esm2022/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +43 -0
  146. package/esm2022/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +111 -0
  147. package/esm2022/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +79 -0
  148. package/esm2022/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +255 -0
  149. package/esm2022/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +704 -0
  150. package/esm2022/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +32 -0
  151. package/esm2022/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +125 -0
  152. package/esm2022/lib/shared/components/palette/collection/collection-create-checker.service.mjs +42 -0
  153. package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +78 -0
  154. package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +449 -0
  155. package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +380 -0
  156. package/esm2022/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +50 -0
  157. package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +75 -0
  158. package/esm2022/lib/shared/components/palette/complex/read-complex-field.component.mjs +70 -0
  159. package/esm2022/lib/shared/components/palette/complex/write-complex-field.component.mjs +173 -0
  160. package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +25 -0
  161. package/esm2022/lib/shared/components/palette/date/write-date-container-field.component.mjs +33 -0
  162. package/esm2022/lib/shared/components/palette/date/write-date-field.component.mjs +77 -0
  163. package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +314 -0
  164. package/esm2022/lib/shared/components/palette/document/document-url.pipe.mjs +25 -0
  165. package/esm2022/lib/shared/components/palette/document/file-upload-progress.guard.mjs +31 -0
  166. package/esm2022/lib/shared/components/palette/document/file-upload-state.service.mjs +17 -0
  167. package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +87 -0
  168. package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +404 -0
  169. package/esm2022/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +18 -0
  170. package/esm2022/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +36 -0
  171. package/esm2022/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +125 -0
  172. package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +43 -0
  173. package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +147 -0
  174. package/esm2022/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +25 -0
  175. package/esm2022/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +42 -0
  176. package/esm2022/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +125 -0
  177. package/esm2022/lib/shared/components/palette/email/read-email-field.component.mjs +35 -0
  178. package/esm2022/lib/shared/components/palette/email/write-email-field.component.mjs +74 -0
  179. package/esm2022/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +23 -0
  180. package/esm2022/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +26 -0
  181. package/esm2022/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +107 -0
  182. package/esm2022/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +18 -0
  183. package/esm2022/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +26 -0
  184. package/esm2022/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +96 -0
  185. package/esm2022/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +16 -0
  186. package/esm2022/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +98 -0
  187. package/esm2022/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +225 -0
  188. package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +72 -0
  189. package/esm2022/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +48 -0
  190. package/esm2022/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +253 -0
  191. package/esm2022/lib/shared/components/palette/label/label-field.component.mjs +50 -0
  192. package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +112 -0
  193. package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +194 -0
  194. package/esm2022/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +543 -0
  195. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +214 -0
  196. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +287 -0
  197. package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +69 -0
  198. package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +208 -0
  199. package/esm2022/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +67 -0
  200. package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +169 -0
  201. package/esm2022/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +138 -0
  202. package/esm2022/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +27 -0
  203. package/esm2022/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +237 -0
  204. package/esm2022/lib/shared/components/palette/markdown/markdown-component.module.mjs +29 -0
  205. package/esm2022/lib/shared/components/palette/markdown/markdown.component.mjs +44 -0
  206. package/esm2022/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +127 -0
  207. package/esm2022/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +49 -0
  208. package/esm2022/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +79 -0
  209. package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +45 -0
  210. package/esm2022/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +127 -0
  211. package/esm2022/lib/shared/components/palette/number/read-number-field.component.mjs +24 -0
  212. package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +74 -0
  213. package/esm2022/lib/shared/components/palette/order-summary/fee-value.model.mjs +4 -0
  214. package/esm2022/lib/shared/components/palette/order-summary/fee.model.mjs +8 -0
  215. package/esm2022/lib/shared/components/palette/order-summary/order-summary.model.mjs +6 -0
  216. package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +73 -0
  217. package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +44 -0
  218. package/esm2022/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +44 -0
  219. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +87 -0
  220. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +91 -0
  221. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +53 -0
  222. package/esm2022/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +34 -0
  223. package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +396 -0
  224. package/esm2022/lib/shared/components/palette/palette.module.mjs +291 -0
  225. package/esm2022/lib/shared/components/palette/palette.service.mjs +153 -0
  226. package/esm2022/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +24 -0
  227. package/esm2022/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +22 -0
  228. package/esm2022/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +74 -0
  229. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +43 -0
  230. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +149 -0
  231. package/esm2022/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +66 -0
  232. package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +61 -0
  233. package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +292 -0
  234. package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +330 -0
  235. package/esm2022/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +23 -0
  236. package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +164 -0
  237. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +77 -0
  238. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +111 -0
  239. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +201 -0
  240. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +106 -0
  241. package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +24 -0
  242. package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +45 -0
  243. package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +125 -0
  244. package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +22 -0
  245. package/esm2022/lib/shared/components/palette/text/read-text-field.component.mjs +24 -0
  246. package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +78 -0
  247. package/esm2022/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +24 -0
  248. package/esm2022/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +89 -0
  249. package/esm2022/lib/shared/components/palette/unsupported-field.component.mjs +17 -0
  250. package/esm2022/lib/shared/components/palette/utils/dash.pipe.mjs +16 -0
  251. package/esm2022/lib/shared/components/palette/utils/date.pipe.mjs +133 -0
  252. package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +30 -0
  253. package/esm2022/lib/shared/components/palette/utils/first-error.pipe.mjs +62 -0
  254. package/esm2022/lib/shared/components/palette/utils/is-compound.pipe.mjs +43 -0
  255. package/esm2022/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +22 -0
  256. package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +32 -0
  257. package/esm2022/lib/shared/components/palette/utils/is-read-only.pipe.mjs +22 -0
  258. package/esm2022/lib/shared/components/palette/utils/utils.module.mjs +71 -0
  259. package/esm2022/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +34 -0
  260. package/esm2022/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +36 -0
  261. package/esm2022/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +102 -0
  262. package/esm2022/lib/shared/components/palette/yes-no/yes-no.service.mjs +50 -0
  263. package/esm2022/lib/shared/components/search-filters/domain/search-input.model.mjs +15 -0
  264. package/esm2022/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +62 -0
  265. package/esm2022/lib/shared/components/search-filters/search-filters.component.mjs +337 -0
  266. package/esm2022/lib/shared/components/search-filters/search-filters.module.mjs +44 -0
  267. package/esm2022/lib/shared/components/search-result/search-result.component.mjs +834 -0
  268. package/esm2022/lib/shared/components/search-result/search-result.module.mjs +46 -0
  269. package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +494 -0
  270. package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +42 -0
  271. package/esm2022/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +169 -0
  272. package/esm2022/lib/shared/directives/conditional-show/conditional-show.module.mjs +33 -0
  273. package/esm2022/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +201 -0
  274. package/esm2022/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +17 -0
  275. package/esm2022/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +48 -0
  276. package/esm2022/lib/shared/directives/focus-element/focus-element.directive.mjs +38 -0
  277. package/esm2022/lib/shared/directives/focus-element/focus-element.module.mjs +21 -0
  278. package/esm2022/lib/shared/directives/substitutor/label-substitutor.directive.mjs +88 -0
  279. package/esm2022/lib/shared/directives/substitutor/label-substitutor.module.mjs +30 -0
  280. package/esm2022/lib/shared/directives/substitutor/services/placeholder.service.mjs +209 -0
  281. package/esm2022/lib/shared/domain/activity/activity.model.mjs +17 -0
  282. package/esm2022/lib/shared/domain/addresses/address.model.mjs +11 -0
  283. package/esm2022/lib/shared/domain/alert/alert.model.mjs +5 -0
  284. package/esm2022/lib/shared/domain/case-details.model.mjs +13 -0
  285. package/esm2022/lib/shared/domain/case-event-data.model.mjs +11 -0
  286. package/esm2022/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +8 -0
  287. package/esm2022/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +10 -0
  288. package/esm2022/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +10 -0
  289. package/esm2022/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +124 -0
  290. package/esm2022/lib/shared/domain/case-flag/flag-type.model.mjs +37 -0
  291. package/esm2022/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +18 -0
  292. package/esm2022/lib/shared/domain/case-view/case-event-trigger.model.mjs +34 -0
  293. package/esm2022/lib/shared/domain/case-view/case-print-document.model.mjs +6 -0
  294. package/esm2022/lib/shared/domain/case-view/case-tab.model.mjs +17 -0
  295. package/esm2022/lib/shared/domain/case-view/case-view-event.model.mjs +16 -0
  296. package/esm2022/lib/shared/domain/case-view/case-view-trigger.model.mjs +7 -0
  297. package/esm2022/lib/shared/domain/case-view/case-view.model.mjs +27 -0
  298. package/esm2022/lib/shared/domain/definition/access-control-list.model.mjs +8 -0
  299. package/esm2022/lib/shared/domain/definition/banner.model.mjs +8 -0
  300. package/esm2022/lib/shared/domain/definition/case-event.model.mjs +11 -0
  301. package/esm2022/lib/shared/domain/definition/case-field.model.mjs +216 -0
  302. package/esm2022/lib/shared/domain/definition/case-state.model.mjs +7 -0
  303. package/esm2022/lib/shared/domain/definition/case-type-lite.model.mjs +10 -0
  304. package/esm2022/lib/shared/domain/definition/case-type.model.mjs +20 -0
  305. package/esm2022/lib/shared/domain/definition/event-case-field.model.mjs +6 -0
  306. package/esm2022/lib/shared/domain/definition/field-type.model.mjs +30 -0
  307. package/esm2022/lib/shared/domain/definition/fixed-list-item.model.mjs +6 -0
  308. package/esm2022/lib/shared/domain/definition/jurisdiction.model.mjs +8 -0
  309. package/esm2022/lib/shared/domain/document/document-data.model.mjs +27 -0
  310. package/esm2022/lib/shared/domain/draft.model.mjs +16 -0
  311. package/esm2022/lib/shared/domain/http/http-error.model.mjs +43 -0
  312. package/esm2022/lib/shared/domain/organisation/organisation-converter.mjs +42 -0
  313. package/esm2022/lib/shared/domain/pagination-metadata.model.mjs +5 -0
  314. package/esm2022/lib/shared/domain/profile/profile.model.mjs +33 -0
  315. package/esm2022/lib/shared/domain/search/field.model.mjs +17 -0
  316. package/esm2022/lib/shared/domain/search/search-result-view-column.model.mjs +9 -0
  317. package/esm2022/lib/shared/domain/search/search-result-view-item.model.mjs +18 -0
  318. package/esm2022/lib/shared/domain/search/search-result-view.model.mjs +26 -0
  319. package/esm2022/lib/shared/domain/search/sorting/sort-parameters.mjs +9 -0
  320. package/esm2022/lib/shared/domain/workbasket/workbasket-input.model.mjs +11 -0
  321. package/esm2022/lib/shared/fixture/case-field-builder.mjs +67 -0
  322. package/esm2022/lib/shared/pipes/case-reference/case-reference.pipe.mjs +33 -0
  323. package/esm2022/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +31 -0
  324. package/esm2022/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +32 -0
  325. package/esm2022/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +27 -0
  326. package/esm2022/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +39 -0
  327. package/esm2022/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +173 -0
  328. package/esm2022/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +31 -0
  329. package/esm2022/lib/shared/pipes/complex/fields-filter.pipe.mjs +105 -0
  330. package/esm2022/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +16 -0
  331. package/esm2022/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +28 -0
  332. package/esm2022/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +28 -0
  333. package/esm2022/lib/shared/pipes/pipes.module.mjs +64 -0
  334. package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +24 -0
  335. package/esm2022/lib/shared/services/activity/activity.polling.service.mjs +122 -0
  336. package/esm2022/lib/shared/services/activity/activity.service.mjs +85 -0
  337. package/esm2022/lib/shared/services/addresses/addresses.service.mjs +65 -0
  338. package/esm2022/lib/shared/services/alert/alert.service.mjs +157 -0
  339. package/esm2022/lib/shared/services/auth/auth.service.mjs +35 -0
  340. package/esm2022/lib/shared/services/banners/banners.service.mjs +35 -0
  341. package/esm2022/lib/shared/services/browser/browser.service.mjs +24 -0
  342. package/esm2022/lib/shared/services/case-fields/case-field.service.mjs +34 -0
  343. package/esm2022/lib/shared/services/case-fields/format-translator.service.mjs +242 -0
  344. package/esm2022/lib/shared/services/case-file-view/case-file-view.service.mjs +48 -0
  345. package/esm2022/lib/shared/services/case-flag/case-flag-refdata.service.mjs +104 -0
  346. package/esm2022/lib/shared/services/common-data-service/common-data-service.mjs +29 -0
  347. package/esm2022/lib/shared/services/definitions/definitions.module.mjs +19 -0
  348. package/esm2022/lib/shared/services/definitions/definitions.service.mjs +32 -0
  349. package/esm2022/lib/shared/services/document-management/document-management.service.mjs +114 -0
  350. package/esm2022/lib/shared/services/draft/draft.service.mjs +89 -0
  351. package/esm2022/lib/shared/services/error/error-notifier.service.mjs +16 -0
  352. package/esm2022/lib/shared/services/eventStatusService/event-status.service.mjs +21 -0
  353. package/esm2022/lib/shared/services/fields/fields.purger.mjs +304 -0
  354. package/esm2022/lib/shared/services/fields/fields.utils.mjs +615 -0
  355. package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +91 -0
  356. package/esm2022/lib/shared/services/form/form-error.service.mjs +46 -0
  357. package/esm2022/lib/shared/services/form/form-validators.service.mjs +56 -0
  358. package/esm2022/lib/shared/services/form/form-value.service.mjs +552 -0
  359. package/esm2022/lib/shared/services/http/http-error.service.mjs +67 -0
  360. package/esm2022/lib/shared/services/http/http.service.mjs +95 -0
  361. package/esm2022/lib/shared/services/jurisdiction/jurisdiction.service.mjs +36 -0
  362. package/esm2022/lib/shared/services/loading/loading.module.mjs +22 -0
  363. package/esm2022/lib/shared/services/loading/loading.service.mjs +35 -0
  364. package/esm2022/lib/shared/services/navigation/navigation-notifier.service.mjs +16 -0
  365. package/esm2022/lib/shared/services/order/order.service.mjs +37 -0
  366. package/esm2022/lib/shared/services/organisation/organisation.service.mjs +57 -0
  367. package/esm2022/lib/shared/services/profile/profile.notifier.mjs +17 -0
  368. package/esm2022/lib/shared/services/profile/profile.service.mjs +36 -0
  369. package/esm2022/lib/shared/services/request/request.options.builder.mjs +61 -0
  370. package/esm2022/lib/shared/services/router/router-helper.service.mjs +20 -0
  371. package/esm2022/lib/shared/services/search/search.service.mjs +96 -0
  372. package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +71 -0
  373. package/esm2022/lib/shared/services/session/session-storage.service.mjs +34 -0
  374. package/esm2022/lib/shared/services/utils/retry/retry.service.mjs +87 -0
  375. package/esm2022/lib/shared/services/window/window.service.mjs +40 -0
  376. package/esm2022/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +57 -0
  377. package/esm2022/lib/shared/test/test-route-snapshot-builder.mjs +38 -0
  378. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +36099 -0
  379. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
  380. package/lib/shared/components/case-editor/case-editor.module.d.ts +0 -25
  381. package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
  382. package/lib/shared/components/case-header/case-header.module.d.ts +0 -8
  383. package/lib/shared/components/case-header/case-header.module.d.ts.map +1 -1
  384. package/lib/shared/components/case-history/case-history.module.d.ts +0 -12
  385. package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -1
  386. package/lib/shared/components/case-list/case-list.module.d.ts +0 -11
  387. package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -1
  388. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +0 -11
  389. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -1
  390. package/lib/shared/components/case-timeline/case-timeline.module.d.ts +0 -11
  391. package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -1
  392. package/lib/shared/components/case-viewer/case-viewer.module.d.ts +0 -36
  393. package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
  394. package/lib/shared/components/pagination/pagination.module.d.ts +0 -8
  395. package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
  396. package/lib/shared/components/palette/address/write-address-field.component.d.ts +1 -2
  397. package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -1
  398. package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +0 -1
  399. package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
  400. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -2
  401. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
  402. package/lib/shared/components/palette/complex/write-complex-field.component.d.ts +1 -2
  403. package/lib/shared/components/palette/complex/write-complex-field.component.d.ts.map +1 -1
  404. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +0 -10
  405. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -1
  406. package/lib/shared/components/palette/palette.module.d.ts +0 -148
  407. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  408. package/lib/shared/components/search-filters/search-filters.module.d.ts +0 -11
  409. package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
  410. package/lib/shared/components/search-result/search-result.module.d.ts +0 -15
  411. package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
  412. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +0 -10
  413. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
  414. package/package.json +5 -11
  415. package/esm2020/lib/app.config.mjs +0 -45
  416. package/esm2020/lib/components/banners/alert/alert-icon-class.pipe.mjs +0 -25
  417. package/esm2020/lib/components/banners/alert/alert.component.mjs +0 -95
  418. package/esm2020/lib/components/banners/alert/alert.module.mjs +0 -32
  419. package/esm2020/lib/components/banners/banners.module.mjs +0 -32
  420. package/esm2020/lib/components/banners/notification-banner/notification-banner.component.mjs +0 -120
  421. package/esm2020/lib/components/banners/notification-banner/notification-banner.module.mjs +0 -19
  422. package/esm2020/lib/components/body/body.component.mjs +0 -20
  423. package/esm2020/lib/components/body/body.module.mjs +0 -20
  424. package/esm2020/lib/components/footer/footer.component.mjs +0 -105
  425. package/esm2020/lib/components/footer/footers.module.mjs +0 -25
  426. package/esm2020/lib/components/form/date-input/date-input.component.mjs +0 -331
  427. package/esm2020/lib/components/form/form.module.mjs +0 -29
  428. package/esm2020/lib/components/header/header-bar/header-bar.component.mjs +0 -97
  429. package/esm2020/lib/components/header/headers.module.mjs +0 -25
  430. package/esm2020/lib/components/header/navigation/navigation-item.component.mjs +0 -41
  431. package/esm2020/lib/components/header/navigation/navigation.component.mjs +0 -24
  432. package/esm2020/lib/components/header/phase/phase.component.mjs +0 -45
  433. package/esm2020/lib/components/tabs/tab.component.mjs +0 -28
  434. package/esm2020/lib/components/tabs/tabs.component.mjs +0 -79
  435. package/esm2020/lib/components/tabs/tabs.module.mjs +0 -38
  436. package/esm2020/lib/shared/commons/address-validation-constants.mjs +0 -13
  437. package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +0 -19
  438. package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +0 -47
  439. package/esm2020/lib/shared/commons/constants.mjs +0 -13
  440. package/esm2020/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +0 -39
  441. package/esm2020/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +0 -33
  442. package/esm2020/lib/shared/components/activity/activity.component.mjs +0 -151
  443. package/esm2020/lib/shared/components/activity/activity.module.mjs +0 -55
  444. package/esm2020/lib/shared/components/case-editor/case-access-utils/index.mjs +0 -105
  445. package/esm2020/lib/shared/components/case-editor/case-create/case-create.component.mjs +0 -87
  446. package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +0 -432
  447. package/esm2020/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +0 -125
  448. package/esm2020/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +0 -135
  449. package/esm2020/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +0 -69
  450. package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +0 -751
  451. package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +0 -542
  452. package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +0 -213
  453. package/esm2020/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +0 -86
  454. package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +0 -80
  455. package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +0 -153
  456. package/esm2020/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +0 -77
  457. package/esm2020/lib/shared/components/case-editor/domain/confirmation.model.mjs +0 -21
  458. package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +0 -4
  459. package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +0 -3
  460. package/esm2020/lib/shared/components/case-editor/domain/wizard-page.model.mjs +0 -26
  461. package/esm2020/lib/shared/components/case-editor/domain/wizard.model.mjs +0 -54
  462. package/esm2020/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +0 -93
  463. package/esm2020/lib/shared/components/case-editor/services/case-flag-state.service.mjs +0 -19
  464. package/esm2020/lib/shared/components/case-editor/services/case-worker.service.mjs +0 -32
  465. package/esm2020/lib/shared/components/case-editor/services/case.notifier.mjs +0 -51
  466. package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +0 -294
  467. package/esm2020/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +0 -41
  468. package/esm2020/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +0 -143
  469. package/esm2020/lib/shared/components/case-editor/services/event-trigger.service.mjs +0 -20
  470. package/esm2020/lib/shared/components/case-editor/services/judicial-worker.service.mjs +0 -32
  471. package/esm2020/lib/shared/components/case-editor/services/page-validation.service.mjs +0 -53
  472. package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +0 -39
  473. package/esm2020/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +0 -117
  474. package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +0 -209
  475. package/esm2020/lib/shared/components/case-header/case-header.component.mjs +0 -61
  476. package/esm2020/lib/shared/components/case-header/case-header.module.mjs +0 -33
  477. package/esm2020/lib/shared/components/case-history/case-history.component.mjs +0 -242
  478. package/esm2020/lib/shared/components/case-history/case-history.module.mjs +0 -64
  479. package/esm2020/lib/shared/components/case-history/domain/case-history.model.mjs +0 -29
  480. package/esm2020/lib/shared/components/case-history/services/case-history.service.mjs +0 -40
  481. package/esm2020/lib/shared/components/case-list/case-list.component.mjs +0 -362
  482. package/esm2020/lib/shared/components/case-list/case-list.module.mjs +0 -47
  483. package/esm2020/lib/shared/components/case-list-filters/case-list-filters.component.mjs +0 -52
  484. package/esm2020/lib/shared/components/case-list-filters/case-list-filters.module.mjs +0 -64
  485. package/esm2020/lib/shared/components/case-timeline/case-timeline.component.mjs +0 -109
  486. package/esm2020/lib/shared/components/case-timeline/case-timeline.module.mjs +0 -52
  487. package/esm2020/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +0 -247
  488. package/esm2020/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +0 -298
  489. package/esm2020/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +0 -72
  490. package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +0 -141
  491. package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +0 -681
  492. package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +0 -58
  493. package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +0 -241
  494. package/esm2020/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +0 -199
  495. package/esm2020/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +0 -47
  496. package/esm2020/lib/shared/components/case-viewer/case-view/case-view.component.mjs +0 -98
  497. package/esm2020/lib/shared/components/case-viewer/case-viewer.component.mjs +0 -128
  498. package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +0 -191
  499. package/esm2020/lib/shared/components/case-viewer/printer/case-printer.component.mjs +0 -110
  500. package/esm2020/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +0 -60
  501. package/esm2020/lib/shared/components/case-viewer/services/case.resolver.mjs +0 -131
  502. package/esm2020/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +0 -64
  503. package/esm2020/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +0 -8
  504. package/esm2020/lib/shared/components/create-case-filters/create-case-filters.component.mjs +0 -275
  505. package/esm2020/lib/shared/components/create-case-filters/create-case-filters.module.mjs +0 -44
  506. package/esm2020/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +0 -57
  507. package/esm2020/lib/shared/components/dialogs/dialogs.module.mjs +0 -51
  508. package/esm2020/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +0 -59
  509. package/esm2020/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +0 -57
  510. package/esm2020/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +0 -61
  511. package/esm2020/lib/shared/components/error/callback-errors.component.mjs +0 -148
  512. package/esm2020/lib/shared/components/error/domain/error-context.mjs +0 -3
  513. package/esm2020/lib/shared/components/error/errors.module.mjs +0 -33
  514. package/esm2020/lib/shared/components/error-message/error-message.component.mjs +0 -43
  515. package/esm2020/lib/shared/components/error-message/error-message.module.mjs +0 -41
  516. package/esm2020/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +0 -59
  517. package/esm2020/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +0 -53
  518. package/esm2020/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +0 -104
  519. package/esm2020/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +0 -68
  520. package/esm2020/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +0 -58
  521. package/esm2020/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +0 -53
  522. package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +0 -94
  523. package/esm2020/lib/shared/components/event-start/event-start.component.mjs +0 -49
  524. package/esm2020/lib/shared/components/event-start/event-start.module.mjs +0 -71
  525. package/esm2020/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +0 -29
  526. package/esm2020/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +0 -168
  527. package/esm2020/lib/shared/components/event-trigger/event-trigger.component.mjs +0 -111
  528. package/esm2020/lib/shared/components/event-trigger/event-trigger.module.mjs +0 -37
  529. package/esm2020/lib/shared/components/loading-spinner/loading-spinner.component.mjs +0 -27
  530. package/esm2020/lib/shared/components/loading-spinner/loading-spinner.module.mjs +0 -29
  531. package/esm2020/lib/shared/components/pagination/pagination.component.mjs +0 -262
  532. package/esm2020/lib/shared/components/pagination/pagination.module.mjs +0 -35
  533. package/esm2020/lib/shared/components/palette/address/address-option.model.mjs +0 -21
  534. package/esm2020/lib/shared/components/palette/address/write-address-field.component.mjs +0 -282
  535. package/esm2020/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +0 -31
  536. package/esm2020/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +0 -44
  537. package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +0 -83
  538. package/esm2020/lib/shared/components/palette/base-field/field-read-label.component.mjs +0 -86
  539. package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +0 -85
  540. package/esm2020/lib/shared/components/palette/base-field/field-write.component.mjs +0 -74
  541. package/esm2020/lib/shared/components/palette/base-field/payment-field.component.mjs +0 -35
  542. package/esm2020/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +0 -171
  543. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +0 -48
  544. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +0 -48
  545. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +0 -340
  546. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +0 -153
  547. package/esm2020/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +0 -94
  548. package/esm2020/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +0 -190
  549. package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +0 -288
  550. package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +0 -207
  551. package/esm2020/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +0 -165
  552. package/esm2020/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +0 -219
  553. package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +0 -306
  554. package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +0 -200
  555. package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +0 -343
  556. package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +0 -267
  557. package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +0 -510
  558. package/esm2020/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +0 -41
  559. package/esm2020/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +0 -41
  560. package/esm2020/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +0 -109
  561. package/esm2020/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +0 -77
  562. package/esm2020/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +0 -246
  563. package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +0 -686
  564. package/esm2020/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +0 -32
  565. package/esm2020/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +0 -122
  566. package/esm2020/lib/shared/components/palette/collection/collection-create-checker.service.mjs +0 -42
  567. package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +0 -81
  568. package/esm2020/lib/shared/components/palette/collection/write-collection-field.component.mjs +0 -443
  569. package/esm2020/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +0 -379
  570. package/esm2020/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +0 -53
  571. package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +0 -78
  572. package/esm2020/lib/shared/components/palette/complex/read-complex-field.component.mjs +0 -73
  573. package/esm2020/lib/shared/components/palette/complex/write-complex-field.component.mjs +0 -171
  574. package/esm2020/lib/shared/components/palette/date/read-date-field.component.mjs +0 -28
  575. package/esm2020/lib/shared/components/palette/date/write-date-container-field.component.mjs +0 -33
  576. package/esm2020/lib/shared/components/palette/date/write-date-field.component.mjs +0 -76
  577. package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +0 -309
  578. package/esm2020/lib/shared/components/palette/document/document-url.pipe.mjs +0 -24
  579. package/esm2020/lib/shared/components/palette/document/file-upload-progress.guard.mjs +0 -29
  580. package/esm2020/lib/shared/components/palette/document/file-upload-state.service.mjs +0 -16
  581. package/esm2020/lib/shared/components/palette/document/read-document-field.component.mjs +0 -81
  582. package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +0 -383
  583. package/esm2020/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +0 -18
  584. package/esm2020/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +0 -36
  585. package/esm2020/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +0 -124
  586. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +0 -43
  587. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +0 -145
  588. package/esm2020/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +0 -25
  589. package/esm2020/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +0 -42
  590. package/esm2020/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +0 -124
  591. package/esm2020/lib/shared/components/palette/email/read-email-field.component.mjs +0 -35
  592. package/esm2020/lib/shared/components/palette/email/write-email-field.component.mjs +0 -73
  593. package/esm2020/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +0 -23
  594. package/esm2020/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +0 -26
  595. package/esm2020/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +0 -106
  596. package/esm2020/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +0 -18
  597. package/esm2020/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +0 -26
  598. package/esm2020/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +0 -95
  599. package/esm2020/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +0 -16
  600. package/esm2020/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +0 -97
  601. package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +0 -225
  602. package/esm2020/lib/shared/components/palette/history/event-log/event-log.component.mjs +0 -72
  603. package/esm2020/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +0 -45
  604. package/esm2020/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +0 -242
  605. package/esm2020/lib/shared/components/palette/label/label-field.component.mjs +0 -50
  606. package/esm2020/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +0 -108
  607. package/esm2020/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +0 -189
  608. package/esm2020/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +0 -530
  609. package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +0 -204
  610. package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +0 -280
  611. package/esm2020/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +0 -66
  612. package/esm2020/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +0 -201
  613. package/esm2020/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +0 -22
  614. package/esm2020/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +0 -163
  615. package/esm2020/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +0 -132
  616. package/esm2020/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +0 -27
  617. package/esm2020/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +0 -229
  618. package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +0 -40
  619. package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +0 -43
  620. package/esm2020/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +0 -123
  621. package/esm2020/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +0 -47
  622. package/esm2020/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +0 -78
  623. package/esm2020/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +0 -45
  624. package/esm2020/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +0 -126
  625. package/esm2020/lib/shared/components/palette/number/read-number-field.component.mjs +0 -24
  626. package/esm2020/lib/shared/components/palette/number/write-number-field.component.mjs +0 -73
  627. package/esm2020/lib/shared/components/palette/order-summary/fee-value.model.mjs +0 -3
  628. package/esm2020/lib/shared/components/palette/order-summary/fee.model.mjs +0 -4
  629. package/esm2020/lib/shared/components/palette/order-summary/order-summary.model.mjs +0 -3
  630. package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +0 -73
  631. package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +0 -43
  632. package/esm2020/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +0 -44
  633. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +0 -83
  634. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +0 -87
  635. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +0 -56
  636. package/esm2020/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +0 -33
  637. package/esm2020/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +0 -384
  638. package/esm2020/lib/shared/components/palette/palette.module.mjs +0 -738
  639. package/esm2020/lib/shared/components/palette/palette.service.mjs +0 -155
  640. package/esm2020/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +0 -24
  641. package/esm2020/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +0 -22
  642. package/esm2020/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +0 -73
  643. package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +0 -42
  644. package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +0 -144
  645. package/esm2020/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +0 -64
  646. package/esm2020/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +0 -60
  647. package/esm2020/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +0 -281
  648. package/esm2020/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +0 -327
  649. package/esm2020/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +0 -22
  650. package/esm2020/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +0 -164
  651. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +0 -74
  652. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +0 -107
  653. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +0 -201
  654. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +0 -101
  655. package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +0 -21
  656. package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +0 -38
  657. package/esm2020/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +0 -121
  658. package/esm2020/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +0 -22
  659. package/esm2020/lib/shared/components/palette/text/read-text-field.component.mjs +0 -24
  660. package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +0 -77
  661. package/esm2020/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +0 -24
  662. package/esm2020/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +0 -87
  663. package/esm2020/lib/shared/components/palette/unsupported-field.component.mjs +0 -17
  664. package/esm2020/lib/shared/components/palette/utils/dash.pipe.mjs +0 -16
  665. package/esm2020/lib/shared/components/palette/utils/date.pipe.mjs +0 -132
  666. package/esm2020/lib/shared/components/palette/utils/field-label.pipe.mjs +0 -29
  667. package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +0 -59
  668. package/esm2020/lib/shared/components/palette/utils/is-compound.pipe.mjs +0 -43
  669. package/esm2020/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +0 -21
  670. package/esm2020/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +0 -31
  671. package/esm2020/lib/shared/components/palette/utils/is-read-only.pipe.mjs +0 -21
  672. package/esm2020/lib/shared/components/palette/utils/utils.module.mjs +0 -71
  673. package/esm2020/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +0 -34
  674. package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +0 -34
  675. package/esm2020/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +0 -100
  676. package/esm2020/lib/shared/components/palette/yes-no/yes-no.service.mjs +0 -50
  677. package/esm2020/lib/shared/components/search-filters/domain/search-input.model.mjs +0 -10
  678. package/esm2020/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +0 -58
  679. package/esm2020/lib/shared/components/search-filters/search-filters.component.mjs +0 -326
  680. package/esm2020/lib/shared/components/search-filters/search-filters.module.mjs +0 -71
  681. package/esm2020/lib/shared/components/search-result/search-result.component.mjs +0 -815
  682. package/esm2020/lib/shared/components/search-result/search-result.module.mjs +0 -82
  683. package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +0 -479
  684. package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +0 -67
  685. package/esm2020/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +0 -164
  686. package/esm2020/lib/shared/directives/conditional-show/conditional-show.module.mjs +0 -33
  687. package/esm2020/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +0 -200
  688. package/esm2020/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +0 -19
  689. package/esm2020/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +0 -47
  690. package/esm2020/lib/shared/directives/focus-element/focus-element.directive.mjs +0 -36
  691. package/esm2020/lib/shared/directives/focus-element/focus-element.module.mjs +0 -21
  692. package/esm2020/lib/shared/directives/substitutor/label-substitutor.directive.mjs +0 -82
  693. package/esm2020/lib/shared/directives/substitutor/label-substitutor.module.mjs +0 -30
  694. package/esm2020/lib/shared/directives/substitutor/services/placeholder.service.mjs +0 -200
  695. package/esm2020/lib/shared/domain/activity/activity.model.mjs +0 -10
  696. package/esm2020/lib/shared/domain/addresses/address.model.mjs +0 -13
  697. package/esm2020/lib/shared/domain/alert/alert.model.mjs +0 -3
  698. package/esm2020/lib/shared/domain/case-details.model.mjs +0 -4
  699. package/esm2020/lib/shared/domain/case-event-data.model.mjs +0 -4
  700. package/esm2020/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +0 -3
  701. package/esm2020/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +0 -4
  702. package/esm2020/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +0 -7
  703. package/esm2020/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +0 -117
  704. package/esm2020/lib/shared/domain/case-flag/flag-type.model.mjs +0 -28
  705. package/esm2020/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +0 -10
  706. package/esm2020/lib/shared/domain/case-view/case-event-trigger.model.mjs +0 -23
  707. package/esm2020/lib/shared/domain/case-view/case-print-document.model.mjs +0 -3
  708. package/esm2020/lib/shared/domain/case-view/case-tab.model.mjs +0 -12
  709. package/esm2020/lib/shared/domain/case-view/case-view-event.model.mjs +0 -4
  710. package/esm2020/lib/shared/domain/case-view/case-view-trigger.model.mjs +0 -3
  711. package/esm2020/lib/shared/domain/case-view/case-view.model.mjs +0 -17
  712. package/esm2020/lib/shared/domain/definition/access-control-list.model.mjs +0 -3
  713. package/esm2020/lib/shared/domain/definition/banner.model.mjs +0 -3
  714. package/esm2020/lib/shared/domain/definition/case-event.model.mjs +0 -3
  715. package/esm2020/lib/shared/domain/definition/case-field.model.mjs +0 -198
  716. package/esm2020/lib/shared/domain/definition/case-state.model.mjs +0 -3
  717. package/esm2020/lib/shared/domain/definition/case-type-lite.model.mjs +0 -5
  718. package/esm2020/lib/shared/domain/definition/case-type.model.mjs +0 -12
  719. package/esm2020/lib/shared/domain/definition/event-case-field.model.mjs +0 -4
  720. package/esm2020/lib/shared/domain/definition/field-type.model.mjs +0 -22
  721. package/esm2020/lib/shared/domain/definition/fixed-list-item.model.mjs +0 -3
  722. package/esm2020/lib/shared/domain/definition/jurisdiction.model.mjs +0 -3
  723. package/esm2020/lib/shared/domain/document/document-data.model.mjs +0 -14
  724. package/esm2020/lib/shared/domain/draft.model.mjs +0 -11
  725. package/esm2020/lib/shared/domain/http/http-error.model.mjs +0 -34
  726. package/esm2020/lib/shared/domain/organisation/organisation-converter.mjs +0 -42
  727. package/esm2020/lib/shared/domain/pagination-metadata.model.mjs +0 -3
  728. package/esm2020/lib/shared/domain/profile/profile.model.mjs +0 -29
  729. package/esm2020/lib/shared/domain/search/field.model.mjs +0 -11
  730. package/esm2020/lib/shared/domain/search/search-result-view-column.model.mjs +0 -3
  731. package/esm2020/lib/shared/domain/search/search-result-view-item.model.mjs +0 -12
  732. package/esm2020/lib/shared/domain/search/search-result-view.model.mjs +0 -23
  733. package/esm2020/lib/shared/domain/search/sorting/sort-parameters.mjs +0 -7
  734. package/esm2020/lib/shared/domain/workbasket/workbasket-input.model.mjs +0 -5
  735. package/esm2020/lib/shared/fixture/case-field-builder.mjs +0 -69
  736. package/esm2020/lib/shared/pipes/case-reference/case-reference.pipe.mjs +0 -33
  737. package/esm2020/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +0 -29
  738. package/esm2020/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +0 -32
  739. package/esm2020/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +0 -29
  740. package/esm2020/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +0 -39
  741. package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +0 -173
  742. package/esm2020/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +0 -31
  743. package/esm2020/lib/shared/pipes/complex/fields-filter.pipe.mjs +0 -105
  744. package/esm2020/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +0 -16
  745. package/esm2020/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +0 -27
  746. package/esm2020/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +0 -27
  747. package/esm2020/lib/shared/pipes/pipes.module.mjs +0 -64
  748. package/esm2020/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +0 -24
  749. package/esm2020/lib/shared/services/activity/activity.polling.service.mjs +0 -114
  750. package/esm2020/lib/shared/services/activity/activity.service.mjs +0 -82
  751. package/esm2020/lib/shared/services/addresses/addresses.service.mjs +0 -63
  752. package/esm2020/lib/shared/services/alert/alert.service.mjs +0 -142
  753. package/esm2020/lib/shared/services/auth/auth.service.mjs +0 -33
  754. package/esm2020/lib/shared/services/banners/banners.service.mjs +0 -33
  755. package/esm2020/lib/shared/services/browser/browser.service.mjs +0 -24
  756. package/esm2020/lib/shared/services/case-fields/case-field.service.mjs +0 -34
  757. package/esm2020/lib/shared/services/case-fields/format-translator.service.mjs +0 -242
  758. package/esm2020/lib/shared/services/case-file-view/case-file-view.service.mjs +0 -46
  759. package/esm2020/lib/shared/services/case-flag/case-flag-refdata.service.mjs +0 -102
  760. package/esm2020/lib/shared/services/common-data-service/common-data-service.mjs +0 -28
  761. package/esm2020/lib/shared/services/definitions/definitions.module.mjs +0 -19
  762. package/esm2020/lib/shared/services/definitions/definitions.service.mjs +0 -30
  763. package/esm2020/lib/shared/services/document-management/document-management.service.mjs +0 -112
  764. package/esm2020/lib/shared/services/draft/draft.service.mjs +0 -86
  765. package/esm2020/lib/shared/services/error/error-notifier.service.mjs +0 -18
  766. package/esm2020/lib/shared/services/eventStatusService/event-status.service.mjs +0 -21
  767. package/esm2020/lib/shared/services/fields/fields.purger.mjs +0 -303
  768. package/esm2020/lib/shared/services/fields/fields.utils.mjs +0 -615
  769. package/esm2020/lib/shared/services/form/field-type-sanitiser.mjs +0 -91
  770. package/esm2020/lib/shared/services/form/form-error.service.mjs +0 -46
  771. package/esm2020/lib/shared/services/form/form-validators.service.mjs +0 -56
  772. package/esm2020/lib/shared/services/form/form-value.service.mjs +0 -551
  773. package/esm2020/lib/shared/services/http/http-error.service.mjs +0 -65
  774. package/esm2020/lib/shared/services/http/http.service.mjs +0 -93
  775. package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +0 -34
  776. package/esm2020/lib/shared/services/loading/loading.module.mjs +0 -22
  777. package/esm2020/lib/shared/services/loading/loading.service.mjs +0 -37
  778. package/esm2020/lib/shared/services/navigation/navigation-notifier.service.mjs +0 -18
  779. package/esm2020/lib/shared/services/order/order.service.mjs +0 -39
  780. package/esm2020/lib/shared/services/organisation/organisation.service.mjs +0 -54
  781. package/esm2020/lib/shared/services/profile/profile.notifier.mjs +0 -19
  782. package/esm2020/lib/shared/services/profile/profile.service.mjs +0 -34
  783. package/esm2020/lib/shared/services/request/request.options.builder.mjs +0 -61
  784. package/esm2020/lib/shared/services/router/router-helper.service.mjs +0 -20
  785. package/esm2020/lib/shared/services/search/search.service.mjs +0 -89
  786. package/esm2020/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +0 -71
  787. package/esm2020/lib/shared/services/session/session-storage.service.mjs +0 -34
  788. package/esm2020/lib/shared/services/utils/retry/retry.service.mjs +0 -86
  789. package/esm2020/lib/shared/services/window/window.service.mjs +0 -40
  790. package/esm2020/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +0 -53
  791. package/esm2020/lib/shared/test/test-route-snapshot-builder.mjs +0 -40
  792. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +0 -38542
  793. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
  794. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +0 -35578
  795. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
  796. /package/{esm2020 → esm2022}/hmcts-ccd-case-ui-toolkit.mjs +0 -0
  797. /package/{esm2020 → esm2022}/lib/components/banners/alert/index.mjs +0 -0
  798. /package/{esm2020 → esm2022}/lib/components/banners/index.mjs +0 -0
  799. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/domain/index.mjs +0 -0
  800. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/domain/notification-banner-config.model.mjs +0 -0
  801. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/enums/index.mjs +0 -0
  802. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/enums/notification-banner-style.enum.mjs +0 -0
  803. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/enums/notification-banner-type.enum.mjs +0 -0
  804. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/index.mjs +0 -0
  805. /package/{esm2020 → esm2022}/lib/components/body/index.mjs +0 -0
  806. /package/{esm2020 → esm2022}/lib/components/footer/index.mjs +0 -0
  807. /package/{esm2020 → esm2022}/lib/components/form/date-input/index.mjs +0 -0
  808. /package/{esm2020 → esm2022}/lib/components/form/index.mjs +0 -0
  809. /package/{esm2020 → esm2022}/lib/components/header/header-bar/index.mjs +0 -0
  810. /package/{esm2020 → esm2022}/lib/components/header/index.mjs +0 -0
  811. /package/{esm2020 → esm2022}/lib/components/header/navigation/index.mjs +0 -0
  812. /package/{esm2020 → esm2022}/lib/components/header/phase/index.mjs +0 -0
  813. /package/{esm2020 → esm2022}/lib/components/index.mjs +0 -0
  814. /package/{esm2020 → esm2022}/lib/components/tabs/index.mjs +0 -0
  815. /package/{esm2020 → esm2022}/lib/shared/commons/case-edit-data/case-edit-validation.model.mjs +0 -0
  816. /package/{esm2020 → esm2022}/lib/shared/commons/case-edit-data/index.mjs +0 -0
  817. /package/{esm2020 → esm2022}/lib/shared/components/activity/activity-banner/index.mjs +0 -0
  818. /package/{esm2020 → esm2022}/lib/shared/components/activity/activity-icon/index.mjs +0 -0
  819. /package/{esm2020 → esm2022}/lib/shared/components/activity/index.mjs +0 -0
  820. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-create/index.mjs +0 -0
  821. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit/index.mjs +0 -0
  822. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-confirm/index.mjs +0 -0
  823. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-form/index.mjs +0 -0
  824. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-page/index.mjs +0 -0
  825. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.mjs +0 -0
  826. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-submit/index.mjs +0 -0
  827. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-event-completion/index.mjs +0 -0
  828. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-progress/index.mjs +0 -0
  829. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-params.model.mjs +0 -0
  830. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-portal-types.model.mjs +0 -0
  831. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.mjs +0 -0
  832. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.mjs +0 -0
  833. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-states.enum.model.mjs +0 -0
  834. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/index.mjs +0 -0
  835. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/editor.routing.mjs +0 -0
  836. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/index.mjs +0 -0
  837. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/services/index.mjs +0 -0
  838. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/services/wizard-factory.service.mjs +0 -0
  839. /package/{esm2020 → esm2022}/lib/shared/components/case-header/index.mjs +0 -0
  840. /package/{esm2020 → esm2022}/lib/shared/components/case-history/index.mjs +0 -0
  841. /package/{esm2020 → esm2022}/lib/shared/components/case-list/index.mjs +0 -0
  842. /package/{esm2020 → esm2022}/lib/shared/components/case-list-filters/index.mjs +0 -0
  843. /package/{esm2020 → esm2022}/lib/shared/components/case-timeline/index.mjs +0 -0
  844. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-basic-access-view/index.mjs +0 -0
  845. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-request/index.mjs +0 -0
  846. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.mjs +0 -0
  847. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-request/models/index.mjs +0 -0
  848. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-success/index.mjs +0 -0
  849. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-event-trigger/index.mjs +0 -0
  850. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-full-access-view/index.mjs +0 -0
  851. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-reject/index.mjs +0 -0
  852. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-request/index.mjs +0 -0
  853. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.mjs +0 -0
  854. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.mjs +0 -0
  855. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-request/index.mjs +0 -0
  856. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.mjs +0 -0
  857. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-request/models/index.mjs +0 -0
  858. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-success/index.mjs +0 -0
  859. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-view/index.mjs +0 -0
  860. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/index.mjs +0 -0
  861. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/printer/index.mjs +0 -0
  862. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/printer/pipes/index.mjs +0 -0
  863. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/services/index.mjs +0 -0
  864. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/viewer.routing.mjs +0 -0
  865. /package/{esm2020 → esm2022}/lib/shared/components/create-case-filters/index.mjs +0 -0
  866. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/delete-or-cancel-dialog/index.mjs +0 -0
  867. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/document-dialog/index.mjs +0 -0
  868. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/index.mjs +0 -0
  869. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/remove-dialog/index.mjs +0 -0
  870. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/save-or-discard-dialog/index.mjs +0 -0
  871. /package/{esm2020 → esm2022}/lib/shared/components/error/domain/index.mjs +0 -0
  872. /package/{esm2020 → esm2022}/lib/shared/components/error/index.mjs +0 -0
  873. /package/{esm2020 → esm2022}/lib/shared/components/error-message/index.mjs +0 -0
  874. /package/{esm2020 → esm2022}/lib/shared/components/event-start/index.mjs +0 -0
  875. /package/{esm2020 → esm2022}/lib/shared/components/event-start/models/event-start-state-machine-context.model.mjs +0 -0
  876. /package/{esm2020 → esm2022}/lib/shared/components/event-start/models/event-start-states-enum.model.mjs +0 -0
  877. /package/{esm2020 → esm2022}/lib/shared/components/event-start/models/index.mjs +0 -0
  878. /package/{esm2020 → esm2022}/lib/shared/components/event-start/services/index.mjs +0 -0
  879. /package/{esm2020 → esm2022}/lib/shared/components/event-trigger/index.mjs +0 -0
  880. /package/{esm2020 → esm2022}/lib/shared/components/helpers/index.mjs +0 -0
  881. /package/{esm2020 → esm2022}/lib/shared/components/helpers/init-dialog-helper.mjs +0 -0
  882. /package/{esm2020 → esm2022}/lib/shared/components/index.mjs +0 -0
  883. /package/{esm2020 → esm2022}/lib/shared/components/loading-spinner/index.mjs +0 -0
  884. /package/{esm2020 → esm2022}/lib/shared/components/pagination/index.mjs +0 -0
  885. /package/{esm2020 → esm2022}/lib/shared/components/palette/address/index.mjs +0 -0
  886. /package/{esm2020 → esm2022}/lib/shared/components/palette/base-field/index.mjs +0 -0
  887. /package/{esm2020 → esm2022}/lib/shared/components/palette/base-field/palette-context.enum.mjs +0 -0
  888. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/components/index.mjs +0 -0
  889. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.mjs +0 -0
  890. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/components/shared/index.mjs +0 -0
  891. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/index.mjs +0 -0
  892. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.mjs +0 -0
  893. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/components/index.mjs +0 -0
  894. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.mjs +0 -0
  895. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/case-flag-state.model.mjs +0 -0
  896. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/case-flag.model.mjs +0 -0
  897. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/index.mjs +0 -0
  898. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/language.model.mjs +0 -0
  899. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.mjs +0 -0
  900. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.mjs +0 -0
  901. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.mjs +0 -0
  902. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.mjs +0 -0
  903. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.mjs +0 -0
  904. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.mjs +0 -0
  905. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-summary-list-display-mode.enum.mjs +0 -0
  906. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.mjs +0 -0
  907. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.mjs +0 -0
  908. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.mjs +0 -0
  909. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/index.mjs +0 -0
  910. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-error-message.enum.mjs +0 -0
  911. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-step.enum.mjs +0 -0
  912. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.mjs +0 -0
  913. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/select-flag-location-error-message.enum.mjs +0 -0
  914. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.mjs +0 -0
  915. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.mjs +0 -0
  916. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.mjs +0 -0
  917. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.mjs +0 -0
  918. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.mjs +0 -0
  919. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.mjs +0 -0
  920. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/index.mjs +0 -0
  921. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/pipes/index.mjs +0 -0
  922. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-link/index.mjs +0 -0
  923. /package/{esm2020 → esm2022}/lib/shared/components/palette/collection/index.mjs +0 -0
  924. /package/{esm2020 → esm2022}/lib/shared/components/palette/complex/index.mjs +0 -0
  925. /package/{esm2020 → esm2022}/lib/shared/components/palette/complex/sort-order.mjs +0 -0
  926. /package/{esm2020 → esm2022}/lib/shared/components/palette/date/index.mjs +0 -0
  927. /package/{esm2020 → esm2022}/lib/shared/components/palette/datetime-picker/datetime-picker-utils.mjs +0 -0
  928. /package/{esm2020 → esm2022}/lib/shared/components/palette/datetime-picker/index.mjs +0 -0
  929. /package/{esm2020 → esm2022}/lib/shared/components/palette/document/index.mjs +0 -0
  930. /package/{esm2020 → esm2022}/lib/shared/components/palette/dynamic-list/index.mjs +0 -0
  931. /package/{esm2020 → esm2022}/lib/shared/components/palette/dynamic-multi-select-list/index.mjs +0 -0
  932. /package/{esm2020 → esm2022}/lib/shared/components/palette/dynamic-radio-list/index.mjs +0 -0
  933. /package/{esm2020 → esm2022}/lib/shared/components/palette/email/index.mjs +0 -0
  934. /package/{esm2020 → esm2022}/lib/shared/components/palette/fixed-list/index.mjs +0 -0
  935. /package/{esm2020 → esm2022}/lib/shared/components/palette/fixed-radio-list/index.mjs +0 -0
  936. /package/{esm2020 → esm2022}/lib/shared/components/palette/history/event-log/index.mjs +0 -0
  937. /package/{esm2020 → esm2022}/lib/shared/components/palette/history/index.mjs +0 -0
  938. /package/{esm2020 → esm2022}/lib/shared/components/palette/index.mjs +0 -0
  939. /package/{esm2020 → esm2022}/lib/shared/components/palette/judicial-user/index.mjs +0 -0
  940. /package/{esm2020 → esm2022}/lib/shared/components/palette/label/index.mjs +0 -0
  941. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/components/index.mjs +0 -0
  942. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/domain/index.mjs +0 -0
  943. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.mjs +0 -0
  944. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/enums/index.mjs +0 -0
  945. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.mjs +0 -0
  946. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/index.mjs +0 -0
  947. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/services/index.mjs +0 -0
  948. /package/{esm2020 → esm2022}/lib/shared/components/palette/markdown/index.mjs +0 -0
  949. /package/{esm2020 → esm2022}/lib/shared/components/palette/money-gbp/index.mjs +0 -0
  950. /package/{esm2020 → esm2022}/lib/shared/components/palette/multi-select-list/index.mjs +0 -0
  951. /package/{esm2020 → esm2022}/lib/shared/components/palette/number/index.mjs +0 -0
  952. /package/{esm2020 → esm2022}/lib/shared/components/palette/order-summary/index.mjs +0 -0
  953. /package/{esm2020 → esm2022}/lib/shared/components/palette/organisation/index.mjs +0 -0
  954. /package/{esm2020 → esm2022}/lib/shared/components/palette/payment/index.mjs +0 -0
  955. /package/{esm2020 → esm2022}/lib/shared/components/palette/phone-uk/index.mjs +0 -0
  956. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/__mocks__/index.mjs +0 -0
  957. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/components/index.mjs +0 -0
  958. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/index.mjs +0 -0
  959. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.mjs +0 -0
  960. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +0 -0
  961. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.mjs +0 -0
  962. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.mjs +0 -0
  963. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/index.mjs +0 -0
  964. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +0 -0
  965. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/index.mjs +0 -0
  966. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.mjs +0 -0
  967. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.mjs +0 -0
  968. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/query-create-context.enum.mjs +0 -0
  969. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.mjs +0 -0
  970. /package/{esm2020 → esm2022}/lib/shared/components/palette/text/index.mjs +0 -0
  971. /package/{esm2020 → esm2022}/lib/shared/components/palette/text-area/index.mjs +0 -0
  972. /package/{esm2020 → esm2022}/lib/shared/components/palette/utils/index.mjs +0 -0
  973. /package/{esm2020 → esm2022}/lib/shared/components/palette/waystopay/index.mjs +0 -0
  974. /package/{esm2020 → esm2022}/lib/shared/components/palette/yes-no/index.mjs +0 -0
  975. /package/{esm2020 → esm2022}/lib/shared/components/search-filters/domain/index.mjs +0 -0
  976. /package/{esm2020 → esm2022}/lib/shared/components/search-filters/index.mjs +0 -0
  977. /package/{esm2020 → esm2022}/lib/shared/components/search-result/index.mjs +0 -0
  978. /package/{esm2020 → esm2022}/lib/shared/components/workbasket-filters/index.mjs +0 -0
  979. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/domain/index.mjs +0 -0
  980. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/index.mjs +0 -0
  981. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +0 -0
  982. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/services/condition.peg.mjs +0 -0
  983. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/services/index.mjs +0 -0
  984. /package/{esm2020 → esm2022}/lib/shared/directives/focus-element/index.mjs +0 -0
  985. /package/{esm2020 → esm2022}/lib/shared/directives/index.mjs +0 -0
  986. /package/{esm2020 → esm2022}/lib/shared/directives/substitutor/index.mjs +0 -0
  987. /package/{esm2020 → esm2022}/lib/shared/directives/substitutor/services/index.mjs +0 -0
  988. /package/{esm2020 → esm2022}/lib/shared/domain/activity/index.mjs +0 -0
  989. /package/{esm2020 → esm2022}/lib/shared/domain/addresses/index.mjs +0 -0
  990. /package/{esm2020 → esm2022}/lib/shared/domain/alert/alert-level.model.mjs +0 -0
  991. /package/{esm2020 → esm2022}/lib/shared/domain/alert/alert-status-params.model.mjs +0 -0
  992. /package/{esm2020 → esm2022}/lib/shared/domain/alert/index.mjs +0 -0
  993. /package/{esm2020 → esm2022}/lib/shared/domain/case-edit/case-edit.model.mjs +0 -0
  994. /package/{esm2020 → esm2022}/lib/shared/domain/case-edit/index.mjs +0 -0
  995. /package/{esm2020 → esm2022}/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.mjs +0 -0
  996. /package/{esm2020 → esm2022}/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.mjs +0 -0
  997. /package/{esm2020 → esm2022}/lib/shared/domain/case-file-view/index.mjs +0 -0
  998. /package/{esm2020 → esm2022}/lib/shared/domain/case-flag/index.mjs +0 -0
  999. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/access-types.model.mjs +0 -0
  1000. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/case-view-event-ids.enum.mjs +0 -0
  1001. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/challenged-access-request.model.mjs +0 -0
  1002. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/index.mjs +0 -0
  1003. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/review-specific-access-request.model.mjs +0 -0
  1004. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/role-assignment-response.model.mjs +0 -0
  1005. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/role-request.model.mjs +0 -0
  1006. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/service-org-response.model.mjs +0 -0
  1007. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/specific-access-request.model.mjs +0 -0
  1008. /package/{esm2020 → esm2022}/lib/shared/domain/definition/display-context-enum.model.mjs +0 -0
  1009. /package/{esm2020 → esm2022}/lib/shared/domain/definition/field-type-enum.model.mjs +0 -0
  1010. /package/{esm2020 → esm2022}/lib/shared/domain/definition/index.mjs +0 -0
  1011. /package/{esm2020 → esm2022}/lib/shared/domain/document/index.mjs +0 -0
  1012. /package/{esm2020 → esm2022}/lib/shared/domain/error-message.model.mjs +0 -0
  1013. /package/{esm2020 → esm2022}/lib/shared/domain/http/index.mjs +0 -0
  1014. /package/{esm2020 → esm2022}/lib/shared/domain/index.mjs +0 -0
  1015. /package/{esm2020 → esm2022}/lib/shared/domain/jurisdiction/index.mjs +0 -0
  1016. /package/{esm2020 → esm2022}/lib/shared/domain/jurisdiction/judicial-user.model.mjs +0 -0
  1017. /package/{esm2020 → esm2022}/lib/shared/domain/order/index.mjs +0 -0
  1018. /package/{esm2020 → esm2022}/lib/shared/domain/order/orderable.model.mjs +0 -0
  1019. /package/{esm2020 → esm2022}/lib/shared/domain/organisation/index.mjs +0 -0
  1020. /package/{esm2020 → esm2022}/lib/shared/domain/organisation/simple-organisation.model.mjs +0 -0
  1021. /package/{esm2020 → esm2022}/lib/shared/domain/predicate.model.mjs +0 -0
  1022. /package/{esm2020 → esm2022}/lib/shared/domain/profile/index.mjs +0 -0
  1023. /package/{esm2020 → esm2022}/lib/shared/domain/search/index.mjs +0 -0
  1024. /package/{esm2020 → esm2022}/lib/shared/domain/search/sorting/search-result-view-item-comparator.mjs +0 -0
  1025. /package/{esm2020 → esm2022}/lib/shared/domain/sort-order.enum.mjs +0 -0
  1026. /package/{esm2020 → esm2022}/lib/shared/domain/user/user-details.model.mjs +0 -0
  1027. /package/{esm2020 → esm2022}/lib/shared/domain/user/user-info.model.mjs +0 -0
  1028. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/Task.mjs +0 -0
  1029. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/TaskPayload.mjs +0 -0
  1030. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/case-worker.model.mjs +0 -0
  1031. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/index.mjs +0 -0
  1032. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/judicial-worker.model.mjs +0 -0
  1033. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/task-response.model.mjs +0 -0
  1034. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/task-search-parameter.model.mjs +0 -0
  1035. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/wa-service-config.model.mjs +0 -0
  1036. /package/{esm2020 → esm2022}/lib/shared/domain/workbasket/index.mjs +0 -0
  1037. /package/{esm2020 → esm2022}/lib/shared/fixture/shared.test.fixture.mjs +0 -0
  1038. /package/{esm2020 → esm2022}/lib/shared/index.mjs +0 -0
  1039. /package/{esm2020 → esm2022}/lib/shared/pipes/case-reference/index.mjs +0 -0
  1040. /package/{esm2020 → esm2022}/lib/shared/pipes/case-title/index.mjs +0 -0
  1041. /package/{esm2020 → esm2022}/lib/shared/pipes/complex/index.mjs +0 -0
  1042. /package/{esm2020 → esm2022}/lib/shared/pipes/generic/index.mjs +0 -0
  1043. /package/{esm2020 → esm2022}/lib/shared/pipes/index.mjs +0 -0
  1044. /package/{esm2020 → esm2022}/lib/shared/pipes/link-cases-from-reason-code/index.mjs +0 -0
  1045. /package/{esm2020 → esm2022}/lib/shared/pipes/link-cases-reason-code/index.mjs +0 -0
  1046. /package/{esm2020 → esm2022}/lib/shared/services/activity/index.mjs +0 -0
  1047. /package/{esm2020 → esm2022}/lib/shared/services/addresses/address-parser.mjs +0 -0
  1048. /package/{esm2020 → esm2022}/lib/shared/services/addresses/address-type.enum.mjs +0 -0
  1049. /package/{esm2020 → esm2022}/lib/shared/services/addresses/index.mjs +0 -0
  1050. /package/{esm2020 → esm2022}/lib/shared/services/alert/index.mjs +0 -0
  1051. /package/{esm2020 → esm2022}/lib/shared/services/auth/index.mjs +0 -0
  1052. /package/{esm2020 → esm2022}/lib/shared/services/banners/index.mjs +0 -0
  1053. /package/{esm2020 → esm2022}/lib/shared/services/browser/index.mjs +0 -0
  1054. /package/{esm2020 → esm2022}/lib/shared/services/case-fields/index.mjs +0 -0
  1055. /package/{esm2020 → esm2022}/lib/shared/services/case-file-view/index.mjs +0 -0
  1056. /package/{esm2020 → esm2022}/lib/shared/services/case-flag/index.mjs +0 -0
  1057. /package/{esm2020 → esm2022}/lib/shared/services/case-flag/refdata-case-flag-type.enum.mjs +0 -0
  1058. /package/{esm2020 → esm2022}/lib/shared/services/definitions/index.mjs +0 -0
  1059. /package/{esm2020 → esm2022}/lib/shared/services/document-management/index.mjs +0 -0
  1060. /package/{esm2020 → esm2022}/lib/shared/services/draft/index.mjs +0 -0
  1061. /package/{esm2020 → esm2022}/lib/shared/services/error/index.mjs +0 -0
  1062. /package/{esm2020 → esm2022}/lib/shared/services/eventStatusService/index.mjs +0 -0
  1063. /package/{esm2020 → esm2022}/lib/shared/services/fields/index.mjs +0 -0
  1064. /package/{esm2020 → esm2022}/lib/shared/services/form/index.mjs +0 -0
  1065. /package/{esm2020 → esm2022}/lib/shared/services/http/index.mjs +0 -0
  1066. /package/{esm2020 → esm2022}/lib/shared/services/index.mjs +0 -0
  1067. /package/{esm2020 → esm2022}/lib/shared/services/jurisdiction/index.mjs +0 -0
  1068. /package/{esm2020 → esm2022}/lib/shared/services/loading/index.mjs +0 -0
  1069. /package/{esm2020 → esm2022}/lib/shared/services/navigation/index.mjs +0 -0
  1070. /package/{esm2020 → esm2022}/lib/shared/services/navigation/navigation-origin.model.mjs +0 -0
  1071. /package/{esm2020 → esm2022}/lib/shared/services/order/index.mjs +0 -0
  1072. /package/{esm2020 → esm2022}/lib/shared/services/organisation/index.mjs +0 -0
  1073. /package/{esm2020 → esm2022}/lib/shared/services/profile/index.mjs +0 -0
  1074. /package/{esm2020 → esm2022}/lib/shared/services/request/index.mjs +0 -0
  1075. /package/{esm2020 → esm2022}/lib/shared/services/router/index.mjs +0 -0
  1076. /package/{esm2020 → esm2022}/lib/shared/services/search/index.mjs +0 -0
  1077. /package/{esm2020 → esm2022}/lib/shared/services/session/index.mjs +0 -0
  1078. /package/{esm2020 → esm2022}/lib/shared/services/utils/retry/index.mjs +0 -0
  1079. /package/{esm2020 → esm2022}/lib/shared/services/window/index.mjs +0 -0
  1080. /package/{esm2020 → esm2022}/lib/shared/services/workbasket/index.mjs +0 -0
  1081. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
@@ -0,0 +1,111 @@
1
+ import { Component } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { CaseworkerService } from '../../../case-editor/services/case-worker.service';
4
+ import { JudicialworkerService } from '../../../case-editor/services/judicial-worker.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/router";
7
+ import * as i2 from "../../../case-editor/services/judicial-worker.service";
8
+ import * as i3 from "../../../case-editor/services/case-worker.service";
9
+ import * as i4 from "@angular/common";
10
+ import * as i5 from "rpx-xui-translation";
11
+ const _c0 = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
12
+ function TaskAssignedComponent_div_0_Template(rf, ctx) { if (rf & 1) {
13
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2", 3);
14
+ i0.ɵɵtext(3);
15
+ i0.ɵɵpipe(4, "rpxTranslate");
16
+ i0.ɵɵelementEnd();
17
+ i0.ɵɵelementStart(5, "div", 4)(6, "ul", 5)(7, "li")(8, "a", 6);
18
+ i0.ɵɵtext(9);
19
+ i0.ɵɵpipe(10, "rpxTranslate");
20
+ i0.ɵɵelementEnd()()()()();
21
+ i0.ɵɵelementStart(11, "div", 7)(12, "h2", 8);
22
+ i0.ɵɵtext(13);
23
+ i0.ɵɵpipe(14, "rpxTranslate");
24
+ i0.ɵɵelementEnd();
25
+ i0.ɵɵelementStart(15, "p");
26
+ i0.ɵɵtext(16);
27
+ i0.ɵɵpipe(17, "rpxTranslate");
28
+ i0.ɵɵpipe(18, "rpxTranslate");
29
+ i0.ɵɵelementEnd();
30
+ i0.ɵɵelementStart(19, "a", 9);
31
+ i0.ɵɵtext(20);
32
+ i0.ɵɵpipe(21, "rpxTranslate");
33
+ i0.ɵɵelementEnd()()();
34
+ } if (rf & 2) {
35
+ const ctx_r0 = i0.ɵɵnextContext();
36
+ i0.ɵɵadvance(3);
37
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 8, "There is a problem"), " ");
38
+ i0.ɵɵadvance(6);
39
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 10, "Task assignment required"));
40
+ i0.ɵɵadvance(4);
41
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 12, "Task assignment required"));
42
+ i0.ɵɵadvance(3);
43
+ i0.ɵɵtextInterpolate3("", i0.ɵɵpipeBind1(17, 14, "This task is assigned to"), " ", ctx_r0.assignedUserName, ". ", i0.ɵɵpipeBind1(18, 16, "You must assign it to yourself to continue."), "");
44
+ i0.ɵɵadvance(3);
45
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(20, _c0, ctx_r0.caseId));
46
+ i0.ɵɵadvance(1);
47
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(21, 18, "Return to tasks tab"), " ");
48
+ } }
49
+ export class TaskAssignedComponent {
50
+ route;
51
+ judicialworkerService;
52
+ caseworkerService;
53
+ task = null;
54
+ caseId;
55
+ assignedUserName;
56
+ caseworkerSubscription;
57
+ judicialworkerSubscription;
58
+ constructor(route, judicialworkerService, caseworkerService) {
59
+ this.route = route;
60
+ this.judicialworkerService = judicialworkerService;
61
+ this.caseworkerService = caseworkerService;
62
+ this.caseId = this.route.snapshot.data.case.case_id;
63
+ this.task = this.route.snapshot.queryParams;
64
+ }
65
+ ngOnInit() {
66
+ // Current user is a caseworker?
67
+ this.caseworkerSubscription = this.caseworkerService.getCaseworkers(this.task.jurisdiction).subscribe(result => {
68
+ if (result && result[0].service === this.task.jurisdiction && result[0].caseworkers) {
69
+ const caseworker = result[0].caseworkers.find(x => x.idamId === this.task.assignee);
70
+ if (caseworker) {
71
+ this.assignedUserName = `${caseworker.firstName} ${caseworker.lastName}`;
72
+ }
73
+ }
74
+ if (!this.assignedUserName) {
75
+ // Current user is a judicial user?
76
+ this.judicialworkerSubscription =
77
+ this.judicialworkerService.getJudicialworkers([this.task.assignee], this.task.jurisdiction)
78
+ .subscribe(judicialworkers => {
79
+ if (judicialworkers) {
80
+ const judicialworker = judicialworkers.find(x => x.sidam_id === this.task.assignee);
81
+ if (judicialworker) {
82
+ this.assignedUserName = judicialworker.full_name;
83
+ }
84
+ }
85
+ if (!this.assignedUserName) {
86
+ this.assignedUserName = 'another user';
87
+ }
88
+ });
89
+ }
90
+ });
91
+ }
92
+ ngOnDestroy() {
93
+ if (this.caseworkerSubscription) {
94
+ this.caseworkerSubscription.unsubscribe();
95
+ }
96
+ if (this.judicialworkerSubscription) {
97
+ this.judicialworkerSubscription.unsubscribe();
98
+ }
99
+ }
100
+ static ɵfac = function TaskAssignedComponent_Factory(t) { return new (t || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.JudicialworkerService), i0.ɵɵdirectiveInject(i3.CaseworkerService)); };
101
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskAssignedComponent_Template(rf, ctx) { if (rf & 1) {
102
+ i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 22, "div", 0);
103
+ } if (rf & 2) {
104
+ i0.ɵɵproperty("ngIf", ctx.assignedUserName);
105
+ } }, dependencies: [i4.NgIf, i1.RouterLink, i5.RpxTranslatePipe], encapsulation: 2 });
106
+ }
107
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskAssignedComponent, [{
108
+ type: Component,
109
+ args: [{ selector: 'app-task-assigned', template: "<div class=\"govuk-!-margin-9\" *ngIf=\"assignedUserName\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'This task is assigned to' | rpxTranslate}} {{assignedUserName}}. {{'You must assign it to yourself to continue.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">\n {{'Return to tasks tab' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
110
+ }], function () { return [{ type: i1.ActivatedRoute }, { type: i2.JudicialworkerService }, { type: i3.CaseworkerService }]; }, null); })();
111
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1hc3NpZ25lZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvZXZlbnQtc3RhcnQvY29tcG9uZW50cy90YXNrLWFzc2lnbmVkL3Rhc2stYXNzaWduZWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2V2ZW50LXN0YXJ0L2NvbXBvbmVudHMvdGFzay1hc3NpZ25lZC90YXNrLWFzc2lnbmVkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQzdELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUdqRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxtREFBbUQsQ0FBQztBQUN0RixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1REFBdUQsQ0FBQzs7Ozs7Ozs7O0lDTDlGLDhCQUF1RCxhQUFBLFlBQUE7SUFHakQsWUFDRjs7SUFBQSxpQkFBSztJQUNMLDhCQUF1QyxZQUFBLFNBQUEsV0FBQTtJQUdyQixZQUE2Qzs7SUFBQSxpQkFBSSxFQUFBLEVBQUEsRUFBQSxFQUFBO0lBTXJFLCtCQUFzRCxhQUFBO0lBQ3RCLGFBQTZDOztJQUFBLGlCQUFLO0lBRWhGLDBCQUFHO0lB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 +1,69 @@
1
+ import { Component, Input } 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
+ const _c0 = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
6
+ export class TaskCancelledComponent {
7
+ caseId;
8
+ static ɵfac = function TaskCancelledComponent_Factory(t) { return new (t || TaskCancelledComponent)(); };
9
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskCancelledComponent, selectors: [["app-task-cancelled"]], inputs: { caseId: "caseId" }, decls: 31, vars: 27, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["type", "submit", "data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function TaskCancelledComponent_Template(rf, ctx) { if (rf & 1) {
10
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
11
+ i0.ɵɵtext(3);
12
+ i0.ɵɵpipe(4, "rpxTranslate");
13
+ i0.ɵɵelementEnd();
14
+ i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li")(8, "a", 5);
15
+ i0.ɵɵtext(9);
16
+ i0.ɵɵpipe(10, "rpxTranslate");
17
+ i0.ɵɵelementEnd()()()()();
18
+ i0.ɵɵelementStart(11, "div", 6)(12, "h2", 7);
19
+ i0.ɵɵtext(13);
20
+ i0.ɵɵpipe(14, "rpxTranslate");
21
+ i0.ɵɵelementEnd();
22
+ i0.ɵɵelementStart(15, "p");
23
+ i0.ɵɵtext(16);
24
+ i0.ɵɵpipe(17, "rpxTranslate");
25
+ i0.ɵɵelementEnd();
26
+ i0.ɵɵelementStart(18, "p");
27
+ i0.ɵɵtext(19);
28
+ i0.ɵɵpipe(20, "rpxTranslate");
29
+ i0.ɵɵelementEnd();
30
+ i0.ɵɵelementStart(21, "p");
31
+ i0.ɵɵtext(22);
32
+ i0.ɵɵpipe(23, "rpxTranslate");
33
+ i0.ɵɵelementEnd();
34
+ i0.ɵɵelementStart(24, "div", 8)(25, "button", 9);
35
+ i0.ɵɵtext(26);
36
+ i0.ɵɵpipe(27, "rpxTranslate");
37
+ i0.ɵɵelementEnd();
38
+ i0.ɵɵelementStart(28, "a", 10);
39
+ i0.ɵɵtext(29);
40
+ i0.ɵɵpipe(30, "rpxTranslate");
41
+ i0.ɵɵelementEnd()()()();
42
+ } if (rf & 2) {
43
+ i0.ɵɵadvance(3);
44
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 9, "There is a problem"), " ");
45
+ i0.ɵɵadvance(6);
46
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 11, "Task cancelled/marked as done"));
47
+ i0.ɵɵadvance(4);
48
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 13, "Task cancelled/marked as done"));
49
+ i0.ɵɵadvance(3);
50
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 15, "This task has been cancelled or marked as done."));
51
+ i0.ɵɵadvance(3);
52
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 17, "Click Continue to complete the task and save your progress."));
53
+ i0.ɵɵadvance(3);
54
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 19, "Alternatively, click Cancel to return to the tasks tab without saving your progress."));
55
+ i0.ɵɵadvance(4);
56
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 21, "Continue"));
57
+ i0.ɵɵadvance(2);
58
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(25, _c0, ctx.caseId));
59
+ i0.ɵɵadvance(1);
60
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(30, 23, "Cancel"));
61
+ } }, dependencies: [i1.RouterLink, i2.RpxTranslatePipe], encapsulation: 2 });
62
+ }
63
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskCancelledComponent, [{
64
+ type: Component,
65
+ args: [{ selector: 'app-task-cancelled', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task cancelled/marked as done' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task cancelled/marked as done' | rpxTranslate}}</h2>\n\n <p>{{'This task has been cancelled or marked as done.' | rpxTranslate}}</p>\n\n <p>{{'Click Continue to complete the task and save your progress.' | rpxTranslate}}</p>\n\n <p>{{'Alternatively, click Cancel to return to the tasks tab without saving your progress.' | rpxTranslate}}</p>\n\n <div class=\"form-group form-group-related\">\n <button type=\"submit\" class=\"govuk-button govuk-!-margin-right-2\" data-module=\"govuk-button\">{{'Continue' | rpxTranslate}}</button>\n <a [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\"\n class=\"govuk-button govuk-button--secondary\" data-module=\"govuk-button\">{{'Cancel' | rpxTranslate}}</a>\n </div>\n </div>\n</div>\n" }]
66
+ }], null, { caseId: [{
67
+ type: Input
68
+ }] }); })();
69
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1jYW5jZWxsZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Ii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dyb3VwIGZvcm0tZ3JvdXAtcmVsYXRlZFwiPlxuICAgICAgPGJ1dHRvbiB0eXBlPVwic3VibWl0XCIgY2xhc3M9XCJnb3Z1ay1idXR0b24gZ292dWstIS1tYXJnaW4tcmlnaHQtMlwiIGRhdGEtbW9kdWxlPVwiZ292dWstYnV0dG9uXCI+e3snQ29udGludWUnIHwgcnB4VHJhbnNsYXRlfX08L2J1dHRvbj5cbiAgICAgIDxhICBbcm91dGVyTGlua109XCJbJy8nLCAnY2FzZXMnLCAnY2FzZS1kZXRhaWxzJywgY2FzZUlkLCAndGFza3MnXVwiXG4gICAgICAgICAgICAgIGNsYXNzPVwiZ292dWstYnV0dG9uIGdvdnVrLWJ1dHRvbi0tc2Vjb25kYXJ5XCIgZGF0YS1tb2R1bGU9XCJnb3Z1ay1idXR0b25cIj57eydDYW5jZWwnIHwgcnB4VHJhbnNsYXRlfX08L2E+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,60 @@
1
+ import { Component, Input } 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
+ const _c0 = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
6
+ export class TaskConflictComponent {
7
+ task;
8
+ caseId;
9
+ static ɵfac = function TaskConflictComponent_Factory(t) { return new (t || TaskConflictComponent)(); };
10
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskConflictComponent, selectors: [["app-task-conflict"]], inputs: { task: "task", caseId: "caseId" }, decls: 24, vars: 21, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskConflictComponent_Template(rf, ctx) { if (rf & 1) {
11
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
12
+ i0.ɵɵtext(3);
13
+ i0.ɵɵpipe(4, "rpxTranslate");
14
+ i0.ɵɵelementEnd();
15
+ i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li")(8, "a", 5);
16
+ i0.ɵɵtext(9);
17
+ i0.ɵɵpipe(10, "rpxTranslate");
18
+ i0.ɵɵelementEnd()()()()();
19
+ i0.ɵɵelementStart(11, "div", 6)(12, "h2", 7);
20
+ i0.ɵɵtext(13);
21
+ i0.ɵɵpipe(14, "rpxTranslate");
22
+ i0.ɵɵelementEnd();
23
+ i0.ɵɵelementStart(15, "p");
24
+ i0.ɵɵtext(16);
25
+ i0.ɵɵpipe(17, "rpxTranslate");
26
+ i0.ɵɵelementEnd();
27
+ i0.ɵɵelementStart(18, "p");
28
+ i0.ɵɵtext(19);
29
+ i0.ɵɵpipe(20, "rpxTranslate");
30
+ i0.ɵɵelementEnd();
31
+ i0.ɵɵelementStart(21, "a", 8);
32
+ i0.ɵɵtext(22);
33
+ i0.ɵɵpipe(23, "rpxTranslate");
34
+ i0.ɵɵelementEnd()()();
35
+ } if (rf & 2) {
36
+ i0.ɵɵadvance(3);
37
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 7, "There is a problem"), " ");
38
+ i0.ɵɵadvance(6);
39
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 9, "Task conflict"));
40
+ i0.ɵɵadvance(4);
41
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, "Task conflict"));
42
+ i0.ɵɵadvance(3);
43
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 13, "This task cannot be completed due to conflict with another task or tasks for this case."));
44
+ i0.ɵɵadvance(3);
45
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 15, "If the problem persists, contact William Priest"));
46
+ i0.ɵɵadvance(2);
47
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(19, _c0, ctx.caseId));
48
+ i0.ɵɵadvance(1);
49
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(23, 17, "Return to tasks tab"));
50
+ } }, dependencies: [i1.RouterLink, i2.RpxTranslatePipe], encapsulation: 2 });
51
+ }
52
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskConflictComponent, [{
53
+ type: Component,
54
+ args: [{ selector: 'app-task-conflict', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\" data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task conflict' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task conflict' | rpxTranslate}}</h2>\n <p>{{'This task cannot be completed due to conflict with another task or tasks for this case.' | rpxTranslate}}</p>\n <p>{{'If the problem persists, contact William Priest' | rpxTranslate}}</p>\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">{{'Return to tasks tab' | rpxTranslate}}</a>\n </div>\n</div>\n" }]
55
+ }], null, { task: [{
56
+ type: Input
57
+ }], caseId: [{
58
+ type: Input
59
+ }] }); })();
60
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1jb25mbGljdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm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GV9fVxuICAgIDwvaDI+XG4gICAgPGRpdiBjbGFzcz1cImdvdnVrLWVycm9yLXN1bW1hcnlfX2JvZHlcIj5cbiAgICAgIDx1bCBjbGFzcz1cImdvdnVrLWxpc3QgZ292dWstZXJyb3Itc3VtbWFyeV9fbGlzdFwiPlxuICAgICAgICA8bGk+XG4gICAgICAgICAgPGEgaHJlZj1cIiNcIj57eydUYXNrIGNvbmZsaWN0JyB8IHJweFRyYW5zbGF0ZX19PC9hPlxuICAgICAgICA8L2xpPlxuICAgICAgPC91bD5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG5cbiAgPGRpdiBjbGFzcz1cImdvdnVrLWZvcm0tZ3JvdXAgZ292dWstZm9ybS1ncm91cC0tZXJyb3JcIj5cbiAgICA8aDIgY2xhc3M9XCJnb3Z1ay1oZWFkaW5nLW1cIj57eydUYXNrIGNvbmZsaWN0JyB8IHJweFRyYW5zbGF0ZX19PC9oMj5cbiAgICA8cD57eydUaGlzIHRhc2sgY2Fubm90IGJlIGNvbXBsZXRlZCBkdWUgdG8gY29uZmxpY3Qgd2l0aCBhbm90aGVyIHRhc2sgb3IgdGFza3MgZm9yIHRoaXMgY2FzZS4nIHwgcnB4VHJhbnNsYXRlfX08L3A+XG4gICAgPHA+e3snSWYgdGhlIHByb2JsZW0gcGVyc2lzdHMsIGNvbnRhY3QgV2lsbGlhbSBQcmllc3QnIHwgcnB4VHJhbnNsYXRlfX08L3A+XG4gICAgPGEgaHJlZj1cImphdmFzY3JpcHQ6dm9pZCgwKVwiIFtyb3V0ZXJMaW5rXT1cIlsnLycsICdjYXNlcycsICdjYXNlLWRldGFpbHMnLCBjYXNlSWQsICd0YXNrcyddXCI+e3snUmV0dXJuIHRvIHRhc2tzIHRhYicgfCBycHhUcmFuc2xhdGV9fTwvYT5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,55 @@
1
+ import { Component } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/router";
5
+ import * as i2 from "rpx-xui-translation";
6
+ const _c0 = function (a3) { return ["/", "cases", "case-details", a3, "tasks"]; };
7
+ export class TaskUnassignedComponent {
8
+ route;
9
+ caseId;
10
+ constructor(route) {
11
+ this.route = route;
12
+ this.caseId = this.route.snapshot.data.case.case_id;
13
+ }
14
+ static ɵfac = function TaskUnassignedComponent_Factory(t) { return new (t || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
15
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars: 18, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskUnassignedComponent_Template(rf, ctx) { if (rf & 1) {
16
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
17
+ i0.ɵɵtext(3);
18
+ i0.ɵɵpipe(4, "rpxTranslate");
19
+ i0.ɵɵelementEnd();
20
+ i0.ɵɵelementStart(5, "div", 3)(6, "ul", 4)(7, "li")(8, "a", 5);
21
+ i0.ɵɵtext(9);
22
+ i0.ɵɵpipe(10, "rpxTranslate");
23
+ i0.ɵɵelementEnd()()()()();
24
+ i0.ɵɵelementStart(11, "div", 6)(12, "h2", 7);
25
+ i0.ɵɵtext(13);
26
+ i0.ɵɵpipe(14, "rpxTranslate");
27
+ i0.ɵɵelementEnd();
28
+ i0.ɵɵelementStart(15, "p");
29
+ i0.ɵɵtext(16);
30
+ i0.ɵɵpipe(17, "rpxTranslate");
31
+ i0.ɵɵelementEnd();
32
+ i0.ɵɵelementStart(18, "a", 8);
33
+ i0.ɵɵtext(19);
34
+ i0.ɵɵpipe(20, "rpxTranslate");
35
+ i0.ɵɵelementEnd()()();
36
+ } if (rf & 2) {
37
+ i0.ɵɵadvance(3);
38
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6, "There is a problem"), " ");
39
+ i0.ɵɵadvance(6);
40
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(10, 8, "Task assignment required"));
41
+ i0.ɵɵadvance(4);
42
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 10, "Task assignment required"));
43
+ i0.ɵɵadvance(3);
44
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 12, "You must assign one of the available tasks from the task tab to continue with your work."));
45
+ i0.ɵɵadvance(2);
46
+ i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction1(16, _c0, ctx.caseId));
47
+ i0.ɵɵadvance(1);
48
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(20, 14, "Return to tasks tab to assign a task"), " ");
49
+ } }, dependencies: [i1.RouterLink, i2.RpxTranslatePipe], encapsulation: 2 });
50
+ }
51
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TaskUnassignedComponent, [{
52
+ type: Component,
53
+ args: [{ selector: 'app-task-unassigned', template: "<div class=\"govuk-!-margin-9\">\n <div class=\"govuk-error-summary\" aria-labelledby=\"error-summary-title\" role=\"alert\" tabindex=\"-1\"\n data-module=\"error-summary\">\n <h2 class=\"govuk-error-summary__title\" id=\"error-summary-title\">\n {{'There is a problem' | rpxTranslate}}\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li>\n <a href=\"#\">{{'Task assignment required' | rpxTranslate}}</a>\n </li>\n </ul>\n </div>\n </div>\n\n <div class=\"govuk-form-group govuk-form-group--error\">\n <h2 class=\"govuk-heading-m\">{{'Task assignment required' | rpxTranslate}}</h2>\n\n <p>{{'You must assign one of the available tasks from the task tab to continue with your work.' | rpxTranslate}}</p>\n\n <a href=\"javascript:void(0)\" [routerLink]=\"['/', 'cases', 'case-details', caseId, 'tasks']\">\n {{'Return to tasks tab to assign a task' | rpxTranslate}}\n </a>\n </div>\n</div>\n" }]
54
+ }], function () { return [{ type: i1.ActivatedRoute }]; }, null); })();
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay11bmFzc2lnbmVkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9ldmVudC1zdGFydC9jb21wb25lbnRzL3Rhc2stdW5hc3NpZ25lZC90YXNrLXVuYXNzaWduZWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2V2ZW50LXN0YXJ0L2NvbXBvbmVudHMvdGFzay11bmFzc2lnbmVkL3Rhc2stdW5hc3NpZ25lZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7Ozs7QUFNakQsTUFBTSxPQUFPLHVCQUF1QjtJQUlMO0lBRnRCLE1BQU0sQ0FBUztJQUV0QixZQUE2QixLQUFxQjtRQUFyQixVQUFLLEdBQUwsS0FBSyxDQUFnQjtRQUNoRCxJQUFJLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQyxLQ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IHJlcXVpcmVkJyB8IHJweFRyYW5zbGF0ZX19PC9oMj5cblxuICAgIDxwPnt7J1lvdSBtdXN0IGFzc2lnbiBvbmUgb2YgdGhlIGF2YWlsYWJsZSB0YXNrcyBmcm9tIHRoZSB0YXNrIHRhYiB0byBjb250aW51ZSB3aXRoIHlvdXIgd29yay4nIHwgcnB4VHJhbnNsYXRlfX08L3A+XG5cbiAgICA8YSBocmVmPVwiamF2YXNjcmlwdDp2b2lkKDApXCIgW3JvdXRlckxpbmtdPVwiWycvJywgJ2Nhc2VzJywgJ2Nhc2UtZGV0YWlscycsIGNhc2VJZCwgJ3Rhc2tzJ11cIj5cbiAgICAgIHt7J1JldHVybiB0byB0YXNrcyB0YWIgdG8gYXNzaWduIGEgdGFzaycgfCBycHhUcmFuc2xhdGV9fVxuICAgIDwvYT5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,97 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { of } from 'rxjs';
4
+ import { switchMap } from 'rxjs/operators';
5
+ import { SessionStorageService } from '../../../services';
6
+ import { WorkAllocationService } from '../../case-editor';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../../case-editor";
9
+ import * as i2 from "@angular/router";
10
+ import * as i3 from "../../../services";
11
+ export class EventStartGuard {
12
+ workAllocationService;
13
+ router;
14
+ sessionStorageService;
15
+ constructor(workAllocationService, router, sessionStorageService) {
16
+ this.workAllocationService = workAllocationService;
17
+ this.router = router;
18
+ this.sessionStorageService = sessionStorageService;
19
+ }
20
+ canActivate(route) {
21
+ const caseId = route.params['cid'];
22
+ const eventId = route.params['eid'];
23
+ const taskId = route.queryParams['tid'];
24
+ // TODO: NavigationExtras should be used once Angular upgrade changes have been incorporated
25
+ const isComplete = route.queryParams['isComplete'];
26
+ const caseInfoStr = this.sessionStorageService.getItem('caseInfo');
27
+ if (caseInfoStr) {
28
+ const caseInfo = JSON.parse(caseInfoStr);
29
+ if (caseInfo && caseInfo.cid === caseId) {
30
+ if (isComplete) {
31
+ return of(true);
32
+ }
33
+ return this.workAllocationService.getTasksByCaseIdAndEventId(eventId, caseId, caseInfo.caseType, caseInfo.jurisdiction).pipe(switchMap((payload) => this.checkForTasks(payload, caseId, eventId, taskId)));
34
+ }
35
+ }
36
+ return of(false);
37
+ }
38
+ checkTaskInEventNotRequired(payload, caseId, taskId) {
39
+ if (!payload || !payload.tasks) {
40
+ return true;
41
+ }
42
+ const taskNumber = payload.tasks.length;
43
+ if (taskNumber === 0) {
44
+ // if there are no tasks just carry on
45
+ return true;
46
+ }
47
+ // Get number of tasks assigned to user
48
+ const userInfoStr = this.sessionStorageService.getItem('userDetails');
49
+ const userInfo = JSON.parse(userInfoStr);
50
+ const tasksAssignedToUser = payload.tasks.filter(x => x.task_state !== 'unassigned' && x.assignee === userInfo.id || x.assignee === userInfo.uid);
51
+ if (tasksAssignedToUser.length === 0) {
52
+ // if no tasks assigned to user carry on
53
+ return true;
54
+ }
55
+ else if (tasksAssignedToUser.length > 1 && !taskId) {
56
+ // if more than one task assigned to the user then give multiple tasks error
57
+ this.router.navigate([`/cases/case-details/${caseId}/multiple-tasks-exist`]);
58
+ return false;
59
+ }
60
+ else {
61
+ let task;
62
+ if (taskId) {
63
+ task = payload.tasks.find(x => x.id === taskId);
64
+ }
65
+ else {
66
+ task = tasksAssignedToUser[0];
67
+ }
68
+ // if one task assigned to user, allow user to complete event
69
+ this.sessionStorageService.setItem('taskToComplete', JSON.stringify(task));
70
+ return true;
71
+ }
72
+ }
73
+ checkForTasks(payload, caseId, eventId, taskId) {
74
+ // Clear taskToComplete from session as we will be starting the process for new task
75
+ this.sessionStorageService.removeItem('taskToComplete');
76
+ if (payload.task_required_for_event) {
77
+ // There are some issues in EventTriggerResolver/CaseService and/or CCD for some events
78
+ // which triggers the CanActivate guard again.
79
+ // If event start is initiated again, then we do not need to perform state machine processing again.
80
+ // https://tools.hmcts.net/jira/browse/EUI-5489
81
+ if (this.router && this.router.url && this.router.url.includes('event-start')) {
82
+ return of(true);
83
+ }
84
+ this.router.navigate([`/cases/case-details/${caseId}/event-start`], { queryParams: { caseId, eventId, taskId } });
85
+ return of(false);
86
+ }
87
+ else {
88
+ return of(this.checkTaskInEventNotRequired(payload, caseId, taskId));
89
+ }
90
+ }
91
+ static ɵfac = function EventStartGuard_Factory(t) { return new (t || EventStartGuard)(i0.ɵɵinject(i1.WorkAllocationService), i0.ɵɵinject(i2.Router), i0.ɵɵinject(i3.SessionStorageService)); };
92
+ static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventStartGuard, factory: EventStartGuard.ɵfac });
93
+ }
94
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartGuard, [{
95
+ type: Injectable
96
+ }], function () { return [{ type: i1.WorkAllocationService }, { type: i2.Router }, { type: i3.SessionStorageService }]; }, null); })();
97
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtc3RhcnQuZ3VhcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvZXZlbnQtc3RhcnQvZXZlbnQtZ3VhcmQvZXZlbnQtc3RhcnQuZ3VhcmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQXVDLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzlFLE9BQU8sRUFBYyxFQUFFLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDdEMsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTNDLE9BQU8sRUFBRSxxQ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IGV2ZW50IHN0YXJ0IGlzIGluaXRpYXRlZCBhZ2FpbiwgdGhlbiB3ZSBkbyBub3QgbmVlZCB0byBwZXJmb3JtIHN0YXRlIG1hY2hpbmUgcHJvY2Vzc2luZyBhZ2Fpbi5cbiAgICAgIC8vIGh0dHBzOi8vdG9vbHMuaG1jdHMubmV0L2ppcmEvYnJvd3NlL0VVSS01NDg5XG4gICAgICBpZiAodGhpcy5yb3V0ZXIgJiYgdGhpcy5yb3V0ZXIudXJsICYmIHRoaXMucm91dGVyLnVybC5pbmNsdWRlcygnZXZlbnQtc3RhcnQnKSkge1xuICAgICAgICByZXR1cm4gb2YodHJ1ZSk7XG4gICAgICB9XG4gICAgICB0aGlzLnJvdXRlci5uYXZpZ2F0ZShbYC9jYXNlcy9jYXNlLWRldGFpbHMvJHtjYXNlSWR9L2V2ZW50LXN0YXJ0YF0sIHsgcXVlcnlQYXJhbXM6IHsgY2FzZUlkLCBldmVudElkLCB0YXNrSWQgfSB9KTtcbiAgICAgIHJldHVybiBvZihmYWxzZSk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJldHVybiBvZih0aGlzLmNoZWNrVGFza0luRXZlbnROb3RSZXF1aXJlZChwYXlsb2FkLCBjYXNlSWQsIHRhc2tJZCkpO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -0,0 +1,55 @@
1
+ import { Component } from '@angular/core';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { SessionStorageService } from '../../services/session/session-storage.service';
4
+ import { EventStartStateMachineService } from './services/event-start-state-machine.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./services/event-start-state-machine.service";
7
+ import * as i2 from "@angular/router";
8
+ import * as i3 from "../../services/session/session-storage.service";
9
+ export class EventStartComponent {
10
+ service;
11
+ router;
12
+ route;
13
+ sessionStorageService;
14
+ stateMachine;
15
+ context;
16
+ constructor(service, router, route, sessionStorageService) {
17
+ this.service = service;
18
+ this.router = router;
19
+ this.route = route;
20
+ this.sessionStorageService = sessionStorageService;
21
+ }
22
+ ngOnInit() {
23
+ // Get task and case id payload from route data
24
+ const tasks = this.route.snapshot.data.tasks;
25
+ const caseId = this.route.snapshot.data.case.case_id;
26
+ const eventId = this.route.snapshot.queryParams['eventId'];
27
+ const taskId = this.route.snapshot.queryParams['taskId'];
28
+ // Setup the context
29
+ this.context = {
30
+ tasks,
31
+ caseId,
32
+ eventId,
33
+ taskId,
34
+ router: this.router,
35
+ route: this.route,
36
+ sessionStorageService: this.sessionStorageService
37
+ };
38
+ // Initialise state machine
39
+ this.service = new EventStartStateMachineService();
40
+ this.stateMachine = this.service.initialiseStateMachine(this.context);
41
+ // Create states
42
+ this.service.createStates(this.stateMachine);
43
+ // Add transitions for the states
44
+ this.service.addTransitions();
45
+ // Start state machine
46
+ this.service.startStateMachine(this.stateMachine);
47
+ }
48
+ static ɵfac = function EventStartComponent_Factory(t) { return new (t || EventStartComponent)(i0.ɵɵdirectiveInject(i1.EventStartStateMachineService), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i3.SessionStorageService)); };
49
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventStartComponent, selectors: [["ccd-event-start"]], decls: 0, vars: 0, template: function EventStartComponent_Template(rf, ctx) { }, encapsulation: 2 });
50
+ }
51
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartComponent, [{
52
+ type: Component,
53
+ args: [{ selector: 'ccd-event-start', template: "" }]
54
+ }], function () { return [{ type: i1.EventStartStateMachineService }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3.SessionStorageService }]; }, null); })();
55
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtc3RhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc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hbGlzZVN0YXRlTWFjaGluZSh0aGlzLmNvbnRleHQpO1xuICAgIC8vIENyZWF0ZSBzdGF0ZXNcbiAgICB0aGlzLnNlcnZpY2UuY3JlYXRlU3RhdGVzKHRoaXMuc3RhdGVNYWNoaW5lKTtcbiAgICAvLyBBZGQgdHJhbnNpdGlvbnMgZm9yIHRoZSBzdGF0ZXNcbiAgICB0aGlzLnNlcnZpY2UuYWRkVHJhbnNpdGlvbnMoKTtcbiAgICAvLyBTdGFydCBzdGF0ZSBtYWNoaW5lXG4gICAgdGhpcy5zZXJ2aWNlLnN0YXJ0U3RhdGVNYWNoaW5lKHRoaXMuc3RhdGVNYWNoaW5lKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,71 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
+ import { RouterModule } from '@angular/router';
5
+ import { RpxTranslationModule } from 'rpx-xui-translation';
6
+ import { MultipleTasksExistComponent } from './components/multiple-tasks-exist/multiple-tasks-exist.component';
7
+ import { NoTasksAvailableComponent } from './components/no-tasks-available/no-tasks-available.component';
8
+ import { TaskAssignedComponent } from './components/task-assigned/task-assigned.component';
9
+ import { TaskCancelledComponent } from './components/task-cancelled/task-cancelled.component';
10
+ import { TaskConflictComponent } from './components/task-conflict/task-conflict.component';
11
+ import { TaskUnassignedComponent } from './components/task-unassigned/task-unassigned.component';
12
+ import { EventStartGuard } from './event-guard/event-start.guard';
13
+ import { EventStartComponent } from './event-start.component';
14
+ import { EventTasksResolverService } from './resolvers/event-tasks-resolver.service';
15
+ import { EventStartStateMachineService } from './services';
16
+ import * as i0 from "@angular/core";
17
+ import * as i1 from "rpx-xui-translation";
18
+ export class EventStartModule {
19
+ static ɵfac = function EventStartModule_Factory(t) { return new (t || EventStartModule)(); };
20
+ static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EventStartModule });
21
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
22
+ EventStartGuard,
23
+ EventTasksResolverService,
24
+ EventStartStateMachineService
25
+ ], imports: [CommonModule,
26
+ ReactiveFormsModule,
27
+ RouterModule,
28
+ RpxTranslationModule.forChild()] });
29
+ }
30
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartModule, [{
31
+ type: NgModule,
32
+ args: [{
33
+ imports: [
34
+ CommonModule,
35
+ ReactiveFormsModule,
36
+ RouterModule,
37
+ RpxTranslationModule.forChild()
38
+ ],
39
+ declarations: [
40
+ EventStartComponent,
41
+ MultipleTasksExistComponent,
42
+ NoTasksAvailableComponent,
43
+ TaskAssignedComponent,
44
+ TaskCancelledComponent,
45
+ TaskConflictComponent,
46
+ TaskUnassignedComponent
47
+ ],
48
+ providers: [
49
+ EventStartGuard,
50
+ EventTasksResolverService,
51
+ EventStartStateMachineService
52
+ ],
53
+ exports: [
54
+ EventStartComponent,
55
+ TaskAssignedComponent,
56
+ TaskUnassignedComponent
57
+ ]
58
+ }]
59
+ }], null, null); })();
60
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(EventStartModule, { declarations: [EventStartComponent,
61
+ MultipleTasksExistComponent,
62
+ NoTasksAvailableComponent,
63
+ TaskAssignedComponent,
64
+ TaskCancelledComponent,
65
+ TaskConflictComponent,
66
+ TaskUnassignedComponent], imports: [CommonModule,
67
+ ReactiveFormsModule,
68
+ RouterModule, i1.RpxTranslationModule], exports: [EventStartComponent,
69
+ TaskAssignedComponent,
70
+ TaskUnassignedComponent] }); })();
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtc3RhcnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21w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