@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,314 @@
1
+ import { NgxMatDateAdapter, NgxMatDatetimepicker, NGX_MAT_DATE_FORMATS } from '@angular-material-components/datetime-picker';
2
+ import { NgxMatMomentAdapter, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS } from '@angular-material-components/moment-adapter';
3
+ import { Component, ElementRef, Inject, Input, ViewChild, ViewEncapsulation } from '@angular/core';
4
+ import { FormControl, Validators } from '@angular/forms';
5
+ import { MAT_LEGACY_DATE_LOCALE } from '@angular/material/legacy-core';
6
+ import moment from 'moment';
7
+ import { FormatTranslatorService } from '../../../services/case-fields/format-translator.service';
8
+ import { AbstractFormFieldComponent } from '../base-field/abstract-form-field.component';
9
+ import { CUSTOM_MOMENT_FORMATS } from './datetime-picker-utils';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "../../../services/case-fields/format-translator.service";
12
+ import * as i2 from "@angular/common";
13
+ import * as i3 from "@angular/forms";
14
+ import * as i4 from "@angular-material-components/datetime-picker";
15
+ import * as i5 from "@angular/material/legacy-form-field";
16
+ import * as i6 from "@angular/material/datepicker";
17
+ import * as i7 from "../utils/field-label.pipe";
18
+ import * as i8 from "../utils/first-error.pipe";
19
+ import * as i9 from "rpx-xui-translation";
20
+ const _c0 = ["picker"];
21
+ const _c1 = ["input"];
22
+ function DatetimePickerComponent_span_3_Template(rf, ctx) { if (rf & 1) {
23
+ i0.ɵɵelementStart(0, "span", 11);
24
+ i0.ɵɵtext(1);
25
+ i0.ɵɵpipe(2, "ccdFieldLabel");
26
+ i0.ɵɵelementEnd();
27
+ } if (rf & 2) {
28
+ const ctx_r0 = i0.ɵɵnextContext();
29
+ i0.ɵɵadvance(1);
30
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
31
+ } }
32
+ function DatetimePickerComponent_span_4_Template(rf, ctx) { if (rf & 1) {
33
+ i0.ɵɵelementStart(0, "span", 12);
34
+ i0.ɵɵtext(1);
35
+ i0.ɵɵpipe(2, "rpxTranslate");
36
+ i0.ɵɵelementEnd();
37
+ } if (rf & 2) {
38
+ const ctx_r1 = i0.ɵɵnextContext();
39
+ i0.ɵɵadvance(1);
40
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.caseField.hint_text));
41
+ } }
42
+ function DatetimePickerComponent_span_5_Template(rf, ctx) { if (rf & 1) {
43
+ i0.ɵɵelementStart(0, "span", 13);
44
+ i0.ɵɵtext(1);
45
+ i0.ɵɵpipe(2, "ccdFirstError");
46
+ i0.ɵɵelementEnd();
47
+ } if (rf & 2) {
48
+ const ctx_r2 = i0.ɵɵnextContext();
49
+ i0.ɵɵadvance(1);
50
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.dateControl.errors, ctx_r2.caseField.label));
51
+ } }
52
+ function DatetimePickerComponent_span_6_Template(rf, ctx) { if (rf & 1) {
53
+ i0.ɵɵelementStart(0, "span", 13);
54
+ i0.ɵɵtext(1);
55
+ i0.ɵɵpipe(2, "rpxTranslate");
56
+ i0.ɵɵelementEnd();
57
+ } if (rf & 2) {
58
+ i0.ɵɵadvance(1);
59
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is older than the minimum date allowed"));
60
+ } }
61
+ function DatetimePickerComponent_span_7_Template(rf, ctx) { if (rf & 1) {
62
+ i0.ɵɵelementStart(0, "span", 13);
63
+ i0.ɵɵtext(1);
64
+ i0.ɵɵpipe(2, "rpxTranslate");
65
+ i0.ɵɵelementEnd();
66
+ } if (rf & 2) {
67
+ i0.ɵɵadvance(1);
68
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "This date is later than the maximum date allowed"));
69
+ } }
70
+ const _c2 = function (a0) { return { "form-group-error": a0 }; };
71
+ export class DatetimePickerComponent extends AbstractFormFieldComponent {
72
+ formatTranslationService;
73
+ ngxMatDateFormats;
74
+ showSpinners = true;
75
+ showSeconds = false;
76
+ touchUi = false;
77
+ enableMeridian = false;
78
+ stepHour = 1;
79
+ stepMinute = 1;
80
+ stepSecond = 1;
81
+ color = 'primary';
82
+ disableMinute = true;
83
+ hideTime = true;
84
+ hideMinutes = true;
85
+ startView = 'month';
86
+ yearSelection = false;
87
+ checkTime = true;
88
+ stringEdited = false;
89
+ minError = false;
90
+ maxError = false;
91
+ dateTimeEntryFormat;
92
+ datetimePicker;
93
+ inputElement;
94
+ dateControl = new FormControl(new Date());
95
+ minimumDate = new Date('01/01/1800');
96
+ maximumDate = null;
97
+ momentFormat = 'YYYY-MM-DDTHH:mm:ss.SSS';
98
+ constructor(formatTranslationService, ngxMatDateFormats) {
99
+ super();
100
+ this.formatTranslationService = formatTranslationService;
101
+ this.ngxMatDateFormats = ngxMatDateFormats;
102
+ }
103
+ ngOnInit() {
104
+ this.dateTimeEntryFormat = this.formatTranslationService.showOnlyDates(this.caseField.dateTimeEntryFormat);
105
+ this.configureDatePicker(this.dateTimeEntryFormat);
106
+ // set date control based on mandatory field
107
+ this.dateControl = (this.caseField.isMandatory ?
108
+ this.registerControl(new FormControl(this.caseField.value || '', [Validators.required]))
109
+ : this.registerControl(new FormControl(this.caseField.value)));
110
+ // in resetting the format just after the page initialises, the input can be reformatted
111
+ // otherwise the last format given will be how the text shown will be displayed
112
+ setTimeout(() => {
113
+ this.setDateTimeFormat();
114
+ this.formatValueAndSetErrors();
115
+ }, 1000);
116
+ // when the status changes check that the maximum/minimum date has not been exceeded
117
+ this.dateControl.statusChanges.subscribe(() => {
118
+ this.minError = this.dateControl.hasError('matDatetimePickerMin');
119
+ this.maxError = this.dateControl.hasError('matDatetimePickerMax');
120
+ });
121
+ }
122
+ setDateTimeFormat() {
123
+ this.ngxMatDateFormats.parse.dateInput = this.dateTimeEntryFormat;
124
+ this.ngxMatDateFormats.display.dateInput = this.dateTimeEntryFormat;
125
+ }
126
+ /*
127
+ When the value changes, update the form control
128
+ */
129
+ valueChanged() {
130
+ this.formatValueAndSetErrors();
131
+ }
132
+ focusIn() {
133
+ this.setDateTimeFormat();
134
+ }
135
+ focusOut() {
136
+ // focus out needed to obtain errors (relevant to formatting)
137
+ this.formatValueAndSetErrors();
138
+ }
139
+ toggleClick() {
140
+ this.setDateTimeFormat();
141
+ }
142
+ minDate(caseField) {
143
+ // set minimum date
144
+ if (caseField.field_type.min instanceof Date) {
145
+ this.minimumDate = caseField.field_type.min ? new Date(caseField.field_type.min) : this.minimumDate;
146
+ }
147
+ return this.minimumDate;
148
+ }
149
+ maxDate(caseField) {
150
+ // set maximum date
151
+ if (caseField.field_type.max instanceof Date) {
152
+ this.maximumDate = caseField.field_type.max ? new Date(caseField.field_type.max) : this.maximumDate;
153
+ }
154
+ return this.maximumDate;
155
+ }
156
+ configureDatePicker(dateTimePickerFormat) {
157
+ if (this.caseField.field_type.type === 'Date') {
158
+ this.hideTime = true;
159
+ this.checkTime = false;
160
+ this.dateTimeEntryFormat = this.formatTranslationService.removeTime(this.dateTimeEntryFormat);
161
+ this.momentFormat = 'YYYY-MM-DD';
162
+ }
163
+ if (this.checkTime) {
164
+ if (this.formatTranslationService.hasSeconds(dateTimePickerFormat)) {
165
+ this.showSeconds = true;
166
+ this.hideMinutes = false;
167
+ this.disableMinute = false;
168
+ this.hideTime = false;
169
+ if (!this.formatTranslationService.is24Hour(dateTimePickerFormat)) {
170
+ this.enableMeridian = true;
171
+ }
172
+ }
173
+ if (this.formatTranslationService.hasHours(dateTimePickerFormat)) {
174
+ this.hideTime = false;
175
+ if (!this.formatTranslationService.is24Hour(dateTimePickerFormat)) {
176
+ this.enableMeridian = true;
177
+ }
178
+ return;
179
+ }
180
+ if (this.formatTranslationService.hasMinutes(dateTimePickerFormat)) {
181
+ this.hideMinutes = false;
182
+ this.disableMinute = false;
183
+ this.hideTime = false;
184
+ if (!this.formatTranslationService.is24Hour(dateTimePickerFormat)) {
185
+ this.enableMeridian = true;
186
+ }
187
+ return;
188
+ }
189
+ }
190
+ if (this.formatTranslationService.hasDate(dateTimePickerFormat)) {
191
+ return;
192
+ }
193
+ if (this.formatTranslationService.hasNoDay(dateTimePickerFormat)) {
194
+ this.startView = 'multi-year';
195
+ }
196
+ if (this.formatTranslationService.hasNoDayAndMonth(dateTimePickerFormat)) {
197
+ this.startView = 'multi-year';
198
+ this.yearSelection = true;
199
+ }
200
+ }
201
+ yearSelected(event) {
202
+ if (this.startView === 'multi-year' && this.yearSelection) {
203
+ this.dateControl.patchValue(event.toISOString());
204
+ this.datetimePicker.close();
205
+ this.valueChanged();
206
+ }
207
+ }
208
+ monthSelected(event) {
209
+ if (this.startView === 'multi-year') {
210
+ this.dateControl.patchValue(event.toISOString());
211
+ this.dateControl.patchValue(event.toISOString());
212
+ this.datetimePicker.close();
213
+ this.valueChanged();
214
+ }
215
+ }
216
+ formatValueAndSetErrors() {
217
+ if (this.inputElement.nativeElement.value) {
218
+ let formValue = this.inputElement.nativeElement.value;
219
+ formValue = moment(formValue, this.dateTimeEntryFormat).format(this.momentFormat);
220
+ if (formValue !== 'Invalid date') {
221
+ // if not invalid set the value as the formatted value
222
+ this.dateControl.setValue(formValue);
223
+ }
224
+ else {
225
+ // ensure that the datepicker picks up the invalid error
226
+ const keepErrorText = this.inputElement.nativeElement.value;
227
+ this.dateControl.setValue(keepErrorText);
228
+ this.inputElement.nativeElement.value = keepErrorText;
229
+ }
230
+ }
231
+ else {
232
+ // ensure required errors are picked up if relevant
233
+ this.dateControl.setValue('');
234
+ }
235
+ }
236
+ static ɵfac = function DatetimePickerComponent_Factory(t) { return new (t || DatetimePickerComponent)(i0.ɵɵdirectiveInject(i1.FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
237
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
238
+ i0.ɵɵviewQuery(_c0, 5);
239
+ i0.ɵɵviewQuery(_c1, 5);
240
+ } if (rf & 2) {
241
+ let _t;
242
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datetimePicker = _t.first);
243
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
244
+ } }, inputs: { dateControl: "dateControl" }, features: [i0.ɵɵProvidersFeature([
245
+ { provide: NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
246
+ {
247
+ provide: NgxMatDateAdapter,
248
+ useClass: NgxMatMomentAdapter,
249
+ deps: [MAT_LEGACY_DATE_LOCALE, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS]
250
+ },
251
+ { provide: NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
252
+ ]), i0.ɵɵInheritDefinitionFeature], decls: 17, vars: 26, consts: [[1, "govuk-form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "datepicker-container"], ["ng-model-options", "{timezone:'utc'}", 1, "govuk-input", 3, "min", "max", "formControl", "ngxMatDatetimePicker", "focusin", "focusout", "dateChange"], ["input", ""], ["matSuffix", "", "id", "pickerOpener", 3, "for"], [3, "color", "touchUi", "hideTime", "startView", "stepHour", "stepSecond", "stepMinute", "showSeconds", "showSpinners", "disableMinute", "enableMeridian", "yearSelected", "monthSelected", "opened"], ["picker", ""], ["mat-raised-button", "", "color", "primary", "ngxMatDatepickerApply", ""], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function DatetimePickerComponent_Template(rf, ctx) { if (rf & 1) {
253
+ i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
254
+ i0.ɵɵtemplate(3, DatetimePickerComponent_span_3_Template, 3, 3, "span", 1);
255
+ i0.ɵɵtemplate(4, DatetimePickerComponent_span_4_Template, 3, 3, "span", 2);
256
+ i0.ɵɵtemplate(5, DatetimePickerComponent_span_5_Template, 3, 4, "span", 3);
257
+ i0.ɵɵtemplate(6, DatetimePickerComponent_span_6_Template, 3, 3, "span", 3);
258
+ i0.ɵɵtemplate(7, DatetimePickerComponent_span_7_Template, 3, 3, "span", 3);
259
+ i0.ɵɵelementEnd();
260
+ i0.ɵɵelementStart(8, "div", 4)(9, "input", 5, 6);
261
+ i0.ɵɵlistener("focusin", function DatetimePickerComponent_Template_input_focusin_9_listener() { return ctx.focusIn(); })("focusout", function DatetimePickerComponent_Template_input_focusout_9_listener() { return ctx.focusOut(); })("dateChange", function DatetimePickerComponent_Template_input_dateChange_9_listener() { return ctx.valueChanged(); });
262
+ i0.ɵɵelementEnd();
263
+ i0.ɵɵelement(11, "mat-datepicker-toggle", 7);
264
+ i0.ɵɵelementStart(12, "ngx-mat-datetime-picker", 8, 9);
265
+ i0.ɵɵlistener("yearSelected", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_yearSelected_12_listener($event) { return ctx.yearSelected($event); })("monthSelected", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_monthSelected_12_listener($event) { return ctx.monthSelected($event); })("opened", function DatetimePickerComponent_Template_ngx_mat_datetime_picker_opened_12_listener() { return ctx.toggleClick(); });
266
+ i0.ɵɵelementStart(14, "ngx-mat-datepicker-actions")(15, "button", 10);
267
+ i0.ɵɵtext(16, "Confirm");
268
+ i0.ɵɵelementEnd()()()()()();
269
+ } if (rf & 2) {
270
+ const _r6 = i0.ɵɵreference(13);
271
+ i0.ɵɵproperty("id", ctx.caseField.id)("ngClass", i0.ɵɵpureFunction1(24, _c2, ctx.dateControl && !ctx.dateControl.valid && ctx.dateControl.dirty));
272
+ i0.ɵɵadvance(3);
273
+ i0.ɵɵproperty("ngIf", ctx.caseField.label);
274
+ i0.ɵɵadvance(1);
275
+ i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
276
+ i0.ɵɵadvance(1);
277
+ i0.ɵɵproperty("ngIf", ctx.dateControl && ctx.dateControl.errors && ctx.dateControl.dirty && !(ctx.minError || ctx.maxError));
278
+ i0.ɵɵadvance(1);
279
+ i0.ɵɵproperty("ngIf", ctx.dateControl && ctx.dateControl.dirty && ctx.minError);
280
+ i0.ɵɵadvance(1);
281
+ i0.ɵɵproperty("ngIf", ctx.dateControl && ctx.dateControl.dirty && ctx.maxError);
282
+ i0.ɵɵadvance(2);
283
+ i0.ɵɵattributeInterpolate1("aria-label", "Please enter a date and time in the format | rpxTranslate ", ctx.dateTimeEntryFormat, "");
284
+ i0.ɵɵproperty("min", ctx.minDate(ctx.caseField))("max", ctx.maxDate(ctx.caseField))("formControl", ctx.dateControl)("ngxMatDatetimePicker", _r6);
285
+ i0.ɵɵadvance(2);
286
+ i0.ɵɵproperty("for", _r6);
287
+ i0.ɵɵadvance(1);
288
+ i0.ɵɵproperty("color", ctx.color)("touchUi", ctx.touchUi)("hideTime", ctx.hideTime)("startView", ctx.startView)("stepHour", ctx.stepHour)("stepSecond", ctx.stepSecond)("stepMinute", ctx.stepMinute)("showSeconds", ctx.showSeconds)("showSpinners", ctx.showSpinners)("disableMinute", ctx.disableMinute)("enableMeridian", ctx.enableMeridian);
289
+ } }, dependencies: [i2.NgClass, i2.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, i4.NgxMatDatetimepicker, i4.NgxMatDatepickerInput, i4.NgxMatDatepickerActions, i4.NgxMatDatepickerApply, i5.MatLegacySuffix, i6.MatDatepickerToggle, i7.FieldLabelPipe, i8.FirstErrorPipe, i9.RpxTranslatePipe], styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base{width:32px;height:32px;padding:5px 0 0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base:focus{outline:1px solid #fd0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(1):after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true],.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-pressed=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(1) [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1) [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1).ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \\25b2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\\25bc\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid black;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions{margin-top:120px;padding:8px 8px 28px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}\n"], encapsulation: 2 });
290
+ }
291
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatetimePickerComponent, [{
292
+ type: Component,
293
+ args: [{ selector: 'ccd-datetime-picker', encapsulation: ViewEncapsulation.None, providers: [
294
+ { provide: NGX_MAT_DATE_FORMATS, useValue: CUSTOM_MOMENT_FORMATS },
295
+ {
296
+ provide: NgxMatDateAdapter,
297
+ useClass: NgxMatMomentAdapter,
298
+ deps: [MAT_LEGACY_DATE_LOCALE, NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS]
299
+ },
300
+ { provide: NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }
301
+ ], template: "<div class=\"govuk-form-group bottom-30\" [id]=\"caseField.id\"\n [ngClass]=\"{'form-group-error': dateControl && !dateControl.valid && dateControl.dirty}\">\n <fieldset>\n <legend>\n <span class=\"form-label\" *ngIf=\"caseField.label\">{{(caseField | ccdFieldLabel)}}</span>\n <span class=\"form-hint\" *ngIf=\"caseField.hint_text\">{{caseField.hint_text | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.errors && dateControl.dirty && !(minError || maxError)\">{{(dateControl.errors | ccdFirstError:caseField.label)}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && minError\">{{'This date is older than the minimum date allowed' | rpxTranslate}}</span>\n <span class=\"error-message\"\n *ngIf=\"dateControl && dateControl.dirty && maxError\">{{'This date is later than the maximum date allowed' | rpxTranslate}}</span>\n </legend>\n <div class=\"datepicker-container\">\n <input class=\"govuk-input\"\n #input\n attr.aria-label=\"Please enter a date and time in the format | rpxTranslate {{dateTimeEntryFormat}}\"\n [min]=\"minDate(caseField)\"\n [max]=\"maxDate(caseField)\"\n [formControl]=\"dateControl\"\n [ngxMatDatetimePicker]=\"picker\"\n (focusin)=\"focusIn()\"\n (focusout)=\"focusOut()\"\n (dateChange)=\"valueChanged()\"\n ng-model-options=\"{timezone:'utc'}\"\n >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" id=\"pickerOpener\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [color]=\"color\"\n [touchUi]=\"touchUi\"\n [hideTime]=\"hideTime\"\n [startView]=\"startView\"\n [stepHour]=\"stepHour\"\n [stepSecond]=\"stepSecond\"\n [stepMinute]=\"stepMinute\"\n [showSeconds]=\"showSeconds\"\n [showSpinners]=\"showSpinners\"\n [disableMinute]=\"disableMinute\"\n [enableMeridian]=\"enableMeridian\"\n (yearSelected)=\"yearSelected($event)\"\n (monthSelected)=\"monthSelected($event)\"\n (opened)=\"toggleClick()\"\n >\n <ngx-mat-datepicker-actions>\n <button mat-raised-button color=\"primary\" ngxMatDatepickerApply>Confirm</button>\n </ngx-mat-datepicker-actions>\n </ngx-mat-datetime-picker>\n </div>\n </fieldset>\n</div>\n", styles: ["@charset \"UTF-8\";.datepicker-container{display:inline-block;position:relative;min-width:298px}.datepicker-container .govuk-input{height:35px;min-width:298px;width:auto;padding-right:40px;border:1px solid #000}.datepicker-container .govuk-input:focus{outline:1px solid #ffdd00;border:1px solid black}.datepicker-container .govuk-input::-ms-clear{display:none}.datepicker-container .datepicker-wrapper-input{position:relative;display:inline-block;top:-20%;border:0}.datepicker-container .datepicker-wrapper-input:focus{border:0;outline:none}.datepicker-container .mat-icon-button{height:32px;width:32px}.datepicker-container .mat-icon-button:focus{outline:1px solid #ffdd00}.datepicker-container .mat-icon-button .mat-datepicker-toggle-default-icon{position:relative;top:-5px}.datepicker-container .mat-datepicker-toggle{position:absolute;right:0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base{width:32px;height:32px;padding:5px 0 0}.datepicker-container .mat-mdc-icon-button.mat-mdc-button-base:focus{outline:1px solid #fd0}.cdk-overlay-container .mat-datepicker-content{border:1px solid black;border-radius:0;max-width:295px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table{width:calc(100% - 1px);table-layout:fixed}.cdk-overlay-container .mat-datepicker-content .mat-calendar-header{height:34px;border-bottom:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button{left:14%;min-width:125px;border-right:1px ridge #bfc1c3;border-left:1px ridge #bfc1c3;border-radius:0;top:-20px;width:200%}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button .mat-button-wrapper{text-align:center;font-weight:700}.cdk-overlay-container .mat-datepicker-content .mat-calendar-period-button:focus{border:2px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button{left:-73%;top:-20px;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-previous-button:after{border-left-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button{top:-20px;left:1%;border:2px solid transparent;border-radius:0}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .mat-calendar-next-button:after{border-right-width:5px;border-top-width:5px;color:#000;padding:4px;top:-2px;left:-2px}.cdk-overlay-container .mat-datepicker-content .mat-button-wrapper{text-transform:capitalize!important}.cdk-overlay-container .mat-datepicker-content .mat-calendar{border-bottom:1px solid black}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider{padding:0;border-bottom:none}.cdk-overlay-container .mat-datepicker-content .mat-calendar-table-header-divider:after{height:0px}.cdk-overlay-container .mat-datepicker-content .mat-calendar-content{padding:0}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header{color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header th.ng-star-inserted{font-weight:700;font-size:15px;padding-top:2%;padding-bottom:2%;-moz-column-width:20px;column-width:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th{visibility:hidden}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:after{visibility:visible;color:#000;position:relative;left:-15px}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(1):after{content:\"MON\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(2):after{left:-12px;content:\"TUE\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(3):after{left:-18px;content:\"WED\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(4):after{left:-14px;content:\"THU\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(5):after{left:-10px;content:\"FRI\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(6):after{content:\"SAT\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-table-header tr:nth-of-type(1) th:nth-of-type(7):after{content:\"SUN\"}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-label{font-weight:700;font-size:large;color:#000}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-selected{border:none;background-color:transparent;color:#fff}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-active .mat-calendar-body-today{border:none;box-shadow:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell{border:1px ridge #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-selected=true],.cdk-overlay-container .mat-datepicker-content ngx-mat-month-view .mat-calendar-body-cell[aria-pressed=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px;z-index:1}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table{border-collapse:separate;border-spacing:10px}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-multi-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table{border-collapse:separate;border-spacing:20px}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table tr:nth-of-type(1){visibility:collapse}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-active{background-color:#5694ca}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell{border:1px solid #bfc1c3}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-cell-content{border:none}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell .mat-calendar-body-selected{border:none;box-shadow:none;background-color:transparent}.cdk-overlay-container .mat-datepicker-content ngx-mat-year-view .mat-calendar-table .mat-calendar-body-cell[aria-selected=true]{background-color:#1d70b8;outline:3px solid #ffdd00;border:2px solid black;outline-offset:1px}.cdk-overlay-container .mat-datepicker-content .time-container{height:80px;padding-top:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table{margin-left:0!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tbody{position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button .mat-button-wrapper{width:auto;height:auto}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base .mat-icon-button:focus{outline:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child{position:absolute;left:49px;top:15px;z-index:2}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:first-child [aria-label=\"expand_less icon\"]{position:absolute;left:-2px;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(3) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:82px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-child(5) [aria-label=\"expand_less icon\"].mat-icon-button{position:absolute;left:169px!important;top:25px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(1) [aria-label=\"expand_less icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:first-child td:nth-last-child(2) [aria-label=\"expand_less icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2){display:flex;padding:20px 0 20px 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field{width:50px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:first-child .mat-form-field:before{color:#000;content:\"Hours\";position:relative;top:-5px;left:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-child(3) .mat-form-field:before{color:#000;content:\"Minutes\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:last-child{text-align:left;left:-15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .mat-form-field-disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) td:nth-of-type(5) .mat-form-field:before{color:#000;content:\"Seconds\";position:relative;top:-5px;font-size:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian{border-bottom:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button{height:30px;top:21px;border-radius:0;color:#000;border-color:#000;background-color:#dee0e2;display:flex;justify-content:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(2) .meridian .mat-button .mat-button-wrapper{position:relative;top:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4){display:flex;padding:2rem 0 2rem 15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td{margin-right:30px;text-align:right}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:nth-child(4) td:last-child{text-align:left}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child{position:absolute;left:49px;top:40px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child button:disabled{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:first-child [aria-label=\"expand_more icon\"]{position:absolute;top:15px;left:-2px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(3) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;left:82px!important;top:15px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-child(5) [aria-label=\"expand_more icon\"].mat-icon-button{position:absolute;top:15px;left:169px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1) [aria-label=\"expand_more icon\"].mat-icon-button{left:65px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr:last-child td:nth-last-child(1).ng-star-inserted [aria-label=\"expand_more icon\"].mat-icon-button{left:153px!important}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr td{padding:0;border-bottom:0;position:relative}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .spacer{display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-icon{visibility:hidden;display:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-button-wrapper{display:block;width:15px;height:8px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-wrapper{padding-bottom:0}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field{width:auto;max-width:none}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_less icon\"].mat-icon-button .mat-button-wrapper:after{content:\" \\25b2\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr [aria-label=\"expand_more icon\"].mat-icon-button .mat-button-wrapper:after{content:\"\\25bc\"}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex{width:100%}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-flex .mat-form-field-infix{border:1px solid black;height:20px;width:37px;display:flex;justify-content:center;align-items:center}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr .mat-form-field-underline{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input{height:33px;width:37px}.cdk-overlay-container .mat-datepicker-content .time-container .ngx-mat-timepicker .table tr input:focus{border-color:#000}.cdk-overlay-container .mat-datepicker-content .actions{padding-bottom:20px;margin-top:20px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .actions .mat-button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:focus{outline:2px solid #ffdd00}.cdk-overlay-container .mat-datepicker-content .actions .mat-button:hover{background-color:#006400}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-icon{visibility:hidden}.cdk-overlay-container .mat-datepicker-content .actions .mat-button .mat-button-wrapper:before{color:#fff;content:\"Confirm\";position:relative;font-size:15px;left:-3px}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions{margin-top:120px;padding:8px 8px 28px;justify-content:flex-start}.cdk-overlay-container .mat-datepicker-content .mat-datepicker-actions button{background-color:#00823b;position:relative;display:-moz-inline-stack;display:inline-block;padding:.526315em .789473em .263157em;border:none;border-radius:0;outline:1px solid transparent;outline-offset:-1px;-webkit-appearance:none;box-shadow:0 2px #003618;font-size:1em;line-height:1.25;text-decoration:none;-webkit-font-smoothing:antialiased;color:#fff;box-sizing:border-box;vertical-align:top;width:80px;cursor:pointer}\n"] }]
302
+ }], function () { return [{ type: i1.FormatTranslatorService }, { type: undefined, decorators: [{
303
+ type: Inject,
304
+ args: [NGX_MAT_DATE_FORMATS]
305
+ }] }]; }, { datetimePicker: [{
306
+ type: ViewChild,
307
+ args: ['picker', { static: false }]
308
+ }], inputElement: [{
309
+ type: ViewChild,
310
+ args: ['input', { static: false }]
311
+ }], dateControl: [{
312
+ type: Input
313
+ }] }); })();
314
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXRpbWUtcGlja2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2RhdGV0aW1lLXBpY2tlci9kYXRldGltZS1waWNrZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvZGF0ZXRpbWUtcGlja2VyL2RhdGV0aW1lLXBpY2tlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsaUJBQWlCLEVBRWpCLG9CQUFvQixFQUNwQixvQkFBb0IsRUFDckIsTUFBTSw4Q0FBOEMsQ0FBQztBQUN0RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsbUNBQW1DLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQztBQUN2SCxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFVLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRyxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxzQkFBc0IsRUFBc0MsTUFBTSwrQkFBK0IsQ0FBQztBQUczRyxPQUFPLE1BQU0sTUFBTS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lci10b2dnbGUgbWF0U3VmZml4IFtmb3JdPVwicGlja2VyXCIgaWQ9XCJwaWNrZXJPcGVuZXJcIj48L21hdC1kYXRlcGlja2VyLXRvZ2dsZT5cbiAgICAgIDxuZ3gtbWF0LWRhdGV0aW1lLXBpY2tlciAjcGlja2VyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2NvbG9yXT1cImNvbG9yXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbdG91Y2hVaV09XCJ0b3VjaFVpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaGlkZVRpbWVdPVwiaGlkZVRpbWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzdGFydFZpZXddPVwic3RhcnRWaWV3XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3RlcEhvdXJdPVwic3RlcEhvdXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzdGVwU2Vjb25kXT1cInN0ZXBTZWNvbmRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzdGVwTWludXRlXT1cInN0ZXBNaW51dGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzaG93U2Vjb25kc109XCJzaG93U2Vjb25kc1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3Nob3dTcGlubmVyc109XCJzaG93U3Bpbm5lcnNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlTWludXRlXT1cImRpc2FibGVNaW51dGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtlbmFibGVNZXJpZGlhbl09XCJlbmFibGVNZXJpZGlhblwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHllYXJTZWxlY3RlZCk9XCJ5ZWFyU2VsZWN0ZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG1vbnRoU2VsZWN0ZWQpPVwibW9udGhTZWxlY3RlZCgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAob3BlbmVkKT1cInRvZ2dsZUNsaWNrKClcIlxuICAgICAgPlxuICAgICAgICA8bmd4LW1hdC1kYXRlcGlja2VyLWFjdGlvbnM+XG4gICAgICAgICAgPGJ1dHRvbiBtYXQtcmFpc2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBuZ3hNYXREYXRlcGlja2VyQXBwbHk+Q29uZmlybTwvYnV0dG9uPlxuICAgICAgICA8L25neC1tYXQtZGF0ZXBpY2tlci1hY3Rpb25zPlxuICAgICAgPC9uZ3gtbWF0LWRhdGV0aW1lLXBpY2tlcj5cbiAgICA8L2Rpdj5cbiAgPC9maWVsZHNldD5cbjwvZGl2PlxuIl19
@@ -0,0 +1,25 @@
1
+ import { Pipe } from '@angular/core';
2
+ import { AbstractAppConfig } from '../../../../app.config';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../../app.config";
5
+ export class DocumentUrlPipe {
6
+ appConfig;
7
+ constructor(appConfig) {
8
+ this.appConfig = appConfig;
9
+ }
10
+ transform(value) {
11
+ const remoteHrsPattern = new RegExp(this.appConfig.getRemoteHrsUrl());
12
+ value = value.replace(remoteHrsPattern, this.appConfig.getHrsUrl());
13
+ const remoteDocumentManagementPattern = new RegExp(this.appConfig.getRemoteDocumentManagementUrl());
14
+ return value.replace(remoteDocumentManagementPattern, this.appConfig.getDocumentManagementUrl());
15
+ }
16
+ static ɵfac = function DocumentUrlPipe_Factory(t) { return new (t || DocumentUrlPipe)(i0.ɵɵdirectiveInject(i1.AbstractAppConfig, 16)); };
17
+ static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDocumentUrl", type: DocumentUrlPipe, pure: true });
18
+ }
19
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentUrlPipe, [{
20
+ type: Pipe,
21
+ args: [{
22
+ name: 'ccdDocumentUrl'
23
+ }]
24
+ }], function () { return [{ type: i1.AbstractAppConfig }]; }, null); })();
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnQtdXJsLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9kb2N1bWVudC9kb2N1bWVudC11cmwucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7O0FBSzNELE1BQU0sT0FBTyxlQUFlO0lBRUc7SUFBN0IsWUFBNkIsU0FBNEI7UUFBNUIsY0FBUyxHQUFULFNBQVMsQ0FBbUI7SUFBRyxDQUFDO0lBRXRELFNBQVMsQ0FBQyxLQUFhO1FBQzVCLE1BQU0sZ0JBQWdCLEdBQUcsSUFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxlQUFlLEVBQUUsQ0FBQyxDQUFDO1FBQ3RFLEtBQUssR0FBRyxLQUFLLENBQUMsT0FBTyxDQUFDLGdCQUFnQixFQUFFLElBQUksQ0FBQyxTQUFTLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQztRQUNwRSxNQUFNLCtCQUErQixHQUFHLElBQUksTUFBTSxDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsOEJBQThCLEVBQUUsQ0FBQyxDQUFDO1FBQ3BHLE9BQU8sS0FBSyxDQUFDLE9BQU8sQ0FBQywrQkFBK0IsRUFBRSxJQUFJLENBQUMsU0FBUyxDQUFDLHdCQUF3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Z2VtZW50VXJsKCkpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,31 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { WindowService } from '../../../services/window/window.service';
3
+ import { FileUploadStateService } from './file-upload-state.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "./file-upload-state.service";
6
+ import * as i2 from "../../../services/window/window.service";
7
+ export class FileUploadProgressGuard {
8
+ fileUploadStateService;
9
+ windowService;
10
+ static CONFIRM_MESSAGE = 'File upload in progress. Press “Cancel” to cancel the upload. Press “Ok” to continue the document upload.';
11
+ constructor(fileUploadStateService, windowService) {
12
+ this.fileUploadStateService = fileUploadStateService;
13
+ this.windowService = windowService;
14
+ }
15
+ canDeactivate() {
16
+ if (this.fileUploadStateService.isUploadInProgress()) {
17
+ const userDecision = !this.windowService.confirm(FileUploadProgressGuard.CONFIRM_MESSAGE);
18
+ if (userDecision) {
19
+ this.fileUploadStateService.setUploadInProgress(false);
20
+ }
21
+ return userDecision;
22
+ }
23
+ return true;
24
+ }
25
+ static ɵfac = function FileUploadProgressGuard_Factory(t) { return new (t || FileUploadProgressGuard)(i0.ɵɵinject(i1.FileUploadStateService), i0.ɵɵinject(i2.WindowService)); };
26
+ static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FileUploadProgressGuard, factory: FileUploadProgressGuard.ɵfac });
27
+ }
28
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadProgressGuard, [{
29
+ type: Injectable
30
+ }], function () { return [{ type: i1.FileUploadStateService }, { type: i2.WindowService }]; }, null); })();
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtcHJvZ3Jlc3MuZ3VhcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyY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WRQcm9ncmVzc0d1YXJkLkNPTkZJUk1fTUVTU0FHRSk7XG4gICAgICAgICAgICBpZiAodXNlckRlY2lzaW9uKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5maWxlVXBsb2FkU3RhdGVTZXJ2aWNlLnNldFVwbG9hZEluUHJvZ3Jlc3MoZmFsc2UpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIHVzZXJEZWNpc2lvbjtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG5cbn1cbiJdfQ==
@@ -0,0 +1,17 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FileUploadStateService {
4
+ uploadInProgress;
5
+ setUploadInProgress(value) {
6
+ this.uploadInProgress = value;
7
+ }
8
+ isUploadInProgress() {
9
+ return this.uploadInProgress;
10
+ }
11
+ static ɵfac = function FileUploadStateService_Factory(t) { return new (t || FileUploadStateService)(); };
12
+ static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FileUploadStateService, factory: FileUploadStateService.ɵfac });
13
+ }
14
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadStateService, [{
15
+ type: Injectable
16
+ }], null, null); })();
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS11cGxvYWQtc3RhdGUuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2RvY3VtZW50L2ZpbGUtdXBsb2FkLXN0YXRlLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQ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