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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1081) hide show
  1. package/esm2022/lib/app.config.mjs +93 -0
  2. package/esm2022/lib/components/banners/alert/alert-icon-class.pipe.mjs +25 -0
  3. package/esm2022/lib/components/banners/alert/alert.component.mjs +94 -0
  4. package/esm2022/lib/components/banners/alert/alert.module.mjs +32 -0
  5. package/esm2022/lib/components/banners/banners.module.mjs +32 -0
  6. package/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +119 -0
  7. package/esm2022/lib/components/banners/notification-banner/notification-banner.module.mjs +19 -0
  8. package/esm2022/lib/components/body/body.component.mjs +20 -0
  9. package/esm2022/lib/components/body/body.module.mjs +20 -0
  10. package/esm2022/lib/components/footer/footer.component.mjs +109 -0
  11. package/esm2022/lib/components/footer/footers.module.mjs +25 -0
  12. package/esm2022/lib/components/form/date-input/date-input.component.mjs +342 -0
  13. package/esm2022/lib/components/form/form.module.mjs +29 -0
  14. package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +98 -0
  15. package/esm2022/lib/components/header/headers.module.mjs +25 -0
  16. package/esm2022/lib/components/header/navigation/navigation-item.component.mjs +44 -0
  17. package/esm2022/lib/components/header/navigation/navigation.component.mjs +25 -0
  18. package/esm2022/lib/components/header/phase/phase.component.mjs +48 -0
  19. package/esm2022/lib/components/tabs/tab.component.mjs +31 -0
  20. package/esm2022/lib/components/tabs/tabs.component.mjs +82 -0
  21. package/esm2022/lib/components/tabs/tabs.module.mjs +38 -0
  22. package/esm2022/lib/shared/commons/address-validation-constants.mjs +13 -0
  23. package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +19 -0
  24. package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +46 -0
  25. package/esm2022/lib/shared/commons/constants.mjs +13 -0
  26. package/esm2022/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +42 -0
  27. package/esm2022/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +35 -0
  28. package/esm2022/lib/shared/components/activity/activity.component.mjs +158 -0
  29. package/esm2022/lib/shared/components/activity/activity.module.mjs +55 -0
  30. package/esm2022/lib/shared/components/case-editor/case-access-utils/index.mjs +105 -0
  31. package/esm2022/lib/shared/components/case-editor/case-create/case-create.component.mjs +95 -0
  32. package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +463 -0
  33. package/esm2022/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +131 -0
  34. package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +140 -0
  35. package/esm2022/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +70 -0
  36. package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +779 -0
  37. package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +560 -0
  38. package/esm2022/lib/shared/components/case-editor/case-editor.module.mjs +118 -0
  39. package/esm2022/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +96 -0
  40. package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +82 -0
  41. package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +166 -0
  42. package/esm2022/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +84 -0
  43. package/esm2022/lib/shared/components/case-editor/domain/confirmation.model.mjs +25 -0
  44. package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +9 -0
  45. package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +7 -0
  46. package/esm2022/lib/shared/components/case-editor/domain/wizard-page.model.mjs +33 -0
  47. package/esm2022/lib/shared/components/case-editor/domain/wizard.model.mjs +55 -0
  48. package/esm2022/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +98 -0
  49. package/esm2022/lib/shared/components/case-editor/services/case-flag-state.service.mjs +19 -0
  50. package/esm2022/lib/shared/components/case-editor/services/case-worker.service.mjs +35 -0
  51. package/esm2022/lib/shared/components/case-editor/services/case.notifier.mjs +53 -0
  52. package/esm2022/lib/shared/components/case-editor/services/cases.service.mjs +302 -0
  53. package/esm2022/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +42 -0
  54. package/esm2022/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +153 -0
  55. package/esm2022/lib/shared/components/case-editor/services/event-trigger.service.mjs +18 -0
  56. package/esm2022/lib/shared/components/case-editor/services/judicial-worker.service.mjs +35 -0
  57. package/esm2022/lib/shared/components/case-editor/services/page-validation.service.mjs +54 -0
  58. package/esm2022/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +40 -0
  59. package/esm2022/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +117 -0
  60. package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +215 -0
  61. package/esm2022/lib/shared/components/case-header/case-header.component.mjs +64 -0
  62. package/esm2022/lib/shared/components/case-header/case-header.module.mjs +25 -0
  63. package/esm2022/lib/shared/components/case-history/case-history.component.mjs +252 -0
  64. package/esm2022/lib/shared/components/case-history/case-history.module.mjs +36 -0
  65. package/esm2022/lib/shared/components/case-history/domain/case-history.model.mjs +37 -0
  66. package/esm2022/lib/shared/components/case-history/services/case-history.service.mjs +43 -0
  67. package/esm2022/lib/shared/components/case-list/case-list.component.mjs +373 -0
  68. package/esm2022/lib/shared/components/case-list/case-list.module.mjs +31 -0
  69. package/esm2022/lib/shared/components/case-list-filters/case-list-filters.component.mjs +56 -0
  70. package/esm2022/lib/shared/components/case-list-filters/case-list-filters.module.mjs +39 -0
  71. package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +115 -0
  72. package/esm2022/lib/shared/components/case-timeline/case-timeline.module.mjs +32 -0
  73. package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +251 -0
  74. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +310 -0
  75. package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +74 -0
  76. package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +155 -0
  77. package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +710 -0
  78. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +60 -0
  79. package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +255 -0
  80. package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +210 -0
  81. package/esm2022/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +49 -0
  82. package/esm2022/lib/shared/components/case-viewer/case-view/case-view.component.mjs +106 -0
  83. package/esm2022/lib/shared/components/case-viewer/case-viewer.component.mjs +136 -0
  84. package/esm2022/lib/shared/components/case-viewer/case-viewer.module.mjs +98 -0
  85. package/esm2022/lib/shared/components/case-viewer/printer/case-printer.component.mjs +116 -0
  86. package/esm2022/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +61 -0
  87. package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +141 -0
  88. package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +70 -0
  89. package/esm2022/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +11 -0
  90. package/esm2022/lib/shared/components/create-case-filters/create-case-filters.component.mjs +288 -0
  91. package/esm2022/lib/shared/components/create-case-filters/create-case-filters.module.mjs +44 -0
  92. package/esm2022/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +59 -0
  93. package/esm2022/lib/shared/components/dialogs/dialogs.module.mjs +51 -0
  94. package/esm2022/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +61 -0
  95. package/esm2022/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +59 -0
  96. package/esm2022/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +63 -0
  97. package/esm2022/lib/shared/components/error/callback-errors.component.mjs +147 -0
  98. package/esm2022/lib/shared/components/error/domain/error-context.mjs +5 -0
  99. package/esm2022/lib/shared/components/error/errors.module.mjs +33 -0
  100. package/esm2022/lib/shared/components/error-message/error-message.component.mjs +44 -0
  101. package/esm2022/lib/shared/components/error-message/error-message.module.mjs +41 -0
  102. package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +61 -0
  103. package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +55 -0
  104. package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +111 -0
  105. package/esm2022/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +69 -0
  106. package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +60 -0
  107. package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +55 -0
  108. package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +97 -0
  109. package/esm2022/lib/shared/components/event-start/event-start.component.mjs +55 -0
  110. package/esm2022/lib/shared/components/event-start/event-start.module.mjs +71 -0
  111. package/esm2022/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +31 -0
  112. package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +177 -0
  113. package/esm2022/lib/shared/components/event-trigger/event-trigger.component.mjs +117 -0
  114. package/esm2022/lib/shared/components/event-trigger/event-trigger.module.mjs +37 -0
  115. package/esm2022/lib/shared/components/loading-spinner/loading-spinner.component.mjs +25 -0
  116. package/esm2022/lib/shared/components/loading-spinner/loading-spinner.module.mjs +29 -0
  117. package/esm2022/lib/shared/components/pagination/pagination.component.mjs +261 -0
  118. package/esm2022/lib/shared/components/pagination/pagination.module.mjs +26 -0
  119. package/esm2022/lib/shared/components/palette/address/address-option.model.mjs +23 -0
  120. package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +287 -0
  121. package/esm2022/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +30 -0
  122. package/esm2022/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +44 -0
  123. package/esm2022/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +84 -0
  124. package/esm2022/lib/shared/components/palette/base-field/field-read-label.component.mjs +85 -0
  125. package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +89 -0
  126. package/esm2022/lib/shared/components/palette/base-field/field-write.component.mjs +77 -0
  127. package/esm2022/lib/shared/components/palette/base-field/payment-field.component.mjs +37 -0
  128. package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +182 -0
  129. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +48 -0
  130. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +49 -0
  131. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +356 -0
  132. package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +155 -0
  133. package/esm2022/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +93 -0
  134. package/esm2022/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +191 -0
  135. package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +302 -0
  136. package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +208 -0
  137. package/esm2022/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +169 -0
  138. package/esm2022/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +224 -0
  139. package/esm2022/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +311 -0
  140. package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +202 -0
  141. package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +355 -0
  142. package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +268 -0
  143. package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +516 -0
  144. package/esm2022/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +43 -0
  145. package/esm2022/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +43 -0
  146. package/esm2022/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +111 -0
  147. package/esm2022/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +79 -0
  148. package/esm2022/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +255 -0
  149. package/esm2022/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +704 -0
  150. package/esm2022/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +32 -0
  151. package/esm2022/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +125 -0
  152. package/esm2022/lib/shared/components/palette/collection/collection-create-checker.service.mjs +42 -0
  153. package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +78 -0
  154. package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +449 -0
  155. package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +380 -0
  156. package/esm2022/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +50 -0
  157. package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +75 -0
  158. package/esm2022/lib/shared/components/palette/complex/read-complex-field.component.mjs +70 -0
  159. package/esm2022/lib/shared/components/palette/complex/write-complex-field.component.mjs +173 -0
  160. package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +25 -0
  161. package/esm2022/lib/shared/components/palette/date/write-date-container-field.component.mjs +33 -0
  162. package/esm2022/lib/shared/components/palette/date/write-date-field.component.mjs +77 -0
  163. package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +314 -0
  164. package/esm2022/lib/shared/components/palette/document/document-url.pipe.mjs +25 -0
  165. package/esm2022/lib/shared/components/palette/document/file-upload-progress.guard.mjs +31 -0
  166. package/esm2022/lib/shared/components/palette/document/file-upload-state.service.mjs +17 -0
  167. package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +87 -0
  168. package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +404 -0
  169. package/esm2022/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +18 -0
  170. package/esm2022/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +36 -0
  171. package/esm2022/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +125 -0
  172. package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +43 -0
  173. package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +147 -0
  174. package/esm2022/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +25 -0
  175. package/esm2022/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +42 -0
  176. package/esm2022/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +125 -0
  177. package/esm2022/lib/shared/components/palette/email/read-email-field.component.mjs +35 -0
  178. package/esm2022/lib/shared/components/palette/email/write-email-field.component.mjs +74 -0
  179. package/esm2022/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +23 -0
  180. package/esm2022/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +26 -0
  181. package/esm2022/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +107 -0
  182. package/esm2022/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +18 -0
  183. package/esm2022/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +26 -0
  184. package/esm2022/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +96 -0
  185. package/esm2022/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +16 -0
  186. package/esm2022/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +98 -0
  187. package/esm2022/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +225 -0
  188. package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +72 -0
  189. package/esm2022/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +48 -0
  190. package/esm2022/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +253 -0
  191. package/esm2022/lib/shared/components/palette/label/label-field.component.mjs +50 -0
  192. package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +112 -0
  193. package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +194 -0
  194. package/esm2022/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +543 -0
  195. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +214 -0
  196. package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +287 -0
  197. package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +69 -0
  198. package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +208 -0
  199. package/esm2022/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +67 -0
  200. package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +169 -0
  201. package/esm2022/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +138 -0
  202. package/esm2022/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +27 -0
  203. package/esm2022/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +237 -0
  204. package/esm2022/lib/shared/components/palette/markdown/markdown-component.module.mjs +29 -0
  205. package/esm2022/lib/shared/components/palette/markdown/markdown.component.mjs +44 -0
  206. package/esm2022/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +127 -0
  207. package/esm2022/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +49 -0
  208. package/esm2022/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +79 -0
  209. package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +45 -0
  210. package/esm2022/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +127 -0
  211. package/esm2022/lib/shared/components/palette/number/read-number-field.component.mjs +24 -0
  212. package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +74 -0
  213. package/esm2022/lib/shared/components/palette/order-summary/fee-value.model.mjs +4 -0
  214. package/esm2022/lib/shared/components/palette/order-summary/fee.model.mjs +8 -0
  215. package/esm2022/lib/shared/components/palette/order-summary/order-summary.model.mjs +6 -0
  216. package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +73 -0
  217. package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +44 -0
  218. package/esm2022/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +44 -0
  219. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +87 -0
  220. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +91 -0
  221. package/esm2022/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +53 -0
  222. package/esm2022/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +34 -0
  223. package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +396 -0
  224. package/esm2022/lib/shared/components/palette/palette.module.mjs +291 -0
  225. package/esm2022/lib/shared/components/palette/palette.service.mjs +153 -0
  226. package/esm2022/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +24 -0
  227. package/esm2022/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +22 -0
  228. package/esm2022/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +74 -0
  229. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +43 -0
  230. package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +149 -0
  231. package/esm2022/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +66 -0
  232. package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +61 -0
  233. package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +292 -0
  234. package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +330 -0
  235. package/esm2022/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +23 -0
  236. package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +164 -0
  237. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +77 -0
  238. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +111 -0
  239. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +201 -0
  240. package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +106 -0
  241. package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +24 -0
  242. package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +45 -0
  243. package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +125 -0
  244. package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +22 -0
  245. package/esm2022/lib/shared/components/palette/text/read-text-field.component.mjs +24 -0
  246. package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +78 -0
  247. package/esm2022/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +24 -0
  248. package/esm2022/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +89 -0
  249. package/esm2022/lib/shared/components/palette/unsupported-field.component.mjs +17 -0
  250. package/esm2022/lib/shared/components/palette/utils/dash.pipe.mjs +16 -0
  251. package/esm2022/lib/shared/components/palette/utils/date.pipe.mjs +133 -0
  252. package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +30 -0
  253. package/esm2022/lib/shared/components/palette/utils/first-error.pipe.mjs +62 -0
  254. package/esm2022/lib/shared/components/palette/utils/is-compound.pipe.mjs +43 -0
  255. package/esm2022/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +22 -0
  256. package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +32 -0
  257. package/esm2022/lib/shared/components/palette/utils/is-read-only.pipe.mjs +22 -0
  258. package/esm2022/lib/shared/components/palette/utils/utils.module.mjs +71 -0
  259. package/esm2022/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +34 -0
  260. package/esm2022/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +36 -0
  261. package/esm2022/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +102 -0
  262. package/esm2022/lib/shared/components/palette/yes-no/yes-no.service.mjs +50 -0
  263. package/esm2022/lib/shared/components/search-filters/domain/search-input.model.mjs +15 -0
  264. package/esm2022/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +62 -0
  265. package/esm2022/lib/shared/components/search-filters/search-filters.component.mjs +337 -0
  266. package/esm2022/lib/shared/components/search-filters/search-filters.module.mjs +44 -0
  267. package/esm2022/lib/shared/components/search-result/search-result.component.mjs +834 -0
  268. package/esm2022/lib/shared/components/search-result/search-result.module.mjs +46 -0
  269. package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +494 -0
  270. package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +42 -0
  271. package/esm2022/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +169 -0
  272. package/esm2022/lib/shared/directives/conditional-show/conditional-show.module.mjs +33 -0
  273. package/esm2022/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +201 -0
  274. package/esm2022/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +17 -0
  275. package/esm2022/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +48 -0
  276. package/esm2022/lib/shared/directives/focus-element/focus-element.directive.mjs +38 -0
  277. package/esm2022/lib/shared/directives/focus-element/focus-element.module.mjs +21 -0
  278. package/esm2022/lib/shared/directives/substitutor/label-substitutor.directive.mjs +88 -0
  279. package/esm2022/lib/shared/directives/substitutor/label-substitutor.module.mjs +30 -0
  280. package/esm2022/lib/shared/directives/substitutor/services/placeholder.service.mjs +209 -0
  281. package/esm2022/lib/shared/domain/activity/activity.model.mjs +17 -0
  282. package/esm2022/lib/shared/domain/addresses/address.model.mjs +11 -0
  283. package/esm2022/lib/shared/domain/alert/alert.model.mjs +5 -0
  284. package/esm2022/lib/shared/domain/case-details.model.mjs +13 -0
  285. package/esm2022/lib/shared/domain/case-event-data.model.mjs +11 -0
  286. package/esm2022/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +8 -0
  287. package/esm2022/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +10 -0
  288. package/esm2022/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +10 -0
  289. package/esm2022/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +124 -0
  290. package/esm2022/lib/shared/domain/case-flag/flag-type.model.mjs +37 -0
  291. package/esm2022/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +18 -0
  292. package/esm2022/lib/shared/domain/case-view/case-event-trigger.model.mjs +34 -0
  293. package/esm2022/lib/shared/domain/case-view/case-print-document.model.mjs +6 -0
  294. package/esm2022/lib/shared/domain/case-view/case-tab.model.mjs +17 -0
  295. package/esm2022/lib/shared/domain/case-view/case-view-event.model.mjs +16 -0
  296. package/esm2022/lib/shared/domain/case-view/case-view-trigger.model.mjs +7 -0
  297. package/esm2022/lib/shared/domain/case-view/case-view.model.mjs +27 -0
  298. package/esm2022/lib/shared/domain/definition/access-control-list.model.mjs +8 -0
  299. package/esm2022/lib/shared/domain/definition/banner.model.mjs +8 -0
  300. package/esm2022/lib/shared/domain/definition/case-event.model.mjs +11 -0
  301. package/esm2022/lib/shared/domain/definition/case-field.model.mjs +216 -0
  302. package/esm2022/lib/shared/domain/definition/case-state.model.mjs +7 -0
  303. package/esm2022/lib/shared/domain/definition/case-type-lite.model.mjs +10 -0
  304. package/esm2022/lib/shared/domain/definition/case-type.model.mjs +20 -0
  305. package/esm2022/lib/shared/domain/definition/event-case-field.model.mjs +6 -0
  306. package/esm2022/lib/shared/domain/definition/field-type.model.mjs +30 -0
  307. package/esm2022/lib/shared/domain/definition/fixed-list-item.model.mjs +6 -0
  308. package/esm2022/lib/shared/domain/definition/jurisdiction.model.mjs +8 -0
  309. package/esm2022/lib/shared/domain/document/document-data.model.mjs +27 -0
  310. package/esm2022/lib/shared/domain/draft.model.mjs +16 -0
  311. package/esm2022/lib/shared/domain/http/http-error.model.mjs +43 -0
  312. package/esm2022/lib/shared/domain/organisation/organisation-converter.mjs +42 -0
  313. package/esm2022/lib/shared/domain/pagination-metadata.model.mjs +5 -0
  314. package/esm2022/lib/shared/domain/profile/profile.model.mjs +33 -0
  315. package/esm2022/lib/shared/domain/search/field.model.mjs +17 -0
  316. package/esm2022/lib/shared/domain/search/search-result-view-column.model.mjs +9 -0
  317. package/esm2022/lib/shared/domain/search/search-result-view-item.model.mjs +18 -0
  318. package/esm2022/lib/shared/domain/search/search-result-view.model.mjs +26 -0
  319. package/esm2022/lib/shared/domain/search/sorting/sort-parameters.mjs +9 -0
  320. package/esm2022/lib/shared/domain/workbasket/workbasket-input.model.mjs +11 -0
  321. package/esm2022/lib/shared/fixture/case-field-builder.mjs +67 -0
  322. package/esm2022/lib/shared/pipes/case-reference/case-reference.pipe.mjs +33 -0
  323. package/esm2022/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +31 -0
  324. package/esm2022/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +32 -0
  325. package/esm2022/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +27 -0
  326. package/esm2022/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +39 -0
  327. package/esm2022/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +173 -0
  328. package/esm2022/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +31 -0
  329. package/esm2022/lib/shared/pipes/complex/fields-filter.pipe.mjs +105 -0
  330. package/esm2022/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +16 -0
  331. package/esm2022/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +28 -0
  332. package/esm2022/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +28 -0
  333. package/esm2022/lib/shared/pipes/pipes.module.mjs +64 -0
  334. package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +24 -0
  335. package/esm2022/lib/shared/services/activity/activity.polling.service.mjs +122 -0
  336. package/esm2022/lib/shared/services/activity/activity.service.mjs +85 -0
  337. package/esm2022/lib/shared/services/addresses/addresses.service.mjs +65 -0
  338. package/esm2022/lib/shared/services/alert/alert.service.mjs +157 -0
  339. package/esm2022/lib/shared/services/auth/auth.service.mjs +35 -0
  340. package/esm2022/lib/shared/services/banners/banners.service.mjs +35 -0
  341. package/esm2022/lib/shared/services/browser/browser.service.mjs +24 -0
  342. package/esm2022/lib/shared/services/case-fields/case-field.service.mjs +34 -0
  343. package/esm2022/lib/shared/services/case-fields/format-translator.service.mjs +242 -0
  344. package/esm2022/lib/shared/services/case-file-view/case-file-view.service.mjs +48 -0
  345. package/esm2022/lib/shared/services/case-flag/case-flag-refdata.service.mjs +104 -0
  346. package/esm2022/lib/shared/services/common-data-service/common-data-service.mjs +29 -0
  347. package/esm2022/lib/shared/services/definitions/definitions.module.mjs +19 -0
  348. package/esm2022/lib/shared/services/definitions/definitions.service.mjs +32 -0
  349. package/esm2022/lib/shared/services/document-management/document-management.service.mjs +114 -0
  350. package/esm2022/lib/shared/services/draft/draft.service.mjs +89 -0
  351. package/esm2022/lib/shared/services/error/error-notifier.service.mjs +16 -0
  352. package/esm2022/lib/shared/services/eventStatusService/event-status.service.mjs +21 -0
  353. package/esm2022/lib/shared/services/fields/fields.purger.mjs +304 -0
  354. package/esm2022/lib/shared/services/fields/fields.utils.mjs +615 -0
  355. package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +91 -0
  356. package/esm2022/lib/shared/services/form/form-error.service.mjs +46 -0
  357. package/esm2022/lib/shared/services/form/form-validators.service.mjs +56 -0
  358. package/esm2022/lib/shared/services/form/form-value.service.mjs +552 -0
  359. package/esm2022/lib/shared/services/http/http-error.service.mjs +67 -0
  360. package/esm2022/lib/shared/services/http/http.service.mjs +95 -0
  361. package/esm2022/lib/shared/services/jurisdiction/jurisdiction.service.mjs +36 -0
  362. package/esm2022/lib/shared/services/loading/loading.module.mjs +22 -0
  363. package/esm2022/lib/shared/services/loading/loading.service.mjs +35 -0
  364. package/esm2022/lib/shared/services/navigation/navigation-notifier.service.mjs +16 -0
  365. package/esm2022/lib/shared/services/order/order.service.mjs +37 -0
  366. package/esm2022/lib/shared/services/organisation/organisation.service.mjs +57 -0
  367. package/esm2022/lib/shared/services/profile/profile.notifier.mjs +17 -0
  368. package/esm2022/lib/shared/services/profile/profile.service.mjs +36 -0
  369. package/esm2022/lib/shared/services/request/request.options.builder.mjs +61 -0
  370. package/esm2022/lib/shared/services/router/router-helper.service.mjs +20 -0
  371. package/esm2022/lib/shared/services/search/search.service.mjs +96 -0
  372. package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +71 -0
  373. package/esm2022/lib/shared/services/session/session-storage.service.mjs +34 -0
  374. package/esm2022/lib/shared/services/utils/retry/retry.service.mjs +87 -0
  375. package/esm2022/lib/shared/services/window/window.service.mjs +40 -0
  376. package/esm2022/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +57 -0
  377. package/esm2022/lib/shared/test/test-route-snapshot-builder.mjs +38 -0
  378. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +36099 -0
  379. package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
  380. package/lib/shared/components/case-editor/case-editor.module.d.ts +0 -25
  381. package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
  382. package/lib/shared/components/case-header/case-header.module.d.ts +0 -8
  383. package/lib/shared/components/case-header/case-header.module.d.ts.map +1 -1
  384. package/lib/shared/components/case-history/case-history.module.d.ts +0 -12
  385. package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -1
  386. package/lib/shared/components/case-list/case-list.module.d.ts +0 -11
  387. package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -1
  388. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +0 -11
  389. package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -1
  390. package/lib/shared/components/case-timeline/case-timeline.module.d.ts +0 -11
  391. package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -1
  392. package/lib/shared/components/case-viewer/case-viewer.module.d.ts +0 -36
  393. package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
  394. package/lib/shared/components/pagination/pagination.module.d.ts +0 -8
  395. package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
  396. package/lib/shared/components/palette/address/write-address-field.component.d.ts +1 -2
  397. package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -1
  398. package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +0 -1
  399. package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
  400. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -2
  401. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
  402. package/lib/shared/components/palette/complex/write-complex-field.component.d.ts +1 -2
  403. package/lib/shared/components/palette/complex/write-complex-field.component.d.ts.map +1 -1
  404. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +0 -10
  405. package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -1
  406. package/lib/shared/components/palette/palette.module.d.ts +0 -148
  407. package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
  408. package/lib/shared/components/search-filters/search-filters.module.d.ts +0 -11
  409. package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
  410. package/lib/shared/components/search-result/search-result.module.d.ts +0 -15
  411. package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
  412. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +0 -10
  413. package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
  414. package/package.json +5 -11
  415. package/esm2020/lib/app.config.mjs +0 -45
  416. package/esm2020/lib/components/banners/alert/alert-icon-class.pipe.mjs +0 -25
  417. package/esm2020/lib/components/banners/alert/alert.component.mjs +0 -95
  418. package/esm2020/lib/components/banners/alert/alert.module.mjs +0 -32
  419. package/esm2020/lib/components/banners/banners.module.mjs +0 -32
  420. package/esm2020/lib/components/banners/notification-banner/notification-banner.component.mjs +0 -120
  421. package/esm2020/lib/components/banners/notification-banner/notification-banner.module.mjs +0 -19
  422. package/esm2020/lib/components/body/body.component.mjs +0 -20
  423. package/esm2020/lib/components/body/body.module.mjs +0 -20
  424. package/esm2020/lib/components/footer/footer.component.mjs +0 -105
  425. package/esm2020/lib/components/footer/footers.module.mjs +0 -25
  426. package/esm2020/lib/components/form/date-input/date-input.component.mjs +0 -331
  427. package/esm2020/lib/components/form/form.module.mjs +0 -29
  428. package/esm2020/lib/components/header/header-bar/header-bar.component.mjs +0 -97
  429. package/esm2020/lib/components/header/headers.module.mjs +0 -25
  430. package/esm2020/lib/components/header/navigation/navigation-item.component.mjs +0 -41
  431. package/esm2020/lib/components/header/navigation/navigation.component.mjs +0 -24
  432. package/esm2020/lib/components/header/phase/phase.component.mjs +0 -45
  433. package/esm2020/lib/components/tabs/tab.component.mjs +0 -28
  434. package/esm2020/lib/components/tabs/tabs.component.mjs +0 -79
  435. package/esm2020/lib/components/tabs/tabs.module.mjs +0 -38
  436. package/esm2020/lib/shared/commons/address-validation-constants.mjs +0 -13
  437. package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +0 -19
  438. package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +0 -47
  439. package/esm2020/lib/shared/commons/constants.mjs +0 -13
  440. package/esm2020/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +0 -39
  441. package/esm2020/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +0 -33
  442. package/esm2020/lib/shared/components/activity/activity.component.mjs +0 -151
  443. package/esm2020/lib/shared/components/activity/activity.module.mjs +0 -55
  444. package/esm2020/lib/shared/components/case-editor/case-access-utils/index.mjs +0 -105
  445. package/esm2020/lib/shared/components/case-editor/case-create/case-create.component.mjs +0 -87
  446. package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +0 -432
  447. package/esm2020/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +0 -125
  448. package/esm2020/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +0 -135
  449. package/esm2020/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +0 -69
  450. package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +0 -751
  451. package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +0 -542
  452. package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +0 -213
  453. package/esm2020/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +0 -86
  454. package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +0 -80
  455. package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +0 -153
  456. package/esm2020/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +0 -77
  457. package/esm2020/lib/shared/components/case-editor/domain/confirmation.model.mjs +0 -21
  458. package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +0 -4
  459. package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +0 -3
  460. package/esm2020/lib/shared/components/case-editor/domain/wizard-page.model.mjs +0 -26
  461. package/esm2020/lib/shared/components/case-editor/domain/wizard.model.mjs +0 -54
  462. package/esm2020/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +0 -93
  463. package/esm2020/lib/shared/components/case-editor/services/case-flag-state.service.mjs +0 -19
  464. package/esm2020/lib/shared/components/case-editor/services/case-worker.service.mjs +0 -32
  465. package/esm2020/lib/shared/components/case-editor/services/case.notifier.mjs +0 -51
  466. package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +0 -294
  467. package/esm2020/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +0 -41
  468. package/esm2020/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +0 -143
  469. package/esm2020/lib/shared/components/case-editor/services/event-trigger.service.mjs +0 -20
  470. package/esm2020/lib/shared/components/case-editor/services/judicial-worker.service.mjs +0 -32
  471. package/esm2020/lib/shared/components/case-editor/services/page-validation.service.mjs +0 -53
  472. package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +0 -39
  473. package/esm2020/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +0 -117
  474. package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +0 -209
  475. package/esm2020/lib/shared/components/case-header/case-header.component.mjs +0 -61
  476. package/esm2020/lib/shared/components/case-header/case-header.module.mjs +0 -33
  477. package/esm2020/lib/shared/components/case-history/case-history.component.mjs +0 -242
  478. package/esm2020/lib/shared/components/case-history/case-history.module.mjs +0 -64
  479. package/esm2020/lib/shared/components/case-history/domain/case-history.model.mjs +0 -29
  480. package/esm2020/lib/shared/components/case-history/services/case-history.service.mjs +0 -40
  481. package/esm2020/lib/shared/components/case-list/case-list.component.mjs +0 -362
  482. package/esm2020/lib/shared/components/case-list/case-list.module.mjs +0 -47
  483. package/esm2020/lib/shared/components/case-list-filters/case-list-filters.component.mjs +0 -52
  484. package/esm2020/lib/shared/components/case-list-filters/case-list-filters.module.mjs +0 -64
  485. package/esm2020/lib/shared/components/case-timeline/case-timeline.component.mjs +0 -109
  486. package/esm2020/lib/shared/components/case-timeline/case-timeline.module.mjs +0 -52
  487. package/esm2020/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +0 -247
  488. package/esm2020/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +0 -298
  489. package/esm2020/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +0 -72
  490. package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +0 -141
  491. package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +0 -681
  492. package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +0 -58
  493. package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +0 -241
  494. package/esm2020/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +0 -199
  495. package/esm2020/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +0 -47
  496. package/esm2020/lib/shared/components/case-viewer/case-view/case-view.component.mjs +0 -98
  497. package/esm2020/lib/shared/components/case-viewer/case-viewer.component.mjs +0 -128
  498. package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +0 -191
  499. package/esm2020/lib/shared/components/case-viewer/printer/case-printer.component.mjs +0 -110
  500. package/esm2020/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +0 -60
  501. package/esm2020/lib/shared/components/case-viewer/services/case.resolver.mjs +0 -131
  502. package/esm2020/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +0 -64
  503. package/esm2020/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +0 -8
  504. package/esm2020/lib/shared/components/create-case-filters/create-case-filters.component.mjs +0 -275
  505. package/esm2020/lib/shared/components/create-case-filters/create-case-filters.module.mjs +0 -44
  506. package/esm2020/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +0 -57
  507. package/esm2020/lib/shared/components/dialogs/dialogs.module.mjs +0 -51
  508. package/esm2020/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +0 -59
  509. package/esm2020/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +0 -57
  510. package/esm2020/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +0 -61
  511. package/esm2020/lib/shared/components/error/callback-errors.component.mjs +0 -148
  512. package/esm2020/lib/shared/components/error/domain/error-context.mjs +0 -3
  513. package/esm2020/lib/shared/components/error/errors.module.mjs +0 -33
  514. package/esm2020/lib/shared/components/error-message/error-message.component.mjs +0 -43
  515. package/esm2020/lib/shared/components/error-message/error-message.module.mjs +0 -41
  516. package/esm2020/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +0 -59
  517. package/esm2020/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +0 -53
  518. package/esm2020/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +0 -104
  519. package/esm2020/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +0 -68
  520. package/esm2020/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +0 -58
  521. package/esm2020/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +0 -53
  522. package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +0 -94
  523. package/esm2020/lib/shared/components/event-start/event-start.component.mjs +0 -49
  524. package/esm2020/lib/shared/components/event-start/event-start.module.mjs +0 -71
  525. package/esm2020/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +0 -29
  526. package/esm2020/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +0 -168
  527. package/esm2020/lib/shared/components/event-trigger/event-trigger.component.mjs +0 -111
  528. package/esm2020/lib/shared/components/event-trigger/event-trigger.module.mjs +0 -37
  529. package/esm2020/lib/shared/components/loading-spinner/loading-spinner.component.mjs +0 -27
  530. package/esm2020/lib/shared/components/loading-spinner/loading-spinner.module.mjs +0 -29
  531. package/esm2020/lib/shared/components/pagination/pagination.component.mjs +0 -262
  532. package/esm2020/lib/shared/components/pagination/pagination.module.mjs +0 -35
  533. package/esm2020/lib/shared/components/palette/address/address-option.model.mjs +0 -21
  534. package/esm2020/lib/shared/components/palette/address/write-address-field.component.mjs +0 -282
  535. package/esm2020/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +0 -31
  536. package/esm2020/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +0 -44
  537. package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +0 -83
  538. package/esm2020/lib/shared/components/palette/base-field/field-read-label.component.mjs +0 -86
  539. package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +0 -85
  540. package/esm2020/lib/shared/components/palette/base-field/field-write.component.mjs +0 -74
  541. package/esm2020/lib/shared/components/palette/base-field/payment-field.component.mjs +0 -35
  542. package/esm2020/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +0 -171
  543. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +0 -48
  544. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +0 -48
  545. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +0 -340
  546. package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +0 -153
  547. package/esm2020/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +0 -94
  548. package/esm2020/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +0 -190
  549. package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +0 -288
  550. package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +0 -207
  551. package/esm2020/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +0 -165
  552. package/esm2020/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +0 -219
  553. package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +0 -306
  554. package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +0 -200
  555. package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +0 -343
  556. package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +0 -267
  557. package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +0 -510
  558. package/esm2020/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +0 -41
  559. package/esm2020/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +0 -41
  560. package/esm2020/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +0 -109
  561. package/esm2020/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +0 -77
  562. package/esm2020/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +0 -246
  563. package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +0 -686
  564. package/esm2020/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +0 -32
  565. package/esm2020/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +0 -122
  566. package/esm2020/lib/shared/components/palette/collection/collection-create-checker.service.mjs +0 -42
  567. package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +0 -81
  568. package/esm2020/lib/shared/components/palette/collection/write-collection-field.component.mjs +0 -443
  569. package/esm2020/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +0 -379
  570. package/esm2020/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +0 -53
  571. package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +0 -78
  572. package/esm2020/lib/shared/components/palette/complex/read-complex-field.component.mjs +0 -73
  573. package/esm2020/lib/shared/components/palette/complex/write-complex-field.component.mjs +0 -171
  574. package/esm2020/lib/shared/components/palette/date/read-date-field.component.mjs +0 -28
  575. package/esm2020/lib/shared/components/palette/date/write-date-container-field.component.mjs +0 -33
  576. package/esm2020/lib/shared/components/palette/date/write-date-field.component.mjs +0 -76
  577. package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +0 -309
  578. package/esm2020/lib/shared/components/palette/document/document-url.pipe.mjs +0 -24
  579. package/esm2020/lib/shared/components/palette/document/file-upload-progress.guard.mjs +0 -29
  580. package/esm2020/lib/shared/components/palette/document/file-upload-state.service.mjs +0 -16
  581. package/esm2020/lib/shared/components/palette/document/read-document-field.component.mjs +0 -81
  582. package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +0 -383
  583. package/esm2020/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +0 -18
  584. package/esm2020/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +0 -36
  585. package/esm2020/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +0 -124
  586. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +0 -43
  587. package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +0 -145
  588. package/esm2020/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +0 -25
  589. package/esm2020/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +0 -42
  590. package/esm2020/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +0 -124
  591. package/esm2020/lib/shared/components/palette/email/read-email-field.component.mjs +0 -35
  592. package/esm2020/lib/shared/components/palette/email/write-email-field.component.mjs +0 -73
  593. package/esm2020/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +0 -23
  594. package/esm2020/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +0 -26
  595. package/esm2020/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +0 -106
  596. package/esm2020/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +0 -18
  597. package/esm2020/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +0 -26
  598. package/esm2020/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +0 -95
  599. package/esm2020/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +0 -16
  600. package/esm2020/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +0 -97
  601. package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +0 -225
  602. package/esm2020/lib/shared/components/palette/history/event-log/event-log.component.mjs +0 -72
  603. package/esm2020/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +0 -45
  604. package/esm2020/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +0 -242
  605. package/esm2020/lib/shared/components/palette/label/label-field.component.mjs +0 -50
  606. package/esm2020/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +0 -108
  607. package/esm2020/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +0 -189
  608. package/esm2020/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +0 -530
  609. package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +0 -204
  610. package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +0 -280
  611. package/esm2020/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +0 -66
  612. package/esm2020/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +0 -201
  613. package/esm2020/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +0 -22
  614. package/esm2020/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +0 -163
  615. package/esm2020/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +0 -132
  616. package/esm2020/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +0 -27
  617. package/esm2020/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +0 -229
  618. package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +0 -40
  619. package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +0 -43
  620. package/esm2020/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +0 -123
  621. package/esm2020/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +0 -47
  622. package/esm2020/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +0 -78
  623. package/esm2020/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +0 -45
  624. package/esm2020/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +0 -126
  625. package/esm2020/lib/shared/components/palette/number/read-number-field.component.mjs +0 -24
  626. package/esm2020/lib/shared/components/palette/number/write-number-field.component.mjs +0 -73
  627. package/esm2020/lib/shared/components/palette/order-summary/fee-value.model.mjs +0 -3
  628. package/esm2020/lib/shared/components/palette/order-summary/fee.model.mjs +0 -4
  629. package/esm2020/lib/shared/components/palette/order-summary/order-summary.model.mjs +0 -3
  630. package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +0 -73
  631. package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +0 -43
  632. package/esm2020/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +0 -44
  633. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +0 -83
  634. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +0 -87
  635. package/esm2020/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +0 -56
  636. package/esm2020/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +0 -33
  637. package/esm2020/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +0 -384
  638. package/esm2020/lib/shared/components/palette/palette.module.mjs +0 -738
  639. package/esm2020/lib/shared/components/palette/palette.service.mjs +0 -155
  640. package/esm2020/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +0 -24
  641. package/esm2020/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +0 -22
  642. package/esm2020/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +0 -73
  643. package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +0 -42
  644. package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +0 -144
  645. package/esm2020/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +0 -64
  646. package/esm2020/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +0 -60
  647. package/esm2020/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +0 -281
  648. package/esm2020/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +0 -327
  649. package/esm2020/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +0 -22
  650. package/esm2020/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +0 -164
  651. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +0 -74
  652. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +0 -107
  653. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +0 -201
  654. package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +0 -101
  655. package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +0 -21
  656. package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +0 -38
  657. package/esm2020/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +0 -121
  658. package/esm2020/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +0 -22
  659. package/esm2020/lib/shared/components/palette/text/read-text-field.component.mjs +0 -24
  660. package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +0 -77
  661. package/esm2020/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +0 -24
  662. package/esm2020/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +0 -87
  663. package/esm2020/lib/shared/components/palette/unsupported-field.component.mjs +0 -17
  664. package/esm2020/lib/shared/components/palette/utils/dash.pipe.mjs +0 -16
  665. package/esm2020/lib/shared/components/palette/utils/date.pipe.mjs +0 -132
  666. package/esm2020/lib/shared/components/palette/utils/field-label.pipe.mjs +0 -29
  667. package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +0 -59
  668. package/esm2020/lib/shared/components/palette/utils/is-compound.pipe.mjs +0 -43
  669. package/esm2020/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +0 -21
  670. package/esm2020/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +0 -31
  671. package/esm2020/lib/shared/components/palette/utils/is-read-only.pipe.mjs +0 -21
  672. package/esm2020/lib/shared/components/palette/utils/utils.module.mjs +0 -71
  673. package/esm2020/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +0 -34
  674. package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +0 -34
  675. package/esm2020/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +0 -100
  676. package/esm2020/lib/shared/components/palette/yes-no/yes-no.service.mjs +0 -50
  677. package/esm2020/lib/shared/components/search-filters/domain/search-input.model.mjs +0 -10
  678. package/esm2020/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +0 -58
  679. package/esm2020/lib/shared/components/search-filters/search-filters.component.mjs +0 -326
  680. package/esm2020/lib/shared/components/search-filters/search-filters.module.mjs +0 -71
  681. package/esm2020/lib/shared/components/search-result/search-result.component.mjs +0 -815
  682. package/esm2020/lib/shared/components/search-result/search-result.module.mjs +0 -82
  683. package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +0 -479
  684. package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +0 -67
  685. package/esm2020/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +0 -164
  686. package/esm2020/lib/shared/directives/conditional-show/conditional-show.module.mjs +0 -33
  687. package/esm2020/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +0 -200
  688. package/esm2020/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +0 -19
  689. package/esm2020/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +0 -47
  690. package/esm2020/lib/shared/directives/focus-element/focus-element.directive.mjs +0 -36
  691. package/esm2020/lib/shared/directives/focus-element/focus-element.module.mjs +0 -21
  692. package/esm2020/lib/shared/directives/substitutor/label-substitutor.directive.mjs +0 -82
  693. package/esm2020/lib/shared/directives/substitutor/label-substitutor.module.mjs +0 -30
  694. package/esm2020/lib/shared/directives/substitutor/services/placeholder.service.mjs +0 -200
  695. package/esm2020/lib/shared/domain/activity/activity.model.mjs +0 -10
  696. package/esm2020/lib/shared/domain/addresses/address.model.mjs +0 -13
  697. package/esm2020/lib/shared/domain/alert/alert.model.mjs +0 -3
  698. package/esm2020/lib/shared/domain/case-details.model.mjs +0 -4
  699. package/esm2020/lib/shared/domain/case-event-data.model.mjs +0 -4
  700. package/esm2020/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +0 -3
  701. package/esm2020/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +0 -4
  702. package/esm2020/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +0 -7
  703. package/esm2020/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +0 -117
  704. package/esm2020/lib/shared/domain/case-flag/flag-type.model.mjs +0 -28
  705. package/esm2020/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +0 -10
  706. package/esm2020/lib/shared/domain/case-view/case-event-trigger.model.mjs +0 -23
  707. package/esm2020/lib/shared/domain/case-view/case-print-document.model.mjs +0 -3
  708. package/esm2020/lib/shared/domain/case-view/case-tab.model.mjs +0 -12
  709. package/esm2020/lib/shared/domain/case-view/case-view-event.model.mjs +0 -4
  710. package/esm2020/lib/shared/domain/case-view/case-view-trigger.model.mjs +0 -3
  711. package/esm2020/lib/shared/domain/case-view/case-view.model.mjs +0 -17
  712. package/esm2020/lib/shared/domain/definition/access-control-list.model.mjs +0 -3
  713. package/esm2020/lib/shared/domain/definition/banner.model.mjs +0 -3
  714. package/esm2020/lib/shared/domain/definition/case-event.model.mjs +0 -3
  715. package/esm2020/lib/shared/domain/definition/case-field.model.mjs +0 -198
  716. package/esm2020/lib/shared/domain/definition/case-state.model.mjs +0 -3
  717. package/esm2020/lib/shared/domain/definition/case-type-lite.model.mjs +0 -5
  718. package/esm2020/lib/shared/domain/definition/case-type.model.mjs +0 -12
  719. package/esm2020/lib/shared/domain/definition/event-case-field.model.mjs +0 -4
  720. package/esm2020/lib/shared/domain/definition/field-type.model.mjs +0 -22
  721. package/esm2020/lib/shared/domain/definition/fixed-list-item.model.mjs +0 -3
  722. package/esm2020/lib/shared/domain/definition/jurisdiction.model.mjs +0 -3
  723. package/esm2020/lib/shared/domain/document/document-data.model.mjs +0 -14
  724. package/esm2020/lib/shared/domain/draft.model.mjs +0 -11
  725. package/esm2020/lib/shared/domain/http/http-error.model.mjs +0 -34
  726. package/esm2020/lib/shared/domain/organisation/organisation-converter.mjs +0 -42
  727. package/esm2020/lib/shared/domain/pagination-metadata.model.mjs +0 -3
  728. package/esm2020/lib/shared/domain/profile/profile.model.mjs +0 -29
  729. package/esm2020/lib/shared/domain/search/field.model.mjs +0 -11
  730. package/esm2020/lib/shared/domain/search/search-result-view-column.model.mjs +0 -3
  731. package/esm2020/lib/shared/domain/search/search-result-view-item.model.mjs +0 -12
  732. package/esm2020/lib/shared/domain/search/search-result-view.model.mjs +0 -23
  733. package/esm2020/lib/shared/domain/search/sorting/sort-parameters.mjs +0 -7
  734. package/esm2020/lib/shared/domain/workbasket/workbasket-input.model.mjs +0 -5
  735. package/esm2020/lib/shared/fixture/case-field-builder.mjs +0 -69
  736. package/esm2020/lib/shared/pipes/case-reference/case-reference.pipe.mjs +0 -33
  737. package/esm2020/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +0 -29
  738. package/esm2020/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +0 -32
  739. package/esm2020/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +0 -29
  740. package/esm2020/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +0 -39
  741. package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +0 -173
  742. package/esm2020/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +0 -31
  743. package/esm2020/lib/shared/pipes/complex/fields-filter.pipe.mjs +0 -105
  744. package/esm2020/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +0 -16
  745. package/esm2020/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +0 -27
  746. package/esm2020/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +0 -27
  747. package/esm2020/lib/shared/pipes/pipes.module.mjs +0 -64
  748. package/esm2020/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +0 -24
  749. package/esm2020/lib/shared/services/activity/activity.polling.service.mjs +0 -114
  750. package/esm2020/lib/shared/services/activity/activity.service.mjs +0 -82
  751. package/esm2020/lib/shared/services/addresses/addresses.service.mjs +0 -63
  752. package/esm2020/lib/shared/services/alert/alert.service.mjs +0 -142
  753. package/esm2020/lib/shared/services/auth/auth.service.mjs +0 -33
  754. package/esm2020/lib/shared/services/banners/banners.service.mjs +0 -33
  755. package/esm2020/lib/shared/services/browser/browser.service.mjs +0 -24
  756. package/esm2020/lib/shared/services/case-fields/case-field.service.mjs +0 -34
  757. package/esm2020/lib/shared/services/case-fields/format-translator.service.mjs +0 -242
  758. package/esm2020/lib/shared/services/case-file-view/case-file-view.service.mjs +0 -46
  759. package/esm2020/lib/shared/services/case-flag/case-flag-refdata.service.mjs +0 -102
  760. package/esm2020/lib/shared/services/common-data-service/common-data-service.mjs +0 -28
  761. package/esm2020/lib/shared/services/definitions/definitions.module.mjs +0 -19
  762. package/esm2020/lib/shared/services/definitions/definitions.service.mjs +0 -30
  763. package/esm2020/lib/shared/services/document-management/document-management.service.mjs +0 -112
  764. package/esm2020/lib/shared/services/draft/draft.service.mjs +0 -86
  765. package/esm2020/lib/shared/services/error/error-notifier.service.mjs +0 -18
  766. package/esm2020/lib/shared/services/eventStatusService/event-status.service.mjs +0 -21
  767. package/esm2020/lib/shared/services/fields/fields.purger.mjs +0 -303
  768. package/esm2020/lib/shared/services/fields/fields.utils.mjs +0 -615
  769. package/esm2020/lib/shared/services/form/field-type-sanitiser.mjs +0 -91
  770. package/esm2020/lib/shared/services/form/form-error.service.mjs +0 -46
  771. package/esm2020/lib/shared/services/form/form-validators.service.mjs +0 -56
  772. package/esm2020/lib/shared/services/form/form-value.service.mjs +0 -551
  773. package/esm2020/lib/shared/services/http/http-error.service.mjs +0 -65
  774. package/esm2020/lib/shared/services/http/http.service.mjs +0 -93
  775. package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +0 -34
  776. package/esm2020/lib/shared/services/loading/loading.module.mjs +0 -22
  777. package/esm2020/lib/shared/services/loading/loading.service.mjs +0 -37
  778. package/esm2020/lib/shared/services/navigation/navigation-notifier.service.mjs +0 -18
  779. package/esm2020/lib/shared/services/order/order.service.mjs +0 -39
  780. package/esm2020/lib/shared/services/organisation/organisation.service.mjs +0 -54
  781. package/esm2020/lib/shared/services/profile/profile.notifier.mjs +0 -19
  782. package/esm2020/lib/shared/services/profile/profile.service.mjs +0 -34
  783. package/esm2020/lib/shared/services/request/request.options.builder.mjs +0 -61
  784. package/esm2020/lib/shared/services/router/router-helper.service.mjs +0 -20
  785. package/esm2020/lib/shared/services/search/search.service.mjs +0 -89
  786. package/esm2020/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +0 -71
  787. package/esm2020/lib/shared/services/session/session-storage.service.mjs +0 -34
  788. package/esm2020/lib/shared/services/utils/retry/retry.service.mjs +0 -86
  789. package/esm2020/lib/shared/services/window/window.service.mjs +0 -40
  790. package/esm2020/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +0 -53
  791. package/esm2020/lib/shared/test/test-route-snapshot-builder.mjs +0 -40
  792. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +0 -38542
  793. package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
  794. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +0 -35578
  795. package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
  796. /package/{esm2020 → esm2022}/hmcts-ccd-case-ui-toolkit.mjs +0 -0
  797. /package/{esm2020 → esm2022}/lib/components/banners/alert/index.mjs +0 -0
  798. /package/{esm2020 → esm2022}/lib/components/banners/index.mjs +0 -0
  799. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/domain/index.mjs +0 -0
  800. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/domain/notification-banner-config.model.mjs +0 -0
  801. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/enums/index.mjs +0 -0
  802. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/enums/notification-banner-style.enum.mjs +0 -0
  803. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/enums/notification-banner-type.enum.mjs +0 -0
  804. /package/{esm2020 → esm2022}/lib/components/banners/notification-banner/index.mjs +0 -0
  805. /package/{esm2020 → esm2022}/lib/components/body/index.mjs +0 -0
  806. /package/{esm2020 → esm2022}/lib/components/footer/index.mjs +0 -0
  807. /package/{esm2020 → esm2022}/lib/components/form/date-input/index.mjs +0 -0
  808. /package/{esm2020 → esm2022}/lib/components/form/index.mjs +0 -0
  809. /package/{esm2020 → esm2022}/lib/components/header/header-bar/index.mjs +0 -0
  810. /package/{esm2020 → esm2022}/lib/components/header/index.mjs +0 -0
  811. /package/{esm2020 → esm2022}/lib/components/header/navigation/index.mjs +0 -0
  812. /package/{esm2020 → esm2022}/lib/components/header/phase/index.mjs +0 -0
  813. /package/{esm2020 → esm2022}/lib/components/index.mjs +0 -0
  814. /package/{esm2020 → esm2022}/lib/components/tabs/index.mjs +0 -0
  815. /package/{esm2020 → esm2022}/lib/shared/commons/case-edit-data/case-edit-validation.model.mjs +0 -0
  816. /package/{esm2020 → esm2022}/lib/shared/commons/case-edit-data/index.mjs +0 -0
  817. /package/{esm2020 → esm2022}/lib/shared/components/activity/activity-banner/index.mjs +0 -0
  818. /package/{esm2020 → esm2022}/lib/shared/components/activity/activity-icon/index.mjs +0 -0
  819. /package/{esm2020 → esm2022}/lib/shared/components/activity/index.mjs +0 -0
  820. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-create/index.mjs +0 -0
  821. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit/index.mjs +0 -0
  822. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-confirm/index.mjs +0 -0
  823. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-form/index.mjs +0 -0
  824. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-page/index.mjs +0 -0
  825. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.mjs +0 -0
  826. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-edit-submit/index.mjs +0 -0
  827. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-event-completion/index.mjs +0 -0
  828. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/case-progress/index.mjs +0 -0
  829. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-params.model.mjs +0 -0
  830. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-portal-types.model.mjs +0 -0
  831. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.mjs +0 -0
  832. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.mjs +0 -0
  833. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/event-completion-states.enum.model.mjs +0 -0
  834. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/domain/index.mjs +0 -0
  835. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/editor.routing.mjs +0 -0
  836. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/index.mjs +0 -0
  837. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/services/index.mjs +0 -0
  838. /package/{esm2020 → esm2022}/lib/shared/components/case-editor/services/wizard-factory.service.mjs +0 -0
  839. /package/{esm2020 → esm2022}/lib/shared/components/case-header/index.mjs +0 -0
  840. /package/{esm2020 → esm2022}/lib/shared/components/case-history/index.mjs +0 -0
  841. /package/{esm2020 → esm2022}/lib/shared/components/case-list/index.mjs +0 -0
  842. /package/{esm2020 → esm2022}/lib/shared/components/case-list-filters/index.mjs +0 -0
  843. /package/{esm2020 → esm2022}/lib/shared/components/case-timeline/index.mjs +0 -0
  844. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-basic-access-view/index.mjs +0 -0
  845. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-request/index.mjs +0 -0
  846. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.mjs +0 -0
  847. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-request/models/index.mjs +0 -0
  848. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-challenged-access-success/index.mjs +0 -0
  849. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-event-trigger/index.mjs +0 -0
  850. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-full-access-view/index.mjs +0 -0
  851. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-reject/index.mjs +0 -0
  852. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-request/index.mjs +0 -0
  853. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.mjs +0 -0
  854. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.mjs +0 -0
  855. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-request/index.mjs +0 -0
  856. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.mjs +0 -0
  857. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-request/models/index.mjs +0 -0
  858. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-specific-access-success/index.mjs +0 -0
  859. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/case-view/index.mjs +0 -0
  860. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/index.mjs +0 -0
  861. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/printer/index.mjs +0 -0
  862. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/printer/pipes/index.mjs +0 -0
  863. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/services/index.mjs +0 -0
  864. /package/{esm2020 → esm2022}/lib/shared/components/case-viewer/viewer.routing.mjs +0 -0
  865. /package/{esm2020 → esm2022}/lib/shared/components/create-case-filters/index.mjs +0 -0
  866. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/delete-or-cancel-dialog/index.mjs +0 -0
  867. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/document-dialog/index.mjs +0 -0
  868. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/index.mjs +0 -0
  869. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/remove-dialog/index.mjs +0 -0
  870. /package/{esm2020 → esm2022}/lib/shared/components/dialogs/save-or-discard-dialog/index.mjs +0 -0
  871. /package/{esm2020 → esm2022}/lib/shared/components/error/domain/index.mjs +0 -0
  872. /package/{esm2020 → esm2022}/lib/shared/components/error/index.mjs +0 -0
  873. /package/{esm2020 → esm2022}/lib/shared/components/error-message/index.mjs +0 -0
  874. /package/{esm2020 → esm2022}/lib/shared/components/event-start/index.mjs +0 -0
  875. /package/{esm2020 → esm2022}/lib/shared/components/event-start/models/event-start-state-machine-context.model.mjs +0 -0
  876. /package/{esm2020 → esm2022}/lib/shared/components/event-start/models/event-start-states-enum.model.mjs +0 -0
  877. /package/{esm2020 → esm2022}/lib/shared/components/event-start/models/index.mjs +0 -0
  878. /package/{esm2020 → esm2022}/lib/shared/components/event-start/services/index.mjs +0 -0
  879. /package/{esm2020 → esm2022}/lib/shared/components/event-trigger/index.mjs +0 -0
  880. /package/{esm2020 → esm2022}/lib/shared/components/helpers/index.mjs +0 -0
  881. /package/{esm2020 → esm2022}/lib/shared/components/helpers/init-dialog-helper.mjs +0 -0
  882. /package/{esm2020 → esm2022}/lib/shared/components/index.mjs +0 -0
  883. /package/{esm2020 → esm2022}/lib/shared/components/loading-spinner/index.mjs +0 -0
  884. /package/{esm2020 → esm2022}/lib/shared/components/pagination/index.mjs +0 -0
  885. /package/{esm2020 → esm2022}/lib/shared/components/palette/address/index.mjs +0 -0
  886. /package/{esm2020 → esm2022}/lib/shared/components/palette/base-field/index.mjs +0 -0
  887. /package/{esm2020 → esm2022}/lib/shared/components/palette/base-field/palette-context.enum.mjs +0 -0
  888. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/components/index.mjs +0 -0
  889. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.mjs +0 -0
  890. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/components/shared/index.mjs +0 -0
  891. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/index.mjs +0 -0
  892. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.mjs +0 -0
  893. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/components/index.mjs +0 -0
  894. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.mjs +0 -0
  895. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/case-flag-state.model.mjs +0 -0
  896. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/case-flag.model.mjs +0 -0
  897. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/index.mjs +0 -0
  898. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/domain/language.model.mjs +0 -0
  899. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.mjs +0 -0
  900. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.mjs +0 -0
  901. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.mjs +0 -0
  902. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.mjs +0 -0
  903. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.mjs +0 -0
  904. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.mjs +0 -0
  905. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-summary-list-display-mode.enum.mjs +0 -0
  906. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.mjs +0 -0
  907. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.mjs +0 -0
  908. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.mjs +0 -0
  909. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/index.mjs +0 -0
  910. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-error-message.enum.mjs +0 -0
  911. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-step.enum.mjs +0 -0
  912. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.mjs +0 -0
  913. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/select-flag-location-error-message.enum.mjs +0 -0
  914. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.mjs +0 -0
  915. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.mjs +0 -0
  916. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.mjs +0 -0
  917. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.mjs +0 -0
  918. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.mjs +0 -0
  919. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.mjs +0 -0
  920. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/index.mjs +0 -0
  921. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-flag/pipes/index.mjs +0 -0
  922. /package/{esm2020 → esm2022}/lib/shared/components/palette/case-link/index.mjs +0 -0
  923. /package/{esm2020 → esm2022}/lib/shared/components/palette/collection/index.mjs +0 -0
  924. /package/{esm2020 → esm2022}/lib/shared/components/palette/complex/index.mjs +0 -0
  925. /package/{esm2020 → esm2022}/lib/shared/components/palette/complex/sort-order.mjs +0 -0
  926. /package/{esm2020 → esm2022}/lib/shared/components/palette/date/index.mjs +0 -0
  927. /package/{esm2020 → esm2022}/lib/shared/components/palette/datetime-picker/datetime-picker-utils.mjs +0 -0
  928. /package/{esm2020 → esm2022}/lib/shared/components/palette/datetime-picker/index.mjs +0 -0
  929. /package/{esm2020 → esm2022}/lib/shared/components/palette/document/index.mjs +0 -0
  930. /package/{esm2020 → esm2022}/lib/shared/components/palette/dynamic-list/index.mjs +0 -0
  931. /package/{esm2020 → esm2022}/lib/shared/components/palette/dynamic-multi-select-list/index.mjs +0 -0
  932. /package/{esm2020 → esm2022}/lib/shared/components/palette/dynamic-radio-list/index.mjs +0 -0
  933. /package/{esm2020 → esm2022}/lib/shared/components/palette/email/index.mjs +0 -0
  934. /package/{esm2020 → esm2022}/lib/shared/components/palette/fixed-list/index.mjs +0 -0
  935. /package/{esm2020 → esm2022}/lib/shared/components/palette/fixed-radio-list/index.mjs +0 -0
  936. /package/{esm2020 → esm2022}/lib/shared/components/palette/history/event-log/index.mjs +0 -0
  937. /package/{esm2020 → esm2022}/lib/shared/components/palette/history/index.mjs +0 -0
  938. /package/{esm2020 → esm2022}/lib/shared/components/palette/index.mjs +0 -0
  939. /package/{esm2020 → esm2022}/lib/shared/components/palette/judicial-user/index.mjs +0 -0
  940. /package/{esm2020 → esm2022}/lib/shared/components/palette/label/index.mjs +0 -0
  941. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/components/index.mjs +0 -0
  942. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/domain/index.mjs +0 -0
  943. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.mjs +0 -0
  944. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/enums/index.mjs +0 -0
  945. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.mjs +0 -0
  946. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/index.mjs +0 -0
  947. /package/{esm2020 → esm2022}/lib/shared/components/palette/linked-cases/services/index.mjs +0 -0
  948. /package/{esm2020 → esm2022}/lib/shared/components/palette/markdown/index.mjs +0 -0
  949. /package/{esm2020 → esm2022}/lib/shared/components/palette/money-gbp/index.mjs +0 -0
  950. /package/{esm2020 → esm2022}/lib/shared/components/palette/multi-select-list/index.mjs +0 -0
  951. /package/{esm2020 → esm2022}/lib/shared/components/palette/number/index.mjs +0 -0
  952. /package/{esm2020 → esm2022}/lib/shared/components/palette/order-summary/index.mjs +0 -0
  953. /package/{esm2020 → esm2022}/lib/shared/components/palette/organisation/index.mjs +0 -0
  954. /package/{esm2020 → esm2022}/lib/shared/components/palette/payment/index.mjs +0 -0
  955. /package/{esm2020 → esm2022}/lib/shared/components/palette/phone-uk/index.mjs +0 -0
  956. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/__mocks__/index.mjs +0 -0
  957. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/components/index.mjs +0 -0
  958. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/index.mjs +0 -0
  959. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.mjs +0 -0
  960. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +0 -0
  961. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.mjs +0 -0
  962. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.mjs +0 -0
  963. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/index.mjs +0 -0
  964. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +0 -0
  965. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/index.mjs +0 -0
  966. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.mjs +0 -0
  967. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.mjs +0 -0
  968. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/query-create-context.enum.mjs +0 -0
  969. /package/{esm2020 → esm2022}/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.mjs +0 -0
  970. /package/{esm2020 → esm2022}/lib/shared/components/palette/text/index.mjs +0 -0
  971. /package/{esm2020 → esm2022}/lib/shared/components/palette/text-area/index.mjs +0 -0
  972. /package/{esm2020 → esm2022}/lib/shared/components/palette/utils/index.mjs +0 -0
  973. /package/{esm2020 → esm2022}/lib/shared/components/palette/waystopay/index.mjs +0 -0
  974. /package/{esm2020 → esm2022}/lib/shared/components/palette/yes-no/index.mjs +0 -0
  975. /package/{esm2020 → esm2022}/lib/shared/components/search-filters/domain/index.mjs +0 -0
  976. /package/{esm2020 → esm2022}/lib/shared/components/search-filters/index.mjs +0 -0
  977. /package/{esm2020 → esm2022}/lib/shared/components/search-result/index.mjs +0 -0
  978. /package/{esm2020 → esm2022}/lib/shared/components/workbasket-filters/index.mjs +0 -0
  979. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/domain/index.mjs +0 -0
  980. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/index.mjs +0 -0
  981. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +0 -0
  982. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/services/condition.peg.mjs +0 -0
  983. /package/{esm2020 → esm2022}/lib/shared/directives/conditional-show/services/index.mjs +0 -0
  984. /package/{esm2020 → esm2022}/lib/shared/directives/focus-element/index.mjs +0 -0
  985. /package/{esm2020 → esm2022}/lib/shared/directives/index.mjs +0 -0
  986. /package/{esm2020 → esm2022}/lib/shared/directives/substitutor/index.mjs +0 -0
  987. /package/{esm2020 → esm2022}/lib/shared/directives/substitutor/services/index.mjs +0 -0
  988. /package/{esm2020 → esm2022}/lib/shared/domain/activity/index.mjs +0 -0
  989. /package/{esm2020 → esm2022}/lib/shared/domain/addresses/index.mjs +0 -0
  990. /package/{esm2020 → esm2022}/lib/shared/domain/alert/alert-level.model.mjs +0 -0
  991. /package/{esm2020 → esm2022}/lib/shared/domain/alert/alert-status-params.model.mjs +0 -0
  992. /package/{esm2020 → esm2022}/lib/shared/domain/alert/index.mjs +0 -0
  993. /package/{esm2020 → esm2022}/lib/shared/domain/case-edit/case-edit.model.mjs +0 -0
  994. /package/{esm2020 → esm2022}/lib/shared/domain/case-edit/index.mjs +0 -0
  995. /package/{esm2020 → esm2022}/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.mjs +0 -0
  996. /package/{esm2020 → esm2022}/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.mjs +0 -0
  997. /package/{esm2020 → esm2022}/lib/shared/domain/case-file-view/index.mjs +0 -0
  998. /package/{esm2020 → esm2022}/lib/shared/domain/case-flag/index.mjs +0 -0
  999. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/access-types.model.mjs +0 -0
  1000. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/case-view-event-ids.enum.mjs +0 -0
  1001. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/challenged-access-request.model.mjs +0 -0
  1002. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/index.mjs +0 -0
  1003. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/review-specific-access-request.model.mjs +0 -0
  1004. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/role-assignment-response.model.mjs +0 -0
  1005. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/role-request.model.mjs +0 -0
  1006. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/service-org-response.model.mjs +0 -0
  1007. /package/{esm2020 → esm2022}/lib/shared/domain/case-view/specific-access-request.model.mjs +0 -0
  1008. /package/{esm2020 → esm2022}/lib/shared/domain/definition/display-context-enum.model.mjs +0 -0
  1009. /package/{esm2020 → esm2022}/lib/shared/domain/definition/field-type-enum.model.mjs +0 -0
  1010. /package/{esm2020 → esm2022}/lib/shared/domain/definition/index.mjs +0 -0
  1011. /package/{esm2020 → esm2022}/lib/shared/domain/document/index.mjs +0 -0
  1012. /package/{esm2020 → esm2022}/lib/shared/domain/error-message.model.mjs +0 -0
  1013. /package/{esm2020 → esm2022}/lib/shared/domain/http/index.mjs +0 -0
  1014. /package/{esm2020 → esm2022}/lib/shared/domain/index.mjs +0 -0
  1015. /package/{esm2020 → esm2022}/lib/shared/domain/jurisdiction/index.mjs +0 -0
  1016. /package/{esm2020 → esm2022}/lib/shared/domain/jurisdiction/judicial-user.model.mjs +0 -0
  1017. /package/{esm2020 → esm2022}/lib/shared/domain/order/index.mjs +0 -0
  1018. /package/{esm2020 → esm2022}/lib/shared/domain/order/orderable.model.mjs +0 -0
  1019. /package/{esm2020 → esm2022}/lib/shared/domain/organisation/index.mjs +0 -0
  1020. /package/{esm2020 → esm2022}/lib/shared/domain/organisation/simple-organisation.model.mjs +0 -0
  1021. /package/{esm2020 → esm2022}/lib/shared/domain/predicate.model.mjs +0 -0
  1022. /package/{esm2020 → esm2022}/lib/shared/domain/profile/index.mjs +0 -0
  1023. /package/{esm2020 → esm2022}/lib/shared/domain/search/index.mjs +0 -0
  1024. /package/{esm2020 → esm2022}/lib/shared/domain/search/sorting/search-result-view-item-comparator.mjs +0 -0
  1025. /package/{esm2020 → esm2022}/lib/shared/domain/sort-order.enum.mjs +0 -0
  1026. /package/{esm2020 → esm2022}/lib/shared/domain/user/user-details.model.mjs +0 -0
  1027. /package/{esm2020 → esm2022}/lib/shared/domain/user/user-info.model.mjs +0 -0
  1028. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/Task.mjs +0 -0
  1029. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/TaskPayload.mjs +0 -0
  1030. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/case-worker.model.mjs +0 -0
  1031. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/index.mjs +0 -0
  1032. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/judicial-worker.model.mjs +0 -0
  1033. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/task-response.model.mjs +0 -0
  1034. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/task-search-parameter.model.mjs +0 -0
  1035. /package/{esm2020 → esm2022}/lib/shared/domain/work-allocation/wa-service-config.model.mjs +0 -0
  1036. /package/{esm2020 → esm2022}/lib/shared/domain/workbasket/index.mjs +0 -0
  1037. /package/{esm2020 → esm2022}/lib/shared/fixture/shared.test.fixture.mjs +0 -0
  1038. /package/{esm2020 → esm2022}/lib/shared/index.mjs +0 -0
  1039. /package/{esm2020 → esm2022}/lib/shared/pipes/case-reference/index.mjs +0 -0
  1040. /package/{esm2020 → esm2022}/lib/shared/pipes/case-title/index.mjs +0 -0
  1041. /package/{esm2020 → esm2022}/lib/shared/pipes/complex/index.mjs +0 -0
  1042. /package/{esm2020 → esm2022}/lib/shared/pipes/generic/index.mjs +0 -0
  1043. /package/{esm2020 → esm2022}/lib/shared/pipes/index.mjs +0 -0
  1044. /package/{esm2020 → esm2022}/lib/shared/pipes/link-cases-from-reason-code/index.mjs +0 -0
  1045. /package/{esm2020 → esm2022}/lib/shared/pipes/link-cases-reason-code/index.mjs +0 -0
  1046. /package/{esm2020 → esm2022}/lib/shared/services/activity/index.mjs +0 -0
  1047. /package/{esm2020 → esm2022}/lib/shared/services/addresses/address-parser.mjs +0 -0
  1048. /package/{esm2020 → esm2022}/lib/shared/services/addresses/address-type.enum.mjs +0 -0
  1049. /package/{esm2020 → esm2022}/lib/shared/services/addresses/index.mjs +0 -0
  1050. /package/{esm2020 → esm2022}/lib/shared/services/alert/index.mjs +0 -0
  1051. /package/{esm2020 → esm2022}/lib/shared/services/auth/index.mjs +0 -0
  1052. /package/{esm2020 → esm2022}/lib/shared/services/banners/index.mjs +0 -0
  1053. /package/{esm2020 → esm2022}/lib/shared/services/browser/index.mjs +0 -0
  1054. /package/{esm2020 → esm2022}/lib/shared/services/case-fields/index.mjs +0 -0
  1055. /package/{esm2020 → esm2022}/lib/shared/services/case-file-view/index.mjs +0 -0
  1056. /package/{esm2020 → esm2022}/lib/shared/services/case-flag/index.mjs +0 -0
  1057. /package/{esm2020 → esm2022}/lib/shared/services/case-flag/refdata-case-flag-type.enum.mjs +0 -0
  1058. /package/{esm2020 → esm2022}/lib/shared/services/definitions/index.mjs +0 -0
  1059. /package/{esm2020 → esm2022}/lib/shared/services/document-management/index.mjs +0 -0
  1060. /package/{esm2020 → esm2022}/lib/shared/services/draft/index.mjs +0 -0
  1061. /package/{esm2020 → esm2022}/lib/shared/services/error/index.mjs +0 -0
  1062. /package/{esm2020 → esm2022}/lib/shared/services/eventStatusService/index.mjs +0 -0
  1063. /package/{esm2020 → esm2022}/lib/shared/services/fields/index.mjs +0 -0
  1064. /package/{esm2020 → esm2022}/lib/shared/services/form/index.mjs +0 -0
  1065. /package/{esm2020 → esm2022}/lib/shared/services/http/index.mjs +0 -0
  1066. /package/{esm2020 → esm2022}/lib/shared/services/index.mjs +0 -0
  1067. /package/{esm2020 → esm2022}/lib/shared/services/jurisdiction/index.mjs +0 -0
  1068. /package/{esm2020 → esm2022}/lib/shared/services/loading/index.mjs +0 -0
  1069. /package/{esm2020 → esm2022}/lib/shared/services/navigation/index.mjs +0 -0
  1070. /package/{esm2020 → esm2022}/lib/shared/services/navigation/navigation-origin.model.mjs +0 -0
  1071. /package/{esm2020 → esm2022}/lib/shared/services/order/index.mjs +0 -0
  1072. /package/{esm2020 → esm2022}/lib/shared/services/organisation/index.mjs +0 -0
  1073. /package/{esm2020 → esm2022}/lib/shared/services/profile/index.mjs +0 -0
  1074. /package/{esm2020 → esm2022}/lib/shared/services/request/index.mjs +0 -0
  1075. /package/{esm2020 → esm2022}/lib/shared/services/router/index.mjs +0 -0
  1076. /package/{esm2020 → esm2022}/lib/shared/services/search/index.mjs +0 -0
  1077. /package/{esm2020 → esm2022}/lib/shared/services/session/index.mjs +0 -0
  1078. /package/{esm2020 → esm2022}/lib/shared/services/utils/retry/index.mjs +0 -0
  1079. /package/{esm2020 → esm2022}/lib/shared/services/window/index.mjs +0 -0
  1080. /package/{esm2020 → esm2022}/lib/shared/services/workbasket/index.mjs +0 -0
  1081. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
@@ -0,0 +1,834 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { AbstractAppConfig } from '../../../app.config';
4
+ import { PlaceholderService } from '../../directives';
5
+ import { CaseField, CaseState, CaseType, DisplayMode, DRAFT_PREFIX, Jurisdiction, PaginationMetadata, SearchResultView, SortOrder, SortParameters } from '../../domain';
6
+ import { CaseReferencePipe } from '../../pipes';
7
+ import { ActivityService, BrowserService, SearchResultViewItemComparatorFactory, SessionStorageService } from '../../services';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../../services";
10
+ import * as i2 from "../../../app.config";
11
+ import * as i3 from "../../pipes";
12
+ import * as i4 from "../../directives";
13
+ function SearchResultComponent_table_0_div_5_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementStart(0, "div", 11)(1, "span", 12);
15
+ i0.ɵɵtext(2, "!");
16
+ i0.ɵɵelementEnd();
17
+ i0.ɵɵelementStart(3, "strong", 13)(4, "span", 14);
18
+ i0.ɵɵtext(5);
19
+ i0.ɵɵpipe(6, "rpxTranslate");
20
+ i0.ɵɵelementEnd();
21
+ i0.ɵɵtext(7);
22
+ i0.ɵɵpipe(8, "rpxTranslate");
23
+ i0.ɵɵpipe(9, "number");
24
+ i0.ɵɵpipe(10, "rpxTranslate");
25
+ i0.ɵɵelementEnd()();
26
+ } if (rf & 2) {
27
+ const ctx_r3 = i0.ɵɵnextContext(2);
28
+ i0.ɵɵadvance(5);
29
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, "Warning"));
30
+ i0.ɵɵadvance(2);
31
+ i0.ɵɵtextInterpolate3(" ", i0.ɵɵpipeBind1(8, 6, "The total size of the result set is"), " ", i0.ɵɵpipeBind1(9, 8, ctx_r3.paginationMetadata.totalResultsCount), ". ", i0.ɵɵpipeBind1(10, 10, "Only the first 10,000 records are available for display."), " ");
32
+ } }
33
+ function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
34
+ i0.ɵɵelementStart(0, "div", 15);
35
+ i0.ɵɵpipe(1, "rpxTranslate");
36
+ i0.ɵɵelementStart(2, "span", 16);
37
+ i0.ɵɵtext(3);
38
+ i0.ɵɵpipe(4, "rpxTranslate");
39
+ i0.ɵɵelementStart(5, "span", 17);
40
+ i0.ɵɵtext(6);
41
+ i0.ɵɵelementEnd();
42
+ i0.ɵɵtext(7);
43
+ i0.ɵɵpipe(8, "rpxTranslate");
44
+ i0.ɵɵelementStart(9, "span", 17);
45
+ i0.ɵɵtext(10);
46
+ i0.ɵɵelementEnd();
47
+ i0.ɵɵtext(11);
48
+ i0.ɵɵpipe(12, "rpxTranslate");
49
+ i0.ɵɵelementStart(13, "span", 17);
50
+ i0.ɵɵtext(14);
51
+ i0.ɵɵelementEnd();
52
+ i0.ɵɵtext(15);
53
+ i0.ɵɵpipe(16, "rpxTranslate");
54
+ i0.ɵɵelementEnd()();
55
+ } if (rf & 2) {
56
+ const ctx_r4 = i0.ɵɵnextContext(2);
57
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 8, ctx_r4.getTotalResults() + " results have been found"));
58
+ i0.ɵɵadvance(3);
59
+ i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(4, 10, "Showing"), " ");
60
+ i0.ɵɵadvance(3);
61
+ i0.ɵɵtextInterpolate(ctx_r4.getFirstResult());
62
+ i0.ɵɵadvance(1);
63
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(8, 12, "to"), " ");
64
+ i0.ɵɵadvance(3);
65
+ i0.ɵɵtextInterpolate(ctx_r4.getLastResult());
66
+ i0.ɵɵadvance(1);
67
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 14, "of"), " ");
68
+ i0.ɵɵadvance(3);
69
+ i0.ɵɵtextInterpolate(ctx_r4.getTotalResults());
70
+ i0.ɵɵadvance(1);
71
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(16, 16, "results"), "");
72
+ } }
73
+ function SearchResultComponent_table_0_div_7_Template(rf, ctx) { if (rf & 1) {
74
+ const _r12 = i0.ɵɵgetCurrentView();
75
+ i0.ɵɵelementStart(0, "div", 18);
76
+ i0.ɵɵpipe(1, "rpxTranslate");
77
+ i0.ɵɵelementStart(2, "span")(3, "a", 19);
78
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_div_7_Template_a_click_3_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.clearSelection()); });
79
+ i0.ɵɵtext(4);
80
+ i0.ɵɵpipe(5, "rpxTranslate");
81
+ i0.ɵɵelementEnd()()();
82
+ } if (rf & 2) {
83
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(1, 2, "Reset selection"));
84
+ i0.ɵɵadvance(4);
85
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 4, "Reset case selection"));
86
+ } }
87
+ function SearchResultComponent_table_0_th_10_Template(rf, ctx) { if (rf & 1) {
88
+ const _r14 = i0.ɵɵgetCurrentView();
89
+ i0.ɵɵelementStart(0, "th", 20)(1, "div", 21)(2, "input", 22);
90
+ i0.ɵɵlistener("change", function SearchResultComponent_table_0_th_10_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r13.selectAll()); });
91
+ i0.ɵɵelementEnd();
92
+ i0.ɵɵelement(3, "label", 23);
93
+ i0.ɵɵelementEnd()();
94
+ } if (rf & 2) {
95
+ const ctx_r6 = i0.ɵɵnextContext(2);
96
+ i0.ɵɵadvance(2);
97
+ i0.ɵɵproperty("checked", ctx_r6.allOnPageSelected())("disabled", !ctx_r6.canAnyBeShared());
98
+ } }
99
+ function SearchResultComponent_table_0_th_11_div_8_Template(rf, ctx) { if (rf & 1) {
100
+ const _r19 = i0.ɵɵgetCurrentView();
101
+ i0.ɵɵelementStart(0, "div", 27)(1, "a", 28);
102
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_div_8_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r19); const col_r15 = i0.ɵɵnextContext().$implicit; const ctx_r17 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r17.sort(col_r15)); });
103
+ i0.ɵɵelementEnd()();
104
+ } if (rf & 2) {
105
+ const col_r15 = i0.ɵɵnextContext().$implicit;
106
+ const ctx_r16 = i0.ɵɵnextContext(2);
107
+ i0.ɵɵadvance(1);
108
+ i0.ɵɵproperty("innerHTML", ctx_r16.sortWidget(col_r15), i0.ɵɵsanitizeHtml);
109
+ } }
110
+ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
111
+ const _r22 = i0.ɵɵgetCurrentView();
112
+ i0.ɵɵelementStart(0, "th")(1, "table", 24);
113
+ i0.ɵɵpipe(2, "rpxTranslate");
114
+ i0.ɵɵelementStart(3, "tr")(4, "th")(5, "div", 25);
115
+ i0.ɵɵlistener("click", function SearchResultComponent_table_0_th_11_Template_div_click_5_listener() { const restoredCtx = i0.ɵɵrestoreView(_r22); const col_r15 = restoredCtx.$implicit; const ctx_r21 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r21.sort(col_r15)); });
116
+ i0.ɵɵtext(6);
117
+ i0.ɵɵpipe(7, "rpxTranslate");
118
+ i0.ɵɵelementEnd();
119
+ i0.ɵɵtemplate(8, SearchResultComponent_table_0_th_11_div_8_Template, 2, 1, "div", 26);
120
+ i0.ɵɵelementEnd()()()();
121
+ } if (rf & 2) {
122
+ const col_r15 = ctx.$implicit;
123
+ const ctx_r7 = i0.ɵɵnextContext(2);
124
+ i0.ɵɵadvance(1);
125
+ i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 3, "Sort by " + col_r15.label + " " + ctx_r7.isSortAscending(col_r15) ? "ascending" : "descending"));
126
+ i0.ɵɵadvance(5);
127
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 5, col_r15.label), " ");
128
+ i0.ɵɵadvance(2);
129
+ i0.ɵɵproperty("ngIf", ctx_r7.comparator(col_r15));
130
+ } }
131
+ function SearchResultComponent_table_0_th_12_Template(rf, ctx) { if (rf & 1) {
132
+ i0.ɵɵelement(0, "th", 29);
133
+ } }
134
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
135
+ const _r30 = i0.ɵɵgetCurrentView();
136
+ i0.ɵɵelementStart(0, "td", 20)(1, "div", 21)(2, "input", 31);
137
+ i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r30); const result_r24 = i0.ɵɵnextContext().$implicit; const ctx_r28 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r28.changeSelection(result_r24)); });
138
+ i0.ɵɵelementEnd();
139
+ i0.ɵɵelement(3, "label", 32);
140
+ i0.ɵɵelementEnd()();
141
+ } if (rf & 2) {
142
+ const result_r24 = i0.ɵɵnextContext().$implicit;
143
+ const ctx_r25 = i0.ɵɵnextContext(3);
144
+ i0.ɵɵadvance(2);
145
+ i0.ɵɵpropertyInterpolate1("id", "select-", result_r24.case_id, "")("name", "select-", result_r24.case_id, "");
146
+ i0.ɵɵproperty("checked", ctx_r25.isSelected(result_r24))("disabled", !ctx_r25.canBeShared(result_r24));
147
+ i0.ɵɵadvance(1);
148
+ i0.ɵɵpropertyInterpolate1("for", "select-", result_r24.case_id, "");
149
+ } }
150
+ const _c0 = function () { return ["value"]; };
151
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
152
+ i0.ɵɵelement(0, "ccd-field-read", 41);
153
+ } if (rf & 2) {
154
+ const col_r32 = i0.ɵɵnextContext(3).$implicit;
155
+ const result_r24 = i0.ɵɵnextContext().$implicit;
156
+ const ctx_r37 = i0.ɵɵnextContext(3);
157
+ i0.ɵɵproperty("caseField", ctx_r37.getColumnsWithPrefix(result_r24.columns[col_r32.case_field_id], result_r24))("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c0));
158
+ } }
159
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
160
+ i0.ɵɵtext(0);
161
+ i0.ɵɵpipe(1, "ccdCaseReference");
162
+ } if (rf & 2) {
163
+ const result_r24 = i0.ɵɵnextContext(4).$implicit;
164
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r24.case_id));
165
+ } }
166
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
167
+ i0.ɵɵelementContainerStart(0, 38);
168
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
169
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0.ɵɵtemplateRefExtractor);
170
+ i0.ɵɵelementContainerEnd();
171
+ } if (rf & 2) {
172
+ const _r38 = i0.ɵɵreference(3);
173
+ const col_r32 = i0.ɵɵnextContext(2).$implicit;
174
+ const result_r24 = i0.ɵɵnextContext().$implicit;
175
+ const ctx_r36 = i0.ɵɵnextContext(3);
176
+ i0.ɵɵadvance(1);
177
+ i0.ɵɵproperty("ngIf", ctx_r36.draftPrefixOrGet(col_r32, result_r24))("ngIfElse", _r38);
178
+ } }
179
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
180
+ i0.ɵɵelementStart(0, "a", 36);
181
+ i0.ɵɵpipe(1, "ccdCaseReference");
182
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
183
+ i0.ɵɵelementEnd();
184
+ } if (rf & 2) {
185
+ const result_r24 = i0.ɵɵnextContext(2).$implicit;
186
+ const ctx_r34 = i0.ɵɵnextContext(3);
187
+ i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r24.case_id), "");
188
+ i0.ɵɵproperty("routerLink", ctx_r34.prepareCaseLinkUrl(result_r24.case_id));
189
+ i0.ɵɵadvance(2);
190
+ i0.ɵɵproperty("ngIf", !ctx_r34.hideRows);
191
+ } }
192
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
193
+ i0.ɵɵelementStart(0, "div", 38);
194
+ i0.ɵɵelement(1, "ccd-field-read", 41);
195
+ i0.ɵɵelementEnd();
196
+ } if (rf & 2) {
197
+ const col_r32 = i0.ɵɵnextContext().$implicit;
198
+ const result_r24 = i0.ɵɵnextContext().$implicit;
199
+ const ctx_r35 = i0.ɵɵnextContext(3);
200
+ i0.ɵɵstyleProp("visibility", ctx_r35.hideRows ? "hidden" : "visible");
201
+ i0.ɵɵadvance(1);
202
+ i0.ɵɵproperty("caseField", result_r24.columns[col_r32.case_field_id])("contextFields", result_r24.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
203
+ } }
204
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
205
+ i0.ɵɵelementStart(0, "td", 33);
206
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
207
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
208
+ i0.ɵɵelementEnd();
209
+ } if (rf & 2) {
210
+ const colIndex_r33 = ctx.index;
211
+ i0.ɵɵadvance(1);
212
+ i0.ɵɵproperty("ngIf", colIndex_r33 == 0);
213
+ i0.ɵɵadvance(1);
214
+ i0.ɵɵproperty("ngIf", colIndex_r33 != 0);
215
+ } }
216
+ function SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
217
+ i0.ɵɵelementStart(0, "td")(1, "div");
218
+ i0.ɵɵelement(2, "ccd-activity", 42);
219
+ i0.ɵɵelementEnd()();
220
+ } if (rf & 2) {
221
+ const result_r24 = i0.ɵɵnextContext().$implicit;
222
+ const ctx_r27 = i0.ɵɵnextContext(3);
223
+ i0.ɵɵadvance(1);
224
+ i0.ɵɵstyleProp("visibility", ctx_r27.hideRows ? "hidden" : "visible");
225
+ i0.ɵɵadvance(1);
226
+ i0.ɵɵproperty("caseId", result_r24.case_id)("displayMode", ctx_r27.ICON);
227
+ } }
228
+ function SearchResultComponent_table_0_ng_container_14_tr_1_Template(rf, ctx) { if (rf & 1) {
229
+ i0.ɵɵelementStart(0, "tr");
230
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_td_1_Template, 4, 5, "td", 8);
231
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_14_tr_1_td_2_Template, 3, 2, "td", 30);
232
+ i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_14_tr_1_td_3_Template, 3, 4, "td", 0);
233
+ i0.ɵɵelementEnd();
234
+ } if (rf & 2) {
235
+ const ctx_r23 = i0.ɵɵnextContext(3);
236
+ i0.ɵɵadvance(1);
237
+ i0.ɵɵproperty("ngIf", ctx_r23.selectionEnabled);
238
+ i0.ɵɵadvance(1);
239
+ i0.ɵɵproperty("ngForOf", ctx_r23.resultView.columns);
240
+ i0.ɵɵadvance(1);
241
+ i0.ɵɵproperty("ngIf", ctx_r23.activityEnabled());
242
+ } }
243
+ const _c1 = function (a0, a1, a2) { return { itemsPerPage: a0, currentPage: a1, totalItems: a2 }; };
244
+ function SearchResultComponent_table_0_ng_container_14_Template(rf, ctx) { if (rf & 1) {
245
+ i0.ɵɵelementContainerStart(0);
246
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_14_tr_1_Template, 4, 3, "tr", 9);
247
+ i0.ɵɵpipe(2, "paginate");
248
+ i0.ɵɵelementContainerEnd();
249
+ } if (rf & 2) {
250
+ const ctx_r9 = i0.ɵɵnextContext(2);
251
+ i0.ɵɵadvance(1);
252
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, ctx_r9.resultView.results, i0.ɵɵpureFunction3(4, _c1, ctx_r9.paginationPageSize, ctx_r9.selected.page, ctx_r9.resultTotal)));
253
+ } }
254
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {
255
+ const _r56 = i0.ɵɵgetCurrentView();
256
+ i0.ɵɵelementStart(0, "td", 20)(1, "div", 21)(2, "input", 43);
257
+ i0.ɵɵlistener("change", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r54 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r54.changeSelection(result_r50)); })("keyup", function SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r56); const result_r50 = i0.ɵɵnextContext().$implicit; const ctx_r57 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r57.onKeyUp($event, result_r50)); });
258
+ i0.ɵɵelementEnd();
259
+ i0.ɵɵelement(3, "label", 32);
260
+ i0.ɵɵelementEnd()();
261
+ } if (rf & 2) {
262
+ const result_r50 = i0.ɵɵnextContext().$implicit;
263
+ const ctx_r51 = i0.ɵɵnextContext(3);
264
+ i0.ɵɵadvance(2);
265
+ i0.ɵɵpropertyInterpolate1("id", "select-", result_r50.case_id, "")("name", "select-", result_r50.case_id, "");
266
+ i0.ɵɵproperty("checked", ctx_r51.isSelected(result_r50))("disabled", !ctx_r51.canBeShared(result_r50));
267
+ i0.ɵɵadvance(1);
268
+ i0.ɵɵpropertyInterpolate1("for", "select-", result_r50.case_id, "");
269
+ } }
270
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template(rf, ctx) { if (rf & 1) {
271
+ i0.ɵɵelement(0, "ccd-field-read", 41);
272
+ } if (rf & 2) {
273
+ const col_r60 = i0.ɵɵnextContext(3).$implicit;
274
+ const result_r50 = i0.ɵɵnextContext().$implicit;
275
+ const ctx_r65 = i0.ɵɵnextContext(3);
276
+ i0.ɵɵproperty("caseField", ctx_r65.getColumnsWithPrefix(result_r50.columns[col_r60.case_field_id], result_r50))("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(3, _c0));
277
+ } }
278
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
279
+ i0.ɵɵtext(0);
280
+ i0.ɵɵpipe(1, "ccdCaseReference");
281
+ } if (rf & 2) {
282
+ const result_r50 = i0.ɵɵnextContext(4).$implicit;
283
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(1, 1, result_r50.case_id));
284
+ } }
285
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
286
+ i0.ɵɵelementContainerStart(0, 38);
287
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ccd_field_read_1_Template, 1, 4, "ccd-field-read", 39);
288
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_ng_template_2_Template, 2, 3, "ng-template", null, 40, i0.ɵɵtemplateRefExtractor);
289
+ i0.ɵɵelementContainerEnd();
290
+ } if (rf & 2) {
291
+ const _r66 = i0.ɵɵreference(3);
292
+ const col_r60 = i0.ɵɵnextContext(2).$implicit;
293
+ const result_r50 = i0.ɵɵnextContext().$implicit;
294
+ const ctx_r64 = i0.ɵɵnextContext(3);
295
+ i0.ɵɵadvance(1);
296
+ i0.ɵɵproperty("ngIf", ctx_r64.draftPrefixOrGet(col_r60, result_r50))("ngIfElse", _r66);
297
+ } }
298
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template(rf, ctx) { if (rf & 1) {
299
+ i0.ɵɵelementStart(0, "a", 36);
300
+ i0.ɵɵpipe(1, "ccdCaseReference");
301
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_ng_container_2_Template, 4, 2, "ng-container", 37);
302
+ i0.ɵɵelementEnd();
303
+ } if (rf & 2) {
304
+ const result_r50 = i0.ɵɵnextContext(2).$implicit;
305
+ const ctx_r62 = i0.ɵɵnextContext(3);
306
+ i0.ɵɵattributeInterpolate1("aria-label", "go to case with Case reference:", i0.ɵɵpipeBind1(1, 3, result_r50.case_id), "");
307
+ i0.ɵɵproperty("routerLink", ctx_r62.prepareCaseLinkUrl(result_r50.case_id));
308
+ i0.ɵɵadvance(2);
309
+ i0.ɵɵproperty("ngIf", !ctx_r62.hideRows);
310
+ } }
311
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template(rf, ctx) { if (rf & 1) {
312
+ i0.ɵɵelementStart(0, "div", 38);
313
+ i0.ɵɵelement(1, "ccd-field-read", 41);
314
+ i0.ɵɵelementEnd();
315
+ } if (rf & 2) {
316
+ const col_r60 = i0.ɵɵnextContext().$implicit;
317
+ const result_r50 = i0.ɵɵnextContext().$implicit;
318
+ const ctx_r63 = i0.ɵɵnextContext(3);
319
+ i0.ɵɵstyleProp("visibility", ctx_r63.hideRows ? "hidden" : "visible");
320
+ i0.ɵɵadvance(1);
321
+ i0.ɵɵproperty("caseField", result_r50.columns[col_r60.case_field_id])("contextFields", result_r50.hydrated_case_fields)("elementsToSubstitute", i0.ɵɵpureFunction0(5, _c0));
322
+ } }
323
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template(rf, ctx) { if (rf & 1) {
324
+ i0.ɵɵelementStart(0, "td", 33);
325
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_a_1_Template, 3, 5, "a", 34);
326
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_div_2_Template, 2, 6, "div", 35);
327
+ i0.ɵɵelementEnd();
328
+ } if (rf & 2) {
329
+ const colIndex_r61 = ctx.index;
330
+ i0.ɵɵadvance(1);
331
+ i0.ɵɵproperty("ngIf", colIndex_r61 == 0);
332
+ i0.ɵɵadvance(1);
333
+ i0.ɵɵproperty("ngIf", colIndex_r61 != 0);
334
+ } }
335
+ function SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template(rf, ctx) { if (rf & 1) {
336
+ i0.ɵɵelementStart(0, "td")(1, "div");
337
+ i0.ɵɵelement(2, "ccd-activity", 42);
338
+ i0.ɵɵelementEnd()();
339
+ } if (rf & 2) {
340
+ const result_r50 = i0.ɵɵnextContext().$implicit;
341
+ const ctx_r53 = i0.ɵɵnextContext(3);
342
+ i0.ɵɵadvance(1);
343
+ i0.ɵɵstyleProp("visibility", ctx_r53.hideRows ? "hidden" : "visible");
344
+ i0.ɵɵadvance(1);
345
+ i0.ɵɵproperty("caseId", result_r50.case_id)("displayMode", ctx_r53.ICON);
346
+ } }
347
+ function SearchResultComponent_table_0_ng_container_15_tr_1_Template(rf, ctx) { if (rf & 1) {
348
+ i0.ɵɵelementStart(0, "tr");
349
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_td_1_Template, 4, 5, "td", 8);
350
+ i0.ɵɵtemplate(2, SearchResultComponent_table_0_ng_container_15_tr_1_td_2_Template, 3, 2, "td", 30);
351
+ i0.ɵɵtemplate(3, SearchResultComponent_table_0_ng_container_15_tr_1_td_3_Template, 3, 4, "td", 0);
352
+ i0.ɵɵelementEnd();
353
+ } if (rf & 2) {
354
+ const ctx_r49 = i0.ɵɵnextContext(3);
355
+ i0.ɵɵadvance(1);
356
+ i0.ɵɵproperty("ngIf", ctx_r49.selectionEnabled);
357
+ i0.ɵɵadvance(1);
358
+ i0.ɵɵproperty("ngForOf", ctx_r49.resultView.columns);
359
+ i0.ɵɵadvance(1);
360
+ i0.ɵɵproperty("ngIf", ctx_r49.activityEnabled());
361
+ } }
362
+ function SearchResultComponent_table_0_ng_container_15_Template(rf, ctx) { if (rf & 1) {
363
+ i0.ɵɵelementContainerStart(0);
364
+ i0.ɵɵtemplate(1, SearchResultComponent_table_0_ng_container_15_tr_1_Template, 4, 3, "tr", 9);
365
+ i0.ɵɵpipe(2, "paginate");
366
+ i0.ɵɵpipe(3, "ccdSortSearchResult");
367
+ i0.ɵɵelementContainerEnd();
368
+ } if (rf & 2) {
369
+ const ctx_r10 = i0.ɵɵnextContext(2);
370
+ i0.ɵɵadvance(1);
371
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(2, 1, i0.ɵɵpipeBind2(3, 4, ctx_r10.resultView.results, ctx_r10.sortParameters), i0.ɵɵpureFunction3(7, _c1, ctx_r10.paginationPageSize, ctx_r10.selected.page, ctx_r10.resultTotal)));
372
+ } }
373
+ function SearchResultComponent_table_0_Template(rf, ctx) { if (rf & 1) {
374
+ i0.ɵɵelementStart(0, "table")(1, "caption")(2, "h2", 3);
375
+ i0.ɵɵtext(3);
376
+ i0.ɵɵpipe(4, "rpxTranslate");
377
+ i0.ɵɵelementEnd();
378
+ i0.ɵɵtemplate(5, SearchResultComponent_table_0_div_5_Template, 11, 12, "div", 4);
379
+ i0.ɵɵtemplate(6, SearchResultComponent_table_0_div_6_Template, 17, 18, "div", 5);
380
+ i0.ɵɵtemplate(7, SearchResultComponent_table_0_div_7_Template, 6, 6, "div", 6);
381
+ i0.ɵɵelementEnd();
382
+ i0.ɵɵelementStart(8, "thead")(9, "tr", 7);
383
+ i0.ɵɵtemplate(10, SearchResultComponent_table_0_th_10_Template, 4, 2, "th", 8);
384
+ i0.ɵɵtemplate(11, SearchResultComponent_table_0_th_11_Template, 9, 7, "th", 9);
385
+ i0.ɵɵtemplate(12, SearchResultComponent_table_0_th_12_Template, 1, 0, "th", 10);
386
+ i0.ɵɵelementEnd()();
387
+ i0.ɵɵelementStart(13, "tbody");
388
+ i0.ɵɵtemplate(14, SearchResultComponent_table_0_ng_container_14_Template, 3, 8, "ng-container", 0);
389
+ i0.ɵɵtemplate(15, SearchResultComponent_table_0_ng_container_15_Template, 4, 11, "ng-container", 0);
390
+ i0.ɵɵelementEnd()();
391
+ } if (rf & 2) {
392
+ const ctx_r0 = i0.ɵɵnextContext();
393
+ i0.ɵɵadvance(3);
394
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 9, ctx_r0.caseState ? "Your cases" : "Search result"));
395
+ i0.ɵɵadvance(2);
396
+ i0.ɵɵproperty("ngIf", ctx_r0.paginationLimitEnforced);
397
+ i0.ɵɵadvance(1);
398
+ i0.ɵɵproperty("ngIf", ctx_r0.hasResults() || ctx_r0.hasDrafts());
399
+ i0.ɵɵadvance(1);
400
+ i0.ɵɵproperty("ngIf", (ctx_r0.hasResults() || ctx_r0.hasDrafts()) && ctx_r0.selectionEnabled);
401
+ i0.ɵɵadvance(3);
402
+ i0.ɵɵproperty("ngIf", ctx_r0.selectionEnabled);
403
+ i0.ɵɵadvance(1);
404
+ i0.ɵɵproperty("ngForOf", ctx_r0.resultView.columns);
405
+ i0.ɵɵadvance(1);
406
+ i0.ɵɵproperty("ngIf", ctx_r0.activityEnabled());
407
+ i0.ɵɵadvance(2);
408
+ i0.ɵɵproperty("ngIf", ctx_r0.consumerSortingEnabled);
409
+ i0.ɵɵadvance(1);
410
+ i0.ɵɵproperty("ngIf", !ctx_r0.consumerSortingEnabled);
411
+ } }
412
+ function SearchResultComponent_ccd_pagination_1_Template(rf, ctx) { if (rf & 1) {
413
+ const _r78 = i0.ɵɵgetCurrentView();
414
+ i0.ɵɵelementStart(0, "ccd-pagination", 44);
415
+ i0.ɵɵlistener("pageChange", function SearchResultComponent_ccd_pagination_1_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r78); const ctx_r77 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r77.goToPage($event)); });
416
+ i0.ɵɵelementEnd();
417
+ } if (rf & 2) {
418
+ const ctx_r1 = i0.ɵɵnextContext();
419
+ i0.ɵɵproperty("visibilityLabel", ctx_r1.hideRows ? "hidden" : "visible")("autoHide", true)("maxSize", 8)("screenReaderPaginationLabel", "Pagination")("screenReaderPageLabel", ctx_r1.page)("screenReaderCurrentLabel", "You're on page");
420
+ } }
421
+ function SearchResultComponent_div_2_Template(rf, ctx) { if (rf & 1) {
422
+ i0.ɵɵelementStart(0, "div", 45);
423
+ i0.ɵɵpipe(1, "rpxTranslate");
424
+ i0.ɵɵtext(2);
425
+ i0.ɵɵpipe(3, "rpxTranslate");
426
+ i0.ɵɵelementEnd();
427
+ } if (rf & 2) {
428
+ i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(1, 2, "No cases found. Try using different filters."));
429
+ i0.ɵɵadvance(2);
430
+ i0.ɵɵtextInterpolate1("\n", i0.ɵɵpipeBind1(3, 4, "No cases found. Try using different filters."), "\n");
431
+ } }
432
+ export class SearchResultComponent {
433
+ activityService;
434
+ caseReferencePipe;
435
+ placeholderService;
436
+ browserService;
437
+ sessionStorageService;
438
+ static PARAM_JURISDICTION = 'jurisdiction';
439
+ static PARAM_CASE_TYPE = 'case-type';
440
+ static PARAM_CASE_STATE = 'case-state';
441
+ PAGINATION_MAX_ITEM_RESULT = 10000;
442
+ ICON = DisplayMode.ICON;
443
+ caseLinkUrlTemplate;
444
+ jurisdiction;
445
+ caseType;
446
+ caseState;
447
+ caseFilterFG;
448
+ resultView;
449
+ page;
450
+ paginationMetadata;
451
+ metadataFields;
452
+ selectionEnabled = false;
453
+ showOnlySelected = false;
454
+ preSelectedCases = [];
455
+ consumerSortingEnabled = false;
456
+ selection = new EventEmitter();
457
+ changePage = new EventEmitter();
458
+ clickCase = new EventEmitter();
459
+ sortHandler = new EventEmitter();
460
+ paginationLimitEnforced = false;
461
+ paginationPageSize;
462
+ hideRows;
463
+ selected = {};
464
+ sortParameters;
465
+ searchResultViewItemComparatorFactory;
466
+ draftsCount;
467
+ consumerSortParameters = { column: null, order: null, type: null };
468
+ selectedCases = [];
469
+ constructor(searchResultViewItemComparatorFactory, appConfig, activityService, caseReferencePipe, placeholderService, browserService, sessionStorageService) {
470
+ this.activityService = activityService;
471
+ this.caseReferencePipe = caseReferencePipe;
472
+ this.placeholderService = placeholderService;
473
+ this.browserService = browserService;
474
+ this.sessionStorageService = sessionStorageService;
475
+ this.searchResultViewItemComparatorFactory = searchResultViewItemComparatorFactory;
476
+ this.paginationPageSize = appConfig.getPaginationPageSize();
477
+ this.hideRows = false;
478
+ }
479
+ ngOnInit() {
480
+ if (this.preSelectedCases) {
481
+ for (const preSelectedCase of this.preSelectedCases) {
482
+ if (this.selectedCases && !this.selectedCases.some(aCase => aCase.case_id === preSelectedCase.case_id)) {
483
+ this.selectedCases.push(preSelectedCase);
484
+ }
485
+ }
486
+ }
487
+ this.sessionStorageService.removeItem('eventUrl');
488
+ this.selection.emit(this.selectedCases);
489
+ }
490
+ ngOnChanges(changes) {
491
+ if (changes['resultView']) {
492
+ this.hideRows = false;
493
+ this.sortParameters = undefined;
494
+ // Clone `resultView` to prevent sorting the external variable
495
+ this.resultView = {
496
+ columns: this.resultView.columns.slice(0),
497
+ results: this.resultView.results.slice(0),
498
+ hasDrafts: this.resultView.hasDrafts
499
+ };
500
+ this.resultView.columns = this.resultView.columns.sort((a, b) => {
501
+ return a.order - b.order;
502
+ });
503
+ this.hydrateResultView();
504
+ this.draftsCount = this.draftsCount ? this.draftsCount : this.numberOfDrafts();
505
+ }
506
+ if (changes['page']) {
507
+ this.selected.page = (changes['page']).currentValue;
508
+ }
509
+ }
510
+ get resultTotal() {
511
+ const total = this.paginationMetadata.totalResultsCount;
512
+ const maximumResultReached = total >= this.PAGINATION_MAX_ITEM_RESULT;
513
+ this.paginationLimitEnforced = maximumResultReached;
514
+ return maximumResultReached ? this.PAGINATION_MAX_ITEM_RESULT : total;
515
+ }
516
+ clearSelection() {
517
+ this.selectedCases = [];
518
+ this.selection.emit(this.selectedCases);
519
+ }
520
+ canBeShared(caseView) {
521
+ return caseView.supplementary_data && caseView.supplementary_data.hasOwnProperty('orgs_assigned_users');
522
+ }
523
+ canAnyBeShared() {
524
+ for (let i = 0, l = this.resultView.results.length; i < l; i++) {
525
+ if (this.canBeShared(this.resultView.results[i])) {
526
+ return true;
527
+ }
528
+ }
529
+ return false;
530
+ }
531
+ selectAll() {
532
+ if (this.allOnPageSelected()) {
533
+ // all cases already selected, so unselect all on this page
534
+ this.resultView.results.forEach(c => {
535
+ this.selectedCases.forEach((s, i) => {
536
+ if (c.case_id === s.case_id) {
537
+ this.selectedCases.splice(i, 1);
538
+ }
539
+ });
540
+ });
541
+ }
542
+ else {
543
+ this.resultView.results.forEach(c => {
544
+ if (!this.isSelected(c) && this.canBeShared(c)) {
545
+ this.selectedCases.push(c);
546
+ }
547
+ });
548
+ }
549
+ this.selection.emit(this.selectedCases);
550
+ }
551
+ changeSelection(c) {
552
+ if (this.isSelected(c)) {
553
+ this.selectedCases.forEach((s, i) => {
554
+ if (c.case_id === s.case_id) {
555
+ this.selectedCases.splice(i, 1);
556
+ }
557
+ });
558
+ }
559
+ else {
560
+ if (this.canBeShared(c)) {
561
+ this.selectedCases.push(c);
562
+ }
563
+ }
564
+ this.selection.emit(this.selectedCases);
565
+ }
566
+ isSelected(c) {
567
+ for (let i = 0, l = this.selectedCases.length; i < l; i++) {
568
+ if (c.case_id === this.selectedCases[i].case_id) {
569
+ return true;
570
+ }
571
+ }
572
+ return false;
573
+ }
574
+ allOnPageSelected() {
575
+ let canBeSharedCount = 0;
576
+ for (let i = 0, l = this.resultView.results.length; i < l; i++) {
577
+ const r = this.resultView.results[i];
578
+ if (this.canBeShared(r)) {
579
+ canBeSharedCount++;
580
+ }
581
+ if (!this.isSelected(r) && this.canBeShared(r)) {
582
+ return false;
583
+ }
584
+ }
585
+ if (canBeSharedCount === 0) {
586
+ return false;
587
+ }
588
+ return true;
589
+ }
590
+ /**
591
+ * Hydrates result view with case field definitions.
592
+ */
593
+ // A longer term resolution is to move this piece of logic to the backend
594
+ hydrateResultView() {
595
+ this.resultView.results.forEach(result => {
596
+ const caseFields = [];
597
+ Object.keys(result.case_fields).forEach(fieldId => {
598
+ const field = result.case_fields[fieldId];
599
+ caseFields.push(Object.assign(new CaseField(), {
600
+ id: fieldId,
601
+ label: null,
602
+ field_type: {},
603
+ value: field,
604
+ display_context: null,
605
+ }));
606
+ });
607
+ result.hydrated_case_fields = caseFields;
608
+ result.columns = {};
609
+ this.resultView.columns.forEach(col => {
610
+ result.columns[col.case_field_id] = this.buildCaseField(col, result);
611
+ });
612
+ });
613
+ }
614
+ goToPage(page) {
615
+ this.hideRows = true;
616
+ this.selected.init = false;
617
+ this.selected.jurisdiction = this.jurisdiction;
618
+ this.selected.caseType = this.caseType;
619
+ this.selected.caseState = this.caseState;
620
+ this.selected.formGroup = this.caseFilterFG;
621
+ this.selected.metadataFields = this.metadataFields;
622
+ this.selected.page = page;
623
+ // Apply filters
624
+ const queryParams = {};
625
+ queryParams[SearchResultComponent.PARAM_JURISDICTION] = this.selected.jurisdiction ? this.selected.jurisdiction.id : null;
626
+ queryParams[SearchResultComponent.PARAM_CASE_TYPE] = this.selected.caseType ? this.selected.caseType.id : null;
627
+ queryParams[SearchResultComponent.PARAM_CASE_STATE] = this.selected.caseState ? this.selected.caseState.id : null;
628
+ this.changePage.emit({
629
+ selected: this.selected,
630
+ queryParams
631
+ });
632
+ const topContainer = document.getElementById('top');
633
+ if (topContainer) {
634
+ if (document.activeElement instanceof HTMLElement) {
635
+ document.activeElement.blur();
636
+ }
637
+ topContainer.focus();
638
+ }
639
+ }
640
+ buildCaseField(col, result) {
641
+ return Object.assign(new CaseField(), {
642
+ id: col.case_field_id,
643
+ label: col.label,
644
+ field_type: col.case_field_type,
645
+ value: result.case_fields[col.case_field_id],
646
+ display_context_parameter: col.display_context_parameter,
647
+ display_context: col.display_context,
648
+ });
649
+ }
650
+ getColumnsWithPrefix(col, result) {
651
+ col.value = this.draftPrefixOrGet(col, result);
652
+ col.value = this.placeholderService.resolvePlaceholders(result.case_fields, col.value);
653
+ return col;
654
+ }
655
+ hasResults() {
656
+ return this.resultView.results.length && this.paginationMetadata.totalPagesCount;
657
+ }
658
+ hasDrafts() {
659
+ return this.resultView.hasDrafts();
660
+ }
661
+ comparator(column) {
662
+ return this.searchResultViewItemComparatorFactory.createSearchResultViewItemComparator(column);
663
+ }
664
+ sort(column) {
665
+ if (this.consumerSortingEnabled) {
666
+ if (column.case_field_id !== this.consumerSortParameters.column) {
667
+ this.consumerSortParameters.order = SortOrder.DESCENDING;
668
+ }
669
+ else {
670
+ this.consumerSortParameters.order = this.consumerSortParameters.order === SortOrder.DESCENDING ?
671
+ SortOrder.ASCENDING :
672
+ SortOrder.DESCENDING;
673
+ }
674
+ this.consumerSortParameters.column = column.case_field_id;
675
+ this.consumerSortParameters.type = column.case_field_type.type;
676
+ this.sortHandler.emit(this.consumerSortParameters);
677
+ }
678
+ else {
679
+ if (this.comparator(column) === undefined) {
680
+ return;
681
+ }
682
+ else if (this.isSortAscending(column)) {
683
+ this.sortParameters = new SortParameters(this.comparator(column), SortOrder.ASCENDING);
684
+ }
685
+ else {
686
+ this.sortParameters = new SortParameters(this.comparator(column), SortOrder.DESCENDING);
687
+ }
688
+ }
689
+ }
690
+ sortWidget(column) {
691
+ let condition = false;
692
+ if (this.consumerSortingEnabled) {
693
+ const isColumn = column.case_field_id === this.consumerSortParameters.column;
694
+ const isAscending = this.consumerSortParameters.order === SortOrder.ASCENDING;
695
+ condition = !isColumn || (isColumn && isAscending);
696
+ }
697
+ else {
698
+ condition = this.isSortAscending(column);
699
+ }
700
+ return condition ? '&#9660;' : '&#9650;';
701
+ }
702
+ activityEnabled() {
703
+ return this.activityService.isEnabled;
704
+ }
705
+ hyphenateIfCaseReferenceOrGet(col, result) {
706
+ if (col.case_field_id === '[CASE_REFERENCE]') {
707
+ return this.caseReferencePipe.transform(result.case_fields[col.case_field_id]);
708
+ }
709
+ else {
710
+ if (col.id) {
711
+ if (col.id === '[CASE_REFERENCE]') {
712
+ return this.caseReferencePipe.transform(result.case_fields[col.id]);
713
+ }
714
+ else {
715
+ return result.case_fields[col.id];
716
+ }
717
+ }
718
+ else {
719
+ return result.case_fields[col.case_field_id];
720
+ }
721
+ }
722
+ }
723
+ draftPrefixOrGet(col, result) {
724
+ return result.case_id.startsWith(DRAFT_PREFIX) ? DRAFT_PREFIX : this.hyphenateIfCaseReferenceOrGet(col, result);
725
+ }
726
+ isSortAscending(column) {
727
+ const currentSortOrder = this.currentSortOrder(column);
728
+ return currentSortOrder === SortOrder.UNSORTED || currentSortOrder === SortOrder.DESCENDING;
729
+ }
730
+ currentSortOrder(column) {
731
+ let isAscending = true;
732
+ let isDescending = true;
733
+ if (this.comparator(column) === undefined) {
734
+ return SortOrder.UNSORTED;
735
+ }
736
+ for (let i = 0; i < this.resultView.results.length - 1; i++) {
737
+ const comparison = this.comparator(column).compare(this.resultView.results[i], this.resultView.results[i + 1]);
738
+ isDescending = isDescending && comparison <= 0;
739
+ isAscending = isAscending && comparison >= 0;
740
+ if (!isAscending && !isDescending) {
741
+ break;
742
+ }
743
+ }
744
+ return isAscending ? SortOrder.ASCENDING : isDescending ? SortOrder.DESCENDING : SortOrder.UNSORTED;
745
+ }
746
+ getFirstResult() {
747
+ const currentPage = (this.selected.page ? this.selected.page : 1);
748
+ return ((currentPage - 1) * this.paginationPageSize) + 1 + this.getDraftsCountIfNotPageOne(currentPage);
749
+ }
750
+ getLastResult() {
751
+ const currentPage = (this.selected.page ? this.selected.page : 1);
752
+ return ((currentPage - 1) * this.paginationPageSize) + this.resultView.results.length + this.getDraftsCountIfNotPageOne(currentPage);
753
+ }
754
+ getTotalResults() {
755
+ const total = this.paginationMetadata.totalResultsCount + this.draftsCount;
756
+ return total >= this.PAGINATION_MAX_ITEM_RESULT ? this.PAGINATION_MAX_ITEM_RESULT : total;
757
+ }
758
+ prepareCaseLinkUrl(caseId) {
759
+ let url = this.caseLinkUrlTemplate;
760
+ url = url.replace('jurisdiction_id', this.jurisdiction.id);
761
+ url = url.replace('caseType_id', this.caseType.id);
762
+ url = url.replace('case_id', caseId);
763
+ return url;
764
+ }
765
+ getDraftsCountIfNotPageOne(currentPage) {
766
+ return currentPage > 1 ? this.draftsCount : 0;
767
+ }
768
+ numberOfDrafts() {
769
+ return this.resultView.results.filter(_ => _.case_id.startsWith(DRAFT_PREFIX)).length;
770
+ }
771
+ goToCase(caseId) {
772
+ this.clickCase.emit({
773
+ caseId
774
+ });
775
+ }
776
+ onKeyUp($event, c) {
777
+ if ($event.key === 'Space') {
778
+ if (this.browserService.isFirefox || this.browserService.isSafari || this.browserService.isIEOrEdge) {
779
+ this.changeSelection(c);
780
+ }
781
+ }
782
+ }
783
+ static ɵfac = function SearchResultComponent_Factory(t) { return new (t || SearchResultComponent)(i0.ɵɵdirectiveInject(i1.SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(i2.AbstractAppConfig), i0.ɵɵdirectiveInject(i1.ActivityService), i0.ɵɵdirectiveInject(i3.CaseReferencePipe), i0.ɵɵdirectiveInject(i4.PlaceholderService), i0.ɵɵdirectiveInject(i1.BrowserService), i0.ɵɵdirectiveInject(i1.SessionStorageService)); };
784
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [[4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", "role", "status", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], [4, "ngFor", "ngForOf"], ["style", "width: 110px;", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["role", "status", 1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], ["scope", "col", 1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], [1, "search-result-column-header"], [1, "search-result-column-label", 3, "click"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "innerHTML", "click"], [2, "width", "110px"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["case_reference", ""], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
785
+ i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 0);
786
+ i0.ɵɵtemplate(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 1);
787
+ i0.ɵɵtemplate(2, SearchResultComponent_div_2_Template, 4, 6, "div", 2);
788
+ } if (rf & 2) {
789
+ i0.ɵɵproperty("ngIf", ctx.hasResults() || ctx.hasDrafts());
790
+ i0.ɵɵadvance(1);
791
+ i0.ɵɵproperty("ngIf", ctx.hasResults());
792
+ i0.ɵɵadvance(1);
793
+ i0.ɵɵproperty("ngIf", !(ctx.hasResults() || ctx.hasDrafts()));
794
+ } }, styles: ["table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:top}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;word-wrap:break-word}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{float:left}table[_ngcontent-%COMP%] .caseid-col[_ngcontent-%COMP%]{white-space:nowrap}.notification[_ngcontent-%COMP%]{text-align:center;padding:30px 0;margin-top:75px}a[_ngcontent-%COMP%]:hover{color:#005ea5}.search-result-reset-link[_ngcontent-%COMP%]{padding-right:15px;padding-left:15px}.search-result-column-header[_ngcontent-%COMP%]{width:unset;table-layout:normal}.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:block;float:right}}.search-result-column-label[_ngcontent-%COMP%]{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort[_ngcontent-%COMP%]{font-size:16px}.sort-widget[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium[_ngcontent-%COMP%]{margin-top:-20px}.govuk-table__checkbox[_ngcontent-%COMP%]{vertical-align:middle;padding-left:3px}#search-result-heading__text[_ngcontent-%COMP%]:focus{outline:none}"] });
795
+ }
796
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
797
+ type: Component,
798
+ args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\"\n [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\" role=\"status\">\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <th *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\">\n </label>\n </div>\n </th>\n <th *ngFor=\"let col of resultView.columns\">\n <table class=\"search-result-column-header\"\n [attr.aria-label]=\"('Sort by ' + col.label + ' ' + isSortAscending(col)? 'ascending' : 'descending') | rpxTranslate\">\n <tr>\n <th>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </th>\n </tr>\n </table>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\"></th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
799
+ }], function () { return [{ type: i1.SearchResultViewItemComparatorFactory }, { type: i2.AbstractAppConfig }, { type: i1.ActivityService }, { type: i3.CaseReferencePipe }, { type: i4.PlaceholderService }, { type: i1.BrowserService }, { type: i1.SessionStorageService }]; }, { caseLinkUrlTemplate: [{
800
+ type: Input
801
+ }], jurisdiction: [{
802
+ type: Input
803
+ }], caseType: [{
804
+ type: Input
805
+ }], caseState: [{
806
+ type: Input
807
+ }], caseFilterFG: [{
808
+ type: Input
809
+ }], resultView: [{
810
+ type: Input
811
+ }], page: [{
812
+ type: Input
813
+ }], paginationMetadata: [{
814
+ type: Input
815
+ }], metadataFields: [{
816
+ type: Input
817
+ }], selectionEnabled: [{
818
+ type: Input
819
+ }], showOnlySelected: [{
820
+ type: Input
821
+ }], preSelectedCases: [{
822
+ type: Input
823
+ }], consumerSortingEnabled: [{
824
+ type: Input
825
+ }], selection: [{
826
+ type: Output
827
+ }], changePage: [{
828
+ type: Output
829
+ }], clickCase: [{
830
+ type: Output
831
+ }], sortHandler: [{
832
+ type: Output
833
+ }] }); })();
834
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLXJlc3VsdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLXJlc3VsdC9zZWFyY2gtcmVzdWx0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3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