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

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 (1073) hide show
  1. package/esm2020/lib/app.config.mjs +45 -0
  2. package/esm2020/lib/components/banners/alert/alert-icon-class.pipe.mjs +25 -0
  3. package/esm2020/lib/components/banners/alert/alert.component.mjs +95 -0
  4. package/esm2020/lib/components/banners/alert/alert.module.mjs +32 -0
  5. package/esm2020/lib/components/banners/banners.module.mjs +32 -0
  6. package/esm2020/lib/components/banners/notification-banner/notification-banner.component.mjs +120 -0
  7. package/esm2020/lib/components/banners/notification-banner/notification-banner.module.mjs +19 -0
  8. package/esm2020/lib/components/body/body.component.mjs +20 -0
  9. package/esm2020/lib/components/body/body.module.mjs +20 -0
  10. package/esm2020/lib/components/footer/footer.component.mjs +105 -0
  11. package/esm2020/lib/components/footer/footers.module.mjs +25 -0
  12. package/esm2020/lib/components/form/date-input/date-input.component.mjs +331 -0
  13. package/esm2020/lib/components/form/form.module.mjs +29 -0
  14. package/esm2020/lib/components/header/header-bar/header-bar.component.mjs +97 -0
  15. package/esm2020/lib/components/header/headers.module.mjs +25 -0
  16. package/esm2020/lib/components/header/navigation/navigation-item.component.mjs +41 -0
  17. package/esm2020/lib/components/header/navigation/navigation.component.mjs +24 -0
  18. package/esm2020/lib/components/header/phase/phase.component.mjs +45 -0
  19. package/esm2020/lib/components/tabs/tab.component.mjs +28 -0
  20. package/esm2020/lib/components/tabs/tabs.component.mjs +79 -0
  21. package/esm2020/lib/components/tabs/tabs.module.mjs +38 -0
  22. package/esm2020/lib/shared/commons/address-validation-constants.mjs +13 -0
  23. package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +19 -0
  24. package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +47 -0
  25. package/esm2020/lib/shared/commons/constants.mjs +13 -0
  26. package/esm2020/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +39 -0
  27. package/esm2020/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +33 -0
  28. package/esm2020/lib/shared/components/activity/activity.component.mjs +151 -0
  29. package/esm2020/lib/shared/components/activity/activity.module.mjs +55 -0
  30. package/esm2020/lib/shared/components/case-editor/case-access-utils/index.mjs +105 -0
  31. package/esm2020/lib/shared/components/case-editor/case-create/case-create.component.mjs +87 -0
  32. package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +432 -0
  33. package/esm2020/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +125 -0
  34. package/esm2020/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +135 -0
  35. package/esm2020/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +69 -0
  36. package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +751 -0
  37. package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +542 -0
  38. package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +213 -0
  39. package/esm2020/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +86 -0
  40. package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +80 -0
  41. package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +153 -0
  42. package/esm2020/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +77 -0
  43. package/esm2020/lib/shared/components/case-editor/domain/confirmation.model.mjs +21 -0
  44. package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +4 -0
  45. package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +3 -0
  46. package/esm2020/lib/shared/components/case-editor/domain/wizard-page.model.mjs +26 -0
  47. package/esm2020/lib/shared/components/case-editor/domain/wizard.model.mjs +54 -0
  48. package/esm2020/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +93 -0
  49. package/esm2020/lib/shared/components/case-editor/services/case-flag-state.service.mjs +19 -0
  50. package/esm2020/lib/shared/components/case-editor/services/case-worker.service.mjs +32 -0
  51. package/esm2020/lib/shared/components/case-editor/services/case.notifier.mjs +51 -0
  52. package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +294 -0
  53. package/esm2020/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +41 -0
  54. package/esm2020/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +143 -0
  55. package/esm2020/lib/shared/components/case-editor/services/event-trigger.service.mjs +20 -0
  56. package/esm2020/lib/shared/components/case-editor/services/judicial-worker.service.mjs +32 -0
  57. package/esm2020/lib/shared/components/case-editor/services/page-validation.service.mjs +53 -0
  58. package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +39 -0
  59. package/esm2020/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +117 -0
  60. package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +209 -0
  61. package/esm2020/lib/shared/components/case-header/case-header.component.mjs +61 -0
  62. package/esm2020/lib/shared/components/case-header/case-header.module.mjs +33 -0
  63. package/esm2020/lib/shared/components/case-history/case-history.component.mjs +242 -0
  64. package/esm2020/lib/shared/components/case-history/case-history.module.mjs +64 -0
  65. package/esm2020/lib/shared/components/case-history/domain/case-history.model.mjs +29 -0
  66. package/esm2020/lib/shared/components/case-history/services/case-history.service.mjs +40 -0
  67. package/esm2020/lib/shared/components/case-list/case-list.component.mjs +362 -0
  68. package/esm2020/lib/shared/components/case-list/case-list.module.mjs +47 -0
  69. package/esm2020/lib/shared/components/case-list-filters/case-list-filters.component.mjs +52 -0
  70. package/esm2020/lib/shared/components/case-list-filters/case-list-filters.module.mjs +64 -0
  71. package/esm2020/lib/shared/components/case-timeline/case-timeline.component.mjs +109 -0
  72. package/esm2020/lib/shared/components/case-timeline/case-timeline.module.mjs +52 -0
  73. package/esm2020/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +247 -0
  74. package/esm2020/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +298 -0
  75. package/esm2020/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +72 -0
  76. package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +141 -0
  77. package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +681 -0
  78. package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +58 -0
  79. package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +241 -0
  80. package/esm2020/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +199 -0
  81. package/esm2020/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +47 -0
  82. package/esm2020/lib/shared/components/case-viewer/case-view/case-view.component.mjs +98 -0
  83. package/esm2020/lib/shared/components/case-viewer/case-viewer.component.mjs +128 -0
  84. package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +191 -0
  85. package/esm2020/lib/shared/components/case-viewer/printer/case-printer.component.mjs +110 -0
  86. package/esm2020/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +60 -0
  87. package/esm2020/lib/shared/components/case-viewer/services/case.resolver.mjs +131 -0
  88. package/esm2020/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +64 -0
  89. package/esm2020/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +8 -0
  90. package/esm2020/lib/shared/components/create-case-filters/create-case-filters.component.mjs +275 -0
  91. package/esm2020/lib/shared/components/create-case-filters/create-case-filters.module.mjs +44 -0
  92. package/esm2020/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +57 -0
  93. package/esm2020/lib/shared/components/dialogs/dialogs.module.mjs +51 -0
  94. package/esm2020/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +59 -0
  95. package/esm2020/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +57 -0
  96. package/esm2020/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +61 -0
  97. package/esm2020/lib/shared/components/error/callback-errors.component.mjs +148 -0
  98. package/esm2020/lib/shared/components/error/domain/error-context.mjs +3 -0
  99. package/esm2020/lib/shared/components/error/errors.module.mjs +33 -0
  100. package/esm2020/lib/shared/components/error-message/error-message.component.mjs +43 -0
  101. package/esm2020/lib/shared/components/error-message/error-message.module.mjs +41 -0
  102. package/esm2020/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +59 -0
  103. package/esm2020/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +53 -0
  104. package/esm2020/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +104 -0
  105. package/esm2020/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +68 -0
  106. package/esm2020/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +58 -0
  107. package/esm2020/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +53 -0
  108. package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +94 -0
  109. package/esm2020/lib/shared/components/event-start/event-start.component.mjs +49 -0
  110. package/esm2020/lib/shared/components/event-start/event-start.module.mjs +71 -0
  111. package/esm2020/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +29 -0
  112. package/esm2020/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +168 -0
  113. package/esm2020/lib/shared/components/event-trigger/event-trigger.component.mjs +111 -0
  114. package/esm2020/lib/shared/components/event-trigger/event-trigger.module.mjs +37 -0
  115. package/esm2020/lib/shared/components/loading-spinner/loading-spinner.component.mjs +27 -0
  116. package/esm2020/lib/shared/components/loading-spinner/loading-spinner.module.mjs +29 -0
  117. package/esm2020/lib/shared/components/pagination/pagination.component.mjs +262 -0
  118. package/esm2020/lib/shared/components/pagination/pagination.module.mjs +35 -0
  119. package/esm2020/lib/shared/components/palette/address/address-option.model.mjs +21 -0
  120. package/esm2020/lib/shared/components/palette/address/write-address-field.component.mjs +280 -0
  121. package/esm2020/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +31 -0
  122. package/esm2020/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +44 -0
  123. package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +83 -0
  124. package/esm2020/lib/shared/components/palette/base-field/field-read-label.component.mjs +86 -0
  125. package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +85 -0
  126. package/esm2020/lib/shared/components/palette/base-field/field-write.component.mjs +74 -0
  127. package/esm2020/lib/shared/components/palette/base-field/payment-field.component.mjs +35 -0
  128. package/esm2020/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +171 -0
  129. 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 +48 -0
  130. 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 +48 -0
  131. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +340 -0
  132. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +153 -0
  133. package/esm2020/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +94 -0
  134. package/esm2020/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +190 -0
  135. package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +288 -0
  136. package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +207 -0
  137. package/esm2020/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +165 -0
  138. package/esm2020/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +219 -0
  139. package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +306 -0
  140. package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +200 -0
  141. package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +343 -0
  142. package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +267 -0
  143. package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +510 -0
  144. package/esm2020/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +41 -0
  145. package/esm2020/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +41 -0
  146. package/esm2020/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +109 -0
  147. package/esm2020/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +77 -0
  148. package/esm2020/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +246 -0
  149. package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +686 -0
  150. package/esm2020/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +32 -0
  151. package/esm2020/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +122 -0
  152. package/esm2020/lib/shared/components/palette/collection/collection-create-checker.service.mjs +42 -0
  153. package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +81 -0
  154. package/esm2020/lib/shared/components/palette/collection/write-collection-field.component.mjs +441 -0
  155. package/esm2020/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +379 -0
  156. package/esm2020/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +53 -0
  157. package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +78 -0
  158. package/esm2020/lib/shared/components/palette/complex/read-complex-field.component.mjs +73 -0
  159. package/esm2020/lib/shared/components/palette/complex/write-complex-field.component.mjs +169 -0
  160. package/esm2020/lib/shared/components/palette/date/read-date-field.component.mjs +28 -0
  161. package/esm2020/lib/shared/components/palette/date/write-date-container-field.component.mjs +33 -0
  162. package/esm2020/lib/shared/components/palette/date/write-date-field.component.mjs +76 -0
  163. package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +309 -0
  164. package/esm2020/lib/shared/components/palette/document/document-url.pipe.mjs +24 -0
  165. package/esm2020/lib/shared/components/palette/document/file-upload-progress.guard.mjs +29 -0
  166. package/esm2020/lib/shared/components/palette/document/file-upload-state.service.mjs +16 -0
  167. package/esm2020/lib/shared/components/palette/document/read-document-field.component.mjs +81 -0
  168. package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +383 -0
  169. package/esm2020/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +18 -0
  170. package/esm2020/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +36 -0
  171. package/esm2020/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +124 -0
  172. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +43 -0
  173. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +145 -0
  174. package/esm2020/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +25 -0
  175. package/esm2020/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +42 -0
  176. package/esm2020/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +124 -0
  177. package/esm2020/lib/shared/components/palette/email/read-email-field.component.mjs +35 -0
  178. package/esm2020/lib/shared/components/palette/email/write-email-field.component.mjs +73 -0
  179. package/esm2020/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +23 -0
  180. package/esm2020/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +26 -0
  181. package/esm2020/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +106 -0
  182. package/esm2020/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +18 -0
  183. package/esm2020/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +26 -0
  184. package/esm2020/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +95 -0
  185. package/esm2020/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +16 -0
  186. package/esm2020/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +97 -0
  187. package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +225 -0
  188. package/esm2020/lib/shared/components/palette/history/event-log/event-log.component.mjs +72 -0
  189. package/esm2020/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +45 -0
  190. package/esm2020/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +242 -0
  191. package/esm2020/lib/shared/components/palette/label/label-field.component.mjs +50 -0
  192. package/esm2020/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +108 -0
  193. package/esm2020/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +189 -0
  194. package/esm2020/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +530 -0
  195. package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +204 -0
  196. package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +280 -0
  197. package/esm2020/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +66 -0
  198. package/esm2020/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +201 -0
  199. package/esm2020/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +22 -0
  200. package/esm2020/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +163 -0
  201. package/esm2020/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +132 -0
  202. package/esm2020/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +27 -0
  203. package/esm2020/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +229 -0
  204. package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +40 -0
  205. package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +43 -0
  206. package/esm2020/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +123 -0
  207. package/esm2020/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +47 -0
  208. package/esm2020/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +78 -0
  209. package/esm2020/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +45 -0
  210. package/esm2020/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +126 -0
  211. package/esm2020/lib/shared/components/palette/number/read-number-field.component.mjs +24 -0
  212. package/esm2020/lib/shared/components/palette/number/write-number-field.component.mjs +73 -0
  213. package/esm2020/lib/shared/components/palette/order-summary/fee-value.model.mjs +3 -0
  214. package/esm2020/lib/shared/components/palette/order-summary/fee.model.mjs +4 -0
  215. package/esm2020/lib/shared/components/palette/order-summary/order-summary.model.mjs +3 -0
  216. package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +73 -0
  217. package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +43 -0
  218. package/esm2020/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +44 -0
  219. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +83 -0
  220. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +87 -0
  221. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +56 -0
  222. package/esm2020/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +33 -0
  223. package/esm2020/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +384 -0
  224. package/esm2020/lib/shared/components/palette/palette.module.mjs +738 -0
  225. package/esm2020/lib/shared/components/palette/palette.service.mjs +155 -0
  226. package/esm2020/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +24 -0
  227. package/esm2020/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +22 -0
  228. package/esm2020/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +73 -0
  229. package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +42 -0
  230. package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +144 -0
  231. package/esm2020/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +64 -0
  232. package/esm2020/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +60 -0
  233. package/esm2020/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +281 -0
  234. package/esm2020/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +327 -0
  235. package/esm2020/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +22 -0
  236. package/esm2020/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +164 -0
  237. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +74 -0
  238. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +107 -0
  239. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +201 -0
  240. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +101 -0
  241. package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +21 -0
  242. package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +38 -0
  243. package/esm2020/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +121 -0
  244. package/esm2020/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +22 -0
  245. package/esm2020/lib/shared/components/palette/text/read-text-field.component.mjs +24 -0
  246. package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +77 -0
  247. package/esm2020/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +24 -0
  248. package/esm2020/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +87 -0
  249. package/esm2020/lib/shared/components/palette/unsupported-field.component.mjs +17 -0
  250. package/esm2020/lib/shared/components/palette/utils/dash.pipe.mjs +16 -0
  251. package/esm2020/lib/shared/components/palette/utils/date.pipe.mjs +132 -0
  252. package/esm2020/lib/shared/components/palette/utils/field-label.pipe.mjs +29 -0
  253. package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +59 -0
  254. package/esm2020/lib/shared/components/palette/utils/is-compound.pipe.mjs +43 -0
  255. package/esm2020/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +21 -0
  256. package/esm2020/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +31 -0
  257. package/esm2020/lib/shared/components/palette/utils/is-read-only.pipe.mjs +21 -0
  258. package/esm2020/lib/shared/components/palette/utils/utils.module.mjs +71 -0
  259. package/esm2020/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +34 -0
  260. package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +34 -0
  261. package/esm2020/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +100 -0
  262. package/esm2020/lib/shared/components/palette/yes-no/yes-no.service.mjs +50 -0
  263. package/esm2020/lib/shared/components/search-filters/domain/search-input.model.mjs +10 -0
  264. package/esm2020/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +58 -0
  265. package/esm2020/lib/shared/components/search-filters/search-filters.component.mjs +326 -0
  266. package/esm2020/lib/shared/components/search-filters/search-filters.module.mjs +71 -0
  267. package/esm2020/lib/shared/components/search-result/search-result.component.mjs +815 -0
  268. package/esm2020/lib/shared/components/search-result/search-result.module.mjs +82 -0
  269. package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +479 -0
  270. package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +67 -0
  271. package/esm2020/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +164 -0
  272. package/esm2020/lib/shared/directives/conditional-show/conditional-show.module.mjs +33 -0
  273. package/esm2020/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +200 -0
  274. package/esm2020/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +19 -0
  275. package/esm2020/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +47 -0
  276. package/esm2020/lib/shared/directives/focus-element/focus-element.directive.mjs +36 -0
  277. package/esm2020/lib/shared/directives/focus-element/focus-element.module.mjs +21 -0
  278. package/esm2020/lib/shared/directives/substitutor/label-substitutor.directive.mjs +82 -0
  279. package/esm2020/lib/shared/directives/substitutor/label-substitutor.module.mjs +30 -0
  280. package/esm2020/lib/shared/directives/substitutor/services/placeholder.service.mjs +200 -0
  281. package/esm2020/lib/shared/domain/activity/activity.model.mjs +10 -0
  282. package/esm2020/lib/shared/domain/addresses/address.model.mjs +13 -0
  283. package/esm2020/lib/shared/domain/alert/alert.model.mjs +3 -0
  284. package/esm2020/lib/shared/domain/case-details.model.mjs +4 -0
  285. package/esm2020/lib/shared/domain/case-event-data.model.mjs +4 -0
  286. package/esm2020/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +3 -0
  287. package/esm2020/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +4 -0
  288. package/esm2020/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +7 -0
  289. package/esm2020/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +117 -0
  290. package/esm2020/lib/shared/domain/case-flag/flag-type.model.mjs +28 -0
  291. package/esm2020/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +10 -0
  292. package/esm2020/lib/shared/domain/case-view/case-event-trigger.model.mjs +23 -0
  293. package/esm2020/lib/shared/domain/case-view/case-print-document.model.mjs +3 -0
  294. package/esm2020/lib/shared/domain/case-view/case-tab.model.mjs +12 -0
  295. package/esm2020/lib/shared/domain/case-view/case-view-event.model.mjs +4 -0
  296. package/esm2020/lib/shared/domain/case-view/case-view-trigger.model.mjs +3 -0
  297. package/esm2020/lib/shared/domain/case-view/case-view.model.mjs +17 -0
  298. package/esm2020/lib/shared/domain/definition/access-control-list.model.mjs +3 -0
  299. package/esm2020/lib/shared/domain/definition/banner.model.mjs +3 -0
  300. package/esm2020/lib/shared/domain/definition/case-event.model.mjs +3 -0
  301. package/esm2020/lib/shared/domain/definition/case-field.model.mjs +198 -0
  302. package/esm2020/lib/shared/domain/definition/case-state.model.mjs +3 -0
  303. package/esm2020/lib/shared/domain/definition/case-type-lite.model.mjs +5 -0
  304. package/esm2020/lib/shared/domain/definition/case-type.model.mjs +12 -0
  305. package/esm2020/lib/shared/domain/definition/event-case-field.model.mjs +4 -0
  306. package/esm2020/lib/shared/domain/definition/field-type.model.mjs +22 -0
  307. package/esm2020/lib/shared/domain/definition/fixed-list-item.model.mjs +3 -0
  308. package/esm2020/lib/shared/domain/definition/jurisdiction.model.mjs +3 -0
  309. package/esm2020/lib/shared/domain/document/document-data.model.mjs +14 -0
  310. package/esm2020/lib/shared/domain/draft.model.mjs +11 -0
  311. package/esm2020/lib/shared/domain/http/http-error.model.mjs +34 -0
  312. package/esm2020/lib/shared/domain/organisation/organisation-converter.mjs +42 -0
  313. package/esm2020/lib/shared/domain/pagination-metadata.model.mjs +3 -0
  314. package/esm2020/lib/shared/domain/profile/profile.model.mjs +29 -0
  315. package/esm2020/lib/shared/domain/search/field.model.mjs +11 -0
  316. package/esm2020/lib/shared/domain/search/search-result-view-column.model.mjs +3 -0
  317. package/esm2020/lib/shared/domain/search/search-result-view-item.model.mjs +12 -0
  318. package/esm2020/lib/shared/domain/search/search-result-view.model.mjs +23 -0
  319. package/esm2020/lib/shared/domain/search/sorting/sort-parameters.mjs +7 -0
  320. package/esm2020/lib/shared/domain/workbasket/workbasket-input.model.mjs +5 -0
  321. package/esm2020/lib/shared/fixture/case-field-builder.mjs +69 -0
  322. package/esm2020/lib/shared/pipes/case-reference/case-reference.pipe.mjs +33 -0
  323. package/esm2020/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +29 -0
  324. package/esm2020/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +32 -0
  325. package/esm2020/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +29 -0
  326. package/esm2020/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +39 -0
  327. package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +173 -0
  328. package/esm2020/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +31 -0
  329. package/esm2020/lib/shared/pipes/complex/fields-filter.pipe.mjs +105 -0
  330. package/esm2020/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +16 -0
  331. package/esm2020/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +27 -0
  332. package/esm2020/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +27 -0
  333. package/esm2020/lib/shared/pipes/pipes.module.mjs +64 -0
  334. package/esm2020/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +24 -0
  335. package/esm2020/lib/shared/services/activity/activity.polling.service.mjs +114 -0
  336. package/esm2020/lib/shared/services/activity/activity.service.mjs +82 -0
  337. package/esm2020/lib/shared/services/addresses/addresses.service.mjs +63 -0
  338. package/esm2020/lib/shared/services/alert/alert.service.mjs +142 -0
  339. package/esm2020/lib/shared/services/auth/auth.service.mjs +33 -0
  340. package/esm2020/lib/shared/services/banners/banners.service.mjs +33 -0
  341. package/esm2020/lib/shared/services/browser/browser.service.mjs +24 -0
  342. package/esm2020/lib/shared/services/case-fields/case-field.service.mjs +34 -0
  343. package/esm2020/lib/shared/services/case-fields/format-translator.service.mjs +242 -0
  344. package/esm2020/lib/shared/services/case-file-view/case-file-view.service.mjs +46 -0
  345. package/esm2020/lib/shared/services/case-flag/case-flag-refdata.service.mjs +102 -0
  346. package/esm2020/lib/shared/services/common-data-service/common-data-service.mjs +28 -0
  347. package/esm2020/lib/shared/services/definitions/definitions.module.mjs +19 -0
  348. package/esm2020/lib/shared/services/definitions/definitions.service.mjs +30 -0
  349. package/esm2020/lib/shared/services/document-management/document-management.service.mjs +112 -0
  350. package/esm2020/lib/shared/services/draft/draft.service.mjs +86 -0
  351. package/esm2020/lib/shared/services/error/error-notifier.service.mjs +18 -0
  352. package/esm2020/lib/shared/services/eventStatusService/event-status.service.mjs +21 -0
  353. package/esm2020/lib/shared/services/fields/fields.purger.mjs +303 -0
  354. package/esm2020/lib/shared/services/fields/fields.utils.mjs +615 -0
  355. package/esm2020/lib/shared/services/form/field-type-sanitiser.mjs +91 -0
  356. package/esm2020/lib/shared/services/form/form-error.service.mjs +46 -0
  357. package/esm2020/lib/shared/services/form/form-validators.service.mjs +56 -0
  358. package/esm2020/lib/shared/services/form/form-value.service.mjs +551 -0
  359. package/esm2020/lib/shared/services/http/http-error.service.mjs +65 -0
  360. package/esm2020/lib/shared/services/http/http.service.mjs +93 -0
  361. package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +34 -0
  362. package/esm2020/lib/shared/services/loading/loading.module.mjs +22 -0
  363. package/esm2020/lib/shared/services/loading/loading.service.mjs +37 -0
  364. package/esm2020/lib/shared/services/navigation/navigation-notifier.service.mjs +18 -0
  365. package/esm2020/lib/shared/services/order/order.service.mjs +39 -0
  366. package/esm2020/lib/shared/services/organisation/organisation.service.mjs +54 -0
  367. package/esm2020/lib/shared/services/profile/profile.notifier.mjs +19 -0
  368. package/esm2020/lib/shared/services/profile/profile.service.mjs +34 -0
  369. package/esm2020/lib/shared/services/request/request.options.builder.mjs +61 -0
  370. package/esm2020/lib/shared/services/router/router-helper.service.mjs +20 -0
  371. package/esm2020/lib/shared/services/search/search.service.mjs +89 -0
  372. package/esm2020/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +71 -0
  373. package/esm2020/lib/shared/services/session/session-storage.service.mjs +34 -0
  374. package/esm2020/lib/shared/services/utils/retry/retry.service.mjs +86 -0
  375. package/esm2020/lib/shared/services/window/window.service.mjs +40 -0
  376. package/esm2020/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +53 -0
  377. package/esm2020/lib/shared/test/test-route-snapshot-builder.mjs +40 -0
  378. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +38536 -0
  379. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
  380. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +35572 -0
  381. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
  382. package/lib/shared/components/case-editor/case-editor.module.d.ts +25 -0
  383. package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
  384. package/lib/shared/components/case-header/case-header.module.d.ts +8 -0
  385. package/lib/shared/components/case-header/case-header.module.d.ts.map +1 -1
  386. package/lib/shared/components/case-history/case-history.module.d.ts +12 -0
  387. package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -1
  388. package/lib/shared/components/case-list/case-list.module.d.ts +11 -0
  389. package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -1
  390. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +11 -0
  391. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -1
  392. package/lib/shared/components/case-timeline/case-timeline.module.d.ts +11 -0
  393. package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -1
  394. package/lib/shared/components/case-viewer/case-viewer.module.d.ts +36 -0
  395. package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
  396. package/lib/shared/components/pagination/pagination.module.d.ts +8 -0
  397. package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
  398. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +10 -0
  399. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -1
  400. package/lib/shared/components/palette/palette.module.d.ts +148 -0
  401. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  402. package/lib/shared/components/search-filters/search-filters.module.d.ts +11 -0
  403. package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
  404. package/lib/shared/components/search-result/search-result.module.d.ts +15 -0
  405. package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
  406. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +10 -0
  407. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
  408. package/package.json +11 -5
  409. package/esm2022/lib/app.config.mjs +0 -93
  410. package/esm2022/lib/components/banners/alert/alert-icon-class.pipe.mjs +0 -25
  411. package/esm2022/lib/components/banners/alert/alert.component.mjs +0 -94
  412. package/esm2022/lib/components/banners/alert/alert.module.mjs +0 -32
  413. package/esm2022/lib/components/banners/banners.module.mjs +0 -32
  414. package/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +0 -119
  415. package/esm2022/lib/components/banners/notification-banner/notification-banner.module.mjs +0 -19
  416. package/esm2022/lib/components/body/body.component.mjs +0 -20
  417. package/esm2022/lib/components/body/body.module.mjs +0 -20
  418. package/esm2022/lib/components/footer/footer.component.mjs +0 -109
  419. package/esm2022/lib/components/footer/footers.module.mjs +0 -25
  420. package/esm2022/lib/components/form/date-input/date-input.component.mjs +0 -342
  421. package/esm2022/lib/components/form/form.module.mjs +0 -29
  422. package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +0 -98
  423. package/esm2022/lib/components/header/headers.module.mjs +0 -25
  424. package/esm2022/lib/components/header/navigation/navigation-item.component.mjs +0 -44
  425. package/esm2022/lib/components/header/navigation/navigation.component.mjs +0 -25
  426. package/esm2022/lib/components/header/phase/phase.component.mjs +0 -48
  427. package/esm2022/lib/components/tabs/tab.component.mjs +0 -31
  428. package/esm2022/lib/components/tabs/tabs.component.mjs +0 -82
  429. package/esm2022/lib/components/tabs/tabs.module.mjs +0 -38
  430. package/esm2022/lib/shared/commons/address-validation-constants.mjs +0 -13
  431. package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +0 -19
  432. package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +0 -46
  433. package/esm2022/lib/shared/commons/constants.mjs +0 -13
  434. package/esm2022/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +0 -42
  435. package/esm2022/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +0 -35
  436. package/esm2022/lib/shared/components/activity/activity.component.mjs +0 -158
  437. package/esm2022/lib/shared/components/activity/activity.module.mjs +0 -55
  438. package/esm2022/lib/shared/components/case-editor/case-access-utils/index.mjs +0 -105
  439. package/esm2022/lib/shared/components/case-editor/case-create/case-create.component.mjs +0 -95
  440. package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +0 -463
  441. package/esm2022/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +0 -131
  442. package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +0 -140
  443. package/esm2022/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +0 -70
  444. package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +0 -779
  445. package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +0 -560
  446. package/esm2022/lib/shared/components/case-editor/case-editor.module.mjs +0 -118
  447. package/esm2022/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +0 -96
  448. package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +0 -82
  449. package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +0 -166
  450. package/esm2022/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +0 -84
  451. package/esm2022/lib/shared/components/case-editor/domain/confirmation.model.mjs +0 -25
  452. package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +0 -9
  453. package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +0 -7
  454. package/esm2022/lib/shared/components/case-editor/domain/wizard-page.model.mjs +0 -33
  455. package/esm2022/lib/shared/components/case-editor/domain/wizard.model.mjs +0 -55
  456. package/esm2022/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +0 -98
  457. package/esm2022/lib/shared/components/case-editor/services/case-flag-state.service.mjs +0 -19
  458. package/esm2022/lib/shared/components/case-editor/services/case-worker.service.mjs +0 -35
  459. package/esm2022/lib/shared/components/case-editor/services/case.notifier.mjs +0 -53
  460. package/esm2022/lib/shared/components/case-editor/services/cases.service.mjs +0 -302
  461. package/esm2022/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +0 -42
  462. package/esm2022/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +0 -153
  463. package/esm2022/lib/shared/components/case-editor/services/event-trigger.service.mjs +0 -18
  464. package/esm2022/lib/shared/components/case-editor/services/judicial-worker.service.mjs +0 -35
  465. package/esm2022/lib/shared/components/case-editor/services/page-validation.service.mjs +0 -54
  466. package/esm2022/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +0 -40
  467. package/esm2022/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +0 -117
  468. package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +0 -215
  469. package/esm2022/lib/shared/components/case-header/case-header.component.mjs +0 -64
  470. package/esm2022/lib/shared/components/case-header/case-header.module.mjs +0 -25
  471. package/esm2022/lib/shared/components/case-history/case-history.component.mjs +0 -252
  472. package/esm2022/lib/shared/components/case-history/case-history.module.mjs +0 -36
  473. package/esm2022/lib/shared/components/case-history/domain/case-history.model.mjs +0 -37
  474. package/esm2022/lib/shared/components/case-history/services/case-history.service.mjs +0 -43
  475. package/esm2022/lib/shared/components/case-list/case-list.component.mjs +0 -373
  476. package/esm2022/lib/shared/components/case-list/case-list.module.mjs +0 -31
  477. package/esm2022/lib/shared/components/case-list-filters/case-list-filters.component.mjs +0 -56
  478. package/esm2022/lib/shared/components/case-list-filters/case-list-filters.module.mjs +0 -39
  479. package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +0 -115
  480. package/esm2022/lib/shared/components/case-timeline/case-timeline.module.mjs +0 -32
  481. package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +0 -251
  482. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +0 -310
  483. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +0 -74
  484. package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +0 -155
  485. package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +0 -710
  486. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +0 -60
  487. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +0 -255
  488. package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +0 -210
  489. package/esm2022/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +0 -49
  490. package/esm2022/lib/shared/components/case-viewer/case-view/case-view.component.mjs +0 -106
  491. package/esm2022/lib/shared/components/case-viewer/case-viewer.component.mjs +0 -136
  492. package/esm2022/lib/shared/components/case-viewer/case-viewer.module.mjs +0 -98
  493. package/esm2022/lib/shared/components/case-viewer/printer/case-printer.component.mjs +0 -116
  494. package/esm2022/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +0 -61
  495. package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +0 -141
  496. package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +0 -70
  497. package/esm2022/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +0 -11
  498. package/esm2022/lib/shared/components/create-case-filters/create-case-filters.component.mjs +0 -288
  499. package/esm2022/lib/shared/components/create-case-filters/create-case-filters.module.mjs +0 -44
  500. package/esm2022/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +0 -59
  501. package/esm2022/lib/shared/components/dialogs/dialogs.module.mjs +0 -51
  502. package/esm2022/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +0 -61
  503. package/esm2022/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +0 -59
  504. package/esm2022/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +0 -63
  505. package/esm2022/lib/shared/components/error/callback-errors.component.mjs +0 -147
  506. package/esm2022/lib/shared/components/error/domain/error-context.mjs +0 -5
  507. package/esm2022/lib/shared/components/error/errors.module.mjs +0 -33
  508. package/esm2022/lib/shared/components/error-message/error-message.component.mjs +0 -44
  509. package/esm2022/lib/shared/components/error-message/error-message.module.mjs +0 -41
  510. package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +0 -61
  511. package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +0 -55
  512. package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +0 -111
  513. package/esm2022/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +0 -69
  514. package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +0 -60
  515. package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +0 -55
  516. package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +0 -97
  517. package/esm2022/lib/shared/components/event-start/event-start.component.mjs +0 -55
  518. package/esm2022/lib/shared/components/event-start/event-start.module.mjs +0 -71
  519. package/esm2022/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +0 -31
  520. package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +0 -177
  521. package/esm2022/lib/shared/components/event-trigger/event-trigger.component.mjs +0 -117
  522. package/esm2022/lib/shared/components/event-trigger/event-trigger.module.mjs +0 -37
  523. package/esm2022/lib/shared/components/loading-spinner/loading-spinner.component.mjs +0 -25
  524. package/esm2022/lib/shared/components/loading-spinner/loading-spinner.module.mjs +0 -29
  525. package/esm2022/lib/shared/components/pagination/pagination.component.mjs +0 -261
  526. package/esm2022/lib/shared/components/pagination/pagination.module.mjs +0 -26
  527. package/esm2022/lib/shared/components/palette/address/address-option.model.mjs +0 -23
  528. package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +0 -287
  529. package/esm2022/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +0 -30
  530. package/esm2022/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +0 -44
  531. package/esm2022/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +0 -84
  532. package/esm2022/lib/shared/components/palette/base-field/field-read-label.component.mjs +0 -85
  533. package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +0 -89
  534. package/esm2022/lib/shared/components/palette/base-field/field-write.component.mjs +0 -77
  535. package/esm2022/lib/shared/components/palette/base-field/payment-field.component.mjs +0 -37
  536. package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +0 -182
  537. 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 +0 -48
  538. 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 +0 -49
  539. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +0 -356
  540. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +0 -155
  541. package/esm2022/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +0 -93
  542. package/esm2022/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +0 -191
  543. package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +0 -302
  544. package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +0 -208
  545. package/esm2022/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +0 -169
  546. package/esm2022/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +0 -224
  547. package/esm2022/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +0 -311
  548. package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +0 -202
  549. package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +0 -355
  550. package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +0 -268
  551. package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +0 -516
  552. package/esm2022/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +0 -43
  553. package/esm2022/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +0 -43
  554. package/esm2022/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +0 -111
  555. package/esm2022/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +0 -79
  556. package/esm2022/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +0 -255
  557. package/esm2022/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +0 -704
  558. package/esm2022/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +0 -32
  559. package/esm2022/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +0 -125
  560. package/esm2022/lib/shared/components/palette/collection/collection-create-checker.service.mjs +0 -42
  561. package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +0 -78
  562. package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +0 -449
  563. package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +0 -380
  564. package/esm2022/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +0 -50
  565. package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +0 -75
  566. package/esm2022/lib/shared/components/palette/complex/read-complex-field.component.mjs +0 -70
  567. package/esm2022/lib/shared/components/palette/complex/write-complex-field.component.mjs +0 -173
  568. package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +0 -25
  569. package/esm2022/lib/shared/components/palette/date/write-date-container-field.component.mjs +0 -33
  570. package/esm2022/lib/shared/components/palette/date/write-date-field.component.mjs +0 -77
  571. package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +0 -314
  572. package/esm2022/lib/shared/components/palette/document/document-url.pipe.mjs +0 -25
  573. package/esm2022/lib/shared/components/palette/document/file-upload-progress.guard.mjs +0 -31
  574. package/esm2022/lib/shared/components/palette/document/file-upload-state.service.mjs +0 -17
  575. package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +0 -87
  576. package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +0 -404
  577. package/esm2022/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +0 -18
  578. package/esm2022/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +0 -36
  579. package/esm2022/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +0 -125
  580. package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +0 -43
  581. package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +0 -147
  582. package/esm2022/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +0 -25
  583. package/esm2022/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +0 -42
  584. package/esm2022/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +0 -125
  585. package/esm2022/lib/shared/components/palette/email/read-email-field.component.mjs +0 -35
  586. package/esm2022/lib/shared/components/palette/email/write-email-field.component.mjs +0 -74
  587. package/esm2022/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +0 -23
  588. package/esm2022/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +0 -26
  589. package/esm2022/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +0 -107
  590. package/esm2022/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +0 -18
  591. package/esm2022/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +0 -26
  592. package/esm2022/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +0 -96
  593. package/esm2022/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +0 -16
  594. package/esm2022/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +0 -98
  595. package/esm2022/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +0 -225
  596. package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +0 -72
  597. package/esm2022/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +0 -48
  598. package/esm2022/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +0 -253
  599. package/esm2022/lib/shared/components/palette/label/label-field.component.mjs +0 -50
  600. package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +0 -112
  601. package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +0 -194
  602. package/esm2022/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +0 -543
  603. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +0 -214
  604. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +0 -287
  605. package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +0 -69
  606. package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +0 -208
  607. package/esm2022/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +0 -67
  608. package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +0 -169
  609. package/esm2022/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +0 -138
  610. package/esm2022/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +0 -27
  611. package/esm2022/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +0 -237
  612. package/esm2022/lib/shared/components/palette/markdown/markdown-component.module.mjs +0 -29
  613. package/esm2022/lib/shared/components/palette/markdown/markdown.component.mjs +0 -44
  614. package/esm2022/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +0 -127
  615. package/esm2022/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +0 -49
  616. package/esm2022/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +0 -79
  617. package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +0 -45
  618. package/esm2022/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +0 -127
  619. package/esm2022/lib/shared/components/palette/number/read-number-field.component.mjs +0 -24
  620. package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +0 -74
  621. package/esm2022/lib/shared/components/palette/order-summary/fee-value.model.mjs +0 -4
  622. package/esm2022/lib/shared/components/palette/order-summary/fee.model.mjs +0 -8
  623. package/esm2022/lib/shared/components/palette/order-summary/order-summary.model.mjs +0 -6
  624. package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +0 -73
  625. package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +0 -44
  626. package/esm2022/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +0 -44
  627. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +0 -87
  628. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +0 -91
  629. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +0 -53
  630. package/esm2022/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +0 -34
  631. package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +0 -396
  632. package/esm2022/lib/shared/components/palette/palette.module.mjs +0 -291
  633. package/esm2022/lib/shared/components/palette/palette.service.mjs +0 -153
  634. package/esm2022/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +0 -24
  635. package/esm2022/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +0 -22
  636. package/esm2022/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +0 -74
  637. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +0 -43
  638. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +0 -149
  639. package/esm2022/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +0 -66
  640. package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +0 -61
  641. package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +0 -292
  642. package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +0 -330
  643. package/esm2022/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +0 -23
  644. package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +0 -164
  645. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +0 -77
  646. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +0 -111
  647. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +0 -201
  648. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +0 -106
  649. package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +0 -24
  650. package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +0 -45
  651. package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +0 -125
  652. package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +0 -22
  653. package/esm2022/lib/shared/components/palette/text/read-text-field.component.mjs +0 -24
  654. package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +0 -78
  655. package/esm2022/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +0 -24
  656. package/esm2022/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +0 -89
  657. package/esm2022/lib/shared/components/palette/unsupported-field.component.mjs +0 -17
  658. package/esm2022/lib/shared/components/palette/utils/dash.pipe.mjs +0 -16
  659. package/esm2022/lib/shared/components/palette/utils/date.pipe.mjs +0 -133
  660. package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +0 -30
  661. package/esm2022/lib/shared/components/palette/utils/first-error.pipe.mjs +0 -62
  662. package/esm2022/lib/shared/components/palette/utils/is-compound.pipe.mjs +0 -43
  663. package/esm2022/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +0 -22
  664. package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +0 -32
  665. package/esm2022/lib/shared/components/palette/utils/is-read-only.pipe.mjs +0 -22
  666. package/esm2022/lib/shared/components/palette/utils/utils.module.mjs +0 -71
  667. package/esm2022/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +0 -34
  668. package/esm2022/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +0 -36
  669. package/esm2022/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +0 -102
  670. package/esm2022/lib/shared/components/palette/yes-no/yes-no.service.mjs +0 -50
  671. package/esm2022/lib/shared/components/search-filters/domain/search-input.model.mjs +0 -15
  672. package/esm2022/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +0 -62
  673. package/esm2022/lib/shared/components/search-filters/search-filters.component.mjs +0 -337
  674. package/esm2022/lib/shared/components/search-filters/search-filters.module.mjs +0 -44
  675. package/esm2022/lib/shared/components/search-result/search-result.component.mjs +0 -834
  676. package/esm2022/lib/shared/components/search-result/search-result.module.mjs +0 -46
  677. package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +0 -494
  678. package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +0 -42
  679. package/esm2022/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +0 -169
  680. package/esm2022/lib/shared/directives/conditional-show/conditional-show.module.mjs +0 -33
  681. package/esm2022/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +0 -201
  682. package/esm2022/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +0 -17
  683. package/esm2022/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +0 -48
  684. package/esm2022/lib/shared/directives/focus-element/focus-element.directive.mjs +0 -38
  685. package/esm2022/lib/shared/directives/focus-element/focus-element.module.mjs +0 -21
  686. package/esm2022/lib/shared/directives/substitutor/label-substitutor.directive.mjs +0 -88
  687. package/esm2022/lib/shared/directives/substitutor/label-substitutor.module.mjs +0 -30
  688. package/esm2022/lib/shared/directives/substitutor/services/placeholder.service.mjs +0 -209
  689. package/esm2022/lib/shared/domain/activity/activity.model.mjs +0 -17
  690. package/esm2022/lib/shared/domain/addresses/address.model.mjs +0 -11
  691. package/esm2022/lib/shared/domain/alert/alert.model.mjs +0 -5
  692. package/esm2022/lib/shared/domain/case-details.model.mjs +0 -13
  693. package/esm2022/lib/shared/domain/case-event-data.model.mjs +0 -11
  694. package/esm2022/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +0 -8
  695. package/esm2022/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +0 -10
  696. package/esm2022/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +0 -10
  697. package/esm2022/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +0 -124
  698. package/esm2022/lib/shared/domain/case-flag/flag-type.model.mjs +0 -37
  699. package/esm2022/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +0 -18
  700. package/esm2022/lib/shared/domain/case-view/case-event-trigger.model.mjs +0 -34
  701. package/esm2022/lib/shared/domain/case-view/case-print-document.model.mjs +0 -6
  702. package/esm2022/lib/shared/domain/case-view/case-tab.model.mjs +0 -17
  703. package/esm2022/lib/shared/domain/case-view/case-view-event.model.mjs +0 -16
  704. package/esm2022/lib/shared/domain/case-view/case-view-trigger.model.mjs +0 -7
  705. package/esm2022/lib/shared/domain/case-view/case-view.model.mjs +0 -27
  706. package/esm2022/lib/shared/domain/definition/access-control-list.model.mjs +0 -8
  707. package/esm2022/lib/shared/domain/definition/banner.model.mjs +0 -8
  708. package/esm2022/lib/shared/domain/definition/case-event.model.mjs +0 -11
  709. package/esm2022/lib/shared/domain/definition/case-field.model.mjs +0 -216
  710. package/esm2022/lib/shared/domain/definition/case-state.model.mjs +0 -7
  711. package/esm2022/lib/shared/domain/definition/case-type-lite.model.mjs +0 -10
  712. package/esm2022/lib/shared/domain/definition/case-type.model.mjs +0 -20
  713. package/esm2022/lib/shared/domain/definition/event-case-field.model.mjs +0 -6
  714. package/esm2022/lib/shared/domain/definition/field-type.model.mjs +0 -30
  715. package/esm2022/lib/shared/domain/definition/fixed-list-item.model.mjs +0 -6
  716. package/esm2022/lib/shared/domain/definition/jurisdiction.model.mjs +0 -8
  717. package/esm2022/lib/shared/domain/document/document-data.model.mjs +0 -27
  718. package/esm2022/lib/shared/domain/draft.model.mjs +0 -16
  719. package/esm2022/lib/shared/domain/http/http-error.model.mjs +0 -43
  720. package/esm2022/lib/shared/domain/organisation/organisation-converter.mjs +0 -42
  721. package/esm2022/lib/shared/domain/pagination-metadata.model.mjs +0 -5
  722. package/esm2022/lib/shared/domain/profile/profile.model.mjs +0 -33
  723. package/esm2022/lib/shared/domain/search/field.model.mjs +0 -17
  724. package/esm2022/lib/shared/domain/search/search-result-view-column.model.mjs +0 -9
  725. package/esm2022/lib/shared/domain/search/search-result-view-item.model.mjs +0 -18
  726. package/esm2022/lib/shared/domain/search/search-result-view.model.mjs +0 -26
  727. package/esm2022/lib/shared/domain/search/sorting/sort-parameters.mjs +0 -9
  728. package/esm2022/lib/shared/domain/workbasket/workbasket-input.model.mjs +0 -11
  729. package/esm2022/lib/shared/fixture/case-field-builder.mjs +0 -67
  730. package/esm2022/lib/shared/pipes/case-reference/case-reference.pipe.mjs +0 -33
  731. package/esm2022/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +0 -31
  732. package/esm2022/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +0 -32
  733. package/esm2022/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +0 -27
  734. package/esm2022/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +0 -39
  735. package/esm2022/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +0 -173
  736. package/esm2022/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +0 -31
  737. package/esm2022/lib/shared/pipes/complex/fields-filter.pipe.mjs +0 -105
  738. package/esm2022/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +0 -16
  739. package/esm2022/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +0 -28
  740. package/esm2022/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +0 -28
  741. package/esm2022/lib/shared/pipes/pipes.module.mjs +0 -64
  742. package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +0 -24
  743. package/esm2022/lib/shared/services/activity/activity.polling.service.mjs +0 -122
  744. package/esm2022/lib/shared/services/activity/activity.service.mjs +0 -85
  745. package/esm2022/lib/shared/services/addresses/addresses.service.mjs +0 -65
  746. package/esm2022/lib/shared/services/alert/alert.service.mjs +0 -157
  747. package/esm2022/lib/shared/services/auth/auth.service.mjs +0 -35
  748. package/esm2022/lib/shared/services/banners/banners.service.mjs +0 -35
  749. package/esm2022/lib/shared/services/browser/browser.service.mjs +0 -24
  750. package/esm2022/lib/shared/services/case-fields/case-field.service.mjs +0 -34
  751. package/esm2022/lib/shared/services/case-fields/format-translator.service.mjs +0 -242
  752. package/esm2022/lib/shared/services/case-file-view/case-file-view.service.mjs +0 -48
  753. package/esm2022/lib/shared/services/case-flag/case-flag-refdata.service.mjs +0 -104
  754. package/esm2022/lib/shared/services/common-data-service/common-data-service.mjs +0 -29
  755. package/esm2022/lib/shared/services/definitions/definitions.module.mjs +0 -19
  756. package/esm2022/lib/shared/services/definitions/definitions.service.mjs +0 -32
  757. package/esm2022/lib/shared/services/document-management/document-management.service.mjs +0 -114
  758. package/esm2022/lib/shared/services/draft/draft.service.mjs +0 -89
  759. package/esm2022/lib/shared/services/error/error-notifier.service.mjs +0 -16
  760. package/esm2022/lib/shared/services/eventStatusService/event-status.service.mjs +0 -21
  761. package/esm2022/lib/shared/services/fields/fields.purger.mjs +0 -304
  762. package/esm2022/lib/shared/services/fields/fields.utils.mjs +0 -615
  763. package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +0 -91
  764. package/esm2022/lib/shared/services/form/form-error.service.mjs +0 -46
  765. package/esm2022/lib/shared/services/form/form-validators.service.mjs +0 -56
  766. package/esm2022/lib/shared/services/form/form-value.service.mjs +0 -552
  767. package/esm2022/lib/shared/services/http/http-error.service.mjs +0 -67
  768. package/esm2022/lib/shared/services/http/http.service.mjs +0 -95
  769. package/esm2022/lib/shared/services/jurisdiction/jurisdiction.service.mjs +0 -36
  770. package/esm2022/lib/shared/services/loading/loading.module.mjs +0 -22
  771. package/esm2022/lib/shared/services/loading/loading.service.mjs +0 -35
  772. package/esm2022/lib/shared/services/navigation/navigation-notifier.service.mjs +0 -16
  773. package/esm2022/lib/shared/services/order/order.service.mjs +0 -37
  774. package/esm2022/lib/shared/services/organisation/organisation.service.mjs +0 -57
  775. package/esm2022/lib/shared/services/profile/profile.notifier.mjs +0 -17
  776. package/esm2022/lib/shared/services/profile/profile.service.mjs +0 -36
  777. package/esm2022/lib/shared/services/request/request.options.builder.mjs +0 -61
  778. package/esm2022/lib/shared/services/router/router-helper.service.mjs +0 -20
  779. package/esm2022/lib/shared/services/search/search.service.mjs +0 -96
  780. package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +0 -71
  781. package/esm2022/lib/shared/services/session/session-storage.service.mjs +0 -34
  782. package/esm2022/lib/shared/services/utils/retry/retry.service.mjs +0 -87
  783. package/esm2022/lib/shared/services/window/window.service.mjs +0 -40
  784. package/esm2022/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +0 -57
  785. package/esm2022/lib/shared/test/test-route-snapshot-builder.mjs +0 -38
  786. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +0 -36099
  787. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
  788. /package/{esm2022 → esm2020}/hmcts-ccd-case-ui-toolkit.mjs +0 -0
  789. /package/{esm2022 → esm2020}/lib/components/banners/alert/index.mjs +0 -0
  790. /package/{esm2022 → esm2020}/lib/components/banners/index.mjs +0 -0
  791. /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/domain/index.mjs +0 -0
  792. /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/domain/notification-banner-config.model.mjs +0 -0
  793. /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/index.mjs +0 -0
  794. /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/notification-banner-style.enum.mjs +0 -0
  795. /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/notification-banner-type.enum.mjs +0 -0
  796. /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/index.mjs +0 -0
  797. /package/{esm2022 → esm2020}/lib/components/body/index.mjs +0 -0
  798. /package/{esm2022 → esm2020}/lib/components/footer/index.mjs +0 -0
  799. /package/{esm2022 → esm2020}/lib/components/form/date-input/index.mjs +0 -0
  800. /package/{esm2022 → esm2020}/lib/components/form/index.mjs +0 -0
  801. /package/{esm2022 → esm2020}/lib/components/header/header-bar/index.mjs +0 -0
  802. /package/{esm2022 → esm2020}/lib/components/header/index.mjs +0 -0
  803. /package/{esm2022 → esm2020}/lib/components/header/navigation/index.mjs +0 -0
  804. /package/{esm2022 → esm2020}/lib/components/header/phase/index.mjs +0 -0
  805. /package/{esm2022 → esm2020}/lib/components/index.mjs +0 -0
  806. /package/{esm2022 → esm2020}/lib/components/tabs/index.mjs +0 -0
  807. /package/{esm2022 → esm2020}/lib/shared/commons/case-edit-data/case-edit-validation.model.mjs +0 -0
  808. /package/{esm2022 → esm2020}/lib/shared/commons/case-edit-data/index.mjs +0 -0
  809. /package/{esm2022 → esm2020}/lib/shared/components/activity/activity-banner/index.mjs +0 -0
  810. /package/{esm2022 → esm2020}/lib/shared/components/activity/activity-icon/index.mjs +0 -0
  811. /package/{esm2022 → esm2020}/lib/shared/components/activity/index.mjs +0 -0
  812. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-create/index.mjs +0 -0
  813. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit/index.mjs +0 -0
  814. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-confirm/index.mjs +0 -0
  815. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-form/index.mjs +0 -0
  816. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-page/index.mjs +0 -0
  817. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.mjs +0 -0
  818. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-submit/index.mjs +0 -0
  819. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-event-completion/index.mjs +0 -0
  820. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-progress/index.mjs +0 -0
  821. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-params.model.mjs +0 -0
  822. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-portal-types.model.mjs +0 -0
  823. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.mjs +0 -0
  824. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.mjs +0 -0
  825. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-states.enum.model.mjs +0 -0
  826. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/index.mjs +0 -0
  827. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/editor.routing.mjs +0 -0
  828. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/index.mjs +0 -0
  829. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/services/index.mjs +0 -0
  830. /package/{esm2022 → esm2020}/lib/shared/components/case-editor/services/wizard-factory.service.mjs +0 -0
  831. /package/{esm2022 → esm2020}/lib/shared/components/case-header/index.mjs +0 -0
  832. /package/{esm2022 → esm2020}/lib/shared/components/case-history/index.mjs +0 -0
  833. /package/{esm2022 → esm2020}/lib/shared/components/case-list/index.mjs +0 -0
  834. /package/{esm2022 → esm2020}/lib/shared/components/case-list-filters/index.mjs +0 -0
  835. /package/{esm2022 → esm2020}/lib/shared/components/case-timeline/index.mjs +0 -0
  836. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-basic-access-view/index.mjs +0 -0
  837. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/index.mjs +0 -0
  838. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.mjs +0 -0
  839. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/models/index.mjs +0 -0
  840. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-success/index.mjs +0 -0
  841. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-event-trigger/index.mjs +0 -0
  842. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-full-access-view/index.mjs +0 -0
  843. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-reject/index.mjs +0 -0
  844. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/index.mjs +0 -0
  845. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.mjs +0 -0
  846. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.mjs +0 -0
  847. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/index.mjs +0 -0
  848. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.mjs +0 -0
  849. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/models/index.mjs +0 -0
  850. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-success/index.mjs +0 -0
  851. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-view/index.mjs +0 -0
  852. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/index.mjs +0 -0
  853. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/printer/index.mjs +0 -0
  854. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/printer/pipes/index.mjs +0 -0
  855. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/services/index.mjs +0 -0
  856. /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/viewer.routing.mjs +0 -0
  857. /package/{esm2022 → esm2020}/lib/shared/components/create-case-filters/index.mjs +0 -0
  858. /package/{esm2022 → esm2020}/lib/shared/components/dialogs/delete-or-cancel-dialog/index.mjs +0 -0
  859. /package/{esm2022 → esm2020}/lib/shared/components/dialogs/document-dialog/index.mjs +0 -0
  860. /package/{esm2022 → esm2020}/lib/shared/components/dialogs/index.mjs +0 -0
  861. /package/{esm2022 → esm2020}/lib/shared/components/dialogs/remove-dialog/index.mjs +0 -0
  862. /package/{esm2022 → esm2020}/lib/shared/components/dialogs/save-or-discard-dialog/index.mjs +0 -0
  863. /package/{esm2022 → esm2020}/lib/shared/components/error/domain/index.mjs +0 -0
  864. /package/{esm2022 → esm2020}/lib/shared/components/error/index.mjs +0 -0
  865. /package/{esm2022 → esm2020}/lib/shared/components/error-message/index.mjs +0 -0
  866. /package/{esm2022 → esm2020}/lib/shared/components/event-start/index.mjs +0 -0
  867. /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/event-start-state-machine-context.model.mjs +0 -0
  868. /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/event-start-states-enum.model.mjs +0 -0
  869. /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/index.mjs +0 -0
  870. /package/{esm2022 → esm2020}/lib/shared/components/event-start/services/index.mjs +0 -0
  871. /package/{esm2022 → esm2020}/lib/shared/components/event-trigger/index.mjs +0 -0
  872. /package/{esm2022 → esm2020}/lib/shared/components/helpers/index.mjs +0 -0
  873. /package/{esm2022 → esm2020}/lib/shared/components/helpers/init-dialog-helper.mjs +0 -0
  874. /package/{esm2022 → esm2020}/lib/shared/components/index.mjs +0 -0
  875. /package/{esm2022 → esm2020}/lib/shared/components/loading-spinner/index.mjs +0 -0
  876. /package/{esm2022 → esm2020}/lib/shared/components/pagination/index.mjs +0 -0
  877. /package/{esm2022 → esm2020}/lib/shared/components/palette/address/index.mjs +0 -0
  878. /package/{esm2022 → esm2020}/lib/shared/components/palette/base-field/index.mjs +0 -0
  879. /package/{esm2022 → esm2020}/lib/shared/components/palette/base-field/palette-context.enum.mjs +0 -0
  880. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/index.mjs +0 -0
  881. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.mjs +0 -0
  882. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/shared/index.mjs +0 -0
  883. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/index.mjs +0 -0
  884. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.mjs +0 -0
  885. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/components/index.mjs +0 -0
  886. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.mjs +0 -0
  887. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/case-flag-state.model.mjs +0 -0
  888. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/case-flag.model.mjs +0 -0
  889. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/index.mjs +0 -0
  890. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/language.model.mjs +0 -0
  891. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.mjs +0 -0
  892. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.mjs +0 -0
  893. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.mjs +0 -0
  894. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.mjs +0 -0
  895. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.mjs +0 -0
  896. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.mjs +0 -0
  897. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-summary-list-display-mode.enum.mjs +0 -0
  898. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.mjs +0 -0
  899. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.mjs +0 -0
  900. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.mjs +0 -0
  901. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/index.mjs +0 -0
  902. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-error-message.enum.mjs +0 -0
  903. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-step.enum.mjs +0 -0
  904. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.mjs +0 -0
  905. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-location-error-message.enum.mjs +0 -0
  906. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.mjs +0 -0
  907. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.mjs +0 -0
  908. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.mjs +0 -0
  909. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.mjs +0 -0
  910. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.mjs +0 -0
  911. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.mjs +0 -0
  912. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/index.mjs +0 -0
  913. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/pipes/index.mjs +0 -0
  914. /package/{esm2022 → esm2020}/lib/shared/components/palette/case-link/index.mjs +0 -0
  915. /package/{esm2022 → esm2020}/lib/shared/components/palette/collection/index.mjs +0 -0
  916. /package/{esm2022 → esm2020}/lib/shared/components/palette/complex/index.mjs +0 -0
  917. /package/{esm2022 → esm2020}/lib/shared/components/palette/complex/sort-order.mjs +0 -0
  918. /package/{esm2022 → esm2020}/lib/shared/components/palette/date/index.mjs +0 -0
  919. /package/{esm2022 → esm2020}/lib/shared/components/palette/datetime-picker/datetime-picker-utils.mjs +0 -0
  920. /package/{esm2022 → esm2020}/lib/shared/components/palette/datetime-picker/index.mjs +0 -0
  921. /package/{esm2022 → esm2020}/lib/shared/components/palette/document/index.mjs +0 -0
  922. /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-list/index.mjs +0 -0
  923. /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-multi-select-list/index.mjs +0 -0
  924. /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-radio-list/index.mjs +0 -0
  925. /package/{esm2022 → esm2020}/lib/shared/components/palette/email/index.mjs +0 -0
  926. /package/{esm2022 → esm2020}/lib/shared/components/palette/fixed-list/index.mjs +0 -0
  927. /package/{esm2022 → esm2020}/lib/shared/components/palette/fixed-radio-list/index.mjs +0 -0
  928. /package/{esm2022 → esm2020}/lib/shared/components/palette/history/event-log/index.mjs +0 -0
  929. /package/{esm2022 → esm2020}/lib/shared/components/palette/history/index.mjs +0 -0
  930. /package/{esm2022 → esm2020}/lib/shared/components/palette/index.mjs +0 -0
  931. /package/{esm2022 → esm2020}/lib/shared/components/palette/judicial-user/index.mjs +0 -0
  932. /package/{esm2022 → esm2020}/lib/shared/components/palette/label/index.mjs +0 -0
  933. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/components/index.mjs +0 -0
  934. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/domain/index.mjs +0 -0
  935. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.mjs +0 -0
  936. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/enums/index.mjs +0 -0
  937. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.mjs +0 -0
  938. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/index.mjs +0 -0
  939. /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/services/index.mjs +0 -0
  940. /package/{esm2022 → esm2020}/lib/shared/components/palette/markdown/index.mjs +0 -0
  941. /package/{esm2022 → esm2020}/lib/shared/components/palette/money-gbp/index.mjs +0 -0
  942. /package/{esm2022 → esm2020}/lib/shared/components/palette/multi-select-list/index.mjs +0 -0
  943. /package/{esm2022 → esm2020}/lib/shared/components/palette/number/index.mjs +0 -0
  944. /package/{esm2022 → esm2020}/lib/shared/components/palette/order-summary/index.mjs +0 -0
  945. /package/{esm2022 → esm2020}/lib/shared/components/palette/organisation/index.mjs +0 -0
  946. /package/{esm2022 → esm2020}/lib/shared/components/palette/payment/index.mjs +0 -0
  947. /package/{esm2022 → esm2020}/lib/shared/components/palette/phone-uk/index.mjs +0 -0
  948. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/__mocks__/index.mjs +0 -0
  949. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/components/index.mjs +0 -0
  950. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/index.mjs +0 -0
  951. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.mjs +0 -0
  952. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +0 -0
  953. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.mjs +0 -0
  954. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.mjs +0 -0
  955. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/index.mjs +0 -0
  956. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +0 -0
  957. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/index.mjs +0 -0
  958. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.mjs +0 -0
  959. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.mjs +0 -0
  960. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/query-create-context.enum.mjs +0 -0
  961. /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.mjs +0 -0
  962. /package/{esm2022 → esm2020}/lib/shared/components/palette/text/index.mjs +0 -0
  963. /package/{esm2022 → esm2020}/lib/shared/components/palette/text-area/index.mjs +0 -0
  964. /package/{esm2022 → esm2020}/lib/shared/components/palette/utils/index.mjs +0 -0
  965. /package/{esm2022 → esm2020}/lib/shared/components/palette/waystopay/index.mjs +0 -0
  966. /package/{esm2022 → esm2020}/lib/shared/components/palette/yes-no/index.mjs +0 -0
  967. /package/{esm2022 → esm2020}/lib/shared/components/search-filters/domain/index.mjs +0 -0
  968. /package/{esm2022 → esm2020}/lib/shared/components/search-filters/index.mjs +0 -0
  969. /package/{esm2022 → esm2020}/lib/shared/components/search-result/index.mjs +0 -0
  970. /package/{esm2022 → esm2020}/lib/shared/components/workbasket-filters/index.mjs +0 -0
  971. /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/domain/index.mjs +0 -0
  972. /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/index.mjs +0 -0
  973. /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +0 -0
  974. /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/condition.peg.mjs +0 -0
  975. /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/index.mjs +0 -0
  976. /package/{esm2022 → esm2020}/lib/shared/directives/focus-element/index.mjs +0 -0
  977. /package/{esm2022 → esm2020}/lib/shared/directives/index.mjs +0 -0
  978. /package/{esm2022 → esm2020}/lib/shared/directives/substitutor/index.mjs +0 -0
  979. /package/{esm2022 → esm2020}/lib/shared/directives/substitutor/services/index.mjs +0 -0
  980. /package/{esm2022 → esm2020}/lib/shared/domain/activity/index.mjs +0 -0
  981. /package/{esm2022 → esm2020}/lib/shared/domain/addresses/index.mjs +0 -0
  982. /package/{esm2022 → esm2020}/lib/shared/domain/alert/alert-level.model.mjs +0 -0
  983. /package/{esm2022 → esm2020}/lib/shared/domain/alert/alert-status-params.model.mjs +0 -0
  984. /package/{esm2022 → esm2020}/lib/shared/domain/alert/index.mjs +0 -0
  985. /package/{esm2022 → esm2020}/lib/shared/domain/case-edit/case-edit.model.mjs +0 -0
  986. /package/{esm2022 → esm2020}/lib/shared/domain/case-edit/index.mjs +0 -0
  987. /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.mjs +0 -0
  988. /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.mjs +0 -0
  989. /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/index.mjs +0 -0
  990. /package/{esm2022 → esm2020}/lib/shared/domain/case-flag/index.mjs +0 -0
  991. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/access-types.model.mjs +0 -0
  992. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/case-view-event-ids.enum.mjs +0 -0
  993. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/challenged-access-request.model.mjs +0 -0
  994. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/index.mjs +0 -0
  995. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/review-specific-access-request.model.mjs +0 -0
  996. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/role-assignment-response.model.mjs +0 -0
  997. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/role-request.model.mjs +0 -0
  998. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/service-org-response.model.mjs +0 -0
  999. /package/{esm2022 → esm2020}/lib/shared/domain/case-view/specific-access-request.model.mjs +0 -0
  1000. /package/{esm2022 → esm2020}/lib/shared/domain/definition/display-context-enum.model.mjs +0 -0
  1001. /package/{esm2022 → esm2020}/lib/shared/domain/definition/field-type-enum.model.mjs +0 -0
  1002. /package/{esm2022 → esm2020}/lib/shared/domain/definition/index.mjs +0 -0
  1003. /package/{esm2022 → esm2020}/lib/shared/domain/document/index.mjs +0 -0
  1004. /package/{esm2022 → esm2020}/lib/shared/domain/error-message.model.mjs +0 -0
  1005. /package/{esm2022 → esm2020}/lib/shared/domain/http/index.mjs +0 -0
  1006. /package/{esm2022 → esm2020}/lib/shared/domain/index.mjs +0 -0
  1007. /package/{esm2022 → esm2020}/lib/shared/domain/jurisdiction/index.mjs +0 -0
  1008. /package/{esm2022 → esm2020}/lib/shared/domain/jurisdiction/judicial-user.model.mjs +0 -0
  1009. /package/{esm2022 → esm2020}/lib/shared/domain/order/index.mjs +0 -0
  1010. /package/{esm2022 → esm2020}/lib/shared/domain/order/orderable.model.mjs +0 -0
  1011. /package/{esm2022 → esm2020}/lib/shared/domain/organisation/index.mjs +0 -0
  1012. /package/{esm2022 → esm2020}/lib/shared/domain/organisation/simple-organisation.model.mjs +0 -0
  1013. /package/{esm2022 → esm2020}/lib/shared/domain/predicate.model.mjs +0 -0
  1014. /package/{esm2022 → esm2020}/lib/shared/domain/profile/index.mjs +0 -0
  1015. /package/{esm2022 → esm2020}/lib/shared/domain/search/index.mjs +0 -0
  1016. /package/{esm2022 → esm2020}/lib/shared/domain/search/sorting/search-result-view-item-comparator.mjs +0 -0
  1017. /package/{esm2022 → esm2020}/lib/shared/domain/sort-order.enum.mjs +0 -0
  1018. /package/{esm2022 → esm2020}/lib/shared/domain/user/user-details.model.mjs +0 -0
  1019. /package/{esm2022 → esm2020}/lib/shared/domain/user/user-info.model.mjs +0 -0
  1020. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/Task.mjs +0 -0
  1021. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/TaskPayload.mjs +0 -0
  1022. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/case-worker.model.mjs +0 -0
  1023. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/index.mjs +0 -0
  1024. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/judicial-worker.model.mjs +0 -0
  1025. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/task-response.model.mjs +0 -0
  1026. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/task-search-parameter.model.mjs +0 -0
  1027. /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/wa-service-config.model.mjs +0 -0
  1028. /package/{esm2022 → esm2020}/lib/shared/domain/workbasket/index.mjs +0 -0
  1029. /package/{esm2022 → esm2020}/lib/shared/fixture/shared.test.fixture.mjs +0 -0
  1030. /package/{esm2022 → esm2020}/lib/shared/index.mjs +0 -0
  1031. /package/{esm2022 → esm2020}/lib/shared/pipes/case-reference/index.mjs +0 -0
  1032. /package/{esm2022 → esm2020}/lib/shared/pipes/case-title/index.mjs +0 -0
  1033. /package/{esm2022 → esm2020}/lib/shared/pipes/complex/index.mjs +0 -0
  1034. /package/{esm2022 → esm2020}/lib/shared/pipes/generic/index.mjs +0 -0
  1035. /package/{esm2022 → esm2020}/lib/shared/pipes/index.mjs +0 -0
  1036. /package/{esm2022 → esm2020}/lib/shared/pipes/link-cases-from-reason-code/index.mjs +0 -0
  1037. /package/{esm2022 → esm2020}/lib/shared/pipes/link-cases-reason-code/index.mjs +0 -0
  1038. /package/{esm2022 → esm2020}/lib/shared/services/activity/index.mjs +0 -0
  1039. /package/{esm2022 → esm2020}/lib/shared/services/addresses/address-parser.mjs +0 -0
  1040. /package/{esm2022 → esm2020}/lib/shared/services/addresses/address-type.enum.mjs +0 -0
  1041. /package/{esm2022 → esm2020}/lib/shared/services/addresses/index.mjs +0 -0
  1042. /package/{esm2022 → esm2020}/lib/shared/services/alert/index.mjs +0 -0
  1043. /package/{esm2022 → esm2020}/lib/shared/services/auth/index.mjs +0 -0
  1044. /package/{esm2022 → esm2020}/lib/shared/services/banners/index.mjs +0 -0
  1045. /package/{esm2022 → esm2020}/lib/shared/services/browser/index.mjs +0 -0
  1046. /package/{esm2022 → esm2020}/lib/shared/services/case-fields/index.mjs +0 -0
  1047. /package/{esm2022 → esm2020}/lib/shared/services/case-file-view/index.mjs +0 -0
  1048. /package/{esm2022 → esm2020}/lib/shared/services/case-flag/index.mjs +0 -0
  1049. /package/{esm2022 → esm2020}/lib/shared/services/case-flag/refdata-case-flag-type.enum.mjs +0 -0
  1050. /package/{esm2022 → esm2020}/lib/shared/services/definitions/index.mjs +0 -0
  1051. /package/{esm2022 → esm2020}/lib/shared/services/document-management/index.mjs +0 -0
  1052. /package/{esm2022 → esm2020}/lib/shared/services/draft/index.mjs +0 -0
  1053. /package/{esm2022 → esm2020}/lib/shared/services/error/index.mjs +0 -0
  1054. /package/{esm2022 → esm2020}/lib/shared/services/eventStatusService/index.mjs +0 -0
  1055. /package/{esm2022 → esm2020}/lib/shared/services/fields/index.mjs +0 -0
  1056. /package/{esm2022 → esm2020}/lib/shared/services/form/index.mjs +0 -0
  1057. /package/{esm2022 → esm2020}/lib/shared/services/http/index.mjs +0 -0
  1058. /package/{esm2022 → esm2020}/lib/shared/services/index.mjs +0 -0
  1059. /package/{esm2022 → esm2020}/lib/shared/services/jurisdiction/index.mjs +0 -0
  1060. /package/{esm2022 → esm2020}/lib/shared/services/loading/index.mjs +0 -0
  1061. /package/{esm2022 → esm2020}/lib/shared/services/navigation/index.mjs +0 -0
  1062. /package/{esm2022 → esm2020}/lib/shared/services/navigation/navigation-origin.model.mjs +0 -0
  1063. /package/{esm2022 → esm2020}/lib/shared/services/order/index.mjs +0 -0
  1064. /package/{esm2022 → esm2020}/lib/shared/services/organisation/index.mjs +0 -0
  1065. /package/{esm2022 → esm2020}/lib/shared/services/profile/index.mjs +0 -0
  1066. /package/{esm2022 → esm2020}/lib/shared/services/request/index.mjs +0 -0
  1067. /package/{esm2022 → esm2020}/lib/shared/services/router/index.mjs +0 -0
  1068. /package/{esm2022 → esm2020}/lib/shared/services/search/index.mjs +0 -0
  1069. /package/{esm2022 → esm2020}/lib/shared/services/session/index.mjs +0 -0
  1070. /package/{esm2022 → esm2020}/lib/shared/services/utils/retry/index.mjs +0 -0
  1071. /package/{esm2022 → esm2020}/lib/shared/services/window/index.mjs +0 -0
  1072. /package/{esm2022 → esm2020}/lib/shared/services/workbasket/index.mjs +0 -0
  1073. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
@@ -1,210 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { FormBuilder, FormControl } from '@angular/forms';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { switchMap } from 'rxjs/operators';
5
- import { CaseNotifier, CasesService } from '../../case-editor';
6
- import { SpecificAccessRequestErrors, SpecificAccessRequestPageText } from './models';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/forms";
9
- import * as i2 from "@angular/router";
10
- import * as i3 from "../../case-editor";
11
- function CaseSpecificAccessRequestComponent_exui_error_message_0_Template(rf, ctx) { if (rf & 1) {
12
- i0.ɵɵelement(0, "exui-error-message", 22);
13
- } if (rf & 2) {
14
- const ctx_r0 = i0.ɵɵnextContext();
15
- i0.ɵɵproperty("error", ctx_r0.errorMessage);
16
- } }
17
- function CaseSpecificAccessRequestComponent_div_38_Template(rf, ctx) { if (rf & 1) {
18
- i0.ɵɵelementStart(0, "div", 23);
19
- i0.ɵɵtext(1);
20
- i0.ɵɵpipe(2, "rpxTranslate");
21
- i0.ɵɵelementEnd();
22
- } if (rf & 2) {
23
- const ctx_r1 = i0.ɵɵnextContext();
24
- i0.ɵɵadvance(1);
25
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, ctx_r1.errorMessage.description), " ");
26
- } }
27
- const _c0 = function (a0) { return { "form-group-error": a0 }; };
28
- const _c1 = function (a0) { return { "govuk-textarea--error": a0 }; };
29
- export class CaseSpecificAccessRequestComponent {
30
- fb;
31
- router;
32
- casesService;
33
- route;
34
- caseNotifier;
35
- static CANCEL_LINK_DESTINATION = '/work/my-work/list';
36
- collapsed = false;
37
- title;
38
- hint;
39
- caseRefLabel;
40
- formGroup;
41
- submitted = false;
42
- errorMessage;
43
- $roleAssignmentResponseSubscription;
44
- genericError = 'There is a problem';
45
- specificReasonControlName = 'specificReason';
46
- constructor(fb, router, casesService, route, caseNotifier) {
47
- this.fb = fb;
48
- this.router = router;
49
- this.casesService = casesService;
50
- this.route = route;
51
- this.caseNotifier = caseNotifier;
52
- }
53
- ngOnInit() {
54
- this.title = SpecificAccessRequestPageText.TITLE;
55
- this.hint = SpecificAccessRequestPageText.HINT;
56
- this.caseRefLabel = SpecificAccessRequestPageText.CASE_REF;
57
- this.formGroup = this.fb.group({
58
- radioSelected: new FormControl(null, null),
59
- });
60
- this.formGroup.addControl(this.specificReasonControlName, new FormControl('', {
61
- validators: [
62
- (control) => {
63
- if (this.inputEmpty(control)) {
64
- return { invalid: true };
65
- }
66
- return null;
67
- },
68
- ],
69
- updateOn: 'submit',
70
- }));
71
- }
72
- onChange() {
73
- this.submitted = false;
74
- // Clear the "specific reason" fields manually. This prevents any previous value being retained by
75
- // the field's FormControl when the field itself is removed from the DOM by *ngIf. (If it is subsequently added back
76
- // to the DOM by *ngIf, it will appear empty but the associated FormControl still has the previous value.)
77
- this.formGroup.get(this.specificReasonControlName).setValue('');
78
- }
79
- onSubmit() {
80
- this.submitted = true;
81
- if (this.formGroup.get(this.specificReasonControlName).invalid) {
82
- this.errorMessage = {
83
- title: this.genericError,
84
- description: SpecificAccessRequestErrors.NO_REASON,
85
- fieldId: 'specific-reason',
86
- };
87
- }
88
- // Initiate Specific Access Request
89
- if (this.formGroup.valid) {
90
- // Get the Case Reference (for which access is being requested) from the ActivatedRouteSnapshot data
91
- const caseId = this.route.snapshot.params.cid;
92
- const specificAccessRequest = {
93
- specificReason: this.formGroup.get(this.specificReasonControlName).value
94
- };
95
- this.$roleAssignmentResponseSubscription = this.casesService.createSpecificAccessRequest(caseId, specificAccessRequest)
96
- .pipe(switchMap(() => this.caseNotifier.fetchAndRefresh(caseId)))
97
- .subscribe(() => {
98
- // Would have been nice to pass the caseId within state.data, but this isn't part of NavigationExtras until
99
- // Angular 7.2
100
- this.router.navigate(['success'], { relativeTo: this.route });
101
- }, () => {
102
- // Navigate to error page
103
- });
104
- }
105
- }
106
- onCancel() {
107
- // Navigate to the page before previous one (should be Search Results or Case List page, for example)
108
- this.router.navigateByUrl(CaseSpecificAccessRequestComponent.CANCEL_LINK_DESTINATION);
109
- }
110
- ngOnDestroy() {
111
- if (this.$roleAssignmentResponseSubscription) {
112
- this.$roleAssignmentResponseSubscription.unsubscribe();
113
- }
114
- }
115
- inputEmpty(input) {
116
- return input.value === null || input.value.trim().length === 0;
117
- }
118
- static ɵfac = function CaseSpecificAccessRequestComponent_Factory(t) { return new (t || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i1.FormBuilder), i0.ɵɵdirectiveInject(i2.Router), i0.ɵɵdirectiveInject(i3.CasesService), i0.ɵɵdirectiveInject(i2.ActivatedRoute), i0.ɵɵdirectiveInject(i3.CaseNotifier)); };
119
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], decls: 50, vars: 42, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "formGroup", "submit"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["role", "button", "aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
120
- i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
121
- i0.ɵɵelementStart(1, "cut-alert", 1);
122
- i0.ɵɵtext(2);
123
- i0.ɵɵpipe(3, "rpxTranslate");
124
- i0.ɵɵelement(4, "br");
125
- i0.ɵɵtext(5);
126
- i0.ɵɵpipe(6, "rpxTranslate");
127
- i0.ɵɵelementEnd();
128
- i0.ɵɵelementStart(7, "form", 2);
129
- i0.ɵɵlistener("submit", function CaseSpecificAccessRequestComponent_Template_form_submit_7_listener() { return ctx.onSubmit(); });
130
- i0.ɵɵelementStart(8, "div", 3)(9, "fieldset", 4)(10, "legend", 5)(11, "h1", 6);
131
- i0.ɵɵtext(12);
132
- i0.ɵɵpipe(13, "rpxTranslate");
133
- i0.ɵɵelementEnd()();
134
- i0.ɵɵelementStart(14, "details", 7)(15, "summary", 8)(16, "span", 9);
135
- i0.ɵɵtext(17);
136
- i0.ɵɵpipe(18, "rpxTranslate");
137
- i0.ɵɵelementEnd()();
138
- i0.ɵɵelementStart(19, "div", 10)(20, "p", 11);
139
- i0.ɵɵtext(21);
140
- i0.ɵɵpipe(22, "rpxTranslate");
141
- i0.ɵɵelementEnd();
142
- i0.ɵɵelementStart(23, "ul", 12)(24, "li");
143
- i0.ɵɵtext(25);
144
- i0.ɵɵpipe(26, "rpxTranslate");
145
- i0.ɵɵelementEnd();
146
- i0.ɵɵelementStart(27, "li");
147
- i0.ɵɵtext(28);
148
- i0.ɵɵpipe(29, "rpxTranslate");
149
- i0.ɵɵelementEnd();
150
- i0.ɵɵelementStart(30, "li");
151
- i0.ɵɵtext(31);
152
- i0.ɵɵpipe(32, "rpxTranslate");
153
- i0.ɵɵelementEnd()()()();
154
- i0.ɵɵelementStart(33, "div", 13);
155
- i0.ɵɵtext(34);
156
- i0.ɵɵpipe(35, "rpxTranslate");
157
- i0.ɵɵelementEnd();
158
- i0.ɵɵelementStart(36, "div", 14)(37, "div", 15);
159
- i0.ɵɵtemplate(38, CaseSpecificAccessRequestComponent_div_38_Template, 3, 3, "div", 16);
160
- i0.ɵɵelementStart(39, "textarea", 17);
161
- i0.ɵɵtext(40, " ");
162
- i0.ɵɵelementEnd()()()()();
163
- i0.ɵɵelementStart(41, "div", 18)(42, "button", 19);
164
- i0.ɵɵtext(43);
165
- i0.ɵɵpipe(44, "rpxTranslate");
166
- i0.ɵɵelementEnd();
167
- i0.ɵɵelementStart(45, "div", 20)(46, "p")(47, "a", 21);
168
- i0.ɵɵlistener("click", function CaseSpecificAccessRequestComponent_Template_a_click_47_listener() { return ctx.onCancel(); });
169
- i0.ɵɵtext(48);
170
- i0.ɵɵpipe(49, "rpxTranslate");
171
- i0.ɵɵelementEnd()()()()();
172
- } if (rf & 2) {
173
- i0.ɵɵproperty("ngIf", ctx.formGroup.invalid && ctx.submitted);
174
- i0.ɵɵadvance(2);
175
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 16, "Authorisation is needed to access this case."), "");
176
- i0.ɵɵadvance(3);
177
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(6, 18, "This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes."), "\n");
178
- i0.ɵɵadvance(2);
179
- i0.ɵɵproperty("formGroup", ctx.formGroup);
180
- i0.ɵɵadvance(1);
181
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(38, _c0, ctx.formGroup.invalid && ctx.submitted));
182
- i0.ɵɵadvance(4);
183
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 20, ctx.title), " ");
184
- i0.ɵɵadvance(5);
185
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 22, "Help with requesting case access"), " ");
186
- i0.ɵɵadvance(4);
187
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 24, "You could include:"));
188
- i0.ɵɵadvance(4);
189
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 26, "the case reference of the linked case"));
190
- i0.ɵɵadvance(3);
191
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 28, "how long you require access to this case"));
192
- i0.ɵɵadvance(3);
193
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 30, "any other reasons why you require access"));
194
- i0.ɵɵadvance(3);
195
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(35, 32, ctx.hint), " ");
196
- i0.ɵɵadvance(4);
197
- i0.ɵɵproperty("ngIf", ctx.formGroup.get("specificReason").invalid && ctx.submitted);
198
- i0.ɵɵadvance(1);
199
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(40, _c1, ctx.formGroup.get("specificReason").invalid && ctx.submitted));
200
- i0.ɵɵadvance(4);
201
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(44, 34, "Submit"), " ");
202
- i0.ɵɵadvance(5);
203
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(49, 36, "Cancel"), " ");
204
- } }, encapsulation: 2 });
205
- }
206
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessRequestComponent, [{
207
- type: Component,
208
- args: [{ selector: 'ccd-case-specific-access-request', template: "<exui-error-message\n *ngIf=\"formGroup.invalid && submitted\"\n [error]=\"errorMessage\"></exui-error-message>\n<cut-alert type=\"information\">\n {{'Authorisation is needed to access this case.' | rpxTranslate}}<br />\n {{'This could be because it\\'s outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes.' | rpxTranslate}}\n</cut-alert>\n<form [formGroup]=\"formGroup\" (submit)=\"onSubmit()\">\n <div class=\"govuk-form-group\"\n [ngClass]=\"{ 'form-group-error': formGroup.invalid && submitted }\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"reason-hint\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--l\">\n <h1 class=\"govuk-fieldset__heading\">\n {{ title | rpxTranslate }}\n </h1>\n </legend>\n\n <details class=\"govuk-details\" data-module=\"govuk-details\" role=\"group\">\n <summary\n class=\"govuk-details__summary\"\n role=\"button\"\n aria-expanded=\"false\">\n <span class=\"govuk-details__summary-text\">\n {{'Help with requesting case access' | rpxTranslate}}\n </span>\n </summary>\n <div\n class=\"govuk-details__text\"\n aria-hidden=\"true\">\n <p class=\"govuk-body\">{{'You could include:' | rpxTranslate}}</p>\n <ul class=\"govuk-list govuk-list--bullet\">\n <li>{{'the case reference of the linked case' | rpxTranslate}}</li>\n <li>{{'how long you require access to this case' | rpxTranslate}}</li>\n <li>{{'any other reasons why you require access' | rpxTranslate}}</li>\n </ul>\n </div>\n </details>\n\n <div id=\"reason-hint\" class=\"govuk-hint\">\n {{ hint | rpxTranslate }}\n </div>\n <div id=\"conditional-reason-3\">\n <div class=\"govuk-form-group\">\n <div\n id=\"specific-reason-error-message\"\n class=\"govuk-error-message\"\n *ngIf=\"formGroup.get('specificReason').invalid && submitted\">\n {{ errorMessage.description | rpxTranslate }}\n </div>\n <textarea\n class=\"govuk-textarea\"\n [ngClass]=\"{\n 'govuk-textarea--error':\n formGroup.get('specificReason').invalid && submitted\n }\"\n id=\"specific-reason\"\n name=\"specific-reason\"\n rows=\"8\"\n formControlName=\"specificReason\">\n </textarea>\n </div>\n </div>\n </fieldset>\n </div>\n\n <div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" type=\"submit\">\n {{'Submit' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel()\" href=\"javascript:void(0)\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n </div>\n</form>\n" }]
209
- }], function () { return [{ type: i1.FormBuilder }, { type: i2.Router }, { type: i3.CasesService }, { type: i2.ActivatedRoute }, { type: i3.CaseNotifier }]; }, null); })();
210
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1zcGVjaWZpYy1hY2Nlc3MtcmVxdWVzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvY2FzZS12aWV3ZXIvY2FzZS1zcGVjaWZpYy1hY2Nlc3MtcmVxdWVzdC9jYXNlLXNwZWNpZmljLWFjY2Vzcy1yZXF1ZXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLXZpZXdlci9jYXNlLXNwZWNpZmljLWFjY2Vzcy1yZXF1ZXN0L2Nhc2Utc3BlY2lmaWMtYWNjZXNzLXJlcXVlc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUVMLFdBQVcsRUFDWCxXQUFXLEVBRVosTUFBTSxnQkFBZ0IsQ0FBQztBQUN4QixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRXpELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUUzQyxPQUFPLEVBQUUsWUFBWSxFQ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yaXB0OnZvaWQoMClcIj5cbiAgICAgICAgICB7eydDYW5jZWwnIHwgcnB4VHJhbnNsYXRlfX1cbiAgICAgICAgPC9hPlxuICAgICAgPC9wPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZm9ybT5cbiJdfQ==
@@ -1,49 +0,0 @@
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
- export class CaseSpecificAccessSuccessComponent {
6
- route;
7
- caseId;
8
- constructor(route) {
9
- this.route = route;
10
- }
11
- ngOnInit() {
12
- this.caseId = this.route.snapshot.params.cid;
13
- }
14
- static ɵfac = function CaseSpecificAccessSuccessComponent_Factory(t) { return new (t || CaseSpecificAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute)); };
15
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessSuccessComponent, selectors: [["ccd-case-specific-access-success"]], decls: 23, vars: 1, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], ["href", "work/my-work/my-access"]], template: function CaseSpecificAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
16
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
17
- i0.ɵɵtext(5, " Request sent");
18
- i0.ɵɵelement(6, "br")(7, "br");
19
- i0.ɵɵelementStart(8, "div", 5);
20
- i0.ɵɵtext(9, " Case reference:");
21
- i0.ɵɵelement(10, "br");
22
- i0.ɵɵtext(11);
23
- i0.ɵɵelementEnd()()();
24
- i0.ɵɵelementStart(12, "h2", 6);
25
- i0.ɵɵtext(13, "What happens next");
26
- i0.ɵɵelementEnd();
27
- i0.ɵɵelementStart(14, "p", 7);
28
- i0.ɵɵtext(15, " Your request to access this case file has been sent. ");
29
- i0.ɵɵelementEnd();
30
- i0.ɵɵelementStart(16, "p", 7);
31
- i0.ɵɵtext(17, " Once your request has been authorised, you\u2019ll be able to access the case through ");
32
- i0.ɵɵelementStart(18, "a", 8);
33
- i0.ɵɵtext(19, "My access");
34
- i0.ɵɵelementEnd();
35
- i0.ɵɵtext(20, ". ");
36
- i0.ɵɵelementEnd();
37
- i0.ɵɵelementStart(21, "p", 7);
38
- i0.ɵɵtext(22, " Your request will be logged for auditing purposes. ");
39
- i0.ɵɵelementEnd()()()();
40
- } if (rf & 2) {
41
- i0.ɵɵadvance(11);
42
- i0.ɵɵtextInterpolate1(" ", ctx.caseId, " ");
43
- } }, encapsulation: 2 });
44
- }
45
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseSpecificAccessSuccessComponent, [{
46
- type: Component,
47
- args: [{ selector: 'ccd-case-specific-access-success', template: "<div class=\"govuk-width-container\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-grid-column-two-thirds\">\n <div class=\"govuk-panel govuk-panel--confirmation\">\n <h1 class=\"govuk-panel__title\">\n Request sent<br><br>\n <div class=\"govuk-panel__body\">\n Case reference:<br>\n {{caseId}}\n </div>\n </h1>\n </div>\n <h2 class=\"govuk-heading-m \">What happens next</h2>\n <p class=\"govuk-body\">\n Your request to access this case file has been sent.\n </p>\n <p class=\"govuk-body\">\n Once your request has been authorised, you\u2019ll be able to access the case through\n <a href=\"work/my-work/my-access\">My access</a>.\n </p>\n <p class=\"govuk-body\">\n Your request will be logged for auditing purposes.\n </p>\n </div>\n </div>\n</div>\n" }]
48
- }], function () { return [{ type: i1.ActivatedRoute }]; }, null); })();
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1zcGVjaWZpYy1hY2Nlc3Mtc3VjY2Vzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic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cmVxdWVzdCB3aWxsIGJlIGxvZ2dlZCBmb3IgYXVkaXRpbmcgcHVycG9zZXMuXG4gICAgICA8L3A+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,106 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import { plainToClassFromExist } from 'class-transformer';
3
- import { throwError } from 'rxjs';
4
- import { map } from 'rxjs/operators';
5
- import { CaseView } from '../../../domain/case-view/case-view.model';
6
- import { Draft } from '../../../domain/draft.model';
7
- import { AlertService } from '../../../services/alert/alert.service';
8
- import { DraftService } from '../../../services/draft/draft.service';
9
- import { NavigationNotifierService } from '../../../services/navigation/navigation-notifier.service';
10
- import { CaseNotifier } from '../../case-editor/services/case.notifier';
11
- import { CasesService } from '../../case-editor/services/cases.service';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "../../../services/navigation/navigation-notifier.service";
14
- import * as i2 from "../../case-editor/services/case.notifier";
15
- import * as i3 from "../../case-editor/services/cases.service";
16
- import * as i4 from "../../../services/draft/draft.service";
17
- import * as i5 from "../../../services/alert/alert.service";
18
- function CaseViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
19
- i0.ɵɵelementStart(0, "div");
20
- i0.ɵɵelement(1, "ccd-case-viewer", 1);
21
- i0.ɵɵelementEnd();
22
- } if (rf & 2) {
23
- const ctx_r0 = i0.ɵɵnextContext();
24
- i0.ɵɵadvance(1);
25
- i0.ɵɵproperty("hasPrint", ctx_r0.hasPrint)("hasEventSelector", ctx_r0.hasEventSelector);
26
- } }
27
- export class CaseViewComponent {
28
- navigationNotifierService;
29
- caseNotifier;
30
- casesService;
31
- draftService;
32
- alertService;
33
- case;
34
- hasPrint = true;
35
- hasEventSelector = true;
36
- navigationTriggered = new EventEmitter();
37
- navigationSubscription;
38
- caseDetails;
39
- constructor(navigationNotifierService, caseNotifier, casesService, draftService, alertService) {
40
- this.navigationNotifierService = navigationNotifierService;
41
- this.caseNotifier = caseNotifier;
42
- this.casesService = casesService;
43
- this.draftService = draftService;
44
- this.alertService = alertService;
45
- }
46
- ngOnInit() {
47
- this.getCaseView(this.case)
48
- .pipe(map(caseView => {
49
- this.caseDetails = plainToClassFromExist(new CaseView(), caseView);
50
- this.caseNotifier.announceCase(this.caseDetails);
51
- }))
52
- .toPromise()
53
- .catch(error => this.checkErrorGettingCaseView(error));
54
- this.navigationSubscription = this.navigationNotifierService.navigation.subscribe(navigation => {
55
- this.navigationTriggered.emit(navigation);
56
- });
57
- }
58
- ngOnDestroy() {
59
- if (this.navigationSubscription) {
60
- this.navigationSubscription.unsubscribe();
61
- }
62
- }
63
- isDataLoaded() {
64
- return !!this.caseDetails;
65
- }
66
- getCaseView(cid) {
67
- if (Draft.isDraft(cid)) {
68
- return this.getDraft(cid);
69
- }
70
- else {
71
- return this.casesService.getCaseViewV2(cid);
72
- }
73
- }
74
- getDraft(cid) {
75
- return this.draftService
76
- .getDraft(cid);
77
- }
78
- checkErrorGettingCaseView(error) {
79
- // TODO Should be logged to remote logging infrastructure
80
- console.error('Called checkErrorGettingCaseView.');
81
- console.error(error);
82
- if (error.status !== 401 && error.status !== 403) {
83
- this.alertService.error(error.message);
84
- }
85
- return throwError(error);
86
- }
87
- static ɵfac = function CaseViewComponent_Factory(t) { return new (t || CaseViewComponent)(i0.ɵɵdirectiveInject(i1.NavigationNotifierService), i0.ɵɵdirectiveInject(i2.CaseNotifier), i0.ɵɵdirectiveInject(i3.CasesService), i0.ɵɵdirectiveInject(i4.DraftService), i0.ɵɵdirectiveInject(i5.AlertService)); };
88
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewComponent, selectors: [["ccd-case-view"]], inputs: { case: "case", hasPrint: "hasPrint", hasEventSelector: "hasEventSelector" }, outputs: { navigationTriggered: "navigationTriggered" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "hasPrint", "hasEventSelector"]], template: function CaseViewComponent_Template(rf, ctx) { if (rf & 1) {
89
- i0.ɵɵtemplate(0, CaseViewComponent_div_0_Template, 2, 2, "div", 0);
90
- } if (rf & 2) {
91
- i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
92
- } }, encapsulation: 2 });
93
- }
94
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseViewComponent, [{
95
- type: Component,
96
- args: [{ selector: 'ccd-case-view', template: "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-viewer [hasPrint]=\"hasPrint\"\n [hasEventSelector]=\"hasEventSelector\">\n </ccd-case-viewer>\n</div>\n" }]
97
- }], function () { return [{ type: i1.NavigationNotifierService }, { type: i2.CaseNotifier }, { type: i3.CasesService }, { type: i4.DraftService }, { type: i5.AlertService }]; }, { case: [{
98
- type: Input
99
- }], hasPrint: [{
100
- type: Input
101
- }], hasEventSelector: [{
102
- type: Input
103
- }], navigationTriggered: [{
104
- type: Output
105
- }] }); })();
106
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS12aWV3LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLXZpZXdlci9jYXNlLXZpZXcvY2FzZS12aWV3LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLXZpZXdlci9jYXNlLXZpZXcvY2FzZS12aWV3LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBcUIsTUFBTSxFQUFFLE1B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0RHJhZnQoY2lkKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHRoaXMuY2FzZXNTZXJ2aWNlLmdldENhc2VWaWV3VjIoY2lkKTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIGdldERyYWZ0KGNpZCk6IE9ic2VydmFibGU8Q2FzZVZpZXc+IHtcbiAgICByZXR1cm4gdGhpcy5kcmFmdFNlcnZpY2VcbiAgICAgIC5nZXREcmFmdChjaWQpO1xuICB9XG5cbiAgcHJpdmF0ZSBjaGVja0Vycm9yR2V0dGluZ0Nhc2VWaWV3KGVycm9yOiBhbnkpIHtcbiAgICAvLyBUT0RPIFNob3VsZCBiZSBsb2dnZWQgdG8gcmVtb3RlIGxvZ2dpbmcgaW5mcmFzdHJ1Y3R1cmVcbiAgICBjb25zb2xlLmVycm9yKCdDYWxsZWQgY2hlY2tFcnJvckdldHRpbmdDYXNlVmlldy4nKTtcbiAgICBjb25zb2xlLmVycm9yKGVycm9yKTtcbiAgICBpZiAoZXJyb3Iuc3RhdHVzICE9PSA0MDEgJiYgZXJyb3Iuc3RhdHVzICE9PSA0MDMpIHtcbiAgICAgIHRoaXMuYWxlcnRTZXJ2aWNlLmVycm9yKGVycm9yLm1lc3NhZ2UpO1xuICAgIH1cbiAgICByZXR1cm4gdGhyb3dFcnJvcihlcnJvcik7XG4gIH1cbn1cbiIsIjxkaXYgKm5nSWY9XCJpc0RhdGFMb2FkZWQoKVwiPlxuICAgIDxjY2QtY2FzZS12aWV3ZXIgW2hhc1ByaW50XT1cImhhc1ByaW50XCJcbiAgICAgICAgICAgICAgICAgICAgIFtoYXNFdmVudFNlbGVjdG9yXT1cImhhc0V2ZW50U2VsZWN0b3JcIj5cbiAgICA8L2NjZC1jYXNlLXZpZXdlcj5cbjwvZGl2PlxuIl19
@@ -1,136 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { AbstractAppConfig } from '../../../app.config';
4
- import { CaseNotifier } from '../case-editor';
5
- import { OrderService } from '../../services';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/router";
8
- import * as i2 from "../case-editor";
9
- import * as i3 from "../../../app.config";
10
- import * as i4 from "../../services";
11
- function CaseViewerComponent_div_0_ccd_case_basic_access_view_1_Template(rf, ctx) { if (rf & 1) {
12
- i0.ɵɵelement(0, "ccd-case-basic-access-view", 3);
13
- } if (rf & 2) {
14
- const ctx_r1 = i0.ɵɵnextContext(2);
15
- i0.ɵɵproperty("accessType", ctx_r1.userAccessType)("caseDetails", ctx_r1.caseDetails);
16
- } }
17
- function CaseViewerComponent_div_0_ccd_case_full_access_view_2_Template(rf, ctx) { if (rf & 1) {
18
- i0.ɵɵelement(0, "ccd-case-full-access-view", 4);
19
- } if (rf & 2) {
20
- const ctx_r2 = i0.ɵɵnextContext(2);
21
- i0.ɵɵproperty("caseDetails", ctx_r2.caseDetails)("hasPrint", ctx_r2.hasPrint)("hasEventSelector", ctx_r2.hasEventSelector)("prependedTabs", ctx_r2.prependedTabs)("appendedTabs", ctx_r2.appendedTabs);
22
- } }
23
- function CaseViewerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
24
- i0.ɵɵelementStart(0, "div");
25
- i0.ɵɵtemplate(1, CaseViewerComponent_div_0_ccd_case_basic_access_view_1_Template, 1, 2, "ccd-case-basic-access-view", 1);
26
- i0.ɵɵtemplate(2, CaseViewerComponent_div_0_ccd_case_full_access_view_2_Template, 1, 5, "ccd-case-full-access-view", 2);
27
- i0.ɵɵelementEnd();
28
- } if (rf & 2) {
29
- const ctx_r0 = i0.ɵɵnextContext();
30
- i0.ɵɵadvance(1);
31
- i0.ɵɵproperty("ngIf", !ctx_r0.hasStandardAccess());
32
- i0.ɵɵadvance(1);
33
- i0.ɵɵproperty("ngIf", ctx_r0.hasStandardAccess());
34
- } }
35
- export class CaseViewerComponent {
36
- route;
37
- caseNotifier;
38
- appConfig;
39
- orderService;
40
- static METADATA_FIELD_ACCESS_PROCESS_ID = '[ACCESS_PROCESS]';
41
- static METADATA_FIELD_ACCESS_GRANTED_ID = '[ACCESS_GRANTED]';
42
- static NON_STANDARD_USER_ACCESS_TYPES = ['CHALLENGED', 'SPECIFIC'];
43
- static BASIC_USER_ACCESS_TYPES = 'BASIC';
44
- hasPrint = true;
45
- hasEventSelector = true;
46
- prependedTabs = [];
47
- appendedTabs = [];
48
- caseDetails;
49
- caseSubscription;
50
- userAccessType;
51
- accessGranted;
52
- constructor(route, caseNotifier, appConfig, orderService) {
53
- this.route = route;
54
- this.caseNotifier = caseNotifier;
55
- this.appConfig = appConfig;
56
- this.orderService = orderService;
57
- }
58
- ngOnInit() {
59
- console.info('Loading case details...');
60
- this.loadCaseDetails();
61
- console.info('Loaded case details...');
62
- }
63
- ngOnDestroy() {
64
- if (this.caseSubscription) {
65
- this.caseSubscription.unsubscribe();
66
- }
67
- }
68
- loadCaseDetails() {
69
- if (this.route.snapshot.data.case) {
70
- console.info('Setting the case into case viewer component from this.route.snapshot.data.case.');
71
- this.caseDetails = this.route.snapshot.data.case;
72
- this.caseDetails.tabs = this.orderService.sort(this.caseDetails.tabs);
73
- this.caseDetails.tabs = this.suffixDuplicateTabs(this.caseDetails.tabs);
74
- this.setUserAccessType(this.caseDetails);
75
- }
76
- else {
77
- this.caseSubscription = this.caseNotifier.caseView.subscribe(caseDetails => {
78
- console.info('Setting the case into case viewer component as retrieved from XHR request.');
79
- this.caseDetails = caseDetails;
80
- this.setUserAccessType(this.caseDetails);
81
- });
82
- }
83
- }
84
- setUserAccessType(caseDetails) {
85
- if (caseDetails && Array.isArray(caseDetails.metadataFields)) {
86
- const accessProcess = caseDetails.metadataFields.find(metadataField => metadataField.id === CaseViewerComponent.METADATA_FIELD_ACCESS_PROCESS_ID);
87
- const accessGranted = caseDetails.metadataFields.find(metadataField => metadataField.id === CaseViewerComponent.METADATA_FIELD_ACCESS_GRANTED_ID);
88
- this.accessGranted = accessGranted ? accessGranted.value !== CaseViewerComponent.BASIC_USER_ACCESS_TYPES : false;
89
- this.userAccessType = accessProcess ? accessProcess.value : null;
90
- }
91
- }
92
- isDataLoaded() {
93
- return !!this.caseDetails;
94
- }
95
- hasStandardAccess() {
96
- const featureToggleOn = this.appConfig.getAccessManagementMode();
97
- return featureToggleOn ?
98
- !this.accessGranted ? CaseViewerComponent.NON_STANDARD_USER_ACCESS_TYPES.indexOf(this.userAccessType) === -1 : true
99
- : true;
100
- }
101
- suffixDuplicateTabs(tabs) {
102
- const count = {};
103
- const firstOccurences = {};
104
- let item;
105
- let itemCount;
106
- for (let i = 0, c = tabs.length; i < c; i++) {
107
- item = tabs[i].label;
108
- itemCount = count[item];
109
- itemCount = count[item] = (itemCount == null ? 1 : itemCount + 1);
110
- if (count[item] > 1)
111
- tabs[i].label = tabs[i].label + Array(count[item] - 1).fill('_').join('');
112
- else
113
- firstOccurences[item] = i;
114
- }
115
- return tabs;
116
- }
117
- static ɵfac = function CaseViewerComponent_Factory(t) { return new (t || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.CaseNotifier), i0.ɵɵdirectiveInject(i3.AbstractAppConfig), i0.ɵɵdirectiveInject(i4.OrderService)); };
118
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewerComponent, selectors: [["ccd-case-viewer"]], inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "accessType", "caseDetails", 4, "ngIf"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs", 4, "ngIf"], [3, "accessType", "caseDetails"], [3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs"]], template: function CaseViewerComponent_Template(rf, ctx) { if (rf & 1) {
119
- i0.ɵɵtemplate(0, CaseViewerComponent_div_0_Template, 3, 2, "div", 0);
120
- } if (rf & 2) {
121
- i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
122
- } }, encapsulation: 2 });
123
- }
124
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseViewerComponent, [{
125
- type: Component,
126
- args: [{ selector: 'ccd-case-viewer', template: "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-basic-access-view *ngIf=\"!hasStandardAccess()\"\n [accessType]=\"userAccessType\"\n [caseDetails]=\"caseDetails\">\n </ccd-case-basic-access-view>\n <ccd-case-full-access-view *ngIf=\"hasStandardAccess()\"\n [caseDetails]=\"caseDetails\"\n [hasPrint]=\"hasPrint\"\n [hasEventSelector]=\"hasEventSelector\"\n [prependedTabs]=\"prependedTabs\"\n [appendedTabs]=\"appendedTabs\">\n </ccd-case-full-access-view>\n</div>\n" }]
127
- }], function () { return [{ type: i1.ActivatedRoute }, { type: i2.CaseNotifier }, { type: i3.AbstractAppConfig }, { type: i4.OrderService }]; }, { hasPrint: [{
128
- type: Input
129
- }], hasEventSelector: [{
130
- type: Input
131
- }], prependedTabs: [{
132
- type: Input
133
- }], appendedTabs: [{
134
- type: Input
135
- }] }); })();
136
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS12aWV3ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2Nhc2Utdmlld2VyL2Nhc2Utdmlld2VyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLXZpZXdlci9jYXNlLXZpZXdlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQS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