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