@hmcts/ccd-case-ui-toolkit 7.0.21-CVE-fix → 7.0.21-accessibility
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.
- package/esm2020/lib/app.config.mjs +45 -0
- package/esm2020/lib/components/banners/alert/alert-icon-class.pipe.mjs +25 -0
- package/esm2020/lib/components/banners/alert/alert.component.mjs +95 -0
- package/esm2020/lib/components/banners/alert/alert.module.mjs +32 -0
- package/esm2020/lib/components/banners/banners.module.mjs +32 -0
- package/esm2020/lib/components/banners/notification-banner/notification-banner.component.mjs +120 -0
- package/esm2020/lib/components/banners/notification-banner/notification-banner.module.mjs +19 -0
- package/esm2020/lib/components/body/body.component.mjs +20 -0
- package/esm2020/lib/components/body/body.module.mjs +20 -0
- package/esm2020/lib/components/footer/footer.component.mjs +105 -0
- package/esm2020/lib/components/footer/footers.module.mjs +25 -0
- package/esm2020/lib/components/form/date-input/date-input.component.mjs +331 -0
- package/esm2020/lib/components/form/form.module.mjs +29 -0
- package/esm2020/lib/components/header/header-bar/header-bar.component.mjs +97 -0
- package/esm2020/lib/components/header/headers.module.mjs +25 -0
- package/esm2020/lib/components/header/navigation/navigation-item.component.mjs +41 -0
- package/esm2020/lib/components/header/navigation/navigation.component.mjs +24 -0
- package/esm2020/lib/components/header/phase/phase.component.mjs +45 -0
- package/esm2020/lib/components/tabs/tab.component.mjs +28 -0
- package/esm2020/lib/components/tabs/tabs.component.mjs +79 -0
- package/esm2020/lib/components/tabs/tabs.module.mjs +38 -0
- package/esm2020/lib/shared/commons/address-validation-constants.mjs +13 -0
- package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +19 -0
- package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +47 -0
- package/esm2020/lib/shared/commons/constants.mjs +13 -0
- package/esm2020/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +39 -0
- package/esm2020/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +33 -0
- package/esm2020/lib/shared/components/activity/activity.component.mjs +151 -0
- package/esm2020/lib/shared/components/activity/activity.module.mjs +55 -0
- package/esm2020/lib/shared/components/case-editor/case-access-utils/index.mjs +105 -0
- package/esm2020/lib/shared/components/case-editor/case-create/case-create.component.mjs +87 -0
- package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +432 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +125 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +135 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +69 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +751 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +542 -0
- package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +213 -0
- package/esm2020/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +86 -0
- package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +80 -0
- package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +153 -0
- package/esm2020/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +77 -0
- package/esm2020/lib/shared/components/case-editor/domain/confirmation.model.mjs +21 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +4 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +3 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard-page.model.mjs +26 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard.model.mjs +54 -0
- package/esm2020/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +93 -0
- package/esm2020/lib/shared/components/case-editor/services/case-flag-state.service.mjs +19 -0
- package/esm2020/lib/shared/components/case-editor/services/case-worker.service.mjs +32 -0
- package/esm2020/lib/shared/components/case-editor/services/case.notifier.mjs +51 -0
- package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +294 -0
- package/esm2020/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +41 -0
- package/esm2020/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +143 -0
- package/esm2020/lib/shared/components/case-editor/services/event-trigger.service.mjs +20 -0
- package/esm2020/lib/shared/components/case-editor/services/judicial-worker.service.mjs +32 -0
- package/esm2020/lib/shared/components/case-editor/services/page-validation.service.mjs +53 -0
- package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +39 -0
- package/esm2020/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +117 -0
- package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +209 -0
- package/esm2020/lib/shared/components/case-header/case-header.component.mjs +61 -0
- package/esm2020/lib/shared/components/case-header/case-header.module.mjs +33 -0
- package/esm2020/lib/shared/components/case-history/case-history.component.mjs +242 -0
- package/esm2020/lib/shared/components/case-history/case-history.module.mjs +64 -0
- package/esm2020/lib/shared/components/case-history/domain/case-history.model.mjs +29 -0
- package/esm2020/lib/shared/components/case-history/services/case-history.service.mjs +40 -0
- package/esm2020/lib/shared/components/case-list/case-list.component.mjs +362 -0
- package/esm2020/lib/shared/components/case-list/case-list.module.mjs +47 -0
- package/esm2020/lib/shared/components/case-list-filters/case-list-filters.component.mjs +52 -0
- package/esm2020/lib/shared/components/case-list-filters/case-list-filters.module.mjs +64 -0
- package/esm2020/lib/shared/components/case-timeline/case-timeline.component.mjs +109 -0
- package/esm2020/lib/shared/components/case-timeline/case-timeline.module.mjs +52 -0
- package/esm2020/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +247 -0
- package/esm2020/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +298 -0
- package/esm2020/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +72 -0
- package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +141 -0
- package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +684 -0
- package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +58 -0
- package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +241 -0
- package/esm2020/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +199 -0
- package/esm2020/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +47 -0
- package/esm2020/lib/shared/components/case-viewer/case-view/case-view.component.mjs +98 -0
- package/esm2020/lib/shared/components/case-viewer/case-viewer.component.mjs +128 -0
- package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +191 -0
- package/esm2020/lib/shared/components/case-viewer/printer/case-printer.component.mjs +110 -0
- package/esm2020/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +60 -0
- package/esm2020/lib/shared/components/case-viewer/services/case.resolver.mjs +131 -0
- package/esm2020/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +64 -0
- package/esm2020/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +8 -0
- package/esm2020/lib/shared/components/create-case-filters/create-case-filters.component.mjs +275 -0
- package/esm2020/lib/shared/components/create-case-filters/create-case-filters.module.mjs +44 -0
- package/esm2020/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +57 -0
- package/esm2020/lib/shared/components/dialogs/dialogs.module.mjs +51 -0
- package/esm2020/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +59 -0
- package/esm2020/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +57 -0
- package/esm2020/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +61 -0
- package/esm2020/lib/shared/components/error/callback-errors.component.mjs +148 -0
- package/esm2020/lib/shared/components/error/domain/error-context.mjs +3 -0
- package/esm2020/lib/shared/components/error/errors.module.mjs +33 -0
- package/esm2020/lib/shared/components/error-message/error-message.component.mjs +43 -0
- package/esm2020/lib/shared/components/error-message/error-message.module.mjs +41 -0
- package/esm2020/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +59 -0
- package/esm2020/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +53 -0
- package/esm2020/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +104 -0
- package/esm2020/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +68 -0
- package/esm2020/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +58 -0
- package/esm2020/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +53 -0
- package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +94 -0
- package/esm2020/lib/shared/components/event-start/event-start.component.mjs +49 -0
- package/esm2020/lib/shared/components/event-start/event-start.module.mjs +71 -0
- package/esm2020/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +29 -0
- package/esm2020/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +168 -0
- package/esm2020/lib/shared/components/event-trigger/event-trigger.component.mjs +111 -0
- package/esm2020/lib/shared/components/event-trigger/event-trigger.module.mjs +37 -0
- package/esm2020/lib/shared/components/loading-spinner/loading-spinner.component.mjs +27 -0
- package/esm2020/lib/shared/components/loading-spinner/loading-spinner.module.mjs +29 -0
- package/esm2020/lib/shared/components/pagination/pagination.component.mjs +262 -0
- package/esm2020/lib/shared/components/pagination/pagination.module.mjs +35 -0
- package/esm2020/lib/shared/components/palette/address/address-option.model.mjs +21 -0
- package/esm2020/lib/shared/components/palette/address/write-address-field.component.mjs +282 -0
- package/esm2020/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +31 -0
- package/esm2020/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +44 -0
- package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +83 -0
- package/esm2020/lib/shared/components/palette/base-field/field-read-label.component.mjs +86 -0
- package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +85 -0
- package/esm2020/lib/shared/components/palette/base-field/field-write.component.mjs +74 -0
- package/esm2020/lib/shared/components/palette/base-field/payment-field.component.mjs +35 -0
- package/esm2020/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +171 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +48 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +48 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +340 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +153 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +94 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +190 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +288 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +207 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +165 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +219 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +306 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +200 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +343 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +267 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +510 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +41 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +41 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +109 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +77 -0
- package/esm2020/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +246 -0
- package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +686 -0
- package/esm2020/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +32 -0
- package/esm2020/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +122 -0
- package/esm2020/lib/shared/components/palette/collection/collection-create-checker.service.mjs +42 -0
- package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +81 -0
- package/esm2020/lib/shared/components/palette/collection/write-collection-field.component.mjs +443 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +379 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +53 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +78 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/complex/write-complex-field.component.mjs +171 -0
- package/esm2020/lib/shared/components/palette/date/read-date-field.component.mjs +28 -0
- package/esm2020/lib/shared/components/palette/date/write-date-container-field.component.mjs +33 -0
- package/esm2020/lib/shared/components/palette/date/write-date-field.component.mjs +76 -0
- package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +309 -0
- package/esm2020/lib/shared/components/palette/document/document-url.pipe.mjs +24 -0
- package/esm2020/lib/shared/components/palette/document/file-upload-progress.guard.mjs +29 -0
- package/esm2020/lib/shared/components/palette/document/file-upload-state.service.mjs +16 -0
- package/esm2020/lib/shared/components/palette/document/read-document-field.component.mjs +81 -0
- package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +383 -0
- package/esm2020/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +18 -0
- package/esm2020/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +36 -0
- package/esm2020/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +124 -0
- package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +43 -0
- package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +145 -0
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +25 -0
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +42 -0
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +124 -0
- package/esm2020/lib/shared/components/palette/email/read-email-field.component.mjs +35 -0
- package/esm2020/lib/shared/components/palette/email/write-email-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +23 -0
- package/esm2020/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +26 -0
- package/esm2020/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +106 -0
- package/esm2020/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +18 -0
- package/esm2020/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +26 -0
- package/esm2020/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +95 -0
- package/esm2020/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +16 -0
- package/esm2020/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +97 -0
- package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +225 -0
- package/esm2020/lib/shared/components/palette/history/event-log/event-log.component.mjs +72 -0
- package/esm2020/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +45 -0
- package/esm2020/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +242 -0
- package/esm2020/lib/shared/components/palette/label/label-field.component.mjs +50 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +108 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +189 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +530 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +204 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +280 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +66 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +201 -0
- package/esm2020/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +22 -0
- package/esm2020/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +163 -0
- package/esm2020/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +132 -0
- package/esm2020/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +27 -0
- package/esm2020/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +229 -0
- package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +40 -0
- package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +43 -0
- package/esm2020/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +123 -0
- package/esm2020/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +47 -0
- package/esm2020/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +78 -0
- package/esm2020/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +45 -0
- package/esm2020/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +126 -0
- package/esm2020/lib/shared/components/palette/number/read-number-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/number/write-number-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/order-summary/fee-value.model.mjs +3 -0
- package/esm2020/lib/shared/components/palette/order-summary/fee.model.mjs +4 -0
- package/esm2020/lib/shared/components/palette/order-summary/order-summary.model.mjs +3 -0
- package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +43 -0
- package/esm2020/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +44 -0
- package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +83 -0
- package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +87 -0
- package/esm2020/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +56 -0
- package/esm2020/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +33 -0
- package/esm2020/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +384 -0
- package/esm2020/lib/shared/components/palette/palette.module.mjs +738 -0
- package/esm2020/lib/shared/components/palette/palette.service.mjs +155 -0
- package/esm2020/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +22 -0
- package/esm2020/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +42 -0
- package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +144 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +64 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +60 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +281 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +327 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +22 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +164 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +74 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +107 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +201 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +101 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +21 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +38 -0
- package/esm2020/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +121 -0
- package/esm2020/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +22 -0
- package/esm2020/lib/shared/components/palette/text/read-text-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +77 -0
- package/esm2020/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +87 -0
- package/esm2020/lib/shared/components/palette/unsupported-field.component.mjs +17 -0
- package/esm2020/lib/shared/components/palette/utils/dash.pipe.mjs +16 -0
- package/esm2020/lib/shared/components/palette/utils/date.pipe.mjs +132 -0
- package/esm2020/lib/shared/components/palette/utils/field-label.pipe.mjs +29 -0
- package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +59 -0
- package/esm2020/lib/shared/components/palette/utils/is-compound.pipe.mjs +43 -0
- package/esm2020/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +21 -0
- package/esm2020/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +31 -0
- package/esm2020/lib/shared/components/palette/utils/is-read-only.pipe.mjs +21 -0
- package/esm2020/lib/shared/components/palette/utils/utils.module.mjs +71 -0
- package/esm2020/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +34 -0
- package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +34 -0
- package/esm2020/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +100 -0
- package/esm2020/lib/shared/components/palette/yes-no/yes-no.service.mjs +50 -0
- package/esm2020/lib/shared/components/search-filters/domain/search-input.model.mjs +10 -0
- package/esm2020/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +58 -0
- package/esm2020/lib/shared/components/search-filters/search-filters.component.mjs +326 -0
- package/esm2020/lib/shared/components/search-filters/search-filters.module.mjs +71 -0
- package/esm2020/lib/shared/components/search-result/search-result.component.mjs +815 -0
- package/esm2020/lib/shared/components/search-result/search-result.module.mjs +82 -0
- package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +479 -0
- package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +67 -0
- package/esm2020/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +164 -0
- package/esm2020/lib/shared/directives/conditional-show/conditional-show.module.mjs +33 -0
- package/esm2020/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +200 -0
- package/esm2020/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +19 -0
- package/esm2020/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +47 -0
- package/esm2020/lib/shared/directives/focus-element/focus-element.directive.mjs +36 -0
- package/esm2020/lib/shared/directives/focus-element/focus-element.module.mjs +21 -0
- package/esm2020/lib/shared/directives/substitutor/label-substitutor.directive.mjs +82 -0
- package/esm2020/lib/shared/directives/substitutor/label-substitutor.module.mjs +30 -0
- package/esm2020/lib/shared/directives/substitutor/services/placeholder.service.mjs +200 -0
- package/esm2020/lib/shared/domain/activity/activity.model.mjs +10 -0
- package/esm2020/lib/shared/domain/addresses/address.model.mjs +13 -0
- package/esm2020/lib/shared/domain/alert/alert.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-details.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-event-data.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +7 -0
- package/esm2020/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +117 -0
- package/esm2020/lib/shared/domain/case-flag/flag-type.model.mjs +28 -0
- package/esm2020/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +10 -0
- package/esm2020/lib/shared/domain/case-view/case-event-trigger.model.mjs +23 -0
- package/esm2020/lib/shared/domain/case-view/case-print-document.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-view/case-tab.model.mjs +12 -0
- package/esm2020/lib/shared/domain/case-view/case-view-event.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-view/case-view-trigger.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-view/case-view.model.mjs +17 -0
- package/esm2020/lib/shared/domain/definition/access-control-list.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/banner.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/case-event.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/case-field.model.mjs +198 -0
- package/esm2020/lib/shared/domain/definition/case-state.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/case-type-lite.model.mjs +5 -0
- package/esm2020/lib/shared/domain/definition/case-type.model.mjs +12 -0
- package/esm2020/lib/shared/domain/definition/event-case-field.model.mjs +4 -0
- package/esm2020/lib/shared/domain/definition/field-type.model.mjs +22 -0
- package/esm2020/lib/shared/domain/definition/fixed-list-item.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/jurisdiction.model.mjs +3 -0
- package/esm2020/lib/shared/domain/document/document-data.model.mjs +14 -0
- package/esm2020/lib/shared/domain/draft.model.mjs +11 -0
- package/esm2020/lib/shared/domain/http/http-error.model.mjs +34 -0
- package/esm2020/lib/shared/domain/organisation/organisation-converter.mjs +42 -0
- package/esm2020/lib/shared/domain/pagination-metadata.model.mjs +3 -0
- package/esm2020/lib/shared/domain/profile/profile.model.mjs +29 -0
- package/esm2020/lib/shared/domain/search/field.model.mjs +11 -0
- package/esm2020/lib/shared/domain/search/search-result-view-column.model.mjs +3 -0
- package/esm2020/lib/shared/domain/search/search-result-view-item.model.mjs +12 -0
- package/esm2020/lib/shared/domain/search/search-result-view.model.mjs +23 -0
- package/esm2020/lib/shared/domain/search/sorting/sort-parameters.mjs +7 -0
- package/esm2020/lib/shared/domain/workbasket/workbasket-input.model.mjs +5 -0
- package/esm2020/lib/shared/fixture/case-field-builder.mjs +69 -0
- package/esm2020/lib/shared/pipes/case-reference/case-reference.pipe.mjs +33 -0
- package/esm2020/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +29 -0
- package/esm2020/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +32 -0
- package/esm2020/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +29 -0
- package/esm2020/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +39 -0
- package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +173 -0
- package/esm2020/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +31 -0
- package/esm2020/lib/shared/pipes/complex/fields-filter.pipe.mjs +105 -0
- package/esm2020/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +16 -0
- package/esm2020/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +27 -0
- package/esm2020/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +27 -0
- package/esm2020/lib/shared/pipes/pipes.module.mjs +64 -0
- package/esm2020/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +24 -0
- package/esm2020/lib/shared/services/activity/activity.polling.service.mjs +114 -0
- package/esm2020/lib/shared/services/activity/activity.service.mjs +82 -0
- package/esm2020/lib/shared/services/addresses/addresses.service.mjs +63 -0
- package/esm2020/lib/shared/services/alert/alert.service.mjs +142 -0
- package/esm2020/lib/shared/services/auth/auth.service.mjs +33 -0
- package/esm2020/lib/shared/services/banners/banners.service.mjs +33 -0
- package/esm2020/lib/shared/services/browser/browser.service.mjs +24 -0
- package/esm2020/lib/shared/services/case-fields/case-field.service.mjs +34 -0
- package/esm2020/lib/shared/services/case-fields/format-translator.service.mjs +242 -0
- package/esm2020/lib/shared/services/case-file-view/case-file-view.service.mjs +46 -0
- package/esm2020/lib/shared/services/case-flag/case-flag-refdata.service.mjs +102 -0
- package/esm2020/lib/shared/services/common-data-service/common-data-service.mjs +28 -0
- package/esm2020/lib/shared/services/definitions/definitions.module.mjs +19 -0
- package/esm2020/lib/shared/services/definitions/definitions.service.mjs +30 -0
- package/esm2020/lib/shared/services/document-management/document-management.service.mjs +112 -0
- package/esm2020/lib/shared/services/draft/draft.service.mjs +86 -0
- package/esm2020/lib/shared/services/error/error-notifier.service.mjs +18 -0
- package/esm2020/lib/shared/services/eventStatusService/event-status.service.mjs +21 -0
- package/esm2020/lib/shared/services/fields/fields.purger.mjs +303 -0
- package/esm2020/lib/shared/services/fields/fields.utils.mjs +615 -0
- package/esm2020/lib/shared/services/form/field-type-sanitiser.mjs +91 -0
- package/esm2020/lib/shared/services/form/form-error.service.mjs +46 -0
- package/esm2020/lib/shared/services/form/form-validators.service.mjs +56 -0
- package/esm2020/lib/shared/services/form/form-value.service.mjs +551 -0
- package/esm2020/lib/shared/services/http/http-error.service.mjs +65 -0
- package/esm2020/lib/shared/services/http/http.service.mjs +93 -0
- package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +34 -0
- package/esm2020/lib/shared/services/loading/loading.module.mjs +22 -0
- package/esm2020/lib/shared/services/loading/loading.service.mjs +37 -0
- package/esm2020/lib/shared/services/navigation/navigation-notifier.service.mjs +18 -0
- package/esm2020/lib/shared/services/order/order.service.mjs +39 -0
- package/esm2020/lib/shared/services/organisation/organisation.service.mjs +54 -0
- package/esm2020/lib/shared/services/profile/profile.notifier.mjs +19 -0
- package/esm2020/lib/shared/services/profile/profile.service.mjs +34 -0
- package/esm2020/lib/shared/services/request/request.options.builder.mjs +61 -0
- package/esm2020/lib/shared/services/router/router-helper.service.mjs +20 -0
- package/esm2020/lib/shared/services/search/search.service.mjs +89 -0
- package/esm2020/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +71 -0
- package/esm2020/lib/shared/services/session/session-storage.service.mjs +34 -0
- package/esm2020/lib/shared/services/utils/retry/retry.service.mjs +86 -0
- package/esm2020/lib/shared/services/window/window.service.mjs +40 -0
- package/esm2020/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +53 -0
- package/esm2020/lib/shared/test/test-route-snapshot-builder.mjs +40 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +38545 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +35581 -0
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
- package/lib/shared/components/case-editor/case-editor.module.d.ts +25 -0
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-header/case-header.module.d.ts +8 -0
- package/lib/shared/components/case-header/case-header.module.d.ts.map +1 -1
- package/lib/shared/components/case-history/case-history.module.d.ts +12 -0
- package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -1
- package/lib/shared/components/case-list/case-list.module.d.ts +11 -0
- package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -1
- package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +11 -0
- package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -1
- package/lib/shared/components/case-timeline/case-timeline.module.d.ts +11 -0
- package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts +36 -0
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
- package/lib/shared/components/pagination/pagination.module.d.ts +8 -0
- package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -1
- package/lib/shared/components/palette/address/write-address-field.component.d.ts +2 -1
- package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +2 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/write-complex-field.component.d.ts +2 -1
- package/lib/shared/components/palette/complex/write-complex-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +10 -0
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +148 -0
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/search-filters/search-filters.module.d.ts +11 -0
- package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.module.d.ts +15 -0
- package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +10 -0
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -1
- package/package.json +11 -5
- package/esm2022/lib/app.config.mjs +0 -93
- package/esm2022/lib/components/banners/alert/alert-icon-class.pipe.mjs +0 -25
- package/esm2022/lib/components/banners/alert/alert.component.mjs +0 -94
- package/esm2022/lib/components/banners/alert/alert.module.mjs +0 -32
- package/esm2022/lib/components/banners/banners.module.mjs +0 -32
- package/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +0 -119
- package/esm2022/lib/components/banners/notification-banner/notification-banner.module.mjs +0 -19
- package/esm2022/lib/components/body/body.component.mjs +0 -20
- package/esm2022/lib/components/body/body.module.mjs +0 -20
- package/esm2022/lib/components/footer/footer.component.mjs +0 -109
- package/esm2022/lib/components/footer/footers.module.mjs +0 -25
- package/esm2022/lib/components/form/date-input/date-input.component.mjs +0 -342
- package/esm2022/lib/components/form/form.module.mjs +0 -29
- package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +0 -98
- package/esm2022/lib/components/header/headers.module.mjs +0 -25
- package/esm2022/lib/components/header/navigation/navigation-item.component.mjs +0 -44
- package/esm2022/lib/components/header/navigation/navigation.component.mjs +0 -25
- package/esm2022/lib/components/header/phase/phase.component.mjs +0 -48
- package/esm2022/lib/components/tabs/tab.component.mjs +0 -31
- package/esm2022/lib/components/tabs/tabs.component.mjs +0 -82
- package/esm2022/lib/components/tabs/tabs.module.mjs +0 -38
- package/esm2022/lib/shared/commons/address-validation-constants.mjs +0 -13
- package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +0 -19
- package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +0 -46
- package/esm2022/lib/shared/commons/constants.mjs +0 -13
- package/esm2022/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +0 -42
- package/esm2022/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +0 -35
- package/esm2022/lib/shared/components/activity/activity.component.mjs +0 -158
- package/esm2022/lib/shared/components/activity/activity.module.mjs +0 -55
- package/esm2022/lib/shared/components/case-editor/case-access-utils/index.mjs +0 -105
- package/esm2022/lib/shared/components/case-editor/case-create/case-create.component.mjs +0 -95
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +0 -463
- package/esm2022/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +0 -131
- package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +0 -140
- package/esm2022/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +0 -70
- package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +0 -779
- package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +0 -560
- package/esm2022/lib/shared/components/case-editor/case-editor.module.mjs +0 -118
- package/esm2022/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +0 -96
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +0 -82
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +0 -166
- package/esm2022/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +0 -84
- package/esm2022/lib/shared/components/case-editor/domain/confirmation.model.mjs +0 -25
- package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +0 -9
- package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +0 -7
- package/esm2022/lib/shared/components/case-editor/domain/wizard-page.model.mjs +0 -33
- package/esm2022/lib/shared/components/case-editor/domain/wizard.model.mjs +0 -55
- package/esm2022/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +0 -98
- package/esm2022/lib/shared/components/case-editor/services/case-flag-state.service.mjs +0 -19
- package/esm2022/lib/shared/components/case-editor/services/case-worker.service.mjs +0 -35
- package/esm2022/lib/shared/components/case-editor/services/case.notifier.mjs +0 -53
- package/esm2022/lib/shared/components/case-editor/services/cases.service.mjs +0 -302
- package/esm2022/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +0 -42
- package/esm2022/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +0 -153
- package/esm2022/lib/shared/components/case-editor/services/event-trigger.service.mjs +0 -18
- package/esm2022/lib/shared/components/case-editor/services/judicial-worker.service.mjs +0 -35
- package/esm2022/lib/shared/components/case-editor/services/page-validation.service.mjs +0 -54
- package/esm2022/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +0 -40
- package/esm2022/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +0 -117
- package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +0 -215
- package/esm2022/lib/shared/components/case-header/case-header.component.mjs +0 -64
- package/esm2022/lib/shared/components/case-header/case-header.module.mjs +0 -25
- package/esm2022/lib/shared/components/case-history/case-history.component.mjs +0 -252
- package/esm2022/lib/shared/components/case-history/case-history.module.mjs +0 -36
- package/esm2022/lib/shared/components/case-history/domain/case-history.model.mjs +0 -37
- package/esm2022/lib/shared/components/case-history/services/case-history.service.mjs +0 -43
- package/esm2022/lib/shared/components/case-list/case-list.component.mjs +0 -373
- package/esm2022/lib/shared/components/case-list/case-list.module.mjs +0 -31
- package/esm2022/lib/shared/components/case-list-filters/case-list-filters.component.mjs +0 -56
- package/esm2022/lib/shared/components/case-list-filters/case-list-filters.module.mjs +0 -39
- package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +0 -115
- package/esm2022/lib/shared/components/case-timeline/case-timeline.module.mjs +0 -32
- package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +0 -251
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +0 -310
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +0 -74
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +0 -155
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +0 -710
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +0 -60
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +0 -255
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +0 -210
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +0 -49
- package/esm2022/lib/shared/components/case-viewer/case-view/case-view.component.mjs +0 -106
- package/esm2022/lib/shared/components/case-viewer/case-viewer.component.mjs +0 -136
- package/esm2022/lib/shared/components/case-viewer/case-viewer.module.mjs +0 -98
- package/esm2022/lib/shared/components/case-viewer/printer/case-printer.component.mjs +0 -116
- package/esm2022/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +0 -61
- package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +0 -141
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +0 -70
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +0 -11
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters.component.mjs +0 -288
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters.module.mjs +0 -44
- package/esm2022/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +0 -59
- package/esm2022/lib/shared/components/dialogs/dialogs.module.mjs +0 -51
- package/esm2022/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +0 -61
- package/esm2022/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +0 -59
- package/esm2022/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +0 -63
- package/esm2022/lib/shared/components/error/callback-errors.component.mjs +0 -147
- package/esm2022/lib/shared/components/error/domain/error-context.mjs +0 -5
- package/esm2022/lib/shared/components/error/errors.module.mjs +0 -33
- package/esm2022/lib/shared/components/error-message/error-message.component.mjs +0 -44
- package/esm2022/lib/shared/components/error-message/error-message.module.mjs +0 -41
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +0 -61
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +0 -55
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +0 -111
- package/esm2022/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +0 -69
- package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +0 -60
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +0 -55
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +0 -97
- package/esm2022/lib/shared/components/event-start/event-start.component.mjs +0 -55
- package/esm2022/lib/shared/components/event-start/event-start.module.mjs +0 -71
- package/esm2022/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +0 -31
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +0 -177
- package/esm2022/lib/shared/components/event-trigger/event-trigger.component.mjs +0 -117
- package/esm2022/lib/shared/components/event-trigger/event-trigger.module.mjs +0 -37
- package/esm2022/lib/shared/components/loading-spinner/loading-spinner.component.mjs +0 -25
- package/esm2022/lib/shared/components/loading-spinner/loading-spinner.module.mjs +0 -29
- package/esm2022/lib/shared/components/pagination/pagination.component.mjs +0 -261
- package/esm2022/lib/shared/components/pagination/pagination.module.mjs +0 -26
- package/esm2022/lib/shared/components/palette/address/address-option.model.mjs +0 -23
- package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +0 -287
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +0 -30
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +0 -84
- package/esm2022/lib/shared/components/palette/base-field/field-read-label.component.mjs +0 -85
- package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +0 -89
- package/esm2022/lib/shared/components/palette/base-field/field-write.component.mjs +0 -77
- package/esm2022/lib/shared/components/palette/base-field/payment-field.component.mjs +0 -37
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +0 -182
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +0 -48
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +0 -49
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +0 -356
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +0 -155
- package/esm2022/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +0 -93
- package/esm2022/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +0 -191
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +0 -302
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +0 -208
- package/esm2022/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +0 -169
- package/esm2022/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +0 -224
- package/esm2022/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +0 -311
- package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +0 -202
- package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +0 -355
- package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +0 -268
- package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +0 -516
- package/esm2022/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +0 -43
- package/esm2022/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +0 -43
- package/esm2022/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +0 -111
- package/esm2022/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +0 -79
- package/esm2022/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +0 -255
- package/esm2022/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +0 -704
- package/esm2022/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +0 -32
- package/esm2022/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +0 -125
- package/esm2022/lib/shared/components/palette/collection/collection-create-checker.service.mjs +0 -42
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +0 -78
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +0 -449
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +0 -380
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +0 -50
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +0 -75
- package/esm2022/lib/shared/components/palette/complex/read-complex-field.component.mjs +0 -70
- package/esm2022/lib/shared/components/palette/complex/write-complex-field.component.mjs +0 -173
- package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +0 -25
- package/esm2022/lib/shared/components/palette/date/write-date-container-field.component.mjs +0 -33
- package/esm2022/lib/shared/components/palette/date/write-date-field.component.mjs +0 -77
- package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +0 -314
- package/esm2022/lib/shared/components/palette/document/document-url.pipe.mjs +0 -25
- package/esm2022/lib/shared/components/palette/document/file-upload-progress.guard.mjs +0 -31
- package/esm2022/lib/shared/components/palette/document/file-upload-state.service.mjs +0 -17
- package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +0 -87
- package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +0 -404
- package/esm2022/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +0 -18
- package/esm2022/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +0 -36
- package/esm2022/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +0 -125
- package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +0 -43
- package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +0 -147
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +0 -25
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +0 -42
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +0 -125
- package/esm2022/lib/shared/components/palette/email/read-email-field.component.mjs +0 -35
- package/esm2022/lib/shared/components/palette/email/write-email-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +0 -23
- package/esm2022/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +0 -26
- package/esm2022/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +0 -107
- package/esm2022/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +0 -18
- package/esm2022/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +0 -26
- package/esm2022/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +0 -96
- package/esm2022/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +0 -16
- package/esm2022/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +0 -98
- package/esm2022/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +0 -225
- package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +0 -72
- package/esm2022/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +0 -48
- package/esm2022/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +0 -253
- package/esm2022/lib/shared/components/palette/label/label-field.component.mjs +0 -50
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +0 -112
- package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +0 -194
- package/esm2022/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +0 -543
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +0 -214
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +0 -287
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +0 -69
- package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +0 -208
- package/esm2022/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +0 -67
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +0 -169
- package/esm2022/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +0 -138
- package/esm2022/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +0 -27
- package/esm2022/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +0 -237
- package/esm2022/lib/shared/components/palette/markdown/markdown-component.module.mjs +0 -29
- package/esm2022/lib/shared/components/palette/markdown/markdown.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +0 -127
- package/esm2022/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +0 -49
- package/esm2022/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +0 -79
- package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +0 -45
- package/esm2022/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +0 -127
- package/esm2022/lib/shared/components/palette/number/read-number-field.component.mjs +0 -24
- package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/order-summary/fee-value.model.mjs +0 -4
- package/esm2022/lib/shared/components/palette/order-summary/fee.model.mjs +0 -8
- package/esm2022/lib/shared/components/palette/order-summary/order-summary.model.mjs +0 -6
- package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +0 -73
- package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +0 -87
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +0 -91
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +0 -53
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +0 -34
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +0 -396
- package/esm2022/lib/shared/components/palette/palette.module.mjs +0 -291
- package/esm2022/lib/shared/components/palette/palette.service.mjs +0 -153
- package/esm2022/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +0 -24
- package/esm2022/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +0 -22
- package/esm2022/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +0 -43
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +0 -149
- package/esm2022/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +0 -66
- package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +0 -61
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +0 -292
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +0 -330
- package/esm2022/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +0 -23
- package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +0 -164
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +0 -77
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +0 -111
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +0 -201
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +0 -106
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +0 -24
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +0 -45
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +0 -125
- package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +0 -22
- package/esm2022/lib/shared/components/palette/text/read-text-field.component.mjs +0 -24
- package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +0 -78
- package/esm2022/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +0 -24
- package/esm2022/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +0 -89
- package/esm2022/lib/shared/components/palette/unsupported-field.component.mjs +0 -17
- package/esm2022/lib/shared/components/palette/utils/dash.pipe.mjs +0 -16
- package/esm2022/lib/shared/components/palette/utils/date.pipe.mjs +0 -133
- package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +0 -30
- package/esm2022/lib/shared/components/palette/utils/first-error.pipe.mjs +0 -62
- package/esm2022/lib/shared/components/palette/utils/is-compound.pipe.mjs +0 -43
- package/esm2022/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +0 -22
- package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +0 -32
- package/esm2022/lib/shared/components/palette/utils/is-read-only.pipe.mjs +0 -22
- package/esm2022/lib/shared/components/palette/utils/utils.module.mjs +0 -71
- package/esm2022/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +0 -34
- package/esm2022/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +0 -36
- package/esm2022/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +0 -102
- package/esm2022/lib/shared/components/palette/yes-no/yes-no.service.mjs +0 -50
- package/esm2022/lib/shared/components/search-filters/domain/search-input.model.mjs +0 -15
- package/esm2022/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +0 -62
- package/esm2022/lib/shared/components/search-filters/search-filters.component.mjs +0 -337
- package/esm2022/lib/shared/components/search-filters/search-filters.module.mjs +0 -44
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +0 -834
- package/esm2022/lib/shared/components/search-result/search-result.module.mjs +0 -46
- package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +0 -494
- package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +0 -42
- package/esm2022/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +0 -169
- package/esm2022/lib/shared/directives/conditional-show/conditional-show.module.mjs +0 -33
- package/esm2022/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +0 -201
- package/esm2022/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +0 -17
- package/esm2022/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +0 -48
- package/esm2022/lib/shared/directives/focus-element/focus-element.directive.mjs +0 -38
- package/esm2022/lib/shared/directives/focus-element/focus-element.module.mjs +0 -21
- package/esm2022/lib/shared/directives/substitutor/label-substitutor.directive.mjs +0 -88
- package/esm2022/lib/shared/directives/substitutor/label-substitutor.module.mjs +0 -30
- package/esm2022/lib/shared/directives/substitutor/services/placeholder.service.mjs +0 -209
- package/esm2022/lib/shared/domain/activity/activity.model.mjs +0 -17
- package/esm2022/lib/shared/domain/addresses/address.model.mjs +0 -11
- package/esm2022/lib/shared/domain/alert/alert.model.mjs +0 -5
- package/esm2022/lib/shared/domain/case-details.model.mjs +0 -13
- package/esm2022/lib/shared/domain/case-event-data.model.mjs +0 -11
- package/esm2022/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +0 -8
- package/esm2022/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +0 -10
- package/esm2022/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +0 -10
- package/esm2022/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +0 -124
- package/esm2022/lib/shared/domain/case-flag/flag-type.model.mjs +0 -37
- package/esm2022/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +0 -18
- package/esm2022/lib/shared/domain/case-view/case-event-trigger.model.mjs +0 -34
- package/esm2022/lib/shared/domain/case-view/case-print-document.model.mjs +0 -6
- package/esm2022/lib/shared/domain/case-view/case-tab.model.mjs +0 -17
- package/esm2022/lib/shared/domain/case-view/case-view-event.model.mjs +0 -16
- package/esm2022/lib/shared/domain/case-view/case-view-trigger.model.mjs +0 -7
- package/esm2022/lib/shared/domain/case-view/case-view.model.mjs +0 -27
- package/esm2022/lib/shared/domain/definition/access-control-list.model.mjs +0 -8
- package/esm2022/lib/shared/domain/definition/banner.model.mjs +0 -8
- package/esm2022/lib/shared/domain/definition/case-event.model.mjs +0 -11
- package/esm2022/lib/shared/domain/definition/case-field.model.mjs +0 -216
- package/esm2022/lib/shared/domain/definition/case-state.model.mjs +0 -7
- package/esm2022/lib/shared/domain/definition/case-type-lite.model.mjs +0 -10
- package/esm2022/lib/shared/domain/definition/case-type.model.mjs +0 -20
- package/esm2022/lib/shared/domain/definition/event-case-field.model.mjs +0 -6
- package/esm2022/lib/shared/domain/definition/field-type.model.mjs +0 -30
- package/esm2022/lib/shared/domain/definition/fixed-list-item.model.mjs +0 -6
- package/esm2022/lib/shared/domain/definition/jurisdiction.model.mjs +0 -8
- package/esm2022/lib/shared/domain/document/document-data.model.mjs +0 -27
- package/esm2022/lib/shared/domain/draft.model.mjs +0 -16
- package/esm2022/lib/shared/domain/http/http-error.model.mjs +0 -43
- package/esm2022/lib/shared/domain/organisation/organisation-converter.mjs +0 -42
- package/esm2022/lib/shared/domain/pagination-metadata.model.mjs +0 -5
- package/esm2022/lib/shared/domain/profile/profile.model.mjs +0 -33
- package/esm2022/lib/shared/domain/search/field.model.mjs +0 -17
- package/esm2022/lib/shared/domain/search/search-result-view-column.model.mjs +0 -9
- package/esm2022/lib/shared/domain/search/search-result-view-item.model.mjs +0 -18
- package/esm2022/lib/shared/domain/search/search-result-view.model.mjs +0 -26
- package/esm2022/lib/shared/domain/search/sorting/sort-parameters.mjs +0 -9
- package/esm2022/lib/shared/domain/workbasket/workbasket-input.model.mjs +0 -11
- package/esm2022/lib/shared/fixture/case-field-builder.mjs +0 -67
- package/esm2022/lib/shared/pipes/case-reference/case-reference.pipe.mjs +0 -33
- package/esm2022/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +0 -31
- package/esm2022/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +0 -32
- package/esm2022/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +0 -27
- package/esm2022/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +0 -39
- package/esm2022/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +0 -173
- package/esm2022/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +0 -31
- package/esm2022/lib/shared/pipes/complex/fields-filter.pipe.mjs +0 -105
- package/esm2022/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +0 -16
- package/esm2022/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +0 -28
- package/esm2022/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +0 -28
- package/esm2022/lib/shared/pipes/pipes.module.mjs +0 -64
- package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +0 -24
- package/esm2022/lib/shared/services/activity/activity.polling.service.mjs +0 -122
- package/esm2022/lib/shared/services/activity/activity.service.mjs +0 -85
- package/esm2022/lib/shared/services/addresses/addresses.service.mjs +0 -65
- package/esm2022/lib/shared/services/alert/alert.service.mjs +0 -157
- package/esm2022/lib/shared/services/auth/auth.service.mjs +0 -35
- package/esm2022/lib/shared/services/banners/banners.service.mjs +0 -35
- package/esm2022/lib/shared/services/browser/browser.service.mjs +0 -24
- package/esm2022/lib/shared/services/case-fields/case-field.service.mjs +0 -34
- package/esm2022/lib/shared/services/case-fields/format-translator.service.mjs +0 -242
- package/esm2022/lib/shared/services/case-file-view/case-file-view.service.mjs +0 -48
- package/esm2022/lib/shared/services/case-flag/case-flag-refdata.service.mjs +0 -104
- package/esm2022/lib/shared/services/common-data-service/common-data-service.mjs +0 -29
- package/esm2022/lib/shared/services/definitions/definitions.module.mjs +0 -19
- package/esm2022/lib/shared/services/definitions/definitions.service.mjs +0 -32
- package/esm2022/lib/shared/services/document-management/document-management.service.mjs +0 -114
- package/esm2022/lib/shared/services/draft/draft.service.mjs +0 -89
- package/esm2022/lib/shared/services/error/error-notifier.service.mjs +0 -16
- package/esm2022/lib/shared/services/eventStatusService/event-status.service.mjs +0 -21
- package/esm2022/lib/shared/services/fields/fields.purger.mjs +0 -304
- package/esm2022/lib/shared/services/fields/fields.utils.mjs +0 -615
- package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +0 -91
- package/esm2022/lib/shared/services/form/form-error.service.mjs +0 -46
- package/esm2022/lib/shared/services/form/form-validators.service.mjs +0 -56
- package/esm2022/lib/shared/services/form/form-value.service.mjs +0 -552
- package/esm2022/lib/shared/services/http/http-error.service.mjs +0 -67
- package/esm2022/lib/shared/services/http/http.service.mjs +0 -95
- package/esm2022/lib/shared/services/jurisdiction/jurisdiction.service.mjs +0 -36
- package/esm2022/lib/shared/services/loading/loading.module.mjs +0 -22
- package/esm2022/lib/shared/services/loading/loading.service.mjs +0 -35
- package/esm2022/lib/shared/services/navigation/navigation-notifier.service.mjs +0 -16
- package/esm2022/lib/shared/services/order/order.service.mjs +0 -37
- package/esm2022/lib/shared/services/organisation/organisation.service.mjs +0 -57
- package/esm2022/lib/shared/services/profile/profile.notifier.mjs +0 -17
- package/esm2022/lib/shared/services/profile/profile.service.mjs +0 -36
- package/esm2022/lib/shared/services/request/request.options.builder.mjs +0 -61
- package/esm2022/lib/shared/services/router/router-helper.service.mjs +0 -20
- package/esm2022/lib/shared/services/search/search.service.mjs +0 -96
- package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +0 -71
- package/esm2022/lib/shared/services/session/session-storage.service.mjs +0 -34
- package/esm2022/lib/shared/services/utils/retry/retry.service.mjs +0 -87
- package/esm2022/lib/shared/services/window/window.service.mjs +0 -40
- package/esm2022/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +0 -57
- package/esm2022/lib/shared/test/test-route-snapshot-builder.mjs +0 -38
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +0 -36099
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
- /package/{esm2022 → esm2020}/hmcts-ccd-case-ui-toolkit.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/domain/notification-banner-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/notification-banner-style.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/notification-banner-type.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/body/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/footer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/form/date-input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/header-bar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/navigation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/phase/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/tabs/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/commons/case-edit-data/case-edit-validation.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/commons/case-edit-data/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/activity/activity-banner/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/activity/activity-icon/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/activity/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-create/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-confirm/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-page/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-submit/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-event-completion/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-progress/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-params.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-portal-types.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-states.enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/editor.routing.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/services/wizard-factory.service.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-header/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-history/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-list-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-timeline/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-basic-access-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-success/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-event-trigger/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-full-access-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-reject/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-success/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/printer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/printer/pipes/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/viewer.routing.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/create-case-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/delete-or-cancel-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/document-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/remove-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/save-or-discard-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/error/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/error/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/error-message/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/event-start-state-machine-context.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/event-start-states-enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-trigger/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/helpers/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/helpers/init-dialog-helper.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/loading-spinner/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/pagination/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/address/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/base-field/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/base-field/palette-context.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/shared/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/case-flag-state.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/case-flag.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/language.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-summary-list-display-mode.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-location-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/pipes/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-link/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/collection/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/complex/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/complex/sort-order.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/date/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/datetime-picker/datetime-picker-utils.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/datetime-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/document/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-multi-select-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-radio-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/email/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/fixed-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/fixed-radio-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/history/event-log/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/history/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/judicial-user/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/label/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/markdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/money-gbp/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/multi-select-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/number/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/order-summary/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/organisation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/payment/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/phone-uk/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/__mocks__/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/query-create-context.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/text/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/text-area/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/waystopay/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/yes-no/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/search-filters/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/search-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/search-result/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/workbasket-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/condition.peg.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/focus-element/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/substitutor/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/substitutor/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/activity/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/addresses/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/alert/alert-level.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/alert/alert-status-params.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-edit/case-edit.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-edit/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-flag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/access-types.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/case-view-event-ids.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/challenged-access-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/review-specific-access-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/role-assignment-response.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/role-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/service-org-response.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/specific-access-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/definition/display-context-enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/definition/field-type-enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/definition/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/document/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/error-message.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/http/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/jurisdiction/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/jurisdiction/judicial-user.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/order/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/order/orderable.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/organisation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/organisation/simple-organisation.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/predicate.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/profile/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/search/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/search/sorting/search-result-view-item-comparator.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/sort-order.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/user/user-details.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/user/user-info.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/Task.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/TaskPayload.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/case-worker.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/judicial-worker.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/task-response.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/task-search-parameter.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/wa-service-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/workbasket/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/fixture/shared.test.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/case-reference/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/case-title/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/complex/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/generic/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/link-cases-from-reason-code/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/link-cases-reason-code/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/activity/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/addresses/address-parser.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/addresses/address-type.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/addresses/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/auth/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/banners/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/browser/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-fields/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-file-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-flag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-flag/refdata-case-flag-type.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/definitions/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/document-management/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/draft/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/error/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/eventStatusService/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/fields/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/http/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/jurisdiction/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/loading/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/navigation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/navigation/navigation-origin.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/order/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/organisation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/profile/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/router/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/search/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/session/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/utils/retry/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/window/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/workbasket/index.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
|
@@ -0,0 +1,684 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { ChangeDetectorRef, Component, Input, NgZone, ViewChild } from '@angular/core';
|
|
3
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
5
|
+
import { MatLegacyTabGroup as MatTabGroup } from '@angular/material/legacy-tabs';
|
|
6
|
+
import { ActivatedRoute, NavigationEnd, Router } from '@angular/router';
|
|
7
|
+
import { plainToClass } from 'class-transformer';
|
|
8
|
+
import { RpxTranslatePipe } from 'rpx-xui-translation';
|
|
9
|
+
import { Subject } from 'rxjs';
|
|
10
|
+
import { filter } from 'rxjs/operators';
|
|
11
|
+
import { NotificationBannerHeaderClass, NotificationBannerType } from '../../../../components/banners/notification-banner';
|
|
12
|
+
import { ShowCondition } from '../../../directives';
|
|
13
|
+
import { CaseField, CaseView, DRAFT_QUERY_PARAM, DisplayMode, Draft } from '../../../domain';
|
|
14
|
+
import { CaseViewEventIds } from '../../../domain/case-view/case-view-event-ids.enum';
|
|
15
|
+
import { ActivityPollingService, AlertService, DraftService, ErrorNotifierService, FieldsUtils, NavigationNotifierService, NavigationOrigin, OrderService, SessionStorageService } from '../../../services';
|
|
16
|
+
import { ConvertHrefToRouterService } from '../../case-editor/services/convert-href-to-router.service';
|
|
17
|
+
import { DeleteOrCancelDialogComponent } from '../../dialogs';
|
|
18
|
+
import { initDialog } from '../../helpers';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
import * as i1 from "@angular/router";
|
|
21
|
+
import * as i2 from "../../../services";
|
|
22
|
+
import * as i3 from "@angular/material/legacy-dialog";
|
|
23
|
+
import * as i4 from "../../case-editor/services/convert-href-to-router.service";
|
|
24
|
+
import * as i5 from "@angular/common";
|
|
25
|
+
import * as i6 from "rpx-xui-translation";
|
|
26
|
+
const _c0 = ["tabGroup"];
|
|
27
|
+
function CaseFullAccessViewComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "h1", 12);
|
|
29
|
+
i0.ɵɵtext(2);
|
|
30
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(4, "div", 13)(5, "p");
|
|
33
|
+
i0.ɵɵtext(6);
|
|
34
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(8, "p")(9, "a", 14);
|
|
37
|
+
i0.ɵɵtext(10);
|
|
38
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵtext(12);
|
|
41
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
42
|
+
i0.ɵɵelementEnd()()();
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
i0.ɵɵadvance(2);
|
|
45
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 4, "Something went wrong"), " ");
|
|
46
|
+
i0.ɵɵadvance(4);
|
|
47
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 6, "We're working to fix the problem. Try again shortly."));
|
|
48
|
+
i0.ɵɵadvance(4);
|
|
49
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(11, 8, "Contact us"), "");
|
|
50
|
+
i0.ɵɵadvance(2);
|
|
51
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 10, "if you're still having problems."), " ");
|
|
52
|
+
} }
|
|
53
|
+
function CaseFullAccessViewComponent_div_1_ul_7_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
i0.ɵɵelementStart(0, "li");
|
|
55
|
+
i0.ɵɵtext(1);
|
|
56
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} if (rf & 2) {
|
|
59
|
+
const fieldError_r8 = ctx.$implicit;
|
|
60
|
+
i0.ɵɵadvance(1);
|
|
61
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, fieldError_r8.message), " ");
|
|
62
|
+
} }
|
|
63
|
+
function CaseFullAccessViewComponent_div_1_ul_7_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵelementStart(0, "ul", 17);
|
|
65
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_ul_7_li_1_Template, 3, 3, "li", 18);
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
} if (rf & 2) {
|
|
68
|
+
const ctx_r6 = i0.ɵɵnextContext(2);
|
|
69
|
+
i0.ɵɵadvance(1);
|
|
70
|
+
i0.ɵɵproperty("ngForOf", ctx_r6.error.details.field_errors);
|
|
71
|
+
} }
|
|
72
|
+
function CaseFullAccessViewComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "h2", 15);
|
|
74
|
+
i0.ɵɵtext(2);
|
|
75
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(4, "p");
|
|
78
|
+
i0.ɵɵtext(5);
|
|
79
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵtemplate(7, CaseFullAccessViewComponent_div_1_ul_7_Template, 2, 1, "ul", 16);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
} if (rf & 2) {
|
|
84
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
85
|
+
i0.ɵɵadvance(2);
|
|
86
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, "The callback data failed validation"), " ");
|
|
87
|
+
i0.ɵɵadvance(3);
|
|
88
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 5, ctx_r1.error.message));
|
|
89
|
+
i0.ɵɵadvance(2);
|
|
90
|
+
i0.ɵɵproperty("ngIf", ctx_r1.error.details == null ? null : ctx_r1.error.details.field_errors);
|
|
91
|
+
} }
|
|
92
|
+
function CaseFullAccessViewComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "a", 20);
|
|
94
|
+
i0.ɵɵtext(2);
|
|
95
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
96
|
+
i0.ɵɵelementEnd()();
|
|
97
|
+
} if (rf & 2) {
|
|
98
|
+
i0.ɵɵadvance(2);
|
|
99
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "Print"));
|
|
100
|
+
} }
|
|
101
|
+
function CaseFullAccessViewComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
+
const _r10 = i0.ɵɵgetCurrentView();
|
|
103
|
+
i0.ɵɵelementStart(0, "div", 4)(1, "ccd-event-trigger", 21);
|
|
104
|
+
i0.ɵɵlistener("onTriggerChange", function CaseFullAccessViewComponent_div_8_Template_ccd_event_trigger_onTriggerChange_1_listener() { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.clearErrorsAndWarnings()); })("onTriggerSubmit", function CaseFullAccessViewComponent_div_8_Template_ccd_event_trigger_onTriggerSubmit_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.applyTrigger($event)); });
|
|
105
|
+
i0.ɵɵelementEnd()();
|
|
106
|
+
} if (rf & 2) {
|
|
107
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
108
|
+
i0.ɵɵadvance(1);
|
|
109
|
+
i0.ɵɵproperty("isDisabled", ctx_r3.isTriggerButtonDisabled())("triggers", ctx_r3.caseDetails.triggers)("triggerText", ctx_r3.triggerText);
|
|
110
|
+
} }
|
|
111
|
+
function CaseFullAccessViewComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
112
|
+
const _r13 = i0.ɵɵgetCurrentView();
|
|
113
|
+
i0.ɵɵelementStart(0, "div", 3)(1, "div", 9)(2, "ccd-notification-banner", 22);
|
|
114
|
+
i0.ɵɵlistener("linkClicked", function CaseFullAccessViewComponent_div_9_Template_ccd_notification_banner_linkClicked_2_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r12.onLinkClicked($event)); });
|
|
115
|
+
i0.ɵɵelementEnd()()();
|
|
116
|
+
} if (rf & 2) {
|
|
117
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
118
|
+
i0.ɵɵadvance(2);
|
|
119
|
+
i0.ɵɵproperty("notificationBannerConfig", ctx_r4.notificationBannerConfig);
|
|
120
|
+
} }
|
|
121
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template(rf, ctx) { if (rf & 1) {
|
|
122
|
+
i0.ɵɵelement(0, "mat-tab", 26);
|
|
123
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
124
|
+
} if (rf & 2) {
|
|
125
|
+
const tab_r19 = ctx.$implicit;
|
|
126
|
+
i0.ɵɵproperty("id", tab_r19.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r19.label));
|
|
127
|
+
} }
|
|
128
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
129
|
+
i0.ɵɵelementStart(0, "th", 37)(1, "div", 38);
|
|
130
|
+
i0.ɵɵtext(2);
|
|
131
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
132
|
+
i0.ɵɵelementEnd()();
|
|
133
|
+
} if (rf & 2) {
|
|
134
|
+
const field_r24 = i0.ɵɵnextContext(2).$implicit;
|
|
135
|
+
i0.ɵɵadvance(2);
|
|
136
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 1, field_r24.label), "");
|
|
137
|
+
} }
|
|
138
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
139
|
+
i0.ɵɵelementStart(0, "tr");
|
|
140
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_th_1_Template, 4, 3, "th", 33);
|
|
141
|
+
i0.ɵɵelementStart(2, "td", 34)(3, "span", 35);
|
|
142
|
+
i0.ɵɵelement(4, "ccd-field-read", 36);
|
|
143
|
+
i0.ɵɵelementEnd()()();
|
|
144
|
+
} if (rf & 2) {
|
|
145
|
+
const field_r24 = i0.ɵɵnextContext().$implicit;
|
|
146
|
+
const ctx_r25 = i0.ɵɵnextContext(4);
|
|
147
|
+
i0.ɵɵadvance(1);
|
|
148
|
+
i0.ɵɵproperty("ngIf", !ctx_r25.isFieldToHaveNoLabel(field_r24));
|
|
149
|
+
i0.ɵɵadvance(1);
|
|
150
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r24.id);
|
|
151
|
+
i0.ɵɵadvance(2);
|
|
152
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r25.formGroup.controls["data"])("caseField", field_r24)("caseReference", ctx_r25.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r25.markdownUseHrefAsRouterLink);
|
|
153
|
+
} }
|
|
154
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
155
|
+
i0.ɵɵelementStart(0, "tr", 39)(1, "th", 34)(2, "span", 35);
|
|
156
|
+
i0.ɵɵelement(3, "ccd-field-read", 36);
|
|
157
|
+
i0.ɵɵelementEnd()()();
|
|
158
|
+
} if (rf & 2) {
|
|
159
|
+
const field_r24 = i0.ɵɵnextContext().$implicit;
|
|
160
|
+
const ctx_r26 = i0.ɵɵnextContext(4);
|
|
161
|
+
i0.ɵɵadvance(1);
|
|
162
|
+
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r24.id);
|
|
163
|
+
i0.ɵɵadvance(2);
|
|
164
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r26.formGroup.controls["data"])("caseField", field_r24)("caseReference", ctx_r26.caseDetails.case_id)("markdownUseHrefAsRouterLink", ctx_r26.markdownUseHrefAsRouterLink);
|
|
165
|
+
} }
|
|
166
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
167
|
+
i0.ɵɵelementContainerStart(0);
|
|
168
|
+
i0.ɵɵelementStart(1, "div", 29);
|
|
169
|
+
i0.ɵɵelementContainerStart(2, 30);
|
|
170
|
+
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
171
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_4_Template, 5, 6, "tr", 31);
|
|
172
|
+
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_tr_5_Template, 4, 5, "tr", 32);
|
|
173
|
+
i0.ɵɵelementContainerEnd();
|
|
174
|
+
i0.ɵɵelementEnd();
|
|
175
|
+
i0.ɵɵelementContainerEnd();
|
|
176
|
+
} if (rf & 2) {
|
|
177
|
+
const field_r24 = ctx.$implicit;
|
|
178
|
+
const ctx_r23 = i0.ɵɵnextContext(4);
|
|
179
|
+
i0.ɵɵadvance(1);
|
|
180
|
+
i0.ɵɵproperty("caseField", field_r24)("contextFields", ctx_r23.caseFields)("hidden", field_r24.hidden);
|
|
181
|
+
i0.ɵɵadvance(1);
|
|
182
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r24));
|
|
183
|
+
i0.ɵɵadvance(2);
|
|
184
|
+
i0.ɵɵproperty("ngSwitchCase", true);
|
|
185
|
+
i0.ɵɵadvance(1);
|
|
186
|
+
i0.ɵɵproperty("ngSwitchCase", false);
|
|
187
|
+
} }
|
|
188
|
+
const _c1 = function (a0, a4) { return [a0, false, undefined, true, a4]; };
|
|
189
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
190
|
+
i0.ɵɵelementStart(0, "table")(1, "caption", 28);
|
|
191
|
+
i0.ɵɵtext(2);
|
|
192
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
193
|
+
i0.ɵɵelementEnd();
|
|
194
|
+
i0.ɵɵelementStart(4, "tbody");
|
|
195
|
+
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_ng_container_5_Template, 6, 8, "ng-container", 18);
|
|
196
|
+
i0.ɵɵpipe(6, "ccdReadFieldsFilter");
|
|
197
|
+
i0.ɵɵpipe(7, "ccdTabFields");
|
|
198
|
+
i0.ɵɵelementEnd()();
|
|
199
|
+
} if (rf & 2) {
|
|
200
|
+
const tab_r20 = i0.ɵɵnextContext().$implicit;
|
|
201
|
+
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
202
|
+
i0.ɵɵclassMap(tab_r20.id);
|
|
203
|
+
i0.ɵɵadvance(2);
|
|
204
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 4, "case viewer table"));
|
|
205
|
+
i0.ɵɵadvance(3);
|
|
206
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBindV(6, 6, i0.ɵɵpureFunction2(14, _c1, i0.ɵɵpipeBind1(7, 12, tab_r20), ctx_r22.formGroup.controls["data"])));
|
|
207
|
+
} }
|
|
208
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template(rf, ctx) { if (rf & 1) {
|
|
209
|
+
i0.ɵɵelementStart(0, "mat-tab", 26);
|
|
210
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
211
|
+
i0.ɵɵtemplate(2, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_2_Template, 8, 17, "ng-template", 27);
|
|
212
|
+
i0.ɵɵelementEnd();
|
|
213
|
+
} if (rf & 2) {
|
|
214
|
+
const tab_r20 = ctx.$implicit;
|
|
215
|
+
i0.ɵɵproperty("id", tab_r20.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r20.label));
|
|
216
|
+
} }
|
|
217
|
+
function CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template(rf, ctx) { if (rf & 1) {
|
|
218
|
+
i0.ɵɵelement(0, "mat-tab", 26);
|
|
219
|
+
i0.ɵɵpipe(1, "rpxTranslate");
|
|
220
|
+
} if (rf & 2) {
|
|
221
|
+
const tab_r32 = ctx.$implicit;
|
|
222
|
+
i0.ɵɵproperty("id", tab_r32.id)("label", i0.ɵɵpipeBind1(1, 2, tab_r32.label));
|
|
223
|
+
} }
|
|
224
|
+
function CaseFullAccessViewComponent_ng_container_12_router_outlet_6_Template(rf, ctx) { if (rf & 1) {
|
|
225
|
+
i0.ɵɵelement(0, "router-outlet");
|
|
226
|
+
} }
|
|
227
|
+
function CaseFullAccessViewComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {
|
|
228
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
229
|
+
i0.ɵɵelementContainerStart(0);
|
|
230
|
+
i0.ɵɵelementStart(1, "mat-tab-group", 23, 24);
|
|
231
|
+
i0.ɵɵlistener("selectedIndexChange", function CaseFullAccessViewComponent_ng_container_12_Template_mat_tab_group_selectedIndexChange_1_listener($event) { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r33.tabChanged($event)); });
|
|
232
|
+
i0.ɵɵtemplate(3, CaseFullAccessViewComponent_ng_container_12_mat_tab_3_Template, 2, 4, "mat-tab", 25);
|
|
233
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_Template, 3, 4, "mat-tab", 25);
|
|
234
|
+
i0.ɵɵtemplate(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_5_Template, 2, 4, "mat-tab", 25);
|
|
235
|
+
i0.ɵɵelementEnd();
|
|
236
|
+
i0.ɵɵtemplate(6, CaseFullAccessViewComponent_ng_container_12_router_outlet_6_Template, 1, 0, "router-outlet", 10);
|
|
237
|
+
i0.ɵɵelementContainerEnd();
|
|
238
|
+
} if (rf & 2) {
|
|
239
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
240
|
+
i0.ɵɵadvance(1);
|
|
241
|
+
i0.ɵɵproperty("disableRipple", true)("selectedIndex", ctx_r5.selectedTabIndex);
|
|
242
|
+
i0.ɵɵadvance(2);
|
|
243
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.prependedTabs);
|
|
244
|
+
i0.ɵɵadvance(1);
|
|
245
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.sortedTabs);
|
|
246
|
+
i0.ɵɵadvance(1);
|
|
247
|
+
i0.ɵɵproperty("ngForOf", ctx_r5.appendedTabs);
|
|
248
|
+
i0.ɵɵadvance(1);
|
|
249
|
+
i0.ɵɵproperty("ngIf", ctx_r5.prependedTabs && ctx_r5.prependedTabs.length || ctx_r5.appendedTabs && ctx_r5.appendedTabs.length);
|
|
250
|
+
} }
|
|
251
|
+
export class CaseFullAccessViewComponent {
|
|
252
|
+
constructor(ngZone, route, router, navigationNotifierService, orderService, activityPollingService, dialog, alertService, draftService, errorNotifierService, convertHrefToRouterService, location, crf, sessionStorageService, rpxTranslationPipe) {
|
|
253
|
+
this.ngZone = ngZone;
|
|
254
|
+
this.route = route;
|
|
255
|
+
this.router = router;
|
|
256
|
+
this.navigationNotifierService = navigationNotifierService;
|
|
257
|
+
this.orderService = orderService;
|
|
258
|
+
this.activityPollingService = activityPollingService;
|
|
259
|
+
this.dialog = dialog;
|
|
260
|
+
this.alertService = alertService;
|
|
261
|
+
this.draftService = draftService;
|
|
262
|
+
this.errorNotifierService = errorNotifierService;
|
|
263
|
+
this.convertHrefToRouterService = convertHrefToRouterService;
|
|
264
|
+
this.location = location;
|
|
265
|
+
this.crf = crf;
|
|
266
|
+
this.sessionStorageService = sessionStorageService;
|
|
267
|
+
this.rpxTranslationPipe = rpxTranslationPipe;
|
|
268
|
+
this.HEARINGS_TAB_LABEL = 'Hearings';
|
|
269
|
+
this.hasPrint = true;
|
|
270
|
+
this.hasEventSelector = true;
|
|
271
|
+
this.prependedTabs = [];
|
|
272
|
+
this.appendedTabs = [];
|
|
273
|
+
this.BANNER = DisplayMode.BANNER;
|
|
274
|
+
this.triggerTextStart = CaseFullAccessViewComponent.TRIGGER_TEXT_START;
|
|
275
|
+
this.triggerTextIgnoreWarnings = CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE;
|
|
276
|
+
this.triggerText = CaseFullAccessViewComponent.TRIGGER_TEXT_START;
|
|
277
|
+
this.ignoreWarning = false;
|
|
278
|
+
this.selectedTabIndex = 0;
|
|
279
|
+
this.activeCaseFlags = false;
|
|
280
|
+
this.caseFlagsExternalUser = false;
|
|
281
|
+
this.caseFlagsReadExternalMode = '#ARGUMENT(READ,EXTERNAL)';
|
|
282
|
+
this.subs = [];
|
|
283
|
+
this.callbackErrorsSubject = new Subject();
|
|
284
|
+
}
|
|
285
|
+
ngOnInit() {
|
|
286
|
+
initDialog();
|
|
287
|
+
this.init();
|
|
288
|
+
this.callbackErrorsSubject.subscribe(errorEvent => {
|
|
289
|
+
this.error = errorEvent;
|
|
290
|
+
});
|
|
291
|
+
this.errorSubscription = this.errorNotifierService.error.subscribe(error => {
|
|
292
|
+
if (error && error.status !== 401 && error.status !== 403) {
|
|
293
|
+
this.error = error;
|
|
294
|
+
this.callbackErrorsSubject.next(this.error);
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
this.markdownUseHrefAsRouterLink = true;
|
|
298
|
+
this.sessionStorageService.removeItem('eventUrl');
|
|
299
|
+
this.subscription = this.convertHrefToRouterService.getHrefMarkdownLinkContent().subscribe((hrefMarkdownLinkContent) => {
|
|
300
|
+
// do not convert router with initial default value; convert to router only on updated link content
|
|
301
|
+
if (hrefMarkdownLinkContent !== 'Default') {
|
|
302
|
+
this.convertHrefToRouterService.callAngularRouter(hrefMarkdownLinkContent);
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
if (this.activityPollingService.isEnabled && !this.activitySubscription) {
|
|
306
|
+
this.ngZone.runOutsideAngular(() => {
|
|
307
|
+
this.activitySubscription = this.postViewActivity().subscribe();
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
this.checkRouteAndSetCaseViewTab();
|
|
311
|
+
// Check for active Case Flags
|
|
312
|
+
this.activeCaseFlags = this.hasActiveCaseFlags();
|
|
313
|
+
}
|
|
314
|
+
ngOnChanges(changes) {
|
|
315
|
+
if (changes && changes.prependedTabs && !changes.prependedTabs.firstChange) {
|
|
316
|
+
this.init();
|
|
317
|
+
this.crf.detectChanges();
|
|
318
|
+
this.organiseTabPosition();
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
isPrintEnabled() {
|
|
322
|
+
return this.caseDetails.case_type.printEnabled;
|
|
323
|
+
}
|
|
324
|
+
ngOnDestroy() {
|
|
325
|
+
if (this.activityPollingService.isEnabled) {
|
|
326
|
+
this.unsubscribe(this.activitySubscription);
|
|
327
|
+
}
|
|
328
|
+
if (!this.route.snapshot.data.case) {
|
|
329
|
+
this.unsubscribe(this.caseSubscription);
|
|
330
|
+
}
|
|
331
|
+
this.unsubscribe(this.callbackErrorsSubject);
|
|
332
|
+
this.unsubscribe(this.errorSubscription);
|
|
333
|
+
this.unsubscribe(this.subscription);
|
|
334
|
+
this.subs.forEach(s => s.unsubscribe());
|
|
335
|
+
}
|
|
336
|
+
unsubscribe(subscription) {
|
|
337
|
+
if (subscription) {
|
|
338
|
+
subscription.unsubscribe();
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
checkRouteAndSetCaseViewTab() {
|
|
342
|
+
this.subs.push(this.router.events
|
|
343
|
+
.pipe(filter((event) => event instanceof NavigationEnd))
|
|
344
|
+
.subscribe((event) => {
|
|
345
|
+
const url = event && event.url;
|
|
346
|
+
if (url) {
|
|
347
|
+
const tabUrl = url ? url.split('#') : null;
|
|
348
|
+
const tab = tabUrl && tabUrl.length > 1 ? tabUrl[tabUrl.length - 1].replaceAll('%20', ' ') : '';
|
|
349
|
+
const matTab = this.tabGroup._tabs.find((x) => x.textLabel.toLowerCase() === tab.toLowerCase());
|
|
350
|
+
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
351
|
+
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
352
|
+
if (matTab?.position) {
|
|
353
|
+
this.tabGroup.selectedIndex = matTab.position;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}));
|
|
357
|
+
}
|
|
358
|
+
postViewActivity() {
|
|
359
|
+
return this.activityPollingService.postViewActivity(this.caseDetails.case_id);
|
|
360
|
+
}
|
|
361
|
+
clearErrorsAndWarnings() {
|
|
362
|
+
this.resetErrors();
|
|
363
|
+
this.ignoreWarning = false;
|
|
364
|
+
this.triggerText = CaseFullAccessViewComponent.TRIGGER_TEXT_START;
|
|
365
|
+
}
|
|
366
|
+
async applyTrigger(trigger) {
|
|
367
|
+
this.error = null;
|
|
368
|
+
const theQueryParams = {};
|
|
369
|
+
if (this.ignoreWarning) {
|
|
370
|
+
theQueryParams['ignoreWarning'] = this.ignoreWarning;
|
|
371
|
+
}
|
|
372
|
+
// we may need to take care of different triggers in the future
|
|
373
|
+
if (trigger.id === CaseViewEventIds.QueryManagementRaiseQuery) {
|
|
374
|
+
await this.router.navigate([`/query-management/query/${this.caseDetails.case_id}`]);
|
|
375
|
+
}
|
|
376
|
+
else if (trigger.id === CaseViewEventIds.DELETE) {
|
|
377
|
+
const dialogRef = this.dialog.open(DeleteOrCancelDialogComponent, this.dialogConfig);
|
|
378
|
+
dialogRef.afterClosed().subscribe(result => {
|
|
379
|
+
if (result === 'Delete') {
|
|
380
|
+
this.draftService.deleteDraft(this.caseDetails.case_id)
|
|
381
|
+
.subscribe(_ => {
|
|
382
|
+
this.navigationNotifierService.announceNavigation({ action: NavigationOrigin.DRAFT_DELETED });
|
|
383
|
+
}, _ => {
|
|
384
|
+
this.navigationNotifierService.announceNavigation({ action: NavigationOrigin.ERROR_DELETING_DRAFT });
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
else if (this.isDraft() && trigger.id !== CaseViewEventIds.DELETE) {
|
|
390
|
+
theQueryParams[DRAFT_QUERY_PARAM] = this.caseDetails.case_id;
|
|
391
|
+
theQueryParams[CaseFullAccessViewComponent.ORIGIN_QUERY_PARAM] = 'viewDraft';
|
|
392
|
+
this.navigationNotifierService.announceNavigation({
|
|
393
|
+
action: NavigationOrigin.DRAFT_RESUMED,
|
|
394
|
+
jid: this.caseDetails.case_type.jurisdiction.id,
|
|
395
|
+
ctid: this.caseDetails.case_type.id,
|
|
396
|
+
etid: trigger.id,
|
|
397
|
+
queryParams: theQueryParams
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
else {
|
|
401
|
+
this.navigationNotifierService.announceNavigation({
|
|
402
|
+
action: NavigationOrigin.EVENT_TRIGGERED,
|
|
403
|
+
queryParams: theQueryParams,
|
|
404
|
+
etid: trigger.id,
|
|
405
|
+
relativeTo: this.route
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
hasTabsPresent() {
|
|
410
|
+
return this.sortedTabs.length > 0 || this.prependedTabs.length > 0 || this.appendedTabs.length > 0;
|
|
411
|
+
}
|
|
412
|
+
callbackErrorsNotify(callbackErrorsContext) {
|
|
413
|
+
this.ignoreWarning = callbackErrorsContext.ignoreWarning;
|
|
414
|
+
this.triggerText = callbackErrorsContext.triggerText;
|
|
415
|
+
}
|
|
416
|
+
isDraft() {
|
|
417
|
+
return Draft.isDraft(this.caseDetails.case_id);
|
|
418
|
+
}
|
|
419
|
+
isTriggerButtonDisabled() {
|
|
420
|
+
return (this.error
|
|
421
|
+
&& this.error.callbackErrors
|
|
422
|
+
&& this.error.callbackErrors.length)
|
|
423
|
+
|| (this.error
|
|
424
|
+
&& this.error.details
|
|
425
|
+
&& this.error.details.field_errors
|
|
426
|
+
&& this.error.details.field_errors.length);
|
|
427
|
+
}
|
|
428
|
+
organiseTabPosition() {
|
|
429
|
+
let matTab;
|
|
430
|
+
const url = this.location.path(true);
|
|
431
|
+
let hashValue = url.substring(url.indexOf('#') + 1);
|
|
432
|
+
if (!url.includes('#') && !url.includes('roles-and-access') && !url.includes('tasks') && !url.includes('hearings')) {
|
|
433
|
+
const paths = url.split('/');
|
|
434
|
+
// lastPath can be /caseId, or the tabs /tasks, /hearings etc.
|
|
435
|
+
const lastPath = decodeURIComponent(paths[paths.length - 1]);
|
|
436
|
+
let foundTab = null;
|
|
437
|
+
if (!this.prependedTabs) {
|
|
438
|
+
this.prependedTabs = [];
|
|
439
|
+
}
|
|
440
|
+
const additionalTabs = [...this.prependedTabs, ...this.appendedTabs];
|
|
441
|
+
if (additionalTabs && additionalTabs.length) {
|
|
442
|
+
foundTab = additionalTabs.find((caseTab) => caseTab.id.toLowerCase() === lastPath.toLowerCase());
|
|
443
|
+
}
|
|
444
|
+
// found tasks or hearing tab
|
|
445
|
+
if (foundTab) {
|
|
446
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id, foundTab.id]).then(() => {
|
|
447
|
+
matTab = this.tabGroup._tabs.find((x) => x.textLabel === foundTab.label);
|
|
448
|
+
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
449
|
+
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
450
|
+
if (matTab?.position) {
|
|
451
|
+
this.tabGroup.selectedIndex = matTab.position;
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
// last path is caseId
|
|
455
|
+
}
|
|
456
|
+
else {
|
|
457
|
+
// sort with the order of CCD predefined tabs
|
|
458
|
+
this.caseDetails.tabs.sort((aTab, bTab) => aTab.order > bTab.order ? 1 : (bTab.order > aTab.order ? -1 : 0));
|
|
459
|
+
// preselect the 1st order of CCD predefined tabs
|
|
460
|
+
const preSelectTab = this.caseDetails.tabs[0];
|
|
461
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: preSelectTab.label }).then(() => {
|
|
462
|
+
matTab = this.tabGroup._tabs.find((x) => x.textLabel === preSelectTab.label);
|
|
463
|
+
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
464
|
+
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
465
|
+
if (matTab?.position) {
|
|
466
|
+
this.tabGroup.selectedIndex = matTab.position;
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
472
|
+
const regExp = new RegExp(CaseFullAccessViewComponent.UNICODE_SPACE, 'g');
|
|
473
|
+
hashValue = hashValue.replace(regExp, CaseFullAccessViewComponent.EMPTY_SPACE);
|
|
474
|
+
if (hashValue.includes('hearings')) {
|
|
475
|
+
hashValue = 'hearings';
|
|
476
|
+
}
|
|
477
|
+
else {
|
|
478
|
+
if (hashValue.includes('roles-and-access') || hashValue.includes('tasks')) {
|
|
479
|
+
hashValue = hashValue.includes('roles-and-access') ? 'roles and access' : 'tasks';
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
matTab = this.tabGroup._tabs.find((x) => x.textLabel.replace(CaseFullAccessViewComponent.EMPTY_SPACE, '').toLowerCase() ===
|
|
483
|
+
hashValue.replace(CaseFullAccessViewComponent.EMPTY_SPACE, '').toLowerCase());
|
|
484
|
+
// Update selectedIndex only if matTab.position is a non-zero number (positive or negative); this means the
|
|
485
|
+
// matTab is not already selected (position is relative; positive = right, negative = left) or it would be 0
|
|
486
|
+
if (matTab?.position) {
|
|
487
|
+
this.tabGroup.selectedIndex = matTab.position;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
// Refactored under EXUI-110 to address infinite tab loop to use tabIndexChanged instead
|
|
492
|
+
tabChanged(tabIndexChanged) {
|
|
493
|
+
const matTab = this.tabGroup._tabs.find(tab => tab.isActive);
|
|
494
|
+
const tabLabel = matTab.textLabel;
|
|
495
|
+
// sortedTabs are fragments
|
|
496
|
+
// appended/prepepended tabs use router navigation
|
|
497
|
+
if ((tabIndexChanged <= 1 && this.prependedTabs && this.prependedTabs.length) ||
|
|
498
|
+
(this.appendedTabs?.length && (tabLabel === this.HEARINGS_TAB_LABEL
|
|
499
|
+
|| tabLabel === this.rpxTranslationPipe.transform(this.HEARINGS_TAB_LABEL)))) {
|
|
500
|
+
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
501
|
+
const tab = matTab['_viewContainerRef'];
|
|
502
|
+
const id = tab.element.nativeElement.id;
|
|
503
|
+
// cases/case-details/:caseId/hearings
|
|
504
|
+
// cases/case-details/:caseId/roles-and-access
|
|
505
|
+
this.router.navigate([id], { relativeTo: this.route });
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
// Routing here is based on tab label, not ideal
|
|
509
|
+
// cases/case-details/:caseId#tabLabel
|
|
510
|
+
this.router.navigate(['cases', 'case-details', this.caseDetails.case_id], { fragment: tabLabel });
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
onLinkClicked(triggerOutputEventText) {
|
|
514
|
+
// Get the *absolute* (not relative) index of the target tab and set as the active tab, using the selectedIndex input
|
|
515
|
+
// of mat-tab-group (bound to selectedTabIndex)
|
|
516
|
+
const targetTabIndex = this.tabGroup._tabs.toArray().findIndex(tab => tab.textLabel === triggerOutputEventText);
|
|
517
|
+
if (targetTabIndex > -1) {
|
|
518
|
+
this.selectedTabIndex = targetTabIndex;
|
|
519
|
+
this.tabGroup.selectedIndex = targetTabIndex;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
hasActiveCaseFlags() {
|
|
523
|
+
// Determine which tab contains the FlagLauncher CaseField type, from the CaseView object in the snapshot data
|
|
524
|
+
const caseFlagsTab = this.caseDetails.tabs
|
|
525
|
+
? (this.caseDetails.tabs).filter(tab => tab.fields && tab.fields.some(caseField => FieldsUtils.isFlagLauncherCaseField(caseField)))[0]
|
|
526
|
+
: null;
|
|
527
|
+
if (caseFlagsTab) {
|
|
528
|
+
// Check whether the FlagLauncher CaseField is in external mode or not; the notification banner should not be
|
|
529
|
+
// displayed for external users
|
|
530
|
+
this.caseFlagsExternalUser = caseFlagsTab.fields.find(caseField => FieldsUtils.isFlagLauncherCaseField(caseField)).display_context_parameter === this.caseFlagsReadExternalMode;
|
|
531
|
+
// Get the active case flags count
|
|
532
|
+
// Cannot filter out anything other than to remove the FlagLauncher CaseField because Flags fields may be
|
|
533
|
+
// contained in other CaseField instances, either as a sub-field of a Complex field, or fields in a collection
|
|
534
|
+
// (or sub-fields of Complex fields in a collection)
|
|
535
|
+
const activeCaseFlags = caseFlagsTab.fields
|
|
536
|
+
.filter(caseField => !FieldsUtils.isFlagLauncherCaseField(caseField) && caseField.value)
|
|
537
|
+
.reduce((active, caseFlag) => {
|
|
538
|
+
return FieldsUtils.countActiveFlagsInCaseField(active, caseFlag);
|
|
539
|
+
}, 0);
|
|
540
|
+
if (activeCaseFlags > 0) {
|
|
541
|
+
const description = activeCaseFlags > 1
|
|
542
|
+
? `There are ${activeCaseFlags} active flags on this case.` : 'There is 1 active flag on this case.';
|
|
543
|
+
// Initialise and display notification banner
|
|
544
|
+
this.notificationBannerConfig = {
|
|
545
|
+
bannerType: NotificationBannerType.INFORMATION,
|
|
546
|
+
headingText: 'Important',
|
|
547
|
+
description,
|
|
548
|
+
showLink: true,
|
|
549
|
+
linkText: 'View case flags',
|
|
550
|
+
triggerOutputEvent: true,
|
|
551
|
+
triggerOutputEventText: caseFlagsTab.label,
|
|
552
|
+
headerClass: NotificationBannerHeaderClass.INFORMATION
|
|
553
|
+
};
|
|
554
|
+
return true;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
return false;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Indicates that a CaseField is to be displayed without a label, as is expected for all ComponentLauncher-type
|
|
561
|
+
* fields.
|
|
562
|
+
* @param caseField The `CaseField` instance to check
|
|
563
|
+
* @returns `true` if it should not have a label; `false` otherwise
|
|
564
|
+
*/
|
|
565
|
+
isFieldToHaveNoLabel(caseField) {
|
|
566
|
+
return caseField.field_type.type === 'ComponentLauncher'
|
|
567
|
+
&& caseField.display_context_parameter === '#ARGUMENT(CaseFileView)';
|
|
568
|
+
}
|
|
569
|
+
init() {
|
|
570
|
+
// Clone and sort tabs array
|
|
571
|
+
this.sortedTabs = this.orderService.sort(this.caseDetails.tabs);
|
|
572
|
+
this.caseFields = this.getTabFields();
|
|
573
|
+
this.sortedTabs = this.sortTabFieldsAndFilterTabs(this.sortedTabs);
|
|
574
|
+
this.formGroup = this.buildFormGroup(this.caseFields);
|
|
575
|
+
if (this.caseDetails.triggers && this.error) {
|
|
576
|
+
this.resetErrors();
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
sortTabFieldsAndFilterTabs(tabs) {
|
|
580
|
+
return tabs
|
|
581
|
+
.map(tab => Object.assign({}, tab, { fields: this.orderService.sort(tab.fields) }))
|
|
582
|
+
.filter(tab => ShowCondition.getInstance(tab.show_condition).matchByContextFields(this.caseFields));
|
|
583
|
+
}
|
|
584
|
+
getTabFields() {
|
|
585
|
+
const caseDataFields = this.sortedTabs.reduce((acc, tab) => {
|
|
586
|
+
return acc.concat(plainToClass(CaseField, tab.fields));
|
|
587
|
+
}, []);
|
|
588
|
+
return caseDataFields.concat(this.caseDetails.metadataFields);
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* For EUI-3825:
|
|
592
|
+
* Builds a FormGroup from all the CaseFields contained within the view.
|
|
593
|
+
* This FormGroup is necessary for evaluation the show/hide conditions of
|
|
594
|
+
* fields that are dependent on a field only available on a DIFFERENT tab.
|
|
595
|
+
*/
|
|
596
|
+
buildFormGroup(caseFields) {
|
|
597
|
+
let value = {};
|
|
598
|
+
if (caseFields) {
|
|
599
|
+
caseFields.forEach(caseField => {
|
|
600
|
+
value = {
|
|
601
|
+
...value,
|
|
602
|
+
[caseField.id]: caseField.value
|
|
603
|
+
};
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
return new FormGroup({ data: new FormControl(value) });
|
|
607
|
+
}
|
|
608
|
+
resetErrors() {
|
|
609
|
+
this.error = null;
|
|
610
|
+
this.callbackErrorsSubject.next(null);
|
|
611
|
+
this.alertService.clear();
|
|
612
|
+
}
|
|
613
|
+
getUrlFragment(url) {
|
|
614
|
+
return url.split('#')[url.split('#').length - 1];
|
|
615
|
+
}
|
|
616
|
+
getTabIndexByTabLabel(tabGroup, tabLabel) {
|
|
617
|
+
return tabGroup._tabs.toArray().findIndex((t) => t.textLabel.toLowerCase() === tabLabel.toLowerCase());
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
CaseFullAccessViewComponent.ORIGIN_QUERY_PARAM = 'origin';
|
|
621
|
+
CaseFullAccessViewComponent.TRIGGER_TEXT_START = 'Go';
|
|
622
|
+
CaseFullAccessViewComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Go';
|
|
623
|
+
CaseFullAccessViewComponent.UNICODE_SPACE = '%20';
|
|
624
|
+
CaseFullAccessViewComponent.EMPTY_SPACE = ' ';
|
|
625
|
+
CaseFullAccessViewComponent.ɵfac = function CaseFullAccessViewComponent_Factory(t) { return new (t || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i1.Router), i0.ɵɵdirectiveInject(i2.NavigationNotifierService), i0.ɵɵdirectiveInject(i2.OrderService), i0.ɵɵdirectiveInject(i2.ActivityPollingService), i0.ɵɵdirectiveInject(i3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.AlertService), i0.ɵɵdirectiveInject(i2.DraftService), i0.ɵɵdirectiveInject(i2.ErrorNotifierService), i0.ɵɵdirectiveInject(i4.ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i5.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.SessionStorageService), i0.ɵɵdirectiveInject(i6.RpxTranslatePipe)); };
|
|
626
|
+
CaseFullAccessViewComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
627
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
628
|
+
} if (rf & 2) {
|
|
629
|
+
let _t;
|
|
630
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
631
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [3, "caseId", "displayMode"], [1, "grid-row"], [1, "column-one-half"], [3, "caseDetails"], ["class", "case-viewer-controls", 4, "ngIf"], ["class", "column-one-half", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "column-full"], [4, "ngIf"], ["role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 1, "error-summary"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h1", "error-summary-heading"], ["id", "edit-case-event_error-summary-body", 1, "govuk-error-summary__body"], ["href", "get-help", "target", "_blank"], ["id", "edit-case-event_error-summary-heading", 1, "heading-h2", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], [4, "ngFor", "ngForOf"], [1, "case-viewer-controls"], ["id", "case-viewer-control-print", "routerLink", "print", 1, "button", "button-secondary"], [3, "isDisabled", "triggers", "triggerText", "onTriggerChange", "onTriggerSubmit"], [3, "notificationBannerConfig", "linkClicked"], ["animationDuration", "0ms", 3, "disableRipple", "selectedIndex", "selectedIndexChange"], ["tabGroup", ""], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label"], ["matTabContent", ""], [1, "hide-table-capion"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-field-label", 4, "ngIf"], ["scope", "col", 3, "id"], [1, "text-16"], [3, "topLevelFormGroup", "caseField", "caseReference", "markdownUseHrefAsRouterLink"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
632
|
+
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 0);
|
|
633
|
+
i0.ɵɵtemplate(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 0);
|
|
634
|
+
i0.ɵɵelementStart(2, "ccd-callback-errors", 1);
|
|
635
|
+
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
636
|
+
i0.ɵɵelementEnd();
|
|
637
|
+
i0.ɵɵelement(3, "ccd-activity", 2);
|
|
638
|
+
i0.ɵɵelementStart(4, "div", 3)(5, "div", 4);
|
|
639
|
+
i0.ɵɵelement(6, "ccd-case-header", 5);
|
|
640
|
+
i0.ɵɵtemplate(7, CaseFullAccessViewComponent_div_7_Template, 4, 3, "div", 6);
|
|
641
|
+
i0.ɵɵelementEnd();
|
|
642
|
+
i0.ɵɵtemplate(8, CaseFullAccessViewComponent_div_8_Template, 2, 3, "div", 7);
|
|
643
|
+
i0.ɵɵelementEnd();
|
|
644
|
+
i0.ɵɵtemplate(9, CaseFullAccessViewComponent_div_9_Template, 3, 1, "div", 8);
|
|
645
|
+
i0.ɵɵelementStart(10, "div", 3)(11, "div", 9);
|
|
646
|
+
i0.ɵɵtemplate(12, CaseFullAccessViewComponent_ng_container_12_Template, 7, 6, "ng-container", 10);
|
|
647
|
+
i0.ɵɵelementEnd()();
|
|
648
|
+
} if (rf & 2) {
|
|
649
|
+
i0.ɵɵproperty("ngIf", ctx.error && !(ctx.error.callbackErrors || ctx.error.callbackWarnings || ctx.error.details));
|
|
650
|
+
i0.ɵɵadvance(1);
|
|
651
|
+
i0.ɵɵproperty("ngIf", ctx.error && ctx.error.details);
|
|
652
|
+
i0.ɵɵadvance(1);
|
|
653
|
+
i0.ɵɵproperty("triggerTextContinue", ctx.triggerTextStart)("triggerTextIgnore", ctx.triggerTextIgnoreWarnings)("callbackErrorsSubject", ctx.callbackErrorsSubject);
|
|
654
|
+
i0.ɵɵadvance(1);
|
|
655
|
+
i0.ɵɵproperty("caseId", ctx.caseDetails.case_id)("displayMode", ctx.BANNER);
|
|
656
|
+
i0.ɵɵadvance(3);
|
|
657
|
+
i0.ɵɵproperty("caseDetails", ctx.caseDetails);
|
|
658
|
+
i0.ɵɵadvance(1);
|
|
659
|
+
i0.ɵɵproperty("ngIf", ctx.hasPrint && !ctx.isDraft() && ctx.isPrintEnabled());
|
|
660
|
+
i0.ɵɵadvance(1);
|
|
661
|
+
i0.ɵɵproperty("ngIf", ctx.hasEventSelector);
|
|
662
|
+
i0.ɵɵadvance(1);
|
|
663
|
+
i0.ɵɵproperty("ngIf", ctx.activeCaseFlags && !ctx.caseFlagsExternalUser);
|
|
664
|
+
i0.ɵɵadvance(3);
|
|
665
|
+
i0.ɵɵproperty("ngIf", ctx.hasTabsPresent());
|
|
666
|
+
} }, styles: ["th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}.markdown[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:0}.hide-table-capion[_ngcontent-%COMP%]{position:absolute;visibility:hidden}"] });
|
|
667
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
668
|
+
type: Component,
|
|
669
|
+
args: [{ selector: 'ccd-case-full-access-view', template: "<!-- Generic error heading and error message to be displayed only if there are no specific callback errors or warnings, or no error details -->\n<div *ngIf=\"error && !(error.callbackErrors || error.callbackWarnings || error.details)\" class=\"error-summary\"\n role=\"group\" aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h1 class=\"heading-h1 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'Something went wrong' | rpxTranslate}}\n </h1>\n <div class=\"govuk-error-summary__body\" id=\"edit-case-event_error-summary-body\">\n <p>{{\"We're working to fix the problem. Try again shortly.\" | rpxTranslate}}</p>\n <p>\n <a href=\"get-help\" target=\"_blank\">\n {{\"Contact us\" | rpxTranslate}}</a> {{\"if you're still having problems.\" | rpxTranslate}}\n </p>\n </div>\n</div>\n<!-- Callback error heading and error message to be displayed if there are specific error details -->\n<div *ngIf=\"error && error.details\" class=\"error-summary\" role=\"group\"\n aria-labelledby=\"edit-case-event_error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-h2 error-summary-heading\" id=\"edit-case-event_error-summary-heading\">\n {{'The callback data failed validation' | rpxTranslate}}\n </h2>\n <p>{{error.message | rpxTranslate}}</p>\n <ul *ngIf=\"error.details?.field_errors\" class=\"error-summary-list\">\n <li *ngFor=\"let fieldError of error.details.field_errors\">\n {{fieldError.message | rpxTranslate}}\n </li>\n </ul>\n</div>\n<ccd-callback-errors\n [triggerTextContinue]=\"triggerTextStart\"\n [triggerTextIgnore]=\"triggerTextIgnoreWarnings\"\n [callbackErrorsSubject]=\"callbackErrorsSubject\"\n (callbackErrorsContext)=\"callbackErrorsNotify($event)\">\n</ccd-callback-errors>\n<ccd-activity [caseId]=\"caseDetails.case_id\" [displayMode]=\"BANNER\"></ccd-activity>\n<div class=\"grid-row\">\n <div class=\"column-one-half\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <div class=\"case-viewer-controls\" *ngIf=\"hasPrint && !isDraft() && isPrintEnabled()\">\n <a id=\"case-viewer-control-print\" routerLink=\"print\" class=\"button button-secondary\">{{'Print' | rpxTranslate}}</a>\n </div>\n </div>\n <div *ngIf=\"hasEventSelector\" class=\"column-one-half\">\n <ccd-event-trigger [isDisabled]=\"isTriggerButtonDisabled()\" [triggers]=\"caseDetails.triggers\"\n [triggerText]=\"triggerText\" (onTriggerChange)=\"clearErrorsAndWarnings()\"\n (onTriggerSubmit)=\"applyTrigger($event)\"></ccd-event-trigger>\n </div>\n</div>\n<div class=\"grid-row\" *ngIf=\"activeCaseFlags && !caseFlagsExternalUser\">\n <div class=\"column-full\">\n <ccd-notification-banner [notificationBannerConfig]=\"notificationBannerConfig\" (linkClicked)=\"onLinkClicked($event)\">\n </ccd-notification-banner>\n </div>\n</div>\n<div class=\"grid-row\">\n <div class=\"column-full\">\n <ng-container *ngIf=\"hasTabsPresent()\">\n <mat-tab-group #tabGroup animationDuration=\"0ms\" (selectedIndexChange)=\"tabChanged($event)\" [disableRipple]=\"true\"\n [selectedIndex]=\"selectedTabIndex\">\n <mat-tab *ngFor=\"let tab of prependedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n <mat-tab *ngFor=\"let tab of sortedTabs; let curIdx=index\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n <ng-template matTabContent>\n <table [class]=\"tab.id\">\n <caption class=\"hide-table-capion\">{{'case viewer table' | rpxTranslate}}</caption>\n <tbody>\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true : formGroup.controls['data']\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"caseFields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th id=\"case-viewer-field-label\" *ngIf=\"!isFieldToHaveNoLabel(field)\">\n <div class=\"case-viewer-label text-16\">\n {{field.label | rpxTranslate}}</div>\n </th>\n <td [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <th [id]=\"'case-viewer-field-read--' + field.id\" scope=\"col\">\n <span class=\"text-16\">\n <ccd-field-read [topLevelFormGroup]=\"formGroup.controls['data']\"\n [caseField]=\"field\" [caseReference]=\"caseDetails.case_id\"\n [markdownUseHrefAsRouterLink]=\"markdownUseHrefAsRouterLink\">\n </ccd-field-read>\n </span>\n </th>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n </mat-tab-group>\n <router-outlet *ngIf=\"(prependedTabs && prependedTabs.length) || (appendedTabs && appendedTabs.length)\"></router-outlet>\n </ng-container>\n </div>\n</div>\n", styles: ["th{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
670
|
+
}], function () { return [{ type: i0.NgZone }, { type: i1.ActivatedRoute }, { type: i1.Router }, { type: i2.NavigationNotifierService }, { type: i2.OrderService }, { type: i2.ActivityPollingService }, { type: i3.MatLegacyDialog }, { type: i2.AlertService }, { type: i2.DraftService }, { type: i2.ErrorNotifierService }, { type: i4.ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: i2.SessionStorageService }, { type: i6.RpxTranslatePipe }]; }, { hasPrint: [{
|
|
671
|
+
type: Input
|
|
672
|
+
}], hasEventSelector: [{
|
|
673
|
+
type: Input
|
|
674
|
+
}], caseDetails: [{
|
|
675
|
+
type: Input
|
|
676
|
+
}], prependedTabs: [{
|
|
677
|
+
type: Input
|
|
678
|
+
}], appendedTabs: [{
|
|
679
|
+
type: Input
|
|
680
|
+
}], tabGroup: [{
|
|
681
|
+
type: ViewChild,
|
|
682
|
+
args: ['tabGroup', { static: false }]
|
|
683
|
+
}] }); })();
|
|
684
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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gICBbY2FzZUZpZWxkXT1cImZpZWxkXCIgW2Nhc2VSZWZlcmVuY2VdPVwiY2FzZURldGFpbHMuY2FzZV9pZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbWFya2Rvd25Vc2VIcmVmQXNSb3V0ZXJMaW5rXT1cIm1hcmtkb3duVXNlSHJlZkFzUm91dGVyTGlua1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICA8L2NjZC1maWVsZC1yZWFkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgICAgICAgIDx0ciAqbmdTd2l0Y2hDYXNlPVwiZmFsc2VcIiBjbGFzcz1cImNvbXBvdW5kLWZpZWxkXCI+XG4gICAgICAgICAgICAgICAgICAgICAgPHRoIFtpZF09XCInY2FzZS12aWV3ZXItZmllbGQtcmVhZC0tJyArIGZpZWxkLmlkXCIgc2NvcGU9XCJjb2xcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwidGV4dC0xNlwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICA8Y2NkLWZpZWxkLXJlYWQgW3RvcExldmVsRm9ybUdyb3VwXT1cImZvcm1Hcm91cC5jb250cm9sc1snZGF0YSddXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjYXNlRmllbGRdPVwiZmllbGRcIiBbY2FzZVJlZmVyZW5jZV09XCJjYXNlRGV0YWlscy5jYXNlX2lkXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFttYXJrZG93blVzZUhyZWZBc1JvdXRlckxpbmtdPVwibWFya2Rvd25Vc2VIcmVmQXNSb3V0ZXJMaW5rXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDwvY2NkLWZpZWxkLXJlYWQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgPC90Ym9keT5cbiAgICAgICAgICAgIDwvdGFibGU+XG4gICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgPC9tYXQtdGFiPlxuICAgICAgICA8bWF0LXRhYiAqbmdGb3I9XCJsZXQgdGFiIG9mIGFwcGVuZGVkVGFic1wiIFtpZF09XCJ0YWIuaWRcIiBbbGFiZWxdPVwidGFiLmxhYmVsIHwgcnB4VHJhbnNsYXRlXCI+XG4gICAgICAgIDwvbWF0LXRhYj5cbiAgICAgIDwvbWF0LXRhYi1ncm91cD5cbiAgICAgIDxyb3V0ZXItb3V0bGV0ICpuZ0lmPVwiKHByZXBlbmRlZFRhYnMgJiYgcHJlcGVuZGVkVGFicy5sZW5ndGgpIHx8IChhcHBlbmRlZFRhYnMgJiYgYXBwZW5kZWRUYWJzLmxlbmd0aClcIj48L3JvdXRlci1vdXRsZXQ+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|