@hmcts/ccd-case-ui-toolkit 7.1.56 → 7.1.57-angular-upgrade-rc1
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 +2 -1
- package/esm2022/lib/components/banners/alert/alert-icon-class.pipe.mjs +2 -2
- package/esm2022/lib/components/banners/alert/alert.component.mjs +2 -2
- package/esm2022/lib/components/banners/alert/alert.module.mjs +2 -2
- package/esm2022/lib/components/banners/banners.module.mjs +2 -2
- package/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +2 -2
- package/esm2022/lib/components/banners/notification-banner/notification-banner.module.mjs +2 -2
- package/esm2022/lib/components/body/body.component.mjs +2 -2
- package/esm2022/lib/components/body/body.module.mjs +2 -2
- package/esm2022/lib/components/footer/footer.component.mjs +2 -2
- package/esm2022/lib/components/footer/footers.module.mjs +2 -2
- package/esm2022/lib/components/form/date-input/date-input.component.mjs +2 -2
- package/esm2022/lib/components/form/form.module.mjs +2 -2
- package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +5 -6
- package/esm2022/lib/components/header/headers.module.mjs +2 -2
- package/esm2022/lib/components/header/navigation/navigation-item.component.mjs +2 -2
- package/esm2022/lib/components/header/navigation/navigation.component.mjs +2 -2
- package/esm2022/lib/components/header/phase/phase.component.mjs +2 -2
- package/esm2022/lib/components/tabs/tab.component.mjs +2 -2
- package/esm2022/lib/components/tabs/tabs.component.mjs +2 -2
- package/esm2022/lib/components/tabs/tabs.module.mjs +2 -2
- package/esm2022/lib/shared/commons/address-validation-constants.mjs +2 -2
- package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +2 -2
- package/esm2022/lib/shared/commons/constants.mjs +2 -2
- package/esm2022/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +2 -2
- package/esm2022/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +2 -2
- package/esm2022/lib/shared/components/activity/activity.component.mjs +2 -2
- package/esm2022/lib/shared/components/activity/activity.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-create/case-create.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-editor.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/case-flag-state.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/case-worker.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/case.notifier.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/cases.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/event-trigger.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/judicial-worker.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/page-validation.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +2 -2
- package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-header/case-header.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-header/case-header.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-history/case-history.component.mjs +4 -4
- package/esm2022/lib/shared/components/case-history/case-history.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-history/services/case-history.service.mjs +2 -2
- package/esm2022/lib/shared/components/case-list/case-list.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-list/case-list.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-list-filters/case-list-filters.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-list-filters/case-list-filters.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-timeline/case-timeline.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +6 -7
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +7 -9
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-view/case-view.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-viewer.component.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/case-viewer.module.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/printer/case-printer.component.mjs +10 -11
- package/esm2022/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +2 -2
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +9 -5
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters.component.mjs +2 -2
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters.module.mjs +2 -2
- package/esm2022/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +2 -2
- package/esm2022/lib/shared/components/dialogs/dialogs.module.mjs +2 -2
- package/esm2022/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +2 -2
- package/esm2022/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +2 -2
- package/esm2022/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +2 -2
- package/esm2022/lib/shared/components/error/callback-errors.component.mjs +8 -10
- package/esm2022/lib/shared/components/error/errors.module.mjs +2 -2
- package/esm2022/lib/shared/components/error-message/error-message.component.mjs +2 -2
- package/esm2022/lib/shared/components/error-message/error-message.module.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/event-start.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/event-start.module.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +2 -2
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +2 -2
- package/esm2022/lib/shared/components/event-trigger/event-trigger.component.mjs +2 -2
- package/esm2022/lib/shared/components/event-trigger/event-trigger.module.mjs +2 -2
- package/esm2022/lib/shared/components/loading-spinner/loading-spinner.component.mjs +2 -2
- package/esm2022/lib/shared/components/loading-spinner/loading-spinner.module.mjs +2 -2
- package/esm2022/lib/shared/components/pagination/pagination.component.mjs +2 -2
- package/esm2022/lib/shared/components/pagination/pagination.module.mjs +2 -2
- package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-write-journey.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +5 -2
- package/esm2022/lib/shared/components/palette/base-field/abstract-journey.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/base-field/field-read-label.component.mjs +3 -6
- package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +5 -9
- package/esm2022/lib/shared/components/palette/base-field/field-write.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +2 -2
- 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 +2 -2
- 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 +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +49 -50
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/collection/collection-create-checker.service.mjs +2 -2
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +4 -4
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/complex/read-complex-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/complex/write-complex-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/date/write-date-container-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/date/write-date-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/document/document-url.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/document/file-upload-progress.guard.mjs +2 -2
- package/esm2022/lib/shared/components/palette/document/file-upload-state.service.mjs +2 -2
- package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/email/read-email-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/email/write-email-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/label/label-field.component.mjs +17 -12
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +2 -2
- package/esm2022/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/markdown/markdown-component.module.mjs +2 -2
- package/esm2022/lib/shared/components/palette/markdown/markdown.component.mjs +40 -26
- package/esm2022/lib/shared/components/palette/markdown/routerlink.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/number/read-number-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/palette.module.mjs +2 -2
- package/esm2022/lib/shared/components/palette/palette.service.mjs +2 -2
- package/esm2022/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-confirmation/query-confirmation.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +4 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/services/qualifying-question.service.mjs +2 -2
- package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +2 -2
- package/esm2022/lib/shared/components/palette/text/read-text-field.component.mjs +6 -8
- package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +6 -8
- package/esm2022/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/unsupported-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/dash.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/date.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/first-error.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/is-compound.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/is-read-only.pipe.mjs +2 -2
- package/esm2022/lib/shared/components/palette/utils/utils.module.mjs +2 -2
- package/esm2022/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +2 -2
- package/esm2022/lib/shared/components/palette/yes-no/yes-no.service.mjs +2 -2
- package/esm2022/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +2 -2
- package/esm2022/lib/shared/components/search-filters/search-filters.component.mjs +4 -2
- package/esm2022/lib/shared/components/search-filters/search-filters.module.mjs +2 -2
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +9 -6
- package/esm2022/lib/shared/components/search-result/search-result.module.mjs +2 -2
- package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +4 -2
- package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +2 -2
- package/esm2022/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +2 -2
- package/esm2022/lib/shared/directives/conditional-show/conditional-show.module.mjs +2 -2
- package/esm2022/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +2 -2
- package/esm2022/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +2 -2
- package/esm2022/lib/shared/directives/focus-element/focus-element.directive.mjs +2 -2
- package/esm2022/lib/shared/directives/focus-element/focus-element.module.mjs +2 -2
- package/esm2022/lib/shared/directives/substitutor/label-substitutor.directive.mjs +25 -5
- package/esm2022/lib/shared/directives/substitutor/label-substitutor.module.mjs +2 -2
- package/esm2022/lib/shared/directives/substitutor/services/placeholder.service.mjs +3 -2
- package/esm2022/lib/shared/domain/definition/case-field.model.mjs +8 -1
- package/esm2022/lib/shared/domain/organisation/organisation-converter.mjs +2 -2
- package/esm2022/lib/shared/pipes/case-reference/case-reference.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/complex/fields-filter.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +2 -2
- package/esm2022/lib/shared/pipes/pipes.module.mjs +2 -2
- package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +2 -2
- package/esm2022/lib/shared/services/activity/activity.polling.service.mjs +2 -2
- package/esm2022/lib/shared/services/activity/activity.service.mjs +2 -2
- package/esm2022/lib/shared/services/addresses/addresses.service.mjs +2 -2
- package/esm2022/lib/shared/services/alert/alert.service.mjs +2 -2
- package/esm2022/lib/shared/services/auth/auth.service.mjs +2 -2
- package/esm2022/lib/shared/services/banners/banners.service.mjs +2 -2
- package/esm2022/lib/shared/services/browser/browser.service.mjs +2 -2
- package/esm2022/lib/shared/services/case-fields/case-field.service.mjs +2 -2
- package/esm2022/lib/shared/services/case-fields/format-translator.service.mjs +2 -2
- package/esm2022/lib/shared/services/case-file-view/case-file-view.service.mjs +2 -2
- package/esm2022/lib/shared/services/case-flag/case-flag-refdata.service.mjs +2 -2
- package/esm2022/lib/shared/services/common-data-service/common-data-service.mjs +2 -2
- package/esm2022/lib/shared/services/cookie/read-cookie-service.mjs +2 -2
- package/esm2022/lib/shared/services/definitions/definitions.module.mjs +2 -2
- package/esm2022/lib/shared/services/definitions/definitions.service.mjs +2 -2
- package/esm2022/lib/shared/services/document-management/document-management.service.mjs +17 -5
- package/esm2022/lib/shared/services/draft/draft.service.mjs +2 -2
- package/esm2022/lib/shared/services/error/error-notifier.service.mjs +2 -2
- package/esm2022/lib/shared/services/eventStatusService/event-status.service.mjs +2 -2
- package/esm2022/lib/shared/services/fields/fields.purger.mjs +2 -2
- package/esm2022/lib/shared/services/fields/fields.utils.mjs +7 -2
- package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +2 -2
- package/esm2022/lib/shared/services/form/form-error.service.mjs +2 -2
- package/esm2022/lib/shared/services/form/form-validators.service.mjs +2 -2
- package/esm2022/lib/shared/services/form/form-value.service.mjs +2 -2
- package/esm2022/lib/shared/services/http/http-error.service.mjs +2 -2
- package/esm2022/lib/shared/services/http/http.service.mjs +2 -2
- package/esm2022/lib/shared/services/journey/multipage-component-state.service.mjs +2 -2
- package/esm2022/lib/shared/services/jurisdiction/jurisdiction.service.mjs +2 -2
- package/esm2022/lib/shared/services/loading/loading.module.mjs +2 -2
- package/esm2022/lib/shared/services/loading/loading.service.mjs +2 -2
- package/esm2022/lib/shared/services/navigation/navigation-notifier.service.mjs +2 -2
- package/esm2022/lib/shared/services/order/order.service.mjs +2 -2
- package/esm2022/lib/shared/services/organisation/organisation.service.mjs +2 -2
- package/esm2022/lib/shared/services/profile/profile.notifier.mjs +2 -2
- package/esm2022/lib/shared/services/profile/profile.service.mjs +2 -2
- package/esm2022/lib/shared/services/request/request.options.builder.mjs +2 -2
- package/esm2022/lib/shared/services/router/router-helper.service.mjs +2 -2
- package/esm2022/lib/shared/services/search/search.service.mjs +2 -2
- package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +2 -2
- package/esm2022/lib/shared/services/session/session-storage.service.mjs +2 -2
- package/esm2022/lib/shared/services/utils/retry/retry.service.mjs +2 -2
- package/esm2022/lib/shared/services/window/window.service.mjs +2 -2
- package/esm2022/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +2 -2
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +582 -522
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/app.config.d.ts +2 -0
- package/lib/app.config.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +0 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts +1 -0
- 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 -2
- package/lib/shared/components/palette/base-field/field-read-label.component.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts +1 -2
- package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/read-complex-field-raw.component.d.ts.map +1 -1
- package/lib/shared/components/palette/label/label-field.component.d.ts +1 -2
- package/lib/shared/components/palette/label/label-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown.component.d.ts +6 -5
- package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +1 -1
- package/lib/shared/components/search-filters/search-filters.component.d.ts.map +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -0
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts.map +1 -1
- package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts +3 -1
- package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts.map +1 -1
- package/lib/shared/directives/substitutor/services/placeholder.service.d.ts.map +1 -1
- package/lib/shared/domain/definition/case-field.model.d.ts +3 -0
- package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
- package/lib/shared/services/document-management/document-management.service.d.ts +3 -1
- package/lib/shared/services/document-management/document-management.service.d.ts.map +1 -1
- package/lib/shared/services/fields/fields.utils.d.ts +1 -0
- package/lib/shared/services/fields/fields.utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, EventEmitter, Output, NgModule, ViewEncapsulation, forwardRef, Pipe,
|
|
2
|
+
import { Component, Input, EventEmitter, Output, NgModule, ViewEncapsulation, forwardRef, Pipe, ContentChildren, ViewChildren, Injectable, Inject, ChangeDetectorRef, Directive, InjectionToken, ViewChild, ChangeDetectionStrategy, Injector, ViewContainerRef, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i5 from '@angular/common';
|
|
4
4
|
import { CommonModule, DOCUMENT, AsyncPipe, CurrencyPipe, formatDate } from '@angular/common';
|
|
5
5
|
import * as i1 from 'rpx-xui-translation';
|
|
@@ -43,7 +43,7 @@ import { NestedTreeControl, CdkTreeModule } from '@angular/cdk/tree';
|
|
|
43
43
|
import { cloneDeep } from 'lodash';
|
|
44
44
|
import * as i4$1 from '@angular-material-components/datetime-picker';
|
|
45
45
|
import { NGX_MAT_DATE_FORMATS, NgxMatDateAdapter, NgxMatDatetimePickerModule, NgxMatTimepickerModule, NgxMatNativeDateModule } from '@angular-material-components/datetime-picker';
|
|
46
|
-
import {
|
|
46
|
+
import { NGX_MAT_MOMENT_DATE_ADAPTER_OPTIONS, NgxMatMomentAdapter } from '@angular-material-components/moment-adapter';
|
|
47
47
|
import * as i5$2 from '@angular/material/legacy-form-field';
|
|
48
48
|
import { MatLegacyFormFieldModule } from '@angular/material/legacy-form-field';
|
|
49
49
|
import * as i6$1 from '@angular/material/datepicker';
|
|
@@ -135,7 +135,7 @@ class FooterComponent {
|
|
|
135
135
|
isSolicitor;
|
|
136
136
|
phone;
|
|
137
137
|
workhours;
|
|
138
|
-
static ɵfac = function FooterComponent_Factory(
|
|
138
|
+
static ɵfac = function FooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FooterComponent)(); };
|
|
139
139
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["cut-footer-bar"]], inputs: { email: "email", isSolicitor: "isSolicitor", phone: "phone", workhours: "workhours" }, ngContentSelectors: _c1$u, decls: 4, vars: 4, consts: [["id", "footer", "role", "footer", 1, "group", "js-footer"], [1, "footer-wrapper"], ["class", "footer-meta", 4, "ngIf"], [1, "footer-meta"], [1, "footer-meta-inner"], [1, "open-government-licence"], [1, "logo"], ["href", "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", "rel", "license"], [1, "copyright"], ["href", "https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/copyright-and-re-use/crown-copyright/"], [1, "title"], [1, "footer-text"], [1, "email"], [3, "href"], [1, "phone"], [1, "work-hours"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
140
140
|
i0.ɵɵprojectionDef(_c0$16);
|
|
141
141
|
i0.ɵɵelementStart(0, "footer", 0)(1, "div", 1);
|
|
@@ -170,11 +170,10 @@ function HeaderBarComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
170
170
|
i0.ɵɵelementStart(0, "div")(1, "a", 12);
|
|
171
171
|
i0.ɵɵelement(2, "img", 13);
|
|
172
172
|
i0.ɵɵtext(3);
|
|
173
|
-
i0.ɵɵpipe(4, "rpxTranslate");
|
|
174
173
|
i0.ɵɵelementEnd()();
|
|
175
174
|
} if (rf & 2) {
|
|
176
175
|
i0.ɵɵadvance(3);
|
|
177
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
176
|
+
i0.ɵɵtextInterpolate1(" ", "GOV.UK", " ");
|
|
178
177
|
} }
|
|
179
178
|
function HeaderBarComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
180
179
|
i0.ɵɵelementStart(0, "div", 14)(1, "div", 15)(2, "span");
|
|
@@ -206,11 +205,11 @@ class HeaderBarComponent {
|
|
|
206
205
|
signOut() {
|
|
207
206
|
this.signOutRequest.emit();
|
|
208
207
|
}
|
|
209
|
-
static ɵfac = function HeaderBarComponent_Factory(
|
|
208
|
+
static ɵfac = function HeaderBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeaderBarComponent)(); };
|
|
210
209
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderBarComponent, selectors: [["cut-header-bar"]], inputs: { title: "title", isSolicitor: "isSolicitor", username: "username" }, outputs: { signOutRequest: "signOutRequest" }, ngContentSelectors: _c1$t, decls: 17, vars: 14, consts: [["role", "banner", "id", "global-header", 1, "with-proposition"], [1, "header-wrapper"], [1, "header-global"], [4, "ngIf"], ["class", "global-header", 4, "ngIf"], [1, "header-proposition"], [1, "content"], ["href", "#proposition-links", 1, "js-header-toggle", "menu"], ["id", "proposition-menu", 4, "ngIf"], [1, "proposition-right"], ["id", "user-name"], ["id", "sign-out", "href", "javascript:void(0)", 3, "click"], ["href", "https://www.gov.uk", "title", "Go to the GOV.UK homepage", "id", "logo", 1, "content", 2, "margin-left", "0px"], ["src", "/img/gov.uk_logotype_crown_invert_trans.png?0.23.0", "width", "36", "height", "32", "alt", ""], [1, "global-header"], [1, "title"], ["id", "proposition-menu"], [1, "title-solicitor"], ["id", "proposition-name"]], template: function HeaderBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
211
210
|
i0.ɵɵprojectionDef(_c0$15);
|
|
212
211
|
i0.ɵɵelementStart(0, "header", 0)(1, "div", 1)(2, "div", 2);
|
|
213
|
-
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template,
|
|
212
|
+
i0.ɵɵtemplate(3, HeaderBarComponent_div_3_Template, 4, 1, "div", 3)(4, HeaderBarComponent_div_4_Template, 5, 3, "div", 4);
|
|
214
213
|
i0.ɵɵelementEnd();
|
|
215
214
|
i0.ɵɵelementStart(5, "div", 5)(6, "div", 6)(7, "a", 7);
|
|
216
215
|
i0.ɵɵtext(8);
|
|
@@ -246,7 +245,7 @@ class HeaderBarComponent {
|
|
|
246
245
|
}
|
|
247
246
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderBarComponent, [{
|
|
248
247
|
type: Component,
|
|
249
|
-
args: [{ selector: 'cut-header-bar', template: "<header role=\"banner\" id=\"global-header\" class=\"with-proposition\">\n <div [class.full-screen]=\"!isSolicitor\" class=\"header-wrapper\">\n\n <div class=\"header-global\" [class.header-logo]=\"isSolicitor\">\n <div *ngIf=\"isSolicitor\">\n <a href=\"https://www.gov.uk\" title=\"Go to the GOV.UK homepage\" id=\"logo\" class=\"content\" style=\"margin-left: 0px;\">\n <img src=\"/img/gov.uk_logotype_crown_invert_trans.png?0.23.0\" width=\"36\" height=\"32\" alt=\"\"> {{'GOV.UK'
|
|
248
|
+
args: [{ selector: 'cut-header-bar', template: "<header role=\"banner\" id=\"global-header\" class=\"with-proposition\">\n <div [class.full-screen]=\"!isSolicitor\" class=\"header-wrapper\">\n\n <div class=\"header-global\" [class.header-logo]=\"isSolicitor\">\n <div *ngIf=\"isSolicitor\">\n <a href=\"https://www.gov.uk\" title=\"Go to the GOV.UK homepage\" id=\"logo\" class=\"content\" style=\"margin-left: 0px;\">\n <img src=\"/img/gov.uk_logotype_crown_invert_trans.png?0.23.0\" width=\"36\" height=\"32\" alt=\"\"> {{'GOV.UK'}}\n </a>\n </div>\n <div class=\"global-header\" *ngIf=\"!isSolicitor\">\n <div class=\"title\">\n <span>{{title | rpxTranslate}}</span>\n </div>\n </div>\n </div>\n\n <div class=\"header-proposition\">\n <div class=\"content\">\n <a href=\"#proposition-links\" class=\"js-header-toggle menu\">{{'Menu' | rpxTranslate}}</a>\n <div *ngIf=\"isSolicitor\" id=\"proposition-menu\">\n <div class=\"title-solicitor\">\n <span id=\"proposition-name\">{{title | rpxTranslate}}</span>\n <ng-content select=\"[headerNavigation]\"></ng-content>\n </div>\n </div>\n\n <div class=\"proposition-right\">\n <span id=\"user-name\">{{username}}</span>\n <a (click)=\"signOut()\" id=\"sign-out\" href=\"javascript:void(0)\">{{'Sign Out' | rpxTranslate}}</a>\n </div>\n </div>\n </div>\n\n </div>\n</header>\n", styles: [".title:after,.global-header .header-username:after,.global-header .header-title:after,.global-header:after{content:\"\";display:block;clear:both}.global-header{background-color:#000;width:100%}.global-header .header-title{font-family:nta,Arial,sans-serif;text-transform:none;font-size:16pt;line-height:1.25;float:left;font-weight:700;color:#fff;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width: 641px){.global-header .header-title{font-size:20pt;line-height:1.3}}@media (min-width: 769px){.global-header .header-title{width:50%}}@media screen and (max-width: 379px){.global-header .header-title{width:auto;float:none}}.global-header .header-title .header-title-span{padding-left:22px}.global-header .header-username{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:12pt;line-height:1.25;float:right;text-align:right;color:#fff;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}@media (min-width: 641px){.global-header .header-username{font-size:14pt;line-height:1.4285714286}}@media (min-width: 769px){.global-header .header-username{width:50%}}.global-header .header-username .header-username-span{padding-right:15px}#global-header .full-screen{max-width:100%}.title{font-weight:700;color:#fff;font-size:24px}.title-solicitor{float:left}.proposition-right{float:right;padding-top:5px}#global-header.with-proposition .header-wrapper .header-logo{width:27%}#global-header.with-proposition .header-wrapper .header-proposition{width:100%;float:none}#global-header.with-proposition .header-wrapper .header-proposition .content{margin:0}#user-name,#sign-out{font-size:16px;font-weight:700;border:none;color:#fff;margin:0 0 0 9px;text-decoration:none;background-color:#000}#user-name:focus,#sign-out:focus{color:#fff}#sign-out:hover{text-decoration:underline}\n"] }]
|
|
250
249
|
}], null, { title: [{
|
|
251
250
|
type: Input
|
|
252
251
|
}], isSolicitor: [{
|
|
@@ -262,7 +261,7 @@ const _c0$14 = [[["", "leftNavLinks", ""]], [["", "rightNavLinks", ""]]];
|
|
|
262
261
|
const _c1$s = ["[leftNavLinks]", "[rightNavLinks]"];
|
|
263
262
|
class NavigationComponent {
|
|
264
263
|
isSolicitor;
|
|
265
|
-
static ɵfac = function NavigationComponent_Factory(
|
|
264
|
+
static ɵfac = function NavigationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationComponent)(); };
|
|
266
265
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["cut-nav-bar"]], inputs: { isSolicitor: "isSolicitor" }, ngContentSelectors: _c1$s, decls: 4, vars: 2, consts: [[1, "cut-nav-bar"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
267
266
|
i0.ɵɵprojectionDef(_c0$14);
|
|
268
267
|
i0.ɵɵelementStart(0, "div")(1, "nav", 0);
|
|
@@ -293,7 +292,7 @@ class NavigationItemComponent {
|
|
|
293
292
|
label;
|
|
294
293
|
link;
|
|
295
294
|
imageLink;
|
|
296
|
-
static ɵfac = function NavigationItemComponent_Factory(
|
|
295
|
+
static ɵfac = function NavigationItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationItemComponent)(); };
|
|
297
296
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationItemComponent, selectors: [["cut-nav-item"]], inputs: { label: "label", link: "link", imageLink: "imageLink" }, decls: 5, vars: 6, consts: [[3, "routerLinkActive", "routerLink"], ["type", "image", 3, "alt", "src", 4, "ngIf"], ["type", "image", 3, "alt", "src"]], template: function NavigationItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
298
297
|
i0.ɵɵelementStart(0, "div")(1, "a", 0);
|
|
299
298
|
i0.ɵɵtext(2);
|
|
@@ -326,7 +325,7 @@ class PhaseComponent {
|
|
|
326
325
|
phaseLabel;
|
|
327
326
|
phaseLink;
|
|
328
327
|
isSolicitor;
|
|
329
|
-
static ɵfac = function PhaseComponent_Factory(
|
|
328
|
+
static ɵfac = function PhaseComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PhaseComponent)(); };
|
|
330
329
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PhaseComponent, selectors: [["cut-phase-bar"]], inputs: { phaseLabel: "phaseLabel", phaseLink: "phaseLink", isSolicitor: "isSolicitor" }, decls: 13, vars: 15, consts: [[1, "phase-banner"], [1, "phase-tag"], [1, "text-16"], ["target", "_blank", "rel", "noopener", 3, "href"]], template: function PhaseComponent_Template(rf, ctx) { if (rf & 1) {
|
|
331
330
|
i0.ɵɵelementStart(0, "div", 0)(1, "p")(2, "strong", 1);
|
|
332
331
|
i0.ɵɵtext(3);
|
|
@@ -369,7 +368,7 @@ class PhaseComponent {
|
|
|
369
368
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PhaseComponent, { className: "PhaseComponent", filePath: "lib/components/header/phase/phase.component.ts", lineNumber: 8 }); })();
|
|
370
369
|
|
|
371
370
|
class HeadersModule {
|
|
372
|
-
static ɵfac = function HeadersModule_Factory(
|
|
371
|
+
static ɵfac = function HeadersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HeadersModule)(); };
|
|
373
372
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: HeadersModule });
|
|
374
373
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, RouterModule, RpxTranslationModule.forChild()] });
|
|
375
374
|
}
|
|
@@ -386,7 +385,7 @@ class HeadersModule {
|
|
|
386
385
|
const _c0$13 = [[["", "topBody", ""]], [["", "leftBody", ""]], [["", "rightBody", ""]]];
|
|
387
386
|
const _c1$r = ["[topBody]", "[leftBody]", "[rightBody]"];
|
|
388
387
|
class BodyComponent {
|
|
389
|
-
static ɵfac = function BodyComponent_Factory(
|
|
388
|
+
static ɵfac = function BodyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyComponent)(); };
|
|
390
389
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BodyComponent, selectors: [["cut-body"]], ngContentSelectors: _c1$r, decls: 4, vars: 0, consts: [[1, "global-display"]], template: function BodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
391
390
|
i0.ɵɵprojectionDef(_c0$13);
|
|
392
391
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -647,7 +646,7 @@ class DateInputComponent {
|
|
|
647
646
|
removeMilliseconds(dateTime) {
|
|
648
647
|
return dateTime.replace(/\..*/, '');
|
|
649
648
|
}
|
|
650
|
-
static ɵfac = function DateInputComponent_Factory(
|
|
649
|
+
static ɵfac = function DateInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DateInputComponent)(); };
|
|
651
650
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateInputComponent, selectors: [["cut-date-input"]], inputs: { id: "id", mandatory: "mandatory", isDateTime: "isDateTime", formControl: "formControl", isInvalid: "isInvalid" }, features: [i0.ɵɵProvidersFeature([
|
|
652
651
|
{
|
|
653
652
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -787,7 +786,7 @@ class AlertComponent {
|
|
|
787
786
|
type;
|
|
788
787
|
showIcon = true;
|
|
789
788
|
alertMessageType = AlertMessageType;
|
|
790
|
-
static ɵfac = function AlertComponent_Factory(
|
|
789
|
+
static ɵfac = function AlertComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertComponent)(); };
|
|
791
790
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AlertComponent, selectors: [["cut-alert"]], inputs: { type: "type", showIcon: "showIcon" }, ngContentSelectors: _c0$11, decls: 11, vars: 12, consts: [[1, "hmcts-banner"], [3, "ngSwitch"], [4, "ngSwitchCase"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"]], template: function AlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
792
791
|
i0.ɵɵprojectionDef();
|
|
793
792
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -838,7 +837,7 @@ class AlertIconClassPipe {
|
|
|
838
837
|
return AlertIconClassPipe.CLASS_WARNING;
|
|
839
838
|
}
|
|
840
839
|
}
|
|
841
|
-
static ɵfac = function AlertIconClassPipe_Factory(
|
|
840
|
+
static ɵfac = function AlertIconClassPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertIconClassPipe)(); };
|
|
842
841
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "cutAlertIconClass", type: AlertIconClassPipe, pure: true });
|
|
843
842
|
}
|
|
844
843
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertIconClassPipe, [{
|
|
@@ -849,7 +848,7 @@ class AlertIconClassPipe {
|
|
|
849
848
|
}], null, null); })();
|
|
850
849
|
|
|
851
850
|
class AlertModule {
|
|
852
|
-
static ɵfac = function AlertModule_Factory(
|
|
851
|
+
static ɵfac = function AlertModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertModule)(); };
|
|
853
852
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AlertModule });
|
|
854
853
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
855
854
|
RpxTranslationModule.forChild()] });
|
|
@@ -984,7 +983,7 @@ class NotificationBannerComponent {
|
|
|
984
983
|
onLinkClick(triggerOutputEventText) {
|
|
985
984
|
this.linkClicked.emit(triggerOutputEventText);
|
|
986
985
|
}
|
|
987
|
-
static ɵfac = function NotificationBannerComponent_Factory(
|
|
986
|
+
static ɵfac = function NotificationBannerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationBannerComponent)(); };
|
|
988
987
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NotificationBannerComponent, selectors: [["ccd-notification-banner"]], inputs: { notificationBannerConfig: "notificationBannerConfig" }, outputs: { linkClicked: "linkClicked" }, decls: 1, vars: 1, consts: [["class", "govuk-notification-banner", "role", "region", "aria-labelledby", "govuk-notification-banner-title", "data-module", "govuk-notification-banner", 3, "ngClass", 4, "ngIf"], ["role", "region", "aria-labelledby", "govuk-notification-banner-title", "data-module", "govuk-notification-banner", 1, "govuk-notification-banner", 3, "ngClass"], [1, "govuk-notification-banner__header"], ["id", "govuk-notification-banner-title", 1, "govuk-notification-banner__title"], [1, "govuk-notification-banner__content"], [1, "govuk-notification-banner__heading"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "govuk-notification-banner__link", 3, "href", 4, "ngIf"], ["class", "govuk-notification-banner__link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "36", "width", "36", 1, "hmcts-banner__icon"], ["d", "M13.6,15.4h-2.3v-4.5h2.3V15.4z M13.6,19.8h-2.3v-2.2h2.3V19.8z M0,23.2h25L12.5,2L0,23.2z"], ["d", "M25,6.2L8.7,23.2L0,14.1l4-4.2l4.7,4.9L21,2L25,6.2z"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"], [1, "govuk-notification-banner__link", 3, "href"], ["href", "javascript:void(0)", 1, "govuk-notification-banner__link", 3, "click"]], template: function NotificationBannerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
989
988
|
i0.ɵɵtemplate(0, NotificationBannerComponent_div_0_Template, 14, 10, "div", 0);
|
|
990
989
|
} if (rf & 2) {
|
|
@@ -1007,7 +1006,7 @@ class TabComponent {
|
|
|
1007
1006
|
id;
|
|
1008
1007
|
title;
|
|
1009
1008
|
selected;
|
|
1010
|
-
static ɵfac = function TabComponent_Factory(
|
|
1009
|
+
static ɵfac = function TabComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabComponent)(); };
|
|
1011
1010
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabComponent, selectors: [["cut-tab"]], inputs: { id: "id", title: "title", selected: "selected" }, ngContentSelectors: _c0$10, decls: 2, vars: 5, consts: [["role", "tabpanel", 1, "tabs-panel", 3, "id", "ngClass"]], template: function TabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1012
1011
|
i0.ɵɵprojectionDef();
|
|
1013
1012
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -1070,7 +1069,7 @@ class TabsComponent {
|
|
|
1070
1069
|
}
|
|
1071
1070
|
panels.forEach((panel) => panel.selected = id === panel.id);
|
|
1072
1071
|
}
|
|
1073
|
-
static ɵfac = function TabsComponent_Factory(
|
|
1072
|
+
static ɵfac = function TabsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabsComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
1074
1073
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TabsComponent, selectors: [["cut-tabs"]], contentQueries: function TabsComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
1075
1074
|
i0.ɵɵcontentQuery(dirIndex, TabComponent, 4);
|
|
1076
1075
|
} if (rf & 2) {
|
|
@@ -1107,7 +1106,7 @@ class TabsComponent {
|
|
|
1107
1106
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TabsComponent, { className: "TabsComponent", filePath: "lib/components/tabs/tabs.component.ts", lineNumber: 12 }); })();
|
|
1108
1107
|
|
|
1109
1108
|
class TabsModule {
|
|
1110
|
-
static ɵfac = function TabsModule_Factory(
|
|
1109
|
+
static ɵfac = function TabsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TabsModule)(); };
|
|
1111
1110
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TabsModule });
|
|
1112
1111
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1113
1112
|
RouterModule,
|
|
@@ -1144,7 +1143,7 @@ class ActivityBannerComponent {
|
|
|
1144
1143
|
constructor() { }
|
|
1145
1144
|
ngOnInit() {
|
|
1146
1145
|
}
|
|
1147
|
-
static ɵfac = function ActivityBannerComponent_Factory(
|
|
1146
|
+
static ɵfac = function ActivityBannerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityBannerComponent)(); };
|
|
1148
1147
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityBannerComponent, selectors: [["ccd-activity-banner"]], inputs: { bannerType: "bannerType", description: "description", imageLink: "imageLink" }, decls: 7, vars: 11, consts: [[3, "ngClass"], [1, "bannerIcon"], [1, "img-responsive", 3, "alt", "src"], [1, "bannerText"]], template: function ActivityBannerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1149
1148
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
1150
1149
|
i0.ɵɵelement(2, "img", 2);
|
|
@@ -1181,7 +1180,7 @@ class ActivityIconComponent {
|
|
|
1181
1180
|
constructor() { }
|
|
1182
1181
|
ngOnInit() {
|
|
1183
1182
|
}
|
|
1184
|
-
static ɵfac = function ActivityIconComponent_Factory(
|
|
1183
|
+
static ɵfac = function ActivityIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityIconComponent)(); };
|
|
1185
1184
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityIconComponent, selectors: [["ccd-activity-icon"]], inputs: { description: "description", imageLink: "imageLink" }, decls: 6, vars: 7, consts: [[1, "tooltip"], [1, "img-responsive", 3, "alt", "src"], [1, "tooltiptext"]], template: function ActivityIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1186
1185
|
i0.ɵɵelementStart(0, "div", 0);
|
|
1187
1186
|
i0.ɵɵelement(1, "img", 1);
|
|
@@ -1275,6 +1274,7 @@ class CaseEditorConfig {
|
|
|
1275
1274
|
document_management_url_v2;
|
|
1276
1275
|
hrs_url;
|
|
1277
1276
|
document_management_secure_enabled;
|
|
1277
|
+
documentSecureModeCaseTypeExclusions;
|
|
1278
1278
|
login_url;
|
|
1279
1279
|
oauth2_client_id;
|
|
1280
1280
|
postcode_lookup_url;
|
|
@@ -1391,7 +1391,7 @@ class AuthService {
|
|
|
1391
1391
|
redirectUri() {
|
|
1392
1392
|
return this.document.location.origin + AuthService.PATH_OAUTH2_REDIRECT;
|
|
1393
1393
|
}
|
|
1394
|
-
static ɵfac = function AuthService_Factory(
|
|
1394
|
+
static ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(DOCUMENT)); };
|
|
1395
1395
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac });
|
|
1396
1396
|
}
|
|
1397
1397
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
@@ -1433,7 +1433,7 @@ class LoadingService {
|
|
|
1433
1433
|
const timestamp = window.performance.now();
|
|
1434
1434
|
return `toolkit-loading-${timestamp}`; // format: [source-library]-[unique incrementing number]
|
|
1435
1435
|
}
|
|
1436
|
-
static ɵfac = function LoadingService_Factory(
|
|
1436
|
+
static ɵfac = function LoadingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingService)(); };
|
|
1437
1437
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac });
|
|
1438
1438
|
}
|
|
1439
1439
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
@@ -1441,7 +1441,7 @@ class LoadingService {
|
|
|
1441
1441
|
}], null, null); })();
|
|
1442
1442
|
|
|
1443
1443
|
class LoadingModule {
|
|
1444
|
-
static ɵfac = function LoadingModule_Factory(
|
|
1444
|
+
static ɵfac = function LoadingModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingModule)(); };
|
|
1445
1445
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LoadingModule });
|
|
1446
1446
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
1447
1447
|
LoadingService
|
|
@@ -1517,7 +1517,7 @@ class HttpErrorService {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
return throwError(httpError);
|
|
1519
1519
|
}
|
|
1520
|
-
static ɵfac = function HttpErrorService_Factory(
|
|
1520
|
+
static ɵfac = function HttpErrorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HttpErrorService)(i0.ɵɵinject(AuthService), i0.ɵɵinject(LoadingService)); };
|
|
1521
1521
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HttpErrorService, factory: HttpErrorService.ɵfac });
|
|
1522
1522
|
}
|
|
1523
1523
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HttpErrorService, [{
|
|
@@ -1605,7 +1605,7 @@ class HttpService {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
return options;
|
|
1607
1607
|
}
|
|
1608
|
-
static ɵfac = function HttpService_Factory(
|
|
1608
|
+
static ɵfac = function HttpService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || HttpService)(i0.ɵɵinject(i1$2.HttpClient), i0.ɵɵinject(HttpErrorService)); };
|
|
1609
1609
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: HttpService, factory: HttpService.ɵfac });
|
|
1610
1610
|
}
|
|
1611
1611
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HttpService, [{
|
|
@@ -1637,7 +1637,7 @@ class SessionStorageService {
|
|
|
1637
1637
|
clear() {
|
|
1638
1638
|
sessionStorage.clear();
|
|
1639
1639
|
}
|
|
1640
|
-
static ɵfac = function SessionStorageService_Factory(
|
|
1640
|
+
static ɵfac = function SessionStorageService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SessionStorageService)(); };
|
|
1641
1641
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SessionStorageService, factory: SessionStorageService.ɵfac });
|
|
1642
1642
|
}
|
|
1643
1643
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionStorageService, [{
|
|
@@ -1712,7 +1712,7 @@ class ActivityService {
|
|
|
1712
1712
|
activityUrl() {
|
|
1713
1713
|
return this.appConfig.getActivityUrl();
|
|
1714
1714
|
}
|
|
1715
|
-
static ɵfac = function ActivityService_Factory(
|
|
1715
|
+
static ɵfac = function ActivityService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(SessionStorageService)); };
|
|
1716
1716
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ActivityService, factory: ActivityService.ɵfac });
|
|
1717
1717
|
}
|
|
1718
1718
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityService, [{
|
|
@@ -1826,7 +1826,7 @@ class ActivityPollingService {
|
|
|
1826
1826
|
};
|
|
1827
1827
|
return polling(this.activityService.postActivity(caseId, activityType), pollingConfig);
|
|
1828
1828
|
}
|
|
1829
|
-
static ɵfac = function ActivityPollingService_Factory(
|
|
1829
|
+
static ɵfac = function ActivityPollingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityPollingService)(i0.ɵɵinject(ActivityService), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(AbstractAppConfig)); };
|
|
1830
1830
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ActivityPollingService, factory: ActivityPollingService.ɵfac });
|
|
1831
1831
|
}
|
|
1832
1832
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActivityPollingService, [{
|
|
@@ -1962,7 +1962,7 @@ class ActivityComponent {
|
|
|
1962
1962
|
replaceLastCommaWithAnd(str) {
|
|
1963
1963
|
return str.trim().replace(/,([^,]*)$/, ' and $1').split(' ').join(' ');
|
|
1964
1964
|
}
|
|
1965
|
-
static ɵfac = function ActivityComponent_Factory(
|
|
1965
|
+
static ɵfac = function ActivityComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityComponent)(i0.ɵɵdirectiveInject(ActivityPollingService)); };
|
|
1966
1966
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActivityComponent, selectors: [["ccd-activity"]], inputs: { caseId: "caseId", displayMode: "displayMode" }, decls: 1, vars: 1, consts: [["class", "activityComponent", 4, "ngIf"], [1, "activityComponent"], [3, "activityEditorsAndViewersIcons", "activityEditorsIcon", 4, "ngIf"], ["class", "activityViewersIcon", 4, "ngIf"], [4, "ngIf"], ["imageLink", "/img/editor.png", 3, "description"], [1, "activityViewersIcon"], ["imageLink", "/img/viewer.png", 3, "description"], ["imageLink", "/img/editorBanner.png", "bannerType", "editor", 3, "description"], ["imageLink", "/img/viewerBanner.png", "bannerType", "viewer", 3, "description"]], template: function ActivityComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1967
1967
|
i0.ɵɵtemplate(0, ActivityComponent_div_0_Template, 5, 4, "div", 0);
|
|
1968
1968
|
} if (rf & 2) {
|
|
@@ -1980,7 +1980,7 @@ class ActivityComponent {
|
|
|
1980
1980
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActivityComponent, { className: "ActivityComponent", filePath: "lib/shared/components/activity/activity.component.ts", lineNumber: 11 }); })();
|
|
1981
1981
|
|
|
1982
1982
|
class ActivityModule {
|
|
1983
|
-
static ɵfac = function ActivityModule_Factory(
|
|
1983
|
+
static ɵfac = function ActivityModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActivityModule)(); };
|
|
1984
1984
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ActivityModule });
|
|
1985
1985
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
1986
1986
|
ActivityService,
|
|
@@ -2164,7 +2164,7 @@ class AlertService {
|
|
|
2164
2164
|
message: this.message
|
|
2165
2165
|
});
|
|
2166
2166
|
}
|
|
2167
|
-
static ɵfac = function AlertService_Factory(
|
|
2167
|
+
static ɵfac = function AlertService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlertService)(i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(i1.RpxTranslationService)); };
|
|
2168
2168
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AlertService, factory: AlertService.ɵfac });
|
|
2169
2169
|
}
|
|
2170
2170
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertService, [{
|
|
@@ -2259,7 +2259,7 @@ class DraftService {
|
|
|
2259
2259
|
return this.updateDraft(caseTypeId, Draft.stripDraftId(draftId), caseEventData);
|
|
2260
2260
|
}
|
|
2261
2261
|
}
|
|
2262
|
-
static ɵfac = function DraftService_Factory(
|
|
2262
|
+
static ɵfac = function DraftService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DraftService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpErrorService)); };
|
|
2263
2263
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DraftService, factory: DraftService.ɵfac });
|
|
2264
2264
|
}
|
|
2265
2265
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DraftService, [{
|
|
@@ -2274,7 +2274,7 @@ class ConditionalShowRegistrarService {
|
|
|
2274
2274
|
reset() {
|
|
2275
2275
|
this.registeredDirectives = [];
|
|
2276
2276
|
}
|
|
2277
|
-
static ɵfac = function ConditionalShowRegistrarService_Factory(
|
|
2277
|
+
static ɵfac = function ConditionalShowRegistrarService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConditionalShowRegistrarService)(); };
|
|
2278
2278
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConditionalShowRegistrarService, factory: ConditionalShowRegistrarService.ɵfac });
|
|
2279
2279
|
}
|
|
2280
2280
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConditionalShowRegistrarService, [{
|
|
@@ -2320,7 +2320,7 @@ class GreyBarService {
|
|
|
2320
2320
|
this.renderer.addClass(divSelector, 'show-condition-grey-bar');
|
|
2321
2321
|
}
|
|
2322
2322
|
}
|
|
2323
|
-
static ɵfac = function GreyBarService_Factory(
|
|
2323
|
+
static ɵfac = function GreyBarService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GreyBarService)(i0.ɵɵinject(i0.RendererFactory2)); };
|
|
2324
2324
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GreyBarService, factory: GreyBarService.ɵfac });
|
|
2325
2325
|
}
|
|
2326
2326
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GreyBarService, [{
|
|
@@ -2520,7 +2520,7 @@ class DashPipe {
|
|
|
2520
2520
|
transform(value) {
|
|
2521
2521
|
return value ? value : '-';
|
|
2522
2522
|
}
|
|
2523
|
-
static ɵfac = function DashPipe_Factory(
|
|
2523
|
+
static ɵfac = function DashPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DashPipe)(); };
|
|
2524
2524
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDash", type: DashPipe, pure: true });
|
|
2525
2525
|
}
|
|
2526
2526
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DashPipe, [{
|
|
@@ -2763,7 +2763,7 @@ class FormatTranslatorService {
|
|
|
2763
2763
|
hasSeconds(value) {
|
|
2764
2764
|
return this.translate(value).length && value.toLowerCase().indexOf('s') >= 0;
|
|
2765
2765
|
}
|
|
2766
|
-
static ɵfac = function FormatTranslatorService_Factory(
|
|
2766
|
+
static ɵfac = function FormatTranslatorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormatTranslatorService)(); };
|
|
2767
2767
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormatTranslatorService, factory: FormatTranslatorService.ɵfac });
|
|
2768
2768
|
}
|
|
2769
2769
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormatTranslatorService, [{
|
|
@@ -2888,7 +2888,7 @@ class DatePipe {
|
|
|
2888
2888
|
const val = num !== undefined ? num.toString() : '';
|
|
2889
2889
|
return val.length >= padNum ? val : new Array(padNum - val.length + 1).join('0') + val;
|
|
2890
2890
|
}
|
|
2891
|
-
static ɵfac = function DatePipe_Factory(
|
|
2891
|
+
static ɵfac = function DatePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatePipe)(i0.ɵɵdirectiveInject(FormatTranslatorService, 16)); };
|
|
2892
2892
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDate", type: DatePipe, pure: true });
|
|
2893
2893
|
}
|
|
2894
2894
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatePipe, [{
|
|
@@ -2913,7 +2913,7 @@ class FieldLabelPipe {
|
|
|
2913
2913
|
return this.rpxTranslationPipe.transform(field.label) + (field.display_context.toUpperCase() === 'OPTIONAL' ?
|
|
2914
2914
|
' (' + this.rpxTranslationPipe.transform('Optional') + ')' : '');
|
|
2915
2915
|
}
|
|
2916
|
-
static ɵfac = function FieldLabelPipe_Factory(
|
|
2916
|
+
static ɵfac = function FieldLabelPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldLabelPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslatePipe, 16)); };
|
|
2917
2917
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFieldLabel", type: FieldLabelPipe, pure: false });
|
|
2918
2918
|
}
|
|
2919
2919
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldLabelPipe, [{
|
|
@@ -2972,7 +2972,7 @@ class FirstErrorPipe {
|
|
|
2972
2972
|
ngOnDestroy() {
|
|
2973
2973
|
this.asyncPipe.ngOnDestroy();
|
|
2974
2974
|
}
|
|
2975
|
-
static ɵfac = function FirstErrorPipe_Factory(
|
|
2975
|
+
static ɵfac = function FirstErrorPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FirstErrorPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslationService, 16), i0.ɵɵdirectiveInject(i0.Injector, 16)); };
|
|
2976
2976
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: false });
|
|
2977
2977
|
}
|
|
2978
2978
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FirstErrorPipe, [{
|
|
@@ -3014,7 +3014,7 @@ class IsCompoundPipe {
|
|
|
3014
3014
|
}
|
|
3015
3015
|
return false;
|
|
3016
3016
|
}
|
|
3017
|
-
static ɵfac = function IsCompoundPipe_Factory(
|
|
3017
|
+
static ɵfac = function IsCompoundPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IsCompoundPipe)(); };
|
|
3018
3018
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsCompound", type: IsCompoundPipe, pure: true });
|
|
3019
3019
|
}
|
|
3020
3020
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsCompoundPipe, [{
|
|
@@ -3049,7 +3049,7 @@ class CaseFieldService {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
return field.field_type.type === 'Label';
|
|
3051
3051
|
}
|
|
3052
|
-
static ɵfac = function CaseFieldService_Factory(
|
|
3052
|
+
static ɵfac = function CaseFieldService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFieldService)(); };
|
|
3053
3053
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseFieldService, factory: CaseFieldService.ɵfac });
|
|
3054
3054
|
}
|
|
3055
3055
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFieldService, [{
|
|
@@ -3064,7 +3064,7 @@ class IsMandatoryPipe {
|
|
|
3064
3064
|
transform(field) {
|
|
3065
3065
|
return this.caseFieldService.isMandatory(field);
|
|
3066
3066
|
}
|
|
3067
|
-
static ɵfac = function IsMandatoryPipe_Factory(
|
|
3067
|
+
static ɵfac = function IsMandatoryPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IsMandatoryPipe)(i0.ɵɵdirectiveInject(CaseFieldService, 16)); };
|
|
3068
3068
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsMandatory", type: IsMandatoryPipe, pure: true });
|
|
3069
3069
|
}
|
|
3070
3070
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsMandatoryPipe, [{
|
|
@@ -3082,7 +3082,7 @@ class IsReadOnlyPipe {
|
|
|
3082
3082
|
transform(field) {
|
|
3083
3083
|
return this.caseFieldService.isReadOnly(field);
|
|
3084
3084
|
}
|
|
3085
|
-
static ɵfac = function IsReadOnlyPipe_Factory(
|
|
3085
|
+
static ɵfac = function IsReadOnlyPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IsReadOnlyPipe)(i0.ɵɵdirectiveInject(CaseFieldService, 16)); };
|
|
3086
3086
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
|
|
3087
3087
|
}
|
|
3088
3088
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyPipe, [{
|
|
@@ -3110,7 +3110,7 @@ class IsReadOnlyAndNotCollectionPipe {
|
|
|
3110
3110
|
isCollection(field) {
|
|
3111
3111
|
return field.field_type && field.field_type.type === 'Collection';
|
|
3112
3112
|
}
|
|
3113
|
-
static ɵfac = function IsReadOnlyAndNotCollectionPipe_Factory(
|
|
3113
|
+
static ɵfac = function IsReadOnlyAndNotCollectionPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IsReadOnlyAndNotCollectionPipe)(i0.ɵɵdirectiveInject(CaseFieldService, 16)); };
|
|
3114
3114
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsReadOnlyAndNotCollection", type: IsReadOnlyAndNotCollectionPipe, pure: true });
|
|
3115
3115
|
}
|
|
3116
3116
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyAndNotCollectionPipe, [{
|
|
@@ -3121,7 +3121,7 @@ class IsReadOnlyAndNotCollectionPipe {
|
|
|
3121
3121
|
}], () => [{ type: CaseFieldService }], null); })();
|
|
3122
3122
|
|
|
3123
3123
|
class PaletteUtilsModule {
|
|
3124
|
-
static ɵfac = function PaletteUtilsModule_Factory(
|
|
3124
|
+
static ɵfac = function PaletteUtilsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaletteUtilsModule)(); };
|
|
3125
3125
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
3126
3126
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
3127
3127
|
IsCompoundPipe,
|
|
@@ -3278,6 +3278,7 @@ class CaseField {
|
|
|
3278
3278
|
wizardProps;
|
|
3279
3279
|
_value;
|
|
3280
3280
|
_list_items = [];
|
|
3281
|
+
isTranslatedFlag = false;
|
|
3281
3282
|
get value() {
|
|
3282
3283
|
if (this.field_type && (this.field_type.type === 'DynamicList' || this.field_type.type === 'DynamicRadioList')) {
|
|
3283
3284
|
return this._value && this._value.value ? this._value.value.code : this._value;
|
|
@@ -3383,6 +3384,12 @@ class CaseField {
|
|
|
3383
3384
|
}
|
|
3384
3385
|
return null;
|
|
3385
3386
|
}
|
|
3387
|
+
set isTranslated(val) {
|
|
3388
|
+
this.isTranslatedFlag = val;
|
|
3389
|
+
}
|
|
3390
|
+
get isTranslated() {
|
|
3391
|
+
return this.isTranslatedFlag;
|
|
3392
|
+
}
|
|
3386
3393
|
}
|
|
3387
3394
|
__decorate([
|
|
3388
3395
|
Type(() => FieldType),
|
|
@@ -3715,7 +3722,7 @@ class OrganisationConverter {
|
|
|
3715
3722
|
address: OrganisationConverter.toSimpleAddress(organisationModel)
|
|
3716
3723
|
};
|
|
3717
3724
|
}
|
|
3718
|
-
static ɵfac = function OrganisationConverter_Factory(
|
|
3725
|
+
static ɵfac = function OrganisationConverter_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganisationConverter)(); };
|
|
3719
3726
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrganisationConverter, factory: OrganisationConverter.ɵfac });
|
|
3720
3727
|
}
|
|
3721
3728
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganisationConverter, [{
|
|
@@ -3860,6 +3867,11 @@ class FieldsUtils {
|
|
|
3860
3867
|
|| ctx === 'OPTIONAL' || ctx === 'HIDDEN'
|
|
3861
3868
|
|| ctx === 'COMPLEX');
|
|
3862
3869
|
}
|
|
3870
|
+
static isTranslatable(fieldType) {
|
|
3871
|
+
if (fieldType.type === 'Label' || fieldType.type === 'FixedList') {
|
|
3872
|
+
return true;
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3863
3875
|
static convertToCaseField(obj) {
|
|
3864
3876
|
if (!(obj instanceof CaseField)) {
|
|
3865
3877
|
return plainToClassFromExist(new CaseField(), obj);
|
|
@@ -4450,7 +4462,7 @@ class FieldsUtils {
|
|
|
4450
4462
|
});
|
|
4451
4463
|
return result;
|
|
4452
4464
|
}
|
|
4453
|
-
static ɵfac = function FieldsUtils_Factory(
|
|
4465
|
+
static ɵfac = function FieldsUtils_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldsUtils)(); };
|
|
4454
4466
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FieldsUtils, factory: FieldsUtils.ɵfac });
|
|
4455
4467
|
}
|
|
4456
4468
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldsUtils, [{
|
|
@@ -4960,7 +4972,7 @@ class Constants {
|
|
|
4960
4972
|
static MANDATORY = 'MANDATORY';
|
|
4961
4973
|
static REGEX_WHITESPACES = '^[^ ]+(?:\\s+[^ ]+)*$';
|
|
4962
4974
|
static TASK_COMPLETION_ERROR = 'The associated task for this event failed to complete automatically. Please complete the task manually in the Tasks tab on the case';
|
|
4963
|
-
static ɵfac = function Constants_Factory(
|
|
4975
|
+
static ɵfac = function Constants_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Constants)(); };
|
|
4964
4976
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: Constants, factory: Constants.ɵfac });
|
|
4965
4977
|
}
|
|
4966
4978
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Constants, [{
|
|
@@ -5038,7 +5050,7 @@ class FormValidatorsService {
|
|
|
5038
5050
|
}
|
|
5039
5051
|
return control;
|
|
5040
5052
|
}
|
|
5041
|
-
static ɵfac = function FormValidatorsService_Factory(
|
|
5053
|
+
static ɵfac = function FormValidatorsService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormValidatorsService)(); };
|
|
5042
5054
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormValidatorsService, factory: FormValidatorsService.ɵfac });
|
|
5043
5055
|
}
|
|
5044
5056
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidatorsService, [{
|
|
@@ -5053,6 +5065,9 @@ class AbstractFormFieldComponent {
|
|
|
5053
5065
|
id() {
|
|
5054
5066
|
return this.idPrefix + this.caseField.id;
|
|
5055
5067
|
}
|
|
5068
|
+
isTranslatable(field) {
|
|
5069
|
+
return FieldsUtils.isTranslatable(field.field_type);
|
|
5070
|
+
}
|
|
5056
5071
|
registerControl(control, replace = false) {
|
|
5057
5072
|
const container = this.parent || this.formGroup;
|
|
5058
5073
|
if (!container) {
|
|
@@ -5109,7 +5124,7 @@ class AbstractFormFieldComponent {
|
|
|
5109
5124
|
}
|
|
5110
5125
|
return control;
|
|
5111
5126
|
}
|
|
5112
|
-
static ɵfac = function AbstractFormFieldComponent_Factory(
|
|
5127
|
+
static ɵfac = function AbstractFormFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFormFieldComponent)(); };
|
|
5113
5128
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFormFieldComponent, inputs: { caseField: "caseField", formGroup: "formGroup", parent: "parent", idPrefix: "idPrefix" } });
|
|
5114
5129
|
}
|
|
5115
5130
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AbstractFormFieldComponent, [{
|
|
@@ -5151,7 +5166,7 @@ class AbstractFieldWriteComponent extends AbstractFormFieldComponent {
|
|
|
5151
5166
|
this.caseField = plainToClassFromExist(new CaseField(), this.caseField);
|
|
5152
5167
|
}
|
|
5153
5168
|
}
|
|
5154
|
-
static ɵfac = function AbstractFieldWriteComponent_Factory(
|
|
5169
|
+
static ɵfac = function AbstractFieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteComponent)(); };
|
|
5155
5170
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteComponent, inputs: { isExpanded: "isExpanded", isInSearchBlock: "isInSearchBlock" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] });
|
|
5156
5171
|
}
|
|
5157
5172
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AbstractFieldWriteComponent, [{
|
|
@@ -5309,7 +5324,7 @@ class ConditionalShowFormDirective {
|
|
|
5309
5324
|
this.formChangesSubscription.unsubscribe();
|
|
5310
5325
|
}
|
|
5311
5326
|
}
|
|
5312
|
-
static ɵfac = function ConditionalShowFormDirective_Factory(
|
|
5327
|
+
static ɵfac = function ConditionalShowFormDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConditionalShowFormDirective)(i0.ɵɵdirectiveInject(FieldsUtils)); };
|
|
5313
5328
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ConditionalShowFormDirective, selectors: [["", "ccdConditionalShowForm", ""]], inputs: { caseFields: "caseFields", contextFields: "contextFields", formGroup: "formGroup" } });
|
|
5314
5329
|
}
|
|
5315
5330
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConditionalShowFormDirective, [{
|
|
@@ -5324,7 +5339,7 @@ class ConditionalShowFormDirective {
|
|
|
5324
5339
|
}] }); })();
|
|
5325
5340
|
|
|
5326
5341
|
class ConditionalShowModule {
|
|
5327
|
-
static ɵfac = function ConditionalShowModule_Factory(
|
|
5342
|
+
static ɵfac = function ConditionalShowModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConditionalShowModule)(); };
|
|
5328
5343
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ConditionalShowModule });
|
|
5329
5344
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
5330
5345
|
FieldsUtils,
|
|
@@ -5643,7 +5658,7 @@ class FieldsPurger {
|
|
|
5643
5658
|
return array;
|
|
5644
5659
|
}
|
|
5645
5660
|
}
|
|
5646
|
-
static ɵfac = function FieldsPurger_Factory(
|
|
5661
|
+
static ɵfac = function FieldsPurger_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldsPurger)(i0.ɵɵinject(FieldsUtils)); };
|
|
5647
5662
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FieldsPurger, factory: FieldsPurger.ɵfac });
|
|
5648
5663
|
}
|
|
5649
5664
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldsPurger, [{
|
|
@@ -5770,7 +5785,7 @@ class FieldTypeSanitiser {
|
|
|
5770
5785
|
}
|
|
5771
5786
|
return [];
|
|
5772
5787
|
}
|
|
5773
|
-
static ɵfac = function FieldTypeSanitiser_Factory(
|
|
5788
|
+
static ɵfac = function FieldTypeSanitiser_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldTypeSanitiser)(); };
|
|
5774
5789
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FieldTypeSanitiser, factory: FieldTypeSanitiser.ɵfac });
|
|
5775
5790
|
}
|
|
5776
5791
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldTypeSanitiser, [{
|
|
@@ -6317,20 +6332,21 @@ class FormValueService {
|
|
|
6317
6332
|
});
|
|
6318
6333
|
}
|
|
6319
6334
|
}
|
|
6320
|
-
static ɵfac = function FormValueService_Factory(
|
|
6335
|
+
static ɵfac = function FormValueService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormValueService)(i0.ɵɵinject(FieldTypeSanitiser)); };
|
|
6321
6336
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormValueService, factory: FormValueService.ɵfac });
|
|
6322
6337
|
}
|
|
6323
6338
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValueService, [{
|
|
6324
6339
|
type: Injectable
|
|
6325
6340
|
}], () => [{ type: FieldTypeSanitiser }], null); })();
|
|
6326
6341
|
|
|
6342
|
+
// This class implements ccd Field Interpolation
|
|
6327
6343
|
// @dynamic
|
|
6328
6344
|
class PlaceholderService {
|
|
6329
6345
|
resolvePlaceholders(pageFormFields, stringToResolve) {
|
|
6330
6346
|
const ps = new PlaceholderService.PlaceholderSubstitutor({ pageFormFields, stringToResolve });
|
|
6331
6347
|
return ps.resolvePlaceholders();
|
|
6332
6348
|
}
|
|
6333
|
-
static ɵfac = function PlaceholderService_Factory(
|
|
6349
|
+
static ɵfac = function PlaceholderService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PlaceholderService)(); };
|
|
6334
6350
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PlaceholderService, factory: PlaceholderService.ɵfac });
|
|
6335
6351
|
}
|
|
6336
6352
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PlaceholderService, [{
|
|
@@ -6535,15 +6551,17 @@ ___
|
|
|
6535
6551
|
class LabelSubstitutorDirective {
|
|
6536
6552
|
fieldsUtils;
|
|
6537
6553
|
placeholderService;
|
|
6554
|
+
rpxTranslationPipe;
|
|
6538
6555
|
caseField;
|
|
6539
6556
|
contextFields = [];
|
|
6540
6557
|
formGroup;
|
|
6541
6558
|
elementsToSubstitute = ['label', 'hint_text'];
|
|
6542
6559
|
initialLabel;
|
|
6543
6560
|
initialHintText;
|
|
6544
|
-
constructor(fieldsUtils, placeholderService) {
|
|
6561
|
+
constructor(fieldsUtils, placeholderService, rpxTranslationPipe) {
|
|
6545
6562
|
this.fieldsUtils = fieldsUtils;
|
|
6546
6563
|
this.placeholderService = placeholderService;
|
|
6564
|
+
this.rpxTranslationPipe = rpxTranslationPipe;
|
|
6547
6565
|
}
|
|
6548
6566
|
ngOnInit() {
|
|
6549
6567
|
this.initialLabel = this.caseField.label;
|
|
@@ -6551,7 +6569,23 @@ class LabelSubstitutorDirective {
|
|
|
6551
6569
|
this.formGroup = this.formGroup || new FormGroup({});
|
|
6552
6570
|
const fields = this.getReadOnlyAndFormFields();
|
|
6553
6571
|
if (this.shouldSubstitute('label')) {
|
|
6554
|
-
|
|
6572
|
+
const oldLabel = this.caseField.label;
|
|
6573
|
+
const substitutedLabel = this.resolvePlaceholders(fields, this.caseField.label);
|
|
6574
|
+
if (oldLabel && oldLabel !== substitutedLabel) {
|
|
6575
|
+
console.log(`placeholders present: ${oldLabel} -> ${substitutedLabel}`);
|
|
6576
|
+
// we need to translate the uninterpolated data then substitute the values in translated string
|
|
6577
|
+
const translated = this.rpxTranslationPipe.transform(oldLabel);
|
|
6578
|
+
console.log(`translated: ${translated}`);
|
|
6579
|
+
const transSubstitutedLabel = this.resolvePlaceholders(fields, translated);
|
|
6580
|
+
console.log(`translated and substituted: ${transSubstitutedLabel}`);
|
|
6581
|
+
this.caseField.label = transSubstitutedLabel;
|
|
6582
|
+
this.caseField.isTranslated = true;
|
|
6583
|
+
}
|
|
6584
|
+
else {
|
|
6585
|
+
console.log(`no placeholders present: ${oldLabel}`);
|
|
6586
|
+
this.caseField.label = substitutedLabel;
|
|
6587
|
+
this.caseField.isTranslated = false;
|
|
6588
|
+
}
|
|
6555
6589
|
}
|
|
6556
6590
|
if (this.shouldSubstitute('hint_text')) {
|
|
6557
6591
|
this.caseField.hint_text = this.resolvePlaceholders(fields, this.caseField.hint_text);
|
|
@@ -6593,13 +6627,13 @@ class LabelSubstitutorDirective {
|
|
|
6593
6627
|
resolvePlaceholders(fields, stringToResolve) {
|
|
6594
6628
|
return this.placeholderService.resolvePlaceholders(fields, stringToResolve);
|
|
6595
6629
|
}
|
|
6596
|
-
static ɵfac = function LabelSubstitutorDirective_Factory(
|
|
6630
|
+
static ɵfac = function LabelSubstitutorDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LabelSubstitutorDirective)(i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(i1.RpxTranslatePipe)); };
|
|
6597
6631
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: LabelSubstitutorDirective, selectors: [["", "ccdLabelSubstitutor", ""]], inputs: { caseField: "caseField", contextFields: "contextFields", formGroup: "formGroup", elementsToSubstitute: "elementsToSubstitute" } });
|
|
6598
6632
|
}
|
|
6599
6633
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LabelSubstitutorDirective, [{
|
|
6600
6634
|
type: Directive,
|
|
6601
6635
|
args: [{ selector: '[ccdLabelSubstitutor]' }]
|
|
6602
|
-
}], () => [{ type: FieldsUtils }, { type: PlaceholderService }], { caseField: [{
|
|
6636
|
+
}], () => [{ type: FieldsUtils }, { type: PlaceholderService }, { type: i1.RpxTranslatePipe }], { caseField: [{
|
|
6603
6637
|
type: Input
|
|
6604
6638
|
}], contextFields: [{
|
|
6605
6639
|
type: Input
|
|
@@ -6610,7 +6644,7 @@ class LabelSubstitutorDirective {
|
|
|
6610
6644
|
}] }); })();
|
|
6611
6645
|
|
|
6612
6646
|
class LabelSubstitutorModule {
|
|
6613
|
-
static ɵfac = function LabelSubstitutorModule_Factory(
|
|
6647
|
+
static ɵfac = function LabelSubstitutorModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LabelSubstitutorModule)(); };
|
|
6614
6648
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LabelSubstitutorModule });
|
|
6615
6649
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
6616
6650
|
FieldsUtils,
|
|
@@ -6660,7 +6694,7 @@ class FocusElementDirective {
|
|
|
6660
6694
|
}
|
|
6661
6695
|
}
|
|
6662
6696
|
}
|
|
6663
|
-
static ɵfac = function FocusElementDirective_Factory(
|
|
6697
|
+
static ɵfac = function FocusElementDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FocusElementDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
6664
6698
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: FocusElementDirective, selectors: [["", "focusElement", ""]] });
|
|
6665
6699
|
}
|
|
6666
6700
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FocusElementDirective, [{
|
|
@@ -6671,7 +6705,7 @@ class FocusElementDirective {
|
|
|
6671
6705
|
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], null); })();
|
|
6672
6706
|
|
|
6673
6707
|
class FocusElementModule {
|
|
6674
|
-
static ɵfac = function FocusElementModule_Factory(
|
|
6708
|
+
static ɵfac = function FocusElementModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FocusElementModule)(); };
|
|
6675
6709
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FocusElementModule });
|
|
6676
6710
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
6677
6711
|
}
|
|
@@ -6817,7 +6851,7 @@ class AddressesService {
|
|
|
6817
6851
|
});
|
|
6818
6852
|
return sentence;
|
|
6819
6853
|
}
|
|
6820
|
-
static ɵfac = function AddressesService_Factory(
|
|
6854
|
+
static ɵfac = function AddressesService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AddressesService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
6821
6855
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AddressesService, factory: AddressesService.ɵfac });
|
|
6822
6856
|
}
|
|
6823
6857
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressesService, [{
|
|
@@ -6858,7 +6892,7 @@ class CaseFileViewService {
|
|
|
6858
6892
|
}
|
|
6859
6893
|
return of(null);
|
|
6860
6894
|
}
|
|
6861
|
-
static ɵfac = function CaseFileViewService_Factory(
|
|
6895
|
+
static ɵfac = function CaseFileViewService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
6862
6896
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseFileViewService, factory: CaseFileViewService.ɵfac });
|
|
6863
6897
|
}
|
|
6864
6898
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewService, [{
|
|
@@ -6952,7 +6986,7 @@ class CaseFlagRefdataService {
|
|
|
6952
6986
|
}
|
|
6953
6987
|
return of(null);
|
|
6954
6988
|
}
|
|
6955
|
-
static ɵfac = function CaseFlagRefdataService_Factory(
|
|
6989
|
+
static ɵfac = function CaseFlagRefdataService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagRefdataService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
6956
6990
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseFlagRefdataService, factory: CaseFlagRefdataService.ɵfac });
|
|
6957
6991
|
}
|
|
6958
6992
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagRefdataService, [{
|
|
@@ -6977,7 +7011,7 @@ class ReadCookieService {
|
|
|
6977
7011
|
.split('=')[1];
|
|
6978
7012
|
return cookieValue;
|
|
6979
7013
|
}
|
|
6980
|
-
static ɵfac = function ReadCookieService_Factory(
|
|
7014
|
+
static ɵfac = function ReadCookieService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadCookieService)(i0.ɵɵinject(DOCUMENT)); };
|
|
6981
7015
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ReadCookieService, factory: ReadCookieService.ɵfac, providedIn: 'root' });
|
|
6982
7016
|
}
|
|
6983
7017
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCookieService, [{
|
|
@@ -6990,9 +7024,55 @@ class ReadCookieService {
|
|
|
6990
7024
|
args: [DOCUMENT]
|
|
6991
7025
|
}] }], null); })();
|
|
6992
7026
|
|
|
7027
|
+
class CaseNotifier {
|
|
7028
|
+
casesService;
|
|
7029
|
+
static CASE_NAME = 'caseNameHmctsInternal';
|
|
7030
|
+
static CASE_LOCATION = 'caseManagementLocation';
|
|
7031
|
+
caseViewSource = new BehaviorSubject(new CaseView());
|
|
7032
|
+
caseView = this.caseViewSource.asObservable();
|
|
7033
|
+
cachedCaseView;
|
|
7034
|
+
constructor(casesService) {
|
|
7035
|
+
this.casesService = casesService;
|
|
7036
|
+
}
|
|
7037
|
+
removeCachedCase() {
|
|
7038
|
+
this.cachedCaseView = null;
|
|
7039
|
+
}
|
|
7040
|
+
announceCase(c) {
|
|
7041
|
+
this.caseViewSource.next(c);
|
|
7042
|
+
}
|
|
7043
|
+
fetchAndRefresh(cid) {
|
|
7044
|
+
return this.casesService
|
|
7045
|
+
.getCaseViewV2(cid)
|
|
7046
|
+
.pipe(map(caseView => {
|
|
7047
|
+
this.cachedCaseView = plainToClassFromExist(new CaseView(), caseView);
|
|
7048
|
+
this.setBasicFields(this.cachedCaseView.tabs);
|
|
7049
|
+
this.announceCase(this.cachedCaseView);
|
|
7050
|
+
return this.cachedCaseView;
|
|
7051
|
+
}));
|
|
7052
|
+
}
|
|
7053
|
+
setBasicFields(tabs) {
|
|
7054
|
+
tabs.forEach((t) => {
|
|
7055
|
+
const caseName = t.fields.find(f => f.id === CaseNotifier.CASE_NAME);
|
|
7056
|
+
const caseLocation = t.fields.find(f => f.id === CaseNotifier.CASE_LOCATION);
|
|
7057
|
+
if (caseName || caseLocation) {
|
|
7058
|
+
this.cachedCaseView.basicFields = {
|
|
7059
|
+
caseNameHmctsInternal: caseName ? caseName.value : null,
|
|
7060
|
+
caseManagementLocation: caseLocation ? caseLocation.value : null
|
|
7061
|
+
};
|
|
7062
|
+
}
|
|
7063
|
+
});
|
|
7064
|
+
}
|
|
7065
|
+
static ɵfac = function CaseNotifier_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseNotifier)(i0.ɵɵinject(CasesService)); };
|
|
7066
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseNotifier, factory: CaseNotifier.ɵfac });
|
|
7067
|
+
}
|
|
7068
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseNotifier, [{
|
|
7069
|
+
type: Injectable
|
|
7070
|
+
}], () => [{ type: CasesService }], null); })();
|
|
7071
|
+
|
|
6993
7072
|
class DocumentManagementService {
|
|
6994
7073
|
http;
|
|
6995
7074
|
appConfig;
|
|
7075
|
+
caseNotifierService;
|
|
6996
7076
|
static PDF = 'pdf';
|
|
6997
7077
|
static IMAGE = 'image';
|
|
6998
7078
|
static WORD = 'word';
|
|
@@ -7007,9 +7087,10 @@ class DocumentManagementService {
|
|
|
7007
7087
|
static wordList = ['DOC', 'DOCX', 'doc', 'docx'];
|
|
7008
7088
|
static excelList = ['XLS', 'XLSX', 'xls', 'xlsx'];
|
|
7009
7089
|
static powerpointList = ['PPT', 'PPTX', 'ppt', 'pptx'];
|
|
7010
|
-
constructor(http, appConfig) {
|
|
7090
|
+
constructor(http, appConfig, caseNotifierService) {
|
|
7011
7091
|
this.http = http;
|
|
7012
7092
|
this.appConfig = appConfig;
|
|
7093
|
+
this.caseNotifierService = caseNotifierService;
|
|
7013
7094
|
}
|
|
7014
7095
|
uploadFile(formData) {
|
|
7015
7096
|
const url = this.getDocStoreUrl();
|
|
@@ -7087,14 +7168,22 @@ class DocumentManagementService {
|
|
|
7087
7168
|
return documentBinaryUrl.replace(remoteDocumentManagementPattern, this.getDocStoreUrl());
|
|
7088
7169
|
}
|
|
7089
7170
|
getDocStoreUrl() {
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7171
|
+
let docStoreUrl = '';
|
|
7172
|
+
this.caseNotifierService.caseView.subscribe((caseDetails) => {
|
|
7173
|
+
const caseType = caseDetails?.case_type?.id;
|
|
7174
|
+
const documentSecureModeCaseTypeExclusions = this.appConfig.getDocumentSecureModeCaseTypeExclusions()?.split(',');
|
|
7175
|
+
const isDocumentOnExclusionList = documentSecureModeCaseTypeExclusions?.includes(caseType);
|
|
7176
|
+
const documentSecureModeEnabled = this.appConfig.getDocumentSecureMode();
|
|
7177
|
+
docStoreUrl = (documentSecureModeEnabled && !isDocumentOnExclusionList) ? this.appConfig.getDocumentManagementUrlV2() : this.appConfig.getDocumentManagementUrl();
|
|
7178
|
+
}).unsubscribe();
|
|
7179
|
+
return docStoreUrl;
|
|
7180
|
+
}
|
|
7181
|
+
static ɵfac = function DocumentManagementService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DocumentManagementService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(CaseNotifier)); };
|
|
7093
7182
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DocumentManagementService, factory: DocumentManagementService.ɵfac });
|
|
7094
7183
|
}
|
|
7095
7184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentManagementService, [{
|
|
7096
7185
|
type: Injectable
|
|
7097
|
-
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
7186
|
+
}], () => [{ type: HttpService }, { type: AbstractAppConfig }, { type: CaseNotifier }], null); })();
|
|
7098
7187
|
|
|
7099
7188
|
class ErrorNotifierService {
|
|
7100
7189
|
errorSource = new BehaviorSubject(null);
|
|
@@ -7102,7 +7191,7 @@ class ErrorNotifierService {
|
|
|
7102
7191
|
announceError(error) {
|
|
7103
7192
|
this.errorSource.next(error);
|
|
7104
7193
|
}
|
|
7105
|
-
static ɵfac = function ErrorNotifierService_Factory(
|
|
7194
|
+
static ɵfac = function ErrorNotifierService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorNotifierService)(); };
|
|
7106
7195
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ErrorNotifierService, factory: ErrorNotifierService.ɵfac });
|
|
7107
7196
|
}
|
|
7108
7197
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorNotifierService, [{
|
|
@@ -7121,7 +7210,7 @@ class EventStatusService {
|
|
|
7121
7210
|
return EventStatusService.CALLBACK_STATUS_INCOMPLETE === eventStatus
|
|
7122
7211
|
|| EventStatusService.DELETE_DRAFT_STATUS_INCOMPLETE === eventStatus;
|
|
7123
7212
|
}
|
|
7124
|
-
static ɵfac = function EventStatusService_Factory(
|
|
7213
|
+
static ɵfac = function EventStatusService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStatusService)(); };
|
|
7125
7214
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventStatusService, factory: EventStatusService.ɵfac });
|
|
7126
7215
|
}
|
|
7127
7216
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStatusService, [{
|
|
@@ -7164,7 +7253,7 @@ class FormErrorService {
|
|
|
7164
7253
|
});
|
|
7165
7254
|
return control;
|
|
7166
7255
|
}
|
|
7167
|
-
static ɵfac = function FormErrorService_Factory(
|
|
7256
|
+
static ɵfac = function FormErrorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormErrorService)(); };
|
|
7168
7257
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormErrorService, factory: FormErrorService.ɵfac });
|
|
7169
7258
|
}
|
|
7170
7259
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormErrorService, [{
|
|
@@ -7276,7 +7365,7 @@ class MultipageComponentStateService {
|
|
|
7276
7365
|
set isAtStart(isAtStart) {
|
|
7277
7366
|
this.isJourneyAtStart = isAtStart;
|
|
7278
7367
|
}
|
|
7279
|
-
static ɵfac = function MultipageComponentStateService_Factory(
|
|
7368
|
+
static ɵfac = function MultipageComponentStateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipageComponentStateService)(); };
|
|
7280
7369
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: MultipageComponentStateService, factory: MultipageComponentStateService.ɵfac, providedIn: 'root' });
|
|
7281
7370
|
}
|
|
7282
7371
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MultipageComponentStateService, [{
|
|
@@ -7309,7 +7398,7 @@ class JurisdictionService {
|
|
|
7309
7398
|
searchJudicialUsersByPersonalCodes(personalCodes) {
|
|
7310
7399
|
return this.httpService.post('api/prd/judicial/searchJudicialUserByPersonalCodes', { personal_code: personalCodes });
|
|
7311
7400
|
}
|
|
7312
|
-
static ɵfac = function JurisdictionService_Factory(
|
|
7401
|
+
static ɵfac = function JurisdictionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || JurisdictionService)(i0.ɵɵinject(HttpService)); };
|
|
7313
7402
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: JurisdictionService, factory: JurisdictionService.ɵfac });
|
|
7314
7403
|
}
|
|
7315
7404
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JurisdictionService, [{
|
|
@@ -7336,7 +7425,7 @@ class BannersService {
|
|
|
7336
7425
|
.get(url, { params, headers, observe: 'body' })
|
|
7337
7426
|
.pipe(map(body => body.banners));
|
|
7338
7427
|
}
|
|
7339
|
-
static ɵfac = function BannersService_Factory(
|
|
7428
|
+
static ɵfac = function BannersService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BannersService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
7340
7429
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BannersService, factory: BannersService.ɵfac });
|
|
7341
7430
|
}
|
|
7342
7431
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BannersService, [{
|
|
@@ -7358,7 +7447,7 @@ class NavigationNotifierService {
|
|
|
7358
7447
|
announceNavigation(origin) {
|
|
7359
7448
|
this.navigationSource.next(origin);
|
|
7360
7449
|
}
|
|
7361
|
-
static ɵfac = function NavigationNotifierService_Factory(
|
|
7450
|
+
static ɵfac = function NavigationNotifierService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NavigationNotifierService)(); };
|
|
7362
7451
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: NavigationNotifierService, factory: NavigationNotifierService.ɵfac });
|
|
7363
7452
|
}
|
|
7364
7453
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationNotifierService, [{
|
|
@@ -7393,7 +7482,7 @@ class OrderService {
|
|
|
7393
7482
|
.slice()
|
|
7394
7483
|
.sort(sortingFunction);
|
|
7395
7484
|
}
|
|
7396
|
-
static ɵfac = function OrderService_Factory(
|
|
7485
|
+
static ɵfac = function OrderService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrderService)(); };
|
|
7397
7486
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrderService, factory: OrderService.ɵfac });
|
|
7398
7487
|
}
|
|
7399
7488
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderService, [{
|
|
@@ -7420,7 +7509,7 @@ class ProfileService {
|
|
|
7420
7509
|
.get(url, { headers, observe: 'body' })
|
|
7421
7510
|
.pipe(map((p) => plainToClass(Profile, p)));
|
|
7422
7511
|
}
|
|
7423
|
-
static ɵfac = function ProfileService_Factory(
|
|
7512
|
+
static ɵfac = function ProfileService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
7424
7513
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ProfileService, factory: ProfileService.ɵfac });
|
|
7425
7514
|
}
|
|
7426
7515
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileService, [{
|
|
@@ -7433,7 +7522,7 @@ class ProfileNotifier {
|
|
|
7433
7522
|
announceProfile(profile) {
|
|
7434
7523
|
this.profileSource.next(profile);
|
|
7435
7524
|
}
|
|
7436
|
-
static ɵfac = function ProfileNotifier_Factory(
|
|
7525
|
+
static ɵfac = function ProfileNotifier_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProfileNotifier)(); };
|
|
7437
7526
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ProfileNotifier, factory: ProfileNotifier.ɵfac });
|
|
7438
7527
|
}
|
|
7439
7528
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileNotifier, [{
|
|
@@ -7491,7 +7580,7 @@ class RequestOptionsBuilder {
|
|
|
7491
7580
|
const options = { params, observe: 'body' };
|
|
7492
7581
|
return options;
|
|
7493
7582
|
}
|
|
7494
|
-
static ɵfac = function RequestOptionsBuilder_Factory(
|
|
7583
|
+
static ɵfac = function RequestOptionsBuilder_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RequestOptionsBuilder)(); };
|
|
7495
7584
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: RequestOptionsBuilder, factory: RequestOptionsBuilder.ɵfac });
|
|
7496
7585
|
}
|
|
7497
7586
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RequestOptionsBuilder, [{
|
|
@@ -7575,7 +7664,7 @@ class SearchService {
|
|
|
7575
7664
|
isDataValid(jurisdictionId, caseTypeId) {
|
|
7576
7665
|
return this.currentJurisdiction === jurisdictionId && this.currentCaseType === caseTypeId;
|
|
7577
7666
|
}
|
|
7578
|
-
static ɵfac = function SearchService_Factory(
|
|
7667
|
+
static ɵfac = function SearchService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchService)(i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpService), i0.ɵɵinject(RequestOptionsBuilder), i0.ɵɵinject(LoadingService)); };
|
|
7579
7668
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SearchService, factory: SearchService.ɵfac });
|
|
7580
7669
|
}
|
|
7581
7670
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchService, [{
|
|
@@ -7593,7 +7682,7 @@ class RouterHelperService {
|
|
|
7593
7682
|
return acc;
|
|
7594
7683
|
}, []);
|
|
7595
7684
|
}
|
|
7596
|
-
static ɵfac = function RouterHelperService_Factory(
|
|
7685
|
+
static ɵfac = function RouterHelperService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterHelperService)(); };
|
|
7597
7686
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: RouterHelperService, factory: RouterHelperService.ɵfac });
|
|
7598
7687
|
}
|
|
7599
7688
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RouterHelperService, [{
|
|
@@ -7676,7 +7765,7 @@ class RetryUtil {
|
|
|
7676
7765
|
}));
|
|
7677
7766
|
return out$;
|
|
7678
7767
|
}
|
|
7679
|
-
static ɵfac = function RetryUtil_Factory(
|
|
7768
|
+
static ɵfac = function RetryUtil_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RetryUtil)(); };
|
|
7680
7769
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: RetryUtil, factory: RetryUtil.ɵfac });
|
|
7681
7770
|
}
|
|
7682
7771
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RetryUtil, [{
|
|
@@ -7714,7 +7803,7 @@ class WindowService {
|
|
|
7714
7803
|
alert(message) {
|
|
7715
7804
|
return window.alert(message);
|
|
7716
7805
|
}
|
|
7717
|
-
static ɵfac = function WindowService_Factory(
|
|
7806
|
+
static ɵfac = function WindowService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WindowService)(); };
|
|
7718
7807
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WindowService, factory: WindowService.ɵfac });
|
|
7719
7808
|
}
|
|
7720
7809
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WindowService, [{
|
|
@@ -7763,7 +7852,7 @@ class WorkbasketInputFilterService {
|
|
|
7763
7852
|
isDataValid(jurisdictionId, caseTypeId) {
|
|
7764
7853
|
return this.currentJurisdiction === jurisdictionId && this.currentCaseType === caseTypeId;
|
|
7765
7854
|
}
|
|
7766
|
-
static ɵfac = function WorkbasketInputFilterService_Factory(
|
|
7855
|
+
static ɵfac = function WorkbasketInputFilterService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketInputFilterService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
7767
7856
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WorkbasketInputFilterService, factory: WorkbasketInputFilterService.ɵfac });
|
|
7768
7857
|
}
|
|
7769
7858
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketInputFilterService, [{
|
|
@@ -7788,7 +7877,7 @@ class DefinitionsService {
|
|
|
7788
7877
|
.get(url)
|
|
7789
7878
|
.pipe(map(response => response));
|
|
7790
7879
|
}
|
|
7791
|
-
static ɵfac = function DefinitionsService_Factory(
|
|
7880
|
+
static ɵfac = function DefinitionsService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DefinitionsService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
7792
7881
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DefinitionsService, factory: DefinitionsService.ɵfac });
|
|
7793
7882
|
}
|
|
7794
7883
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DefinitionsService, [{
|
|
@@ -7796,7 +7885,7 @@ class DefinitionsService {
|
|
|
7796
7885
|
}], () => [{ type: HttpService }, { type: AbstractAppConfig }], null); })();
|
|
7797
7886
|
|
|
7798
7887
|
class DefinitionsModule {
|
|
7799
|
-
static ɵfac = function DefinitionsModule_Factory(
|
|
7888
|
+
static ɵfac = function DefinitionsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DefinitionsModule)(); };
|
|
7800
7889
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DefinitionsModule });
|
|
7801
7890
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
7802
7891
|
DefinitionsService
|
|
@@ -7872,7 +7961,7 @@ class SearchResultViewItemComparatorFactory {
|
|
|
7872
7961
|
}
|
|
7873
7962
|
};
|
|
7874
7963
|
}
|
|
7875
|
-
static ɵfac = function SearchResultViewItemComparatorFactory_Factory(
|
|
7964
|
+
static ɵfac = function SearchResultViewItemComparatorFactory_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultViewItemComparatorFactory)(); };
|
|
7876
7965
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SearchResultViewItemComparatorFactory, factory: SearchResultViewItemComparatorFactory.ɵfac });
|
|
7877
7966
|
}
|
|
7878
7967
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultViewItemComparatorFactory, [{
|
|
@@ -7921,7 +8010,7 @@ class OrganisationService {
|
|
|
7921
8010
|
}
|
|
7922
8011
|
return this.organisations$;
|
|
7923
8012
|
}
|
|
7924
|
-
static ɵfac = function OrganisationService_Factory(
|
|
8013
|
+
static ɵfac = function OrganisationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganisationService)(i0.ɵɵinject(i1$2.HttpClient), i0.ɵɵinject(AbstractAppConfig)); };
|
|
7925
8014
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrganisationService, factory: OrganisationService.ɵfac });
|
|
7926
8015
|
}
|
|
7927
8016
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganisationService, [{
|
|
@@ -7943,7 +8032,7 @@ class BrowserService {
|
|
|
7943
8032
|
isIEOrEdge() {
|
|
7944
8033
|
return /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
|
|
7945
8034
|
}
|
|
7946
|
-
static ɵfac = function BrowserService_Factory(
|
|
8035
|
+
static ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(); };
|
|
7947
8036
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BrowserService, factory: BrowserService.ɵfac });
|
|
7948
8037
|
}
|
|
7949
8038
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserService, [{
|
|
@@ -8159,7 +8248,7 @@ class WizardPageFieldToCaseFieldMapper {
|
|
|
8159
8248
|
allCaseFieldsHidden(children) {
|
|
8160
8249
|
return children.every(e => e.display_context === 'HIDDEN' || e.display_context === 'HIDDEN_TEMP');
|
|
8161
8250
|
}
|
|
8162
|
-
static ɵfac = function WizardPageFieldToCaseFieldMapper_Factory(
|
|
8251
|
+
static ɵfac = function WizardPageFieldToCaseFieldMapper_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WizardPageFieldToCaseFieldMapper)(); };
|
|
8163
8252
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WizardPageFieldToCaseFieldMapper, factory: WizardPageFieldToCaseFieldMapper.ɵfac, providedIn: 'root' });
|
|
8164
8253
|
}
|
|
8165
8254
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WizardPageFieldToCaseFieldMapper, [{
|
|
@@ -8299,7 +8388,7 @@ class ConvertHrefToRouterService {
|
|
|
8299
8388
|
queryParams: queryParamObj && (Object.keys(queryParamObj).length) ? queryParamObj : ''
|
|
8300
8389
|
});
|
|
8301
8390
|
}
|
|
8302
|
-
static ɵfac = function ConvertHrefToRouterService_Factory(
|
|
8391
|
+
static ɵfac = function ConvertHrefToRouterService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConvertHrefToRouterService)(i0.ɵɵinject(i1$1.Router)); };
|
|
8303
8392
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConvertHrefToRouterService, factory: ConvertHrefToRouterService.ɵfac });
|
|
8304
8393
|
}
|
|
8305
8394
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConvertHrefToRouterService, [{
|
|
@@ -8311,7 +8400,7 @@ class EventTriggerService {
|
|
|
8311
8400
|
announceEventTrigger(eventTrigger) {
|
|
8312
8401
|
this.eventTriggerSource.next(eventTrigger);
|
|
8313
8402
|
}
|
|
8314
|
-
static ɵfac = function EventTriggerService_Factory(
|
|
8403
|
+
static ɵfac = function EventTriggerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTriggerService)(); };
|
|
8315
8404
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventTriggerService, factory: EventTriggerService.ɵfac, providedIn: 'root' });
|
|
8316
8405
|
}
|
|
8317
8406
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventTriggerService, [{
|
|
@@ -8403,7 +8492,7 @@ class CaseEditWizardGuard {
|
|
|
8403
8492
|
parentUrlSegments(route) {
|
|
8404
8493
|
return this.routerHelper.getUrlSegmentsFromRoot(route.parent);
|
|
8405
8494
|
}
|
|
8406
|
-
static ɵfac = function CaseEditWizardGuard_Factory(
|
|
8495
|
+
static ɵfac = function CaseEditWizardGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditWizardGuard)(i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(RouterHelperService), i0.ɵɵinject(WizardFactoryService), i0.ɵɵinject(AlertService), i0.ɵɵinject(EventTriggerService)); };
|
|
8407
8496
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseEditWizardGuard, factory: CaseEditWizardGuard.ɵfac });
|
|
8408
8497
|
}
|
|
8409
8498
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseEditWizardGuard, [{
|
|
@@ -8428,58 +8517,13 @@ class CaseworkerService {
|
|
|
8428
8517
|
return throwError(error);
|
|
8429
8518
|
}));
|
|
8430
8519
|
}
|
|
8431
|
-
static ɵfac = function CaseworkerService_Factory(
|
|
8520
|
+
static ɵfac = function CaseworkerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseworkerService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpErrorService)); };
|
|
8432
8521
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseworkerService, factory: CaseworkerService.ɵfac });
|
|
8433
8522
|
}
|
|
8434
8523
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseworkerService, [{
|
|
8435
8524
|
type: Injectable
|
|
8436
8525
|
}], () => [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }], null); })();
|
|
8437
8526
|
|
|
8438
|
-
class CaseNotifier {
|
|
8439
|
-
casesService;
|
|
8440
|
-
static CASE_NAME = 'caseNameHmctsInternal';
|
|
8441
|
-
static CASE_LOCATION = 'caseManagementLocation';
|
|
8442
|
-
caseViewSource = new BehaviorSubject(new CaseView());
|
|
8443
|
-
caseView = this.caseViewSource.asObservable();
|
|
8444
|
-
cachedCaseView;
|
|
8445
|
-
constructor(casesService) {
|
|
8446
|
-
this.casesService = casesService;
|
|
8447
|
-
}
|
|
8448
|
-
removeCachedCase() {
|
|
8449
|
-
this.cachedCaseView = null;
|
|
8450
|
-
}
|
|
8451
|
-
announceCase(c) {
|
|
8452
|
-
this.caseViewSource.next(c);
|
|
8453
|
-
}
|
|
8454
|
-
fetchAndRefresh(cid) {
|
|
8455
|
-
return this.casesService
|
|
8456
|
-
.getCaseViewV2(cid)
|
|
8457
|
-
.pipe(map(caseView => {
|
|
8458
|
-
this.cachedCaseView = plainToClassFromExist(new CaseView(), caseView);
|
|
8459
|
-
this.setBasicFields(this.cachedCaseView.tabs);
|
|
8460
|
-
this.announceCase(this.cachedCaseView);
|
|
8461
|
-
return this.cachedCaseView;
|
|
8462
|
-
}));
|
|
8463
|
-
}
|
|
8464
|
-
setBasicFields(tabs) {
|
|
8465
|
-
tabs.forEach((t) => {
|
|
8466
|
-
const caseName = t.fields.find(f => f.id === CaseNotifier.CASE_NAME);
|
|
8467
|
-
const caseLocation = t.fields.find(f => f.id === CaseNotifier.CASE_LOCATION);
|
|
8468
|
-
if (caseName || caseLocation) {
|
|
8469
|
-
this.cachedCaseView.basicFields = {
|
|
8470
|
-
caseNameHmctsInternal: caseName ? caseName.value : null,
|
|
8471
|
-
caseManagementLocation: caseLocation ? caseLocation.value : null
|
|
8472
|
-
};
|
|
8473
|
-
}
|
|
8474
|
-
});
|
|
8475
|
-
}
|
|
8476
|
-
static ɵfac = function CaseNotifier_Factory(t) { return new (t || CaseNotifier)(i0.ɵɵinject(CasesService)); };
|
|
8477
|
-
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseNotifier, factory: CaseNotifier.ɵfac });
|
|
8478
|
-
}
|
|
8479
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseNotifier, [{
|
|
8480
|
-
type: Injectable
|
|
8481
|
-
}], () => [{ type: CasesService }], null); })();
|
|
8482
|
-
|
|
8483
8527
|
var Permissions;
|
|
8484
8528
|
(function (Permissions) {
|
|
8485
8529
|
Permissions["Own"] = "OWN";
|
|
@@ -8670,7 +8714,7 @@ class EventCompletionStateMachineService {
|
|
|
8670
8714
|
const userTask = FieldsUtils.getUserTaskFromClientContext(clientContextStr);
|
|
8671
8715
|
return !!userTask.task_data;
|
|
8672
8716
|
}
|
|
8673
|
-
static ɵfac = function EventCompletionStateMachineService_Factory(
|
|
8717
|
+
static ɵfac = function EventCompletionStateMachineService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventCompletionStateMachineService)(); };
|
|
8674
8718
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventCompletionStateMachineService, factory: EventCompletionStateMachineService.ɵfac });
|
|
8675
8719
|
}
|
|
8676
8720
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventCompletionStateMachineService, [{
|
|
@@ -8695,7 +8739,7 @@ class JudicialworkerService {
|
|
|
8695
8739
|
return throwError(error);
|
|
8696
8740
|
}));
|
|
8697
8741
|
}
|
|
8698
|
-
static ɵfac = function JudicialworkerService_Factory(
|
|
8742
|
+
static ɵfac = function JudicialworkerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || JudicialworkerService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpErrorService)); };
|
|
8699
8743
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: JudicialworkerService, factory: JudicialworkerService.ɵfac });
|
|
8700
8744
|
}
|
|
8701
8745
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JudicialworkerService, [{
|
|
@@ -8745,7 +8789,7 @@ class PageValidationService {
|
|
|
8745
8789
|
checkMandatoryField(caseField, theControl) {
|
|
8746
8790
|
return this.caseFieldService.isMandatory(caseField) && theControl === null;
|
|
8747
8791
|
}
|
|
8748
|
-
static ɵfac = function PageValidationService_Factory(
|
|
8792
|
+
static ɵfac = function PageValidationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageValidationService)(i0.ɵɵinject(CaseFieldService)); };
|
|
8749
8793
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PageValidationService, factory: PageValidationService.ɵfac });
|
|
8750
8794
|
}
|
|
8751
8795
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageValidationService, [{
|
|
@@ -8972,7 +9016,7 @@ class WorkAllocationService {
|
|
|
8972
9016
|
this.appConfig.logMessage(`getTask: ${taskId}`);
|
|
8973
9017
|
return this.http.get(`${this.appConfig.getWorkAllocationApiUrl()}/task/${taskId}`);
|
|
8974
9018
|
}
|
|
8975
|
-
static ɵfac = function WorkAllocationService_Factory(
|
|
9019
|
+
static ɵfac = function WorkAllocationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkAllocationService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(HttpErrorService), i0.ɵɵinject(AlertService), i0.ɵɵinject(SessionStorageService)); };
|
|
8976
9020
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: WorkAllocationService, factory: WorkAllocationService.ɵfac });
|
|
8977
9021
|
}
|
|
8978
9022
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkAllocationService, [{
|
|
@@ -9008,7 +9052,7 @@ class ValidPageListCaseFieldsService {
|
|
|
9008
9052
|
});
|
|
9009
9053
|
return validPageListCaseFields;
|
|
9010
9054
|
}
|
|
9011
|
-
static ɵfac = function ValidPageListCaseFieldsService_Factory(
|
|
9055
|
+
static ɵfac = function ValidPageListCaseFieldsService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ValidPageListCaseFieldsService)(i0.ɵɵinject(FieldsUtils)); };
|
|
9012
9056
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ValidPageListCaseFieldsService, factory: ValidPageListCaseFieldsService.ɵfac });
|
|
9013
9057
|
}
|
|
9014
9058
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValidPageListCaseFieldsService, [{
|
|
@@ -9532,7 +9576,7 @@ class CaseEditComponent {
|
|
|
9532
9576
|
this.abstractConfig.logMessage(`checking taskIsForEvent: task ID ${task.id}, task description ${task.description}, event name ${eventDetails.eventId}`);
|
|
9533
9577
|
return task.case_id === eventDetails.caseId && (task.description?.includes(eventDetails.eventId));
|
|
9534
9578
|
}
|
|
9535
|
-
static ɵfac = function CaseEditComponent_Factory(
|
|
9579
|
+
static ɵfac = function CaseEditComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ReadCookieService)); };
|
|
9536
9580
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9537
9581
|
i0.ɵɵelement(0, "router-outlet");
|
|
9538
9582
|
} }, dependencies: [i1$1.RouterOutlet], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:solid 1px #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0px}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.no-bottom-border[_ngcontent-%COMP%]{border-bottom:none}.case-field-change[_ngcontent-%COMP%]{width:5%}"] });
|
|
@@ -9910,7 +9954,7 @@ class CasesService {
|
|
|
9910
9954
|
this.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, editedClientContextString);
|
|
9911
9955
|
}
|
|
9912
9956
|
}
|
|
9913
|
-
static ɵfac = function CasesService_Factory(
|
|
9957
|
+
static ɵfac = function CasesService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasesService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(OrderService), i0.ɵɵinject(HttpErrorService), i0.ɵɵinject(WizardPageFieldToCaseFieldMapper), i0.ɵɵinject(LoadingService), i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(RetryUtil)); };
|
|
9914
9958
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CasesService, factory: CasesService.ɵfac });
|
|
9915
9959
|
}
|
|
9916
9960
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasesService, [{
|
|
@@ -9979,7 +10023,7 @@ class CaseCreateComponent {
|
|
|
9979
10023
|
isDataLoaded() {
|
|
9980
10024
|
return this.eventTrigger ? true : false;
|
|
9981
10025
|
}
|
|
9982
|
-
static ɵfac = function CaseCreateComponent_Factory(
|
|
10026
|
+
static ɵfac = function CaseCreateComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseCreateComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(EventTriggerService)); };
|
|
9983
10027
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseCreateComponent, selectors: [["ccd-case-create"]], inputs: { jurisdiction: "jurisdiction", caseType: "caseType", event: "event" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "cancelled", "submitted", "submit", "validate", "saveDraft", "eventTrigger"]], template: function CaseCreateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9984
10028
|
i0.ɵɵtemplate(0, CaseCreateComponent_div_0_Template, 2, 4, "div", 0);
|
|
9985
10029
|
} if (rf & 2) {
|
|
@@ -10086,7 +10130,7 @@ class CaseEditConfirmComponent {
|
|
|
10086
10130
|
}
|
|
10087
10131
|
return this.eventTrigger.case_fields;
|
|
10088
10132
|
}
|
|
10089
|
-
static ɵfac = function CaseEditConfirmComponent_Factory(
|
|
10133
|
+
static ɵfac = function CaseEditConfirmComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditConfirmComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
10090
10134
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditConfirmComponent, selectors: [["ng-component"]], decls: 14, vars: 12, consts: [["titleBlock", ""], ["idBlock", ""], [1, "heading-h1"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "submit", "formGroup"], ["id", "confirmation-header", 4, "ngIf"], ["id", "confirmation-body", 4, "ngIf"], ["type", "submit", "data-ng-click", "submit()", 1, "button"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["id", "confirmation-header"], ["id", "confirmation-body"]], template: function CaseEditConfirmComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10091
10135
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
10092
10136
|
i0.ɵɵelementStart(0, "h1", 2);
|
|
@@ -10234,7 +10278,7 @@ class CaseEditFormComponent {
|
|
|
10234
10278
|
const current = JSON.stringify(this.formValueService.sanitise(changes));
|
|
10235
10279
|
this.initial !== current ? this.valuesChanged.emit(true) : this.valuesChanged.emit(false);
|
|
10236
10280
|
}
|
|
10237
|
-
static ɵfac = function CaseEditFormComponent_Factory(
|
|
10281
|
+
static ɵfac = function CaseEditFormComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditFormComponent)(i0.ɵɵdirectiveInject(FormValueService)); };
|
|
10238
10282
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditFormComponent, selectors: [["ccd-case-edit-form"]], inputs: { fields: "fields", formGroup: "formGroup", caseFields: "caseFields", pageChangeSubject: "pageChangeSubject" }, outputs: { valuesChanged: "valuesChanged" }, decls: 1, vars: 1, consts: [["CompoundRow", ""], ["ccdConditionalShowForm", "", 3, "formGroup", "caseFields", "contextFields", 4, "ngFor", "ngForOf"], ["ccdConditionalShowForm", "", 3, "formGroup", "caseFields", "contextFields"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], [3, "ngSwitch"], [3, "caseField", "caseFields", "withLabel", "formGroup", 4, "ngSwitchCase"], [4, "ngSwitchCase"], [3, "caseField", "caseFields", "withLabel", "formGroup"], [4, "ngIf", "ngIfElse"], [3, "caseField", "caseFields", "formGroup", "idPrefix", "hidden"]], template: function CaseEditFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10239
10283
|
i0.ɵɵtemplate(0, CaseEditFormComponent_ng_container_0_Template, 6, 11, "ng-container", 1);
|
|
10240
10284
|
} if (rf & 2) {
|
|
@@ -10309,7 +10353,7 @@ class CaseEditDataModule {
|
|
|
10309
10353
|
providers: [CaseEditDataService],
|
|
10310
10354
|
};
|
|
10311
10355
|
}
|
|
10312
|
-
static ɵfac = function CaseEditDataModule_Factory(
|
|
10356
|
+
static ɵfac = function CaseEditDataModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditDataModule)(); };
|
|
10313
10357
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseEditDataModule });
|
|
10314
10358
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
|
|
10315
10359
|
}
|
|
@@ -10336,7 +10380,7 @@ class SaveOrDiscardDialogComponent {
|
|
|
10336
10380
|
this.result = 'Discard';
|
|
10337
10381
|
this.matDialogRef.close(this.result);
|
|
10338
10382
|
}
|
|
10339
|
-
static ɵfac = function SaveOrDiscardDialogComponent_Factory(
|
|
10383
|
+
static ɵfac = function SaveOrDiscardDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SaveOrDiscardDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialogRef)); };
|
|
10340
10384
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SaveOrDiscardDialogComponent, selectors: [["ccd-save-or-discard-dialog"]], decls: 19, vars: 12, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Save", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Discard", 1, "button", "button-secondary", 3, "click"]], template: function SaveOrDiscardDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10341
10385
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "h2", 1);
|
|
10342
10386
|
i0.ɵɵlistener("click", function SaveOrDiscardDialogComponent_Template_h2_click_2_listener() { return ctx.cancel(); });
|
|
@@ -10541,7 +10585,7 @@ class LinkedCasesService {
|
|
|
10541
10585
|
});
|
|
10542
10586
|
return caseName;
|
|
10543
10587
|
}
|
|
10544
|
-
static ɵfac = function LinkedCasesService_Factory(
|
|
10588
|
+
static ɵfac = function LinkedCasesService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesService)(i0.ɵɵinject(JurisdictionService), i0.ɵɵinject(SearchService)); };
|
|
10545
10589
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LinkedCasesService, factory: LinkedCasesService.ɵfac });
|
|
10546
10590
|
}
|
|
10547
10591
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkedCasesService, [{
|
|
@@ -10563,7 +10607,7 @@ class CaseFlagStateService {
|
|
|
10563
10607
|
resetInitialCaseFlags() {
|
|
10564
10608
|
this.initialCaseFlags = undefined;
|
|
10565
10609
|
}
|
|
10566
|
-
static ɵfac = function CaseFlagStateService_Factory(
|
|
10610
|
+
static ɵfac = function CaseFlagStateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagStateService)(); };
|
|
10567
10611
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseFlagStateService, factory: CaseFlagStateService.ɵfac });
|
|
10568
10612
|
}
|
|
10569
10613
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagStateService, [{
|
|
@@ -11431,7 +11475,7 @@ class CaseEditPageComponent {
|
|
|
11431
11475
|
}
|
|
11432
11476
|
});
|
|
11433
11477
|
}
|
|
11434
|
-
static ɵfac = function CaseEditPageComponent_Factory(
|
|
11478
|
+
static ɵfac = function CaseEditPageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
11435
11479
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 12, vars: 11, consts: [["titleBlock", ""], ["idBlock", ""], [4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["tabindex", "0", 1, "validation-error", 3, "click", "keyup.enter"], [1, "form", 3, "submit", "formGroup"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["class", "button button-secondary", "type", "button", 3, "disabled", "click", 4, "ngIf"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "valuesChanged", "fields", "formGroup", "caseFields", "pageChangeSubject"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11436
11480
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
11437
11481
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 2)(1, CaseEditPageComponent_div_1_Template, 1, 0, "div", 3)(2, CaseEditPageComponent_ng_template_2_Template, 2, 5, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(4, CaseEditPageComponent_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, CaseEditPageComponent_div_6_Template, 5, 4, "div", 4);
|
|
@@ -11476,12 +11520,11 @@ class CallbackErrorsContext {
|
|
|
11476
11520
|
function CallbackErrorsComponent_div_0_ng_container_2_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
11477
11521
|
i0.ɵɵelementStart(0, "li");
|
|
11478
11522
|
i0.ɵɵtext(1);
|
|
11479
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
11480
11523
|
i0.ɵɵelementEnd();
|
|
11481
11524
|
} if (rf & 2) {
|
|
11482
11525
|
const errorMsg_r1 = ctx.$implicit;
|
|
11483
11526
|
i0.ɵɵadvance();
|
|
11484
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11527
|
+
i0.ɵɵtextInterpolate1(" ", errorMsg_r1, " ");
|
|
11485
11528
|
} }
|
|
11486
11529
|
function CallbackErrorsComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
11487
11530
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -11490,7 +11533,7 @@ function CallbackErrorsComponent_div_0_ng_container_2_Template(rf, ctx) { if (rf
|
|
|
11490
11533
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
11491
11534
|
i0.ɵɵelementEnd();
|
|
11492
11535
|
i0.ɵɵelementStart(4, "ul", 4);
|
|
11493
|
-
i0.ɵɵtemplate(5, CallbackErrorsComponent_div_0_ng_container_2_li_5_Template,
|
|
11536
|
+
i0.ɵɵtemplate(5, CallbackErrorsComponent_div_0_ng_container_2_li_5_Template, 2, 1, "li", 5);
|
|
11494
11537
|
i0.ɵɵelementEnd();
|
|
11495
11538
|
i0.ɵɵelementContainerEnd();
|
|
11496
11539
|
} if (rf & 2) {
|
|
@@ -11506,12 +11549,11 @@ function CallbackErrorsComponent_div_0_br_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
11506
11549
|
function CallbackErrorsComponent_div_0_ng_container_4_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
11507
11550
|
i0.ɵɵelementStart(0, "li");
|
|
11508
11551
|
i0.ɵɵtext(1);
|
|
11509
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
11510
11552
|
i0.ɵɵelementEnd();
|
|
11511
11553
|
} if (rf & 2) {
|
|
11512
11554
|
const warningMsg_r3 = ctx.$implicit;
|
|
11513
11555
|
i0.ɵɵadvance();
|
|
11514
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
11556
|
+
i0.ɵɵtextInterpolate1(" ", warningMsg_r3, " ");
|
|
11515
11557
|
} }
|
|
11516
11558
|
function CallbackErrorsComponent_div_0_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
11517
11559
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -11520,7 +11562,7 @@ function CallbackErrorsComponent_div_0_ng_container_4_Template(rf, ctx) { if (rf
|
|
|
11520
11562
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
11521
11563
|
i0.ɵɵelementEnd();
|
|
11522
11564
|
i0.ɵɵelementStart(4, "ul", 6);
|
|
11523
|
-
i0.ɵɵtemplate(5, CallbackErrorsComponent_div_0_ng_container_4_li_5_Template,
|
|
11565
|
+
i0.ɵɵtemplate(5, CallbackErrorsComponent_div_0_ng_container_4_li_5_Template, 2, 1, "li", 5);
|
|
11524
11566
|
i0.ɵɵelementEnd();
|
|
11525
11567
|
i0.ɵɵelementContainerEnd();
|
|
11526
11568
|
} if (rf & 2) {
|
|
@@ -11593,8 +11635,8 @@ class CallbackErrorsComponent {
|
|
|
11593
11635
|
&& this.error.details.field_errors
|
|
11594
11636
|
&& this.error.details.field_errors.length;
|
|
11595
11637
|
}
|
|
11596
|
-
static ɵfac = function CallbackErrorsComponent_Factory(
|
|
11597
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CallbackErrorsComponent, selectors: [["ccd-callback-errors"]], inputs: { triggerTextIgnore: "triggerTextIgnore", triggerTextContinue: "triggerTextContinue", callbackErrorsSubject: "callbackErrorsSubject" }, outputs: { callbackErrorsContext: "callbackErrorsContext" }, decls: 1, vars: 1, consts: [["class", "error-summary", "
|
|
11638
|
+
static ɵfac = function CallbackErrorsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CallbackErrorsComponent)(); };
|
|
11639
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CallbackErrorsComponent, selectors: [["ccd-callback-errors"]], inputs: { triggerTextIgnore: "triggerTextIgnore", triggerTextContinue: "triggerTextContinue", callbackErrorsSubject: "callbackErrorsSubject" }, outputs: { callbackErrorsContext: "callbackErrorsContext" }, decls: 1, vars: 1, consts: [["class", "error-summary", "tabindex", "-1", 4, "ngIf"], ["tabindex", "-1", 1, "error-summary"], [4, "ngIf"], [1, "heading-h3", "error-summary-heading"], ["id", "errors", 1, "error-summary-list"], [4, "ngFor", "ngForOf"], ["id", "warnings", 1, "error-summary-list"]], template: function CallbackErrorsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11598
11640
|
i0.ɵɵtemplate(0, CallbackErrorsComponent_div_0_Template, 5, 6, "div", 0);
|
|
11599
11641
|
} if (rf & 2) {
|
|
11600
11642
|
i0.ɵɵproperty("ngIf", ctx.hasErrors() || ctx.hasWarnings());
|
|
@@ -11602,7 +11644,7 @@ class CallbackErrorsComponent {
|
|
|
11602
11644
|
}
|
|
11603
11645
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CallbackErrorsComponent, [{
|
|
11604
11646
|
type: Component,
|
|
11605
|
-
args: [{ selector: 'ccd-callback-errors', template: "<div *ngIf=\"hasErrors() || hasWarnings()\" class=\"error-summary\"
|
|
11647
|
+
args: [{ selector: 'ccd-callback-errors', template: "<div *ngIf=\"hasErrors() || hasWarnings()\" class=\"error-summary\"\n [attr.aria-label]=\"'Cannot continue because the service reported one or more errors or warnings' | rpxTranslate\"\n tabindex=\"-1\">\n <ng-container *ngIf=\"hasErrors()\">\n <h3 class=\"heading-h3 error-summary-heading\">\n {{'Errors' | rpxTranslate}}\n </h3>\n <ul id=\"errors\" class=\"error-summary-list\">\n <li *ngFor=\"let errorMsg of error.callbackErrors\">\n {{errorMsg}}\n </li>\n </ul>\n </ng-container>\n <!-- Add a break for spacing if there are both errors and warnings -->\n <br *ngIf=\"hasErrors() && hasWarnings()\">\n <ng-container *ngIf=\"hasWarnings()\">\n <h3 class=\"heading-h3 error-summary-heading\">\n {{'Warnings' | rpxTranslate}}\n </h3>\n <ul id=\"warnings\" class=\"error-summary-list\">\n <li *ngFor=\"let warningMsg of error.callbackWarnings\">\n {{warningMsg}}\n </li>\n </ul>\n </ng-container>\n</div>\n" }]
|
|
11606
11648
|
}], null, { triggerTextIgnore: [{
|
|
11607
11649
|
type: Input
|
|
11608
11650
|
}], triggerTextContinue: [{
|
|
@@ -11691,7 +11733,7 @@ class CaseEventCompletionComponent {
|
|
|
11691
11733
|
this.eventCanBeCompleted.emit(completable);
|
|
11692
11734
|
}
|
|
11693
11735
|
}
|
|
11694
|
-
static ɵfac = function CaseEventCompletionComponent_Factory(
|
|
11736
|
+
static ɵfac = function CaseEventCompletionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionComponent)(i0.ɵɵdirectiveInject(EventCompletionStateMachineService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
11695
11737
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionComponent, selectors: [["ccd-case-event-completion"]], inputs: { eventCompletionParams: "eventCompletionParams" }, outputs: { eventCanBeCompleted: "eventCanBeCompleted" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 2, consts: [[3, "context", "notifyEventCompletionCancelled", 4, "ngIf"], [3, "context", "notifyEventCompletionReassigned", 4, "ngIf"], [3, "notifyEventCompletionCancelled", "context"], [3, "notifyEventCompletionReassigned", "context"]], template: function CaseEventCompletionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11696
11738
|
i0.ɵɵtemplate(0, CaseEventCompletionComponent_app_case_event_completion_task_cancelled_0_Template, 1, 1, "app-case-event-completion-task-cancelled", 0)(1, CaseEventCompletionComponent_app_case_event_completion_task_reassigned_1_Template, 1, 1, "app-case-event-completion-task-reassigned", 1);
|
|
11697
11739
|
} if (rf & 2) {
|
|
@@ -11724,7 +11766,7 @@ class CaseEventCompletionTaskCancelledComponent {
|
|
|
11724
11766
|
// may be able to remove this call below since it is now unneccesary
|
|
11725
11767
|
this.notifyEventCompletionCancelled.emit(true);
|
|
11726
11768
|
}
|
|
11727
|
-
static ɵfac = function CaseEventCompletionTaskCancelledComponent_Factory(
|
|
11769
|
+
static ɵfac = function CaseEventCompletionTaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskCancelledComponent)(); };
|
|
11728
11770
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskCancelledComponent, selectors: [["app-case-event-completion-task-cancelled"]], inputs: { context: "context" }, outputs: { notifyEventCompletionCancelled: "notifyEventCompletionCancelled" }, decls: 31, vars: 27, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskCancelledComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11729
11771
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
11730
11772
|
i0.ɵɵtext(3);
|
|
@@ -11921,7 +11963,7 @@ class CaseEventCompletionTaskReassignedComponent {
|
|
|
11921
11963
|
this.notifyEventCompletionReassigned.emit(false);
|
|
11922
11964
|
}
|
|
11923
11965
|
}
|
|
11924
|
-
static ɵfac = function CaseEventCompletionTaskReassignedComponent_Factory(
|
|
11966
|
+
static ɵfac = function CaseEventCompletionTaskReassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventCompletionTaskReassignedComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
11925
11967
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventCompletionTaskReassignedComponent, selectors: [["app-case-event-completion-task-reassigned"]], inputs: { context: "context" }, outputs: { notifyEventCompletionReassigned: "notifyEventCompletionReassigned" }, decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function CaseEventCompletionTaskReassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11926
11968
|
i0.ɵɵtemplate(0, CaseEventCompletionTaskReassignedComponent_div_0_Template, 31, 28, "div", 0);
|
|
11927
11969
|
} if (rf & 2) {
|
|
@@ -11965,7 +12007,7 @@ class AddressValidationConstants {
|
|
|
11965
12007
|
// allow alpha-numeric characters and spaces possibly between a connecting - character
|
|
11966
12008
|
// this applies validation while allowing partial postcodes
|
|
11967
12009
|
static REGEX_POSTCODE = /^([A-Za-z0-9])+( )?([A-Za-z0-9])*$/;
|
|
11968
|
-
static ɵfac = function AddressValidationConstants_Factory(
|
|
12010
|
+
static ɵfac = function AddressValidationConstants_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AddressValidationConstants)(); };
|
|
11969
12011
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AddressValidationConstants, factory: AddressValidationConstants.ɵfac });
|
|
11970
12012
|
}
|
|
11971
12013
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressValidationConstants, [{
|
|
@@ -12063,7 +12105,7 @@ class FieldsFilterPipe {
|
|
|
12063
12105
|
return f;
|
|
12064
12106
|
});
|
|
12065
12107
|
}
|
|
12066
|
-
static ɵfac = function FieldsFilterPipe_Factory(
|
|
12108
|
+
static ɵfac = function FieldsFilterPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldsFilterPipe)(); };
|
|
12067
12109
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFieldsFilter", type: FieldsFilterPipe, pure: true });
|
|
12068
12110
|
}
|
|
12069
12111
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldsFilterPipe, [{
|
|
@@ -12206,7 +12248,7 @@ class WriteComplexFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12206
12248
|
return this.buildField(field);
|
|
12207
12249
|
});
|
|
12208
12250
|
}
|
|
12209
|
-
static ɵfac = function WriteComplexFieldComponent_Factory(
|
|
12251
|
+
static ɵfac = function WriteComplexFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteComplexFieldComponent)(i0.ɵɵdirectiveInject(IsCompoundPipe), i0.ɵɵdirectiveInject(FormValidatorsService)); };
|
|
12210
12252
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteComplexFieldComponent, selectors: [["ccd-write-complex-type-field"]], inputs: { caseFields: "caseFields", renderLabel: "renderLabel", ignoreMandatory: "ignoreMandatory" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 3, consts: [[1, "form-group", 3, "id"], ["class", "heading-h2", 4, "ngIf"], [3, "ngSwitch", 4, "ngFor", "ngForOf"], [1, "heading-h2"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "withLabel", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "withLabel"], ["ccdLabelSubstitutor", "", 3, "caseField", "caseFields", "formGroup", "parent", "idPrefix", "hidden", "isExpanded", "isInSearchBlock"]], template: function WriteComplexFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12211
12253
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
12212
12254
|
i0.ɵɵtemplate(3, WriteComplexFieldComponent_h2_3_Template, 3, 3, "h2", 1);
|
|
@@ -12473,7 +12515,7 @@ class WriteAddressFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12473
12515
|
this.noAddressSelected = value && !this.shouldShowDetailFields() && !!this.addressOptions;
|
|
12474
12516
|
this.errorMessage = this.noAddressSelected ? 'Select an address' : this.errorMessage;
|
|
12475
12517
|
}
|
|
12476
|
-
static ɵfac = function WriteAddressFieldComponent_Factory(
|
|
12518
|
+
static ɵfac = function WriteAddressFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteAddressFieldComponent)(i0.ɵɵdirectiveInject(AddressesService), i0.ɵɵdirectiveInject(IsCompoundPipe)); };
|
|
12477
12519
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteAddressFieldComponent, selectors: [["ccd-write-address-field"]], viewQuery: function WriteAddressFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12478
12520
|
i0.ɵɵviewQuery(_c0$X, 5);
|
|
12479
12521
|
i0.ɵɵviewQuery(FocusElementDirective, 5);
|
|
@@ -12525,7 +12567,7 @@ class AbstractFieldReadComponent extends AbstractFormFieldComponent {
|
|
|
12525
12567
|
this.registerControl(new FormControl(this.caseField.value));
|
|
12526
12568
|
}
|
|
12527
12569
|
}
|
|
12528
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵAbstractFieldReadComponent_BaseFactory; return function AbstractFieldReadComponent_Factory(
|
|
12570
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵAbstractFieldReadComponent_BaseFactory; return function AbstractFieldReadComponent_Factory(__ngFactoryType__) { return (ɵAbstractFieldReadComponent_BaseFactory || (ɵAbstractFieldReadComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AbstractFieldReadComponent)))(__ngFactoryType__ || AbstractFieldReadComponent); }; })();
|
|
12529
12571
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldReadComponent, inputs: { caseReference: "caseReference", topLevelFormGroup: "topLevelFormGroup", context: "context" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
|
12530
12572
|
}
|
|
12531
12573
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AbstractFieldReadComponent, [{
|
|
@@ -12611,7 +12653,7 @@ class AbstractFieldWriteJourneyComponent extends AbstractFieldWriteComponent {
|
|
|
12611
12653
|
;
|
|
12612
12654
|
onPageChange() { }
|
|
12613
12655
|
;
|
|
12614
|
-
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(
|
|
12656
|
+
static ɵfac = function AbstractFieldWriteJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractFieldWriteJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12615
12657
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractFieldWriteJourneyComponent, viewQuery: function AbstractFieldWriteJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12616
12658
|
i0.ɵɵviewQuery(_c0$W, 5);
|
|
12617
12659
|
} if (rf & 2) {
|
|
@@ -12688,7 +12730,7 @@ class AbstractJourneyComponent {
|
|
|
12688
12730
|
return this.journeyId;
|
|
12689
12731
|
}
|
|
12690
12732
|
onPageChange() { }
|
|
12691
|
-
static ɵfac = function AbstractJourneyComponent_Factory(
|
|
12733
|
+
static ɵfac = function AbstractJourneyComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AbstractJourneyComponent)(i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
12692
12734
|
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AbstractJourneyComponent, viewQuery: function AbstractJourneyComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12693
12735
|
i0.ɵɵviewQuery(_c0$V, 5);
|
|
12694
12736
|
} if (rf & 2) {
|
|
@@ -12887,7 +12929,7 @@ class CaseFileViewFieldComponent {
|
|
|
12887
12929
|
isIcpEnabled() {
|
|
12888
12930
|
return this.icpEnabled && ((this.icp_jurisdictions?.length < 1) || this.icp_jurisdictions.includes(this.caseNotifier?.cachedCaseView?.case_type?.jurisdiction.id));
|
|
12889
12931
|
}
|
|
12890
|
-
static ɵfac = function CaseFileViewFieldComponent_Factory(
|
|
12932
|
+
static ɵfac = function CaseFileViewFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFieldComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseFileViewService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
12891
12933
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFieldComponent, selectors: [["ccd-case-file-view-field"]], decls: 3, vars: 3, consts: [[4, "ngIf"], ["class", "govuk-grid-column-two-thirds", 4, "ngIf"], ["id", "case-file-view-field-errors", "data-module", "govuk-error-summary", 1, "govuk-error-summary", "govuk-!-margin-bottom-4"], ["role", "alert"], [1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0);"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-heading-xl"], [1, "govuk-body"], [1, "govuk-heading-l"], ["id", "case-file-view", 1, "govuk-form-group"], [1, "document-tree-container"], [1, "document-tree-container__tree", 3, "clickedDocument", "moveDocument", "categoriesAndDocuments", "allowMoving"], [1, "slider"], [1, "media-viewer-container"], [3, "url", "downloadFileName", "showToolbar", "contentType", "enableAnnotations", "enableRedactions", "height", "caseId", "multimediaPlayerEnabled", "enableICP"]], template: function CaseFileViewFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
12892
12934
|
i0.ɵɵtemplate(0, CaseFileViewFieldComponent_ng_container_0_Template, 8, 1, "ng-container", 0)(1, CaseFileViewFieldComponent_div_1_Template, 5, 0, "div", 1)(2, CaseFileViewFieldComponent_div_2_Template, 9, 3, "div", 0);
|
|
12893
12935
|
} if (rf & 2) {
|
|
@@ -13159,7 +13201,7 @@ class ReadCaseFlagFieldComponent extends AbstractFieldReadComponent {
|
|
|
13159
13201
|
this.caseFlagStateService.fieldStateToNavigate = fieldState;
|
|
13160
13202
|
this.router.navigate([`../${this.caseFlagStateService.pageLocation}`], { relativeTo: this.route });
|
|
13161
13203
|
}
|
|
13162
|
-
static ɵfac = function ReadCaseFlagFieldComponent_Factory(
|
|
13204
|
+
static ɵfac = function ReadCaseFlagFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
13163
13205
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCaseFlagFieldComponent, selectors: [["ccd-read-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "changeButtonEmitter", "flagForSummaryDisplay", "displayContextParameter"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["id", "read-case-flag-title", 1, "govuk-heading-l"], [4, "ngFor", "ngForOf"], [3, "tableCaption", "flagData", "firstColumnHeader", "caseFlagsExternalUser", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader", "caseFlagsExternalUser"], [3, "tableCaption", "flagData", "firstColumnHeader", 4, "ngIf"], [3, "tableCaption", "flagData", "firstColumnHeader"]], template: function ReadCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13164
13206
|
i0.ɵɵtemplate(0, ReadCaseFlagFieldComponent_ng_container_0_Template, 2, 2, "ng-container", 0)(1, ReadCaseFlagFieldComponent_ng_container_1_Template, 4, 2, "ng-container", 0);
|
|
13165
13207
|
} if (rf & 2) {
|
|
@@ -13952,7 +13994,7 @@ class WriteCaseFlagFieldComponent extends AbstractFieldWriteJourneyComponent {
|
|
|
13952
13994
|
setDisplayContextParameter(caseFields) {
|
|
13953
13995
|
return caseFields.find(caseField => FieldsUtils.isCaseFieldOfType(caseField, ['FlagLauncher']))?.display_context_parameter;
|
|
13954
13996
|
}
|
|
13955
|
-
static ɵfac = function WriteCaseFlagFieldComponent_Factory(
|
|
13997
|
+
static ɵfac = function WriteCaseFlagFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCaseFlagFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(i1.RpxTranslationService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
13956
13998
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseFlagFieldComponent, selectors: [["ccd-write-case-flag-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [["journeyChild", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], ["class", "form-group", 3, "formGroup", 4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [1, "form-group", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], [3, "caseFlagStateEmitter", "formGroup", "flagsData", "isDisplayContextParameterExternal"], [3, "caseFlagStateEmitter", "flagCommentsOptionalEmitter", "flagTypeSubJourneyEmitter", "formGroup", "jurisdiction", "caseTypeId", "hmctsServiceId", "isDisplayContextParameterExternal", "isDisplayContextParameter2Point1Enabled", "selectedFlagsLocation"], [3, "caseFlagStateEmitter", "formGroup", "flagType"], [3, "caseFlagStateEmitter", "formGroup", "optional", "isDisplayContextParameterExternal", "isDisplayContextParameter2Point1Enabled"], [3, "caseFlagStateEmitter", "formGroup", "defaultStatus"], [3, "caseFlagStateEmitter", "formGroup", "flagsData", "caseTitle", "displayContextParameter"], [3, "caseFlagStateEmitter", "formGroup", "displayContextParameter"], [3, "caseFlagStateEmitter", "formGroup"]], template: function WriteCaseFlagFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
13957
13999
|
i0.ɵɵtemplate(0, WriteCaseFlagFieldComponent_div_0_Template, 5, 4, "div", 1)(1, WriteCaseFlagFieldComponent_div_1_Template, 7, 7, "div", 2)(2, WriteCaseFlagFieldComponent_div_2_Template, 5, 5, "div", 2);
|
|
13958
14000
|
} if (rf & 2) {
|
|
@@ -13989,7 +14031,7 @@ class CaseReferencePipe {
|
|
|
13989
14031
|
return result;
|
|
13990
14032
|
}
|
|
13991
14033
|
}
|
|
13992
|
-
static ɵfac = function CaseReferencePipe_Factory(
|
|
14034
|
+
static ɵfac = function CaseReferencePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReferencePipe)(); };
|
|
13993
14035
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdCaseReference", type: CaseReferencePipe, pure: true });
|
|
13994
14036
|
}
|
|
13995
14037
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseReferencePipe, [{
|
|
@@ -14014,7 +14056,7 @@ class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
|
|
|
14014
14056
|
hasReference() {
|
|
14015
14057
|
return this.caseField.value && this.caseField.value.CaseReference;
|
|
14016
14058
|
}
|
|
14017
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCaseLinkFieldComponent_BaseFactory; return function ReadCaseLinkFieldComponent_Factory(
|
|
14059
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCaseLinkFieldComponent_BaseFactory; return function ReadCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵReadCaseLinkFieldComponent_BaseFactory || (ɵReadCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCaseLinkFieldComponent)))(__ngFactoryType__ || ReadCaseLinkFieldComponent); }; })();
|
|
14018
14060
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCaseLinkFieldComponent, selectors: [["ccd-read-case-link-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["target", "_blank", 3, "href", 4, "ngIf"], ["target", "_blank", 3, "href"], [1, "text-16"]], template: function ReadCaseLinkFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14019
14061
|
i0.ɵɵtemplate(0, ReadCaseLinkFieldComponent_a_0_Template, 4, 5, "a", 0);
|
|
14020
14062
|
} if (rf & 2) {
|
|
@@ -14106,7 +14148,7 @@ class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14106
14148
|
}
|
|
14107
14149
|
return new RegExp('^\\b\\d{4}[ -]?\\d{4}[ -]?\\d{4}[ -]?\\d{4}\\b$').test(valueString.trim());
|
|
14108
14150
|
}
|
|
14109
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(
|
|
14151
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteCaseLinkFieldComponent_BaseFactory; return function WriteCaseLinkFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteCaseLinkFieldComponent_BaseFactory || (ɵWriteCaseLinkFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent)))(__ngFactoryType__ || WriteCaseLinkFieldComponent); }; })();
|
|
14110
14152
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14111
14153
|
i0.ɵɵviewQuery(_c0$U, 5);
|
|
14112
14154
|
} if (rf & 2) {
|
|
@@ -14204,7 +14246,7 @@ class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
|
|
|
14204
14246
|
}
|
|
14205
14247
|
return prefix;
|
|
14206
14248
|
}
|
|
14207
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(
|
|
14249
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadCollectionFieldComponent_BaseFactory; return function ReadCollectionFieldComponent_Factory(__ngFactoryType__) { return (ɵReadCollectionFieldComponent_BaseFactory || (ɵReadCollectionFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent)))(__ngFactoryType__ || ReadCollectionFieldComponent); }; })();
|
|
14208
14250
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "aria-describedby", "collection table", 4, "ngIf"], ["aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14209
14251
|
i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
|
|
14210
14252
|
} if (rf & 2) {
|
|
@@ -14231,7 +14273,7 @@ class RemoveDialogComponent {
|
|
|
14231
14273
|
this.result = 'Cancel';
|
|
14232
14274
|
this.matDialogRef.close(this.result);
|
|
14233
14275
|
}
|
|
14234
|
-
static ɵfac = function RemoveDialogComponent_Factory(
|
|
14276
|
+
static ɵfac = function RemoveDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RemoveDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialogRef)); };
|
|
14235
14277
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RemoveDialogComponent, selectors: [["ccd-remove-dialog"]], decls: 19, vars: 12, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Remove", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function RemoveDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14236
14278
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "h2", 1);
|
|
14237
14279
|
i0.ɵɵlistener("click", function RemoveDialogComponent_Template_h2_click_2_listener() { return ctx.cancel(); });
|
|
@@ -14657,7 +14699,7 @@ class WriteCollectionFieldComponent extends AbstractFieldWriteComponent {
|
|
|
14657
14699
|
const notSimple = ['Collection', 'Complex'];
|
|
14658
14700
|
return notSimple.indexOf(caseField.field_type.collection_field_type.type) < 0;
|
|
14659
14701
|
}
|
|
14660
|
-
static ɵfac = function WriteCollectionFieldComponent_Factory(
|
|
14702
|
+
static ɵfac = function WriteCollectionFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteCollectionFieldComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(i2.ScrollToService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
14661
14703
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteCollectionFieldComponent, selectors: [["ccd-write-collection-field"]], viewQuery: function WriteCollectionFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14662
14704
|
i0.ɵɵviewQuery(_c0$S, 5);
|
|
14663
14705
|
} if (rf & 2) {
|
|
@@ -14748,7 +14790,7 @@ class ReadComplexFieldComponent extends AbstractFieldReadComponent {
|
|
|
14748
14790
|
});
|
|
14749
14791
|
}
|
|
14750
14792
|
}
|
|
14751
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldComponent_BaseFactory; return function ReadComplexFieldComponent_Factory(
|
|
14793
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldComponent_BaseFactory; return function ReadComplexFieldComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldComponent_BaseFactory || (ɵReadComplexFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldComponent)))(__ngFactoryType__ || ReadComplexFieldComponent); }; })();
|
|
14752
14794
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldComponent, selectors: [["ccd-read-complex-field"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 3, consts: [[3, "ngSwitch"], [3, "caseField", "caseFields", "context", "topLevelFormGroup", "idPrefix", 4, "ngSwitchCase"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix", 4, "ngSwitchCase"], [3, "caseField", "caseFields", "context", "topLevelFormGroup", "idPrefix", 4, "ngSwitchDefault"], [3, "caseField", "caseFields", "context", "topLevelFormGroup", "idPrefix"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadComplexFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14753
14795
|
i0.ɵɵelementContainerStart(0, 0);
|
|
14754
14796
|
i0.ɵɵtemplate(1, ReadComplexFieldComponent_ccd_read_complex_field_raw_1_Template, 1, 5, "ccd-read-complex-field-raw", 1)(2, ReadComplexFieldComponent_ccd_read_complex_field_collection_table_2_Template, 1, 4, "ccd-read-complex-field-collection-table", 2)(3, ReadComplexFieldComponent_ccd_read_complex_field_table_3_Template, 1, 5, "ccd-read-complex-field-table", 3);
|
|
@@ -14771,7 +14813,7 @@ class ReadComplexFieldComponent extends AbstractFieldReadComponent {
|
|
|
14771
14813
|
|
|
14772
14814
|
class ReadDateFieldComponent extends AbstractFieldReadComponent {
|
|
14773
14815
|
timeZone = 'utc';
|
|
14774
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDateFieldComponent_BaseFactory; return function ReadDateFieldComponent_Factory(
|
|
14816
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDateFieldComponent_BaseFactory; return function ReadDateFieldComponent_Factory(__ngFactoryType__) { return (ɵReadDateFieldComponent_BaseFactory || (ɵReadDateFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadDateFieldComponent)))(__ngFactoryType__ || ReadDateFieldComponent); }; })();
|
|
14775
14817
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDateFieldComponent, selectors: [["ccd-read-date-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 5, consts: [[1, "text-16"]], template: function ReadDateFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14776
14818
|
i0.ɵɵelementStart(0, "span", 0);
|
|
14777
14819
|
i0.ɵɵtext(1);
|
|
@@ -14807,7 +14849,7 @@ function WriteDateContainerFieldComponent_ng_template_1_Template(rf, ctx) { if (
|
|
|
14807
14849
|
i0.ɵɵproperty("caseField", ctx_r0.caseField)("formGroup", ctx_r0.formGroup)("parent", ctx_r0.parent);
|
|
14808
14850
|
} }
|
|
14809
14851
|
class WriteDateContainerFieldComponent extends AbstractFormFieldComponent {
|
|
14810
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDateContainerFieldComponent_BaseFactory; return function WriteDateContainerFieldComponent_Factory(
|
|
14852
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDateContainerFieldComponent_BaseFactory; return function WriteDateContainerFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDateContainerFieldComponent_BaseFactory || (ɵWriteDateContainerFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDateContainerFieldComponent)))(__ngFactoryType__ || WriteDateContainerFieldComponent); }; })();
|
|
14811
14853
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDateContainerFieldComponent, selectors: [["ccd-write-date-container-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["nativeDatepicker", ""], [4, "ngIf", "ngIfElse"], [3, "caseField", "formGroup", "parent"]], template: function WriteDateContainerFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14812
14854
|
i0.ɵɵtemplate(0, WriteDateContainerFieldComponent_ng_container_0_Template, 2, 3, "ng-container", 1)(1, WriteDateContainerFieldComponent_ng_template_1_Template, 1, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
14813
14855
|
} if (rf & 2) {
|
|
@@ -14884,7 +14926,7 @@ class ReadDocumentFieldComponent extends AbstractFieldReadComponent {
|
|
|
14884
14926
|
this.caseViewSubscription.unsubscribe();
|
|
14885
14927
|
}
|
|
14886
14928
|
}
|
|
14887
|
-
static ɵfac = function ReadDocumentFieldComponent_Factory(
|
|
14929
|
+
static ɵfac = function ReadDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadDocumentFieldComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService)); };
|
|
14888
14930
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDocumentFieldComponent, selectors: [["ccd-read-document-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["href", "javascript:void(0)", 3, "click"]], template: function ReadDocumentFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14889
14931
|
i0.ɵɵtemplate(0, ReadDocumentFieldComponent_a_0_Template, 2, 1, "a", 0);
|
|
14890
14932
|
} if (rf & 2) {
|
|
@@ -14913,7 +14955,7 @@ class DocumentDialogComponent {
|
|
|
14913
14955
|
this.result = 'Cancel';
|
|
14914
14956
|
this.matDialogRef.close(this.result);
|
|
14915
14957
|
}
|
|
14916
|
-
static ɵfac = function DocumentDialogComponent_Factory(
|
|
14958
|
+
static ɵfac = function DocumentDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DocumentDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialogRef)); };
|
|
14917
14959
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DocumentDialogComponent, selectors: [["ccd-document-dialog"]], decls: 19, vars: 12, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Replace", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DocumentDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14918
14960
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "h2", 1);
|
|
14919
14961
|
i0.ɵɵlistener("click", function DocumentDialogComponent_Template_h2_click_2_listener() { return ctx.cancel(); });
|
|
@@ -14962,7 +15004,7 @@ class FileUploadStateService {
|
|
|
14962
15004
|
isUploadInProgress() {
|
|
14963
15005
|
return this.uploadInProgress;
|
|
14964
15006
|
}
|
|
14965
|
-
static ɵfac = function FileUploadStateService_Factory(
|
|
15007
|
+
static ɵfac = function FileUploadStateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileUploadStateService)(); };
|
|
14966
15008
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FileUploadStateService, factory: FileUploadStateService.ɵfac });
|
|
14967
15009
|
}
|
|
14968
15010
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadStateService, [{
|
|
@@ -15321,7 +15363,7 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15321
15363
|
this.valid = false;
|
|
15322
15364
|
this.fileUploadStateService.setUploadInProgress(false);
|
|
15323
15365
|
}
|
|
15324
|
-
static ɵfac = function WriteDocumentFieldComponent_Factory(
|
|
15366
|
+
static ɵfac = function WriteDocumentFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteDocumentFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(FileUploadStateService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
15325
15367
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDocumentFieldComponent, selectors: [["ccd-write-document-field"]], viewQuery: function WriteDocumentFieldComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15326
15368
|
i0.ɵɵviewQuery(_c0$R, 5);
|
|
15327
15369
|
} if (rf & 2) {
|
|
@@ -15395,7 +15437,7 @@ class DynamicListPipe {
|
|
|
15395
15437
|
const item = items?.find(i => i.code === value);
|
|
15396
15438
|
return item ? item.label : DynamicListPipe.EMPTY;
|
|
15397
15439
|
}
|
|
15398
|
-
static ɵfac = function DynamicListPipe_Factory(
|
|
15440
|
+
static ɵfac = function DynamicListPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DynamicListPipe)(); };
|
|
15399
15441
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDynamicList", type: DynamicListPipe, pure: true });
|
|
15400
15442
|
}
|
|
15401
15443
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicListPipe, [{
|
|
@@ -15416,7 +15458,7 @@ class ReadDynamicListFieldComponent extends AbstractFieldReadComponent {
|
|
|
15416
15458
|
}
|
|
15417
15459
|
super.ngOnInit();
|
|
15418
15460
|
}
|
|
15419
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDynamicListFieldComponent_BaseFactory; return function ReadDynamicListFieldComponent_Factory(
|
|
15461
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDynamicListFieldComponent_BaseFactory; return function ReadDynamicListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadDynamicListFieldComponent_BaseFactory || (ɵReadDynamicListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadDynamicListFieldComponent)))(__ngFactoryType__ || ReadDynamicListFieldComponent); }; })();
|
|
15420
15462
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDynamicListFieldComponent, selectors: [["ccd-read-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15421
15463
|
i0.ɵɵelementStart(0, "span", 0);
|
|
15422
15464
|
i0.ɵɵtext(1);
|
|
@@ -15512,7 +15554,7 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15512
15554
|
this.dynamicListFormControl = this.registerControl(new FormControl(this.caseField.value));
|
|
15513
15555
|
this.dynamicListFormControl.setValue(this.caseField.value);
|
|
15514
15556
|
}
|
|
15515
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicListFieldComponent_BaseFactory; return function WriteDynamicListFieldComponent_Factory(
|
|
15557
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicListFieldComponent_BaseFactory; return function WriteDynamicListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDynamicListFieldComponent_BaseFactory || (ɵWriteDynamicListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicListFieldComponent)))(__ngFactoryType__ || WriteDynamicListFieldComponent); }; })();
|
|
15516
15558
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicListFieldComponent, selectors: [["ccd-write-dynamic-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 15, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "ccd-dropdown", "bottom-30", 3, "id", "formControl"], [3, "ngValue"], ["role", "option", 3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], ["role", "option", 3, "ngValue"]], template: function WriteDynamicListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15517
15559
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
15518
15560
|
i0.ɵɵtemplate(2, WriteDynamicListFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -15555,25 +15597,45 @@ class WriteDynamicListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15555
15597
|
class MarkdownComponent {
|
|
15556
15598
|
router;
|
|
15557
15599
|
renderer;
|
|
15600
|
+
ngZone;
|
|
15601
|
+
cdr;
|
|
15558
15602
|
content;
|
|
15559
|
-
markdownUseHrefAsRouterLink;
|
|
15560
15603
|
renderUrlToTextFeature = true;
|
|
15561
|
-
constructor(router, renderer) {
|
|
15604
|
+
constructor(router, renderer, ngZone, cdr) {
|
|
15562
15605
|
this.router = router;
|
|
15563
15606
|
this.renderer = renderer;
|
|
15607
|
+
this.ngZone = ngZone;
|
|
15608
|
+
this.cdr = cdr;
|
|
15564
15609
|
}
|
|
15565
15610
|
ngOnInit() {
|
|
15566
15611
|
this.content = this.content.replace(/ \n/g, '<br>');
|
|
15567
15612
|
if (this.renderUrlToTextFeature) {
|
|
15568
15613
|
this.renderUrlToText();
|
|
15569
15614
|
}
|
|
15615
|
+
this.cdr.markForCheck(); // Mark the component for change detection
|
|
15570
15616
|
}
|
|
15571
|
-
|
|
15572
|
-
|
|
15573
|
-
|
|
15574
|
-
|
|
15575
|
-
|
|
15576
|
-
|
|
15617
|
+
interceptClick(event) {
|
|
15618
|
+
this.ngZone.runOutsideAngular(() => {
|
|
15619
|
+
const target = event.target;
|
|
15620
|
+
if (target.tagName.toLowerCase() === 'a') {
|
|
15621
|
+
const href = target.getAttribute('href');
|
|
15622
|
+
if (href && href.startsWith('/') && !href.startsWith('//')) {
|
|
15623
|
+
const currentUrl = window.location.href;
|
|
15624
|
+
if (currentUrl.includes('trigger')) {
|
|
15625
|
+
// if we are already in an event and there is a markdown we should reload the page as without the components will not reinitialise
|
|
15626
|
+
this.ngZone.run(() => {
|
|
15627
|
+
this.router.navigateByUrl(href);
|
|
15628
|
+
});
|
|
15629
|
+
}
|
|
15630
|
+
else {
|
|
15631
|
+
event.preventDefault();
|
|
15632
|
+
this.ngZone.run(() => {
|
|
15633
|
+
this.router.navigateByUrl(href);
|
|
15634
|
+
});
|
|
15635
|
+
}
|
|
15636
|
+
}
|
|
15637
|
+
}
|
|
15638
|
+
});
|
|
15577
15639
|
}
|
|
15578
15640
|
renderUrlToText() {
|
|
15579
15641
|
const renderer = new marked.Renderer();
|
|
@@ -15586,6 +15648,7 @@ class MarkdownComponent {
|
|
|
15586
15648
|
marked.setOptions({
|
|
15587
15649
|
renderer: renderer
|
|
15588
15650
|
});
|
|
15651
|
+
this.cdr.markForCheck();
|
|
15589
15652
|
}
|
|
15590
15653
|
isAllowedUrl(url) {
|
|
15591
15654
|
const currentOrigin = window.location.origin;
|
|
@@ -15596,34 +15659,27 @@ class MarkdownComponent {
|
|
|
15596
15659
|
const markdownLinkRegex = /\[([^\]]+)\]\(?([^ )]+)\)/g;
|
|
15597
15660
|
return markdownLinkRegex.test(inputString);
|
|
15598
15661
|
}
|
|
15599
|
-
static ɵfac = function MarkdownComponent_Factory(
|
|
15600
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]],
|
|
15601
|
-
i0.ɵɵ
|
|
15602
|
-
} }, inputs: { content: "content", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink", renderUrlToTextFeature: "renderUrlToTextFeature" }, decls: 4, vars: 5, consts: [[1, "markdown", 3, "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15603
|
-
i0.ɵɵelementStart(0, "div");
|
|
15604
|
-
i0.ɵɵelement(1, "markdown", 0);
|
|
15662
|
+
static ɵfac = function MarkdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkdownComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
15663
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MarkdownComponent, selectors: [["ccd-markdown"]], inputs: { content: "content", renderUrlToTextFeature: "renderUrlToTextFeature" }, decls: 4, vars: 5, consts: [[1, "markdown", 3, "click", "data"]], template: function MarkdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15664
|
+
i0.ɵɵelementStart(0, "div")(1, "markdown", 0);
|
|
15605
15665
|
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
15606
15666
|
i0.ɵɵpipe(3, "rpxTranslate");
|
|
15607
|
-
i0.ɵɵ
|
|
15667
|
+
i0.ɵɵlistener("click", function MarkdownComponent_Template_markdown_click_1_listener($event) { return ctx.interceptClick($event); });
|
|
15668
|
+
i0.ɵɵelementEnd()();
|
|
15608
15669
|
} if (rf & 2) {
|
|
15609
15670
|
i0.ɵɵadvance();
|
|
15610
15671
|
i0.ɵɵproperty("data", i0.ɵɵpipeBind1(3, 3, i0.ɵɵpipeBind1(2, 1, ctx.content)));
|
|
15611
|
-
} }, dependencies: [i2$1.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2 });
|
|
15672
|
+
} }, dependencies: [i2$1.MarkdownComponent, i1.RpxTranslatePipe, CaseReferencePipe], encapsulation: 2, changeDetection: 0 });
|
|
15612
15673
|
}
|
|
15613
15674
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MarkdownComponent, [{
|
|
15614
15675
|
type: Component,
|
|
15615
|
-
args: [{ selector: 'ccd-markdown', template: "<div><markdown class=\"markdown\" [data]=\"content | ccdCaseReference | rpxTranslate\"></markdown></div>\n" }]
|
|
15616
|
-
}], () => [{ type: i1$1.Router }, { type: i0.Renderer2 }], { content: [{
|
|
15617
|
-
type: Input
|
|
15618
|
-
}], markdownUseHrefAsRouterLink: [{
|
|
15676
|
+
args: [{ selector: 'ccd-markdown', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div><markdown class=\"markdown\" (click)=\"interceptClick($event)\" [data]=\"content | ccdCaseReference | rpxTranslate\"></markdown></div>\n" }]
|
|
15677
|
+
}], () => [{ type: i1$1.Router }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }], { content: [{
|
|
15619
15678
|
type: Input
|
|
15620
15679
|
}], renderUrlToTextFeature: [{
|
|
15621
15680
|
type: Input
|
|
15622
|
-
}], onMarkdownClick: [{
|
|
15623
|
-
type: HostListener,
|
|
15624
|
-
args: ['click', ['$event']]
|
|
15625
15681
|
}] }); })();
|
|
15626
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkdownComponent, { className: "MarkdownComponent", filePath: "lib/shared/components/palette/markdown/markdown.component.ts", lineNumber:
|
|
15682
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MarkdownComponent, { className: "MarkdownComponent", filePath: "lib/shared/components/palette/markdown/markdown.component.ts", lineNumber: 10 }); })();
|
|
15627
15683
|
|
|
15628
15684
|
class FixedListPipe {
|
|
15629
15685
|
static EMPTY = '';
|
|
@@ -15636,7 +15692,7 @@ class FixedListPipe {
|
|
|
15636
15692
|
return FixedListPipe.EMPTY;
|
|
15637
15693
|
}
|
|
15638
15694
|
}
|
|
15639
|
-
static ɵfac = function FixedListPipe_Factory(
|
|
15695
|
+
static ɵfac = function FixedListPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FixedListPipe)(); };
|
|
15640
15696
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFixedList", type: FixedListPipe, pure: true });
|
|
15641
15697
|
}
|
|
15642
15698
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FixedListPipe, [{
|
|
@@ -15671,7 +15727,7 @@ class ReadDynamicMultiSelectListFieldComponent extends AbstractFieldReadComponen
|
|
|
15671
15727
|
}
|
|
15672
15728
|
super.ngOnInit();
|
|
15673
15729
|
}
|
|
15674
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDynamicMultiSelectListFieldComponent_BaseFactory; return function ReadDynamicMultiSelectListFieldComponent_Factory(
|
|
15730
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDynamicMultiSelectListFieldComponent_BaseFactory; return function ReadDynamicMultiSelectListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadDynamicMultiSelectListFieldComponent_BaseFactory || (ɵReadDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadDynamicMultiSelectListFieldComponent)))(__ngFactoryType__ || ReadDynamicMultiSelectListFieldComponent); }; })();
|
|
15675
15731
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDynamicMultiSelectListFieldComponent, selectors: [["ccd-read-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngFor", "ngForOf"], [3, "content"]], template: function ReadDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15676
15732
|
i0.ɵɵtemplate(0, ReadDynamicMultiSelectListFieldComponent_div_0_Template, 3, 4, "div", 0);
|
|
15677
15733
|
} if (rf & 2) {
|
|
@@ -15797,7 +15853,7 @@ class WriteDynamicMultiSelectListFieldComponent extends AbstractFieldWriteCompon
|
|
|
15797
15853
|
this.caseField.value = [];
|
|
15798
15854
|
}
|
|
15799
15855
|
}
|
|
15800
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(
|
|
15856
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory; return function WriteDynamicMultiSelectListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory || (ɵWriteDynamicMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicMultiSelectListFieldComponent)))(__ngFactoryType__ || WriteDynamicMultiSelectListFieldComponent); }; })();
|
|
15801
15857
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicMultiSelectListFieldComponent, selectors: [["ccd-write-dynamic-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "change", "id", "name", "value", "checked"], [1, "form-label", 3, "for"], [3, "content", "renderUrlToTextFeature"]], template: function WriteDynamicMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15802
15858
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
15803
15859
|
i0.ɵɵtemplate(3, WriteDynamicMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1)(4, WriteDynamicMultiSelectListFieldComponent_span_4_Template, 2, 1, "span", 2)(5, WriteDynamicMultiSelectListFieldComponent_span_5_Template, 3, 3, "span", 3);
|
|
@@ -15835,7 +15891,7 @@ class DynamicRadioListPipe {
|
|
|
15835
15891
|
const item = items.find(i => i.code === value);
|
|
15836
15892
|
return item ? item.label : DynamicRadioListPipe.EMPTY;
|
|
15837
15893
|
}
|
|
15838
|
-
static ɵfac = function DynamicRadioListPipe_Factory(
|
|
15894
|
+
static ɵfac = function DynamicRadioListPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DynamicRadioListPipe)(); };
|
|
15839
15895
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDynamicRadioList", type: DynamicRadioListPipe, pure: true });
|
|
15840
15896
|
}
|
|
15841
15897
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicRadioListPipe, [{
|
|
@@ -15862,7 +15918,7 @@ class ReadDynamicRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
|
15862
15918
|
this.caseField.list_items = this.caseField.value.list_items;
|
|
15863
15919
|
}
|
|
15864
15920
|
}
|
|
15865
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDynamicRadioListFieldComponent_BaseFactory; return function ReadDynamicRadioListFieldComponent_Factory(
|
|
15921
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadDynamicRadioListFieldComponent_BaseFactory; return function ReadDynamicRadioListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadDynamicRadioListFieldComponent_BaseFactory || (ɵReadDynamicRadioListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadDynamicRadioListFieldComponent)))(__ngFactoryType__ || ReadDynamicRadioListFieldComponent); }; })();
|
|
15866
15922
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadDynamicRadioListFieldComponent, selectors: [["ccd-read-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadDynamicRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15867
15923
|
i0.ɵɵelementStart(0, "span", 0);
|
|
15868
15924
|
i0.ɵɵtext(1);
|
|
@@ -15966,7 +16022,7 @@ class WriteDynamicRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
15966
16022
|
// this is independent from the caseField.list_items so is irrelevant to event journey
|
|
15967
16023
|
return this.parent?.value?.id ? this.parent.value.id + this.parent.value.value : super.createElementId(name);
|
|
15968
16024
|
}
|
|
15969
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicRadioListFieldComponent_BaseFactory; return function WriteDynamicRadioListFieldComponent_Factory(
|
|
16025
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDynamicRadioListFieldComponent_BaseFactory; return function WriteDynamicRadioListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDynamicRadioListFieldComponent_BaseFactory || (ɵWriteDynamicRadioListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDynamicRadioListFieldComponent)))(__ngFactoryType__ || WriteDynamicRadioListFieldComponent); }; })();
|
|
15970
16026
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDynamicRadioListFieldComponent, selectors: [["ccd-write-dynamic-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 10, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], [2, "display", "none"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["class", "multiple-choice", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice", 3, "ngClass"], ["type", "radio", 1, "form-control", 3, "id", "name", "formControl", "value"], [1, "form-label", 3, "for"]], template: function WriteDynamicRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15971
16027
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset");
|
|
15972
16028
|
i0.ɵɵelement(2, "legend", 1);
|
|
@@ -16013,7 +16069,7 @@ class ReadEmailFieldComponent extends AbstractFieldReadComponent {
|
|
|
16013
16069
|
isFieldValueEmpty() {
|
|
16014
16070
|
return (!this.caseField.value);
|
|
16015
16071
|
}
|
|
16016
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadEmailFieldComponent_BaseFactory; return function ReadEmailFieldComponent_Factory(
|
|
16072
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadEmailFieldComponent_BaseFactory; return function ReadEmailFieldComponent_Factory(__ngFactoryType__) { return (ɵReadEmailFieldComponent_BaseFactory || (ɵReadEmailFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadEmailFieldComponent)))(__ngFactoryType__ || ReadEmailFieldComponent); }; })();
|
|
16017
16073
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadEmailFieldComponent, selectors: [["ccd-read-email-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "href", 4, "ngIf"], [3, "href"]], template: function ReadEmailFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16018
16074
|
i0.ɵɵtemplate(0, ReadEmailFieldComponent_a_0_Template, 2, 3, "a", 0);
|
|
16019
16075
|
} if (rf & 2) {
|
|
@@ -16068,7 +16124,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16068
16124
|
ngOnInit() {
|
|
16069
16125
|
this.emailControl = this.registerControl(new FormControl(this.caseField.value));
|
|
16070
16126
|
}
|
|
16071
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteEmailFieldComponent_BaseFactory; return function WriteEmailFieldComponent_Factory(
|
|
16127
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteEmailFieldComponent_BaseFactory; return function WriteEmailFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteEmailFieldComponent_BaseFactory || (ɵWriteEmailFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteEmailFieldComponent)))(__ngFactoryType__ || WriteEmailFieldComponent); }; })();
|
|
16072
16128
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteEmailFieldComponent, selectors: [["ccd-write-email-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", "bottom-30", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "email", 1, "form-control", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteEmailFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16073
16129
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
16074
16130
|
i0.ɵɵtemplate(2, WriteEmailFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -16097,7 +16153,7 @@ class WriteEmailFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16097
16153
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteEmailFieldComponent, { className: "WriteEmailFieldComponent", filePath: "lib/shared/components/palette/email/write-email-field.component.ts", lineNumber: 9 }); })();
|
|
16098
16154
|
|
|
16099
16155
|
class ReadFixedListFieldComponent extends AbstractFieldReadComponent {
|
|
16100
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadFixedListFieldComponent_BaseFactory; return function ReadFixedListFieldComponent_Factory(
|
|
16156
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadFixedListFieldComponent_BaseFactory; return function ReadFixedListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadFixedListFieldComponent_BaseFactory || (ɵReadFixedListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadFixedListFieldComponent)))(__ngFactoryType__ || ReadFixedListFieldComponent); }; })();
|
|
16101
16157
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadFixedListFieldComponent, selectors: [["ccd-read-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16102
16158
|
i0.ɵɵelementStart(0, "span", 0);
|
|
16103
16159
|
i0.ɵɵtext(1);
|
|
@@ -16181,7 +16237,7 @@ class WriteFixedListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16181
16237
|
this.fixedListFormControl = this.registerControl(new FormControl(this.caseField.value));
|
|
16182
16238
|
this.fixedListFormControl.setValue(this.caseField.value);
|
|
16183
16239
|
}
|
|
16184
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteFixedListFieldComponent_BaseFactory; return function WriteFixedListFieldComponent_Factory(
|
|
16240
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteFixedListFieldComponent_BaseFactory; return function WriteFixedListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteFixedListFieldComponent_BaseFactory || (ɵWriteFixedListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteFixedListFieldComponent)))(__ngFactoryType__ || WriteFixedListFieldComponent); }; })();
|
|
16185
16241
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteFixedListFieldComponent, selectors: [["ccd-write-fixed-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 11, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "ccd-dropdown", "bottom-30", 3, "id", "formControl"], [3, "ngValue"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteFixedListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16186
16242
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
16187
16243
|
i0.ɵɵtemplate(2, WriteFixedListFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -16222,7 +16278,7 @@ class FixedRadioListPipe {
|
|
|
16222
16278
|
const item = items.find(i => i.code === value);
|
|
16223
16279
|
return item ? item.label : FixedRadioListPipe.EMPTY;
|
|
16224
16280
|
}
|
|
16225
|
-
static ɵfac = function FixedRadioListPipe_Factory(
|
|
16281
|
+
static ɵfac = function FixedRadioListPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FixedRadioListPipe)(); };
|
|
16226
16282
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFixedRadioList", type: FixedRadioListPipe, pure: true });
|
|
16227
16283
|
}
|
|
16228
16284
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FixedRadioListPipe, [{
|
|
@@ -16233,7 +16289,7 @@ class FixedRadioListPipe {
|
|
|
16233
16289
|
}], null, null); })();
|
|
16234
16290
|
|
|
16235
16291
|
class ReadFixedRadioListFieldComponent extends AbstractFieldReadComponent {
|
|
16236
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadFixedRadioListFieldComponent_BaseFactory; return function ReadFixedRadioListFieldComponent_Factory(
|
|
16292
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadFixedRadioListFieldComponent_BaseFactory; return function ReadFixedRadioListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadFixedRadioListFieldComponent_BaseFactory || (ɵReadFixedRadioListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadFixedRadioListFieldComponent)))(__ngFactoryType__ || ReadFixedRadioListFieldComponent); }; })();
|
|
16237
16293
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadFixedRadioListFieldComponent, selectors: [["ccd-read-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[1, "text-16"]], template: function ReadFixedRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16238
16294
|
i0.ɵɵelementStart(0, "span", 0);
|
|
16239
16295
|
i0.ɵɵtext(1);
|
|
@@ -16310,7 +16366,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16310
16366
|
const notEmpty = this.caseField.value !== null && this.caseField.value !== undefined;
|
|
16311
16367
|
this.fixedRadioListControl = this.registerControl(new FormControl(notEmpty ? this.caseField.value : null));
|
|
16312
16368
|
}
|
|
16313
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteFixedRadioListFieldComponent_BaseFactory; return function WriteFixedRadioListFieldComponent_Factory(
|
|
16369
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteFixedRadioListFieldComponent_BaseFactory; return function WriteFixedRadioListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteFixedRadioListFieldComponent_BaseFactory || (ɵWriteFixedRadioListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteFixedRadioListFieldComponent)))(__ngFactoryType__ || WriteFixedRadioListFieldComponent); }; })();
|
|
16314
16370
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteFixedRadioListFieldComponent, selectors: [["ccd-write-fixed-radio-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 9, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["class", "multiple-choice", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice", 3, "ngClass"], ["type", "radio", 1, "form-control", 3, "id", "name", "formControl", "value"], [1, "form-label", 3, "for"]], template: function WriteFixedRadioListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16315
16371
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend")(3, "label", 1);
|
|
16316
16372
|
i0.ɵɵtemplate(4, WriteFixedRadioListFieldComponent_span_4_Template, 3, 3, "span", 2);
|
|
@@ -16342,7 +16398,7 @@ class WriteFixedRadioListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
16342
16398
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteFixedRadioListFieldComponent, { className: "WriteFixedRadioListFieldComponent", filePath: "lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.ts", lineNumber: 9 }); })();
|
|
16343
16399
|
|
|
16344
16400
|
class CaseHistoryViewerFieldComponent extends AbstractFieldReadComponent {
|
|
16345
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵCaseHistoryViewerFieldComponent_BaseFactory; return function CaseHistoryViewerFieldComponent_Factory(
|
|
16401
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵCaseHistoryViewerFieldComponent_BaseFactory; return function CaseHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return (ɵCaseHistoryViewerFieldComponent_BaseFactory || (ɵCaseHistoryViewerFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CaseHistoryViewerFieldComponent)))(__ngFactoryType__ || CaseHistoryViewerFieldComponent); }; })();
|
|
16346
16402
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseHistoryViewerFieldComponent, selectors: [["ccd-case-history-viewer-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "events"]], template: function CaseHistoryViewerFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16347
16403
|
i0.ɵɵelement(0, "ccd-event-log", 0);
|
|
16348
16404
|
} if (rf & 2) {
|
|
@@ -16385,7 +16441,7 @@ class ReadJudicialUserFieldComponent extends AbstractFieldReadComponent {
|
|
|
16385
16441
|
this.sub.unsubscribe();
|
|
16386
16442
|
}
|
|
16387
16443
|
}
|
|
16388
|
-
static ɵfac = function ReadJudicialUserFieldComponent_Factory(
|
|
16444
|
+
static ɵfac = function ReadJudicialUserFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadJudicialUserFieldComponent)(i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
16389
16445
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadJudicialUserFieldComponent, selectors: [["ccd-read-judicial-user-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "text-16", 4, "ngIf"], [1, "text-16"]], template: function ReadJudicialUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16390
16446
|
i0.ɵɵtemplate(0, ReadJudicialUserFieldComponent_span_0_Template, 2, 2, "span", 0);
|
|
16391
16447
|
} if (rf & 2) {
|
|
@@ -16590,7 +16646,7 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
16590
16646
|
ngOnDestroy() {
|
|
16591
16647
|
this.jurisdictionSubscription?.unsubscribe();
|
|
16592
16648
|
}
|
|
16593
|
-
static ɵfac = function WriteJudicialUserFieldComponent_Factory(
|
|
16649
|
+
static ɵfac = function WriteJudicialUserFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteJudicialUserFieldComponent)(i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseFlagRefdataService), i0.ɵɵdirectiveInject(IsCompoundPipe), i0.ɵɵdirectiveInject(FormValidatorsService)); };
|
|
16594
16650
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteJudicialUserFieldComponent, selectors: [["ccd-write-judicial-user-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 17, consts: [["autoComplete", "matAutocomplete"], [1, "form-group", 3, "formGroup", "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "blur", "id", "formControl", "matAutocomplete"], ["autoActiveFirstOption", "", 3, "displayWith"], ["class", "select-option", 3, "ngClass", "value", "onSelectionChange", 4, "ngFor", "ngForOf"], ["class", "select-option", "disabled", "", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "select-option", 3, "onSelectionChange", "ngClass", "value"], ["disabled", "", 1, "select-option"]], template: function WriteJudicialUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16595
16651
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
16596
16652
|
i0.ɵɵelementStart(0, "div", 1)(1, "label", 2);
|
|
@@ -16639,45 +16695,50 @@ function LabelFieldComponent_ccd_markdown_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
16639
16695
|
i0.ɵɵpipe(1, "rpxTranslate");
|
|
16640
16696
|
} if (rf & 2) {
|
|
16641
16697
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
16642
|
-
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(1,
|
|
16698
|
+
i0.ɵɵproperty("content", i0.ɵɵpipeBind1(1, 1, ctx_r0.caseField.label));
|
|
16643
16699
|
} }
|
|
16644
16700
|
function LabelFieldComponent_ccd_markdown_3_Template(rf, ctx) { if (rf & 1) {
|
|
16645
16701
|
i0.ɵɵelement(0, "ccd-markdown", 2);
|
|
16646
16702
|
} if (rf & 2) {
|
|
16647
16703
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
16648
|
-
i0.ɵɵproperty("content", ctx_r0.caseField.
|
|
16704
|
+
i0.ɵɵproperty("content", ctx_r0.caseField.label);
|
|
16705
|
+
} }
|
|
16706
|
+
function LabelFieldComponent_ccd_markdown_4_Template(rf, ctx) { if (rf & 1) {
|
|
16707
|
+
i0.ɵɵelement(0, "ccd-markdown", 2);
|
|
16708
|
+
} if (rf & 2) {
|
|
16709
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
16710
|
+
i0.ɵɵproperty("content", ctx_r0.caseField.value || ctx_r0.caseField.label);
|
|
16649
16711
|
} }
|
|
16650
16712
|
class LabelFieldComponent {
|
|
16651
16713
|
caseField;
|
|
16652
16714
|
caseFields = [];
|
|
16653
16715
|
labelCanBeTranslated = false;
|
|
16654
|
-
|
|
16655
|
-
static
|
|
16656
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LabelFieldComponent, selectors: [["ccd-label-field"]], inputs: { caseField: "caseField", caseFields: "caseFields", labelCanBeTranslated: "labelCanBeTranslated", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, decls: 5, vars: 6, consts: [["ccdLabelSubstitutor", "", 1, "case-field", 3, "hidden", "caseField", "contextFields", "id"], [3, "content", "markdownUseHrefAsRouterLink", 4, "ngIf"], [3, "content", "markdownUseHrefAsRouterLink"]], template: function LabelFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16716
|
+
static ɵfac = function LabelFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LabelFieldComponent)(); };
|
|
16717
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LabelFieldComponent, selectors: [["ccd-label-field"]], inputs: { caseField: "caseField", caseFields: "caseFields", labelCanBeTranslated: "labelCanBeTranslated" }, decls: 6, vars: 7, consts: [["ccdLabelSubstitutor", "", 1, "case-field", 3, "hidden", "caseField", "contextFields", "id"], [3, "content", 4, "ngIf"], [3, "content"]], template: function LabelFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16657
16718
|
i0.ɵɵelementStart(0, "dl", 0)(1, "dt");
|
|
16658
|
-
i0.ɵɵtemplate(2, LabelFieldComponent_ccd_markdown_2_Template, 2,
|
|
16719
|
+
i0.ɵɵtemplate(2, LabelFieldComponent_ccd_markdown_2_Template, 2, 3, "ccd-markdown", 1)(3, LabelFieldComponent_ccd_markdown_3_Template, 1, 1, "ccd-markdown", 1)(4, LabelFieldComponent_ccd_markdown_4_Template, 1, 1, "ccd-markdown", 1);
|
|
16659
16720
|
i0.ɵɵelementEnd();
|
|
16660
|
-
i0.ɵɵelement(
|
|
16721
|
+
i0.ɵɵelement(5, "dd");
|
|
16661
16722
|
i0.ɵɵelementEnd();
|
|
16662
16723
|
} if (rf & 2) {
|
|
16663
16724
|
i0.ɵɵproperty("hidden", ctx.caseField.hidden)("caseField", ctx.caseField)("contextFields", ctx.caseFields)("id", ctx.caseField.id);
|
|
16664
16725
|
i0.ɵɵadvance(2);
|
|
16665
|
-
i0.ɵɵproperty("ngIf", ctx.labelCanBeTranslated);
|
|
16726
|
+
i0.ɵɵproperty("ngIf", ctx.labelCanBeTranslated && !ctx.caseField.isTranslated);
|
|
16727
|
+
i0.ɵɵadvance();
|
|
16728
|
+
i0.ɵɵproperty("ngIf", ctx.labelCanBeTranslated && ctx.caseField.isTranslated);
|
|
16666
16729
|
i0.ɵɵadvance();
|
|
16667
16730
|
i0.ɵɵproperty("ngIf", !ctx.labelCanBeTranslated);
|
|
16668
16731
|
} }, encapsulation: 2 });
|
|
16669
16732
|
}
|
|
16670
16733
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LabelFieldComponent, [{
|
|
16671
16734
|
type: Component,
|
|
16672
|
-
args: [{ selector: 'ccd-label-field', template: "<dl [hidden]=\"caseField.hidden\" class=\"case-field\" ccdLabelSubstitutor [caseField]=\"caseField\" [contextFields]=\"caseFields\" [id]=\"caseField.id\">\n <dt>\n <ccd-markdown *ngIf=\"labelCanBeTranslated\" [content]=\"caseField.label | rpxTranslate\" [
|
|
16735
|
+
args: [{ selector: 'ccd-label-field', template: "<dl [hidden]=\"caseField.hidden\" class=\"case-field\" ccdLabelSubstitutor [caseField]=\"caseField\" [contextFields]=\"caseFields\" [id]=\"caseField.id\">\n <dt>\n <ccd-markdown *ngIf=\"labelCanBeTranslated && !caseField.isTranslated\" [content]=\"caseField.label | rpxTranslate\">\n </ccd-markdown>\n\n <ccd-markdown *ngIf=\"labelCanBeTranslated && caseField.isTranslated\" [content]=\"caseField.label\">\n </ccd-markdown>\n\n <ccd-markdown *ngIf=\"!labelCanBeTranslated\" [content]=\"caseField.value || caseField.label\">\n </ccd-markdown>\n </dt>\n <dd></dd>\n</dl>\n" }]
|
|
16673
16736
|
}], null, { caseField: [{
|
|
16674
16737
|
type: Input
|
|
16675
16738
|
}], caseFields: [{
|
|
16676
16739
|
type: Input
|
|
16677
16740
|
}], labelCanBeTranslated: [{
|
|
16678
16741
|
type: Input
|
|
16679
|
-
}], markdownUseHrefAsRouterLink: [{
|
|
16680
|
-
type: Input
|
|
16681
16742
|
}] }); })();
|
|
16682
16743
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LabelFieldComponent, { className: "LabelFieldComponent", filePath: "lib/shared/components/palette/label/label-field.component.ts", lineNumber: 8 }); })();
|
|
16683
16744
|
|
|
@@ -16817,7 +16878,7 @@ class BeforeYouStartComponent extends AbstractJourneyComponent {
|
|
|
16817
16878
|
onBack() {
|
|
16818
16879
|
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
16819
16880
|
}
|
|
16820
|
-
static ɵfac = function BeforeYouStartComponent_Factory(
|
|
16881
|
+
static ɵfac = function BeforeYouStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BeforeYouStartComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
16821
16882
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BeforeYouStartComponent, selectors: [["ccd-linked-cases-before-you-start"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "link-cases-journey", 4, "ngIf"], ["id", "manage-link-cases-journey", 4, "ngIf"], ["id", "link-cases-journey"], ["id", "manage-link-cases-journey"]], template: function BeforeYouStartComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16822
16883
|
i0.ɵɵelementStart(0, "div");
|
|
16823
16884
|
i0.ɵɵtemplate(1, BeforeYouStartComponent_div_1_Template, 7, 1, "div", 0)(2, BeforeYouStartComponent_div_2_Template, 5, 2, "div", 0);
|
|
@@ -17000,7 +17061,7 @@ class CheckYourAnswersComponent extends AbstractJourneyComponent {
|
|
|
17000
17061
|
});
|
|
17001
17062
|
super.next();
|
|
17002
17063
|
}
|
|
17003
|
-
static ɵfac = function CheckYourAnswersComponent_Factory(
|
|
17064
|
+
static ɵfac = function CheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckYourAnswersComponent)(i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
17004
17065
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckYourAnswersComponent, selectors: [["ccd-linked-cases-check-your-answers"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 5, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-heading-xl"], ["id", "cases-to-unlink-table", "class", "govuk-table", 4, "ngIf"], ["id", "linked-cases-table", 1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--m"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header"], ["scope", "col", "class", "govuk-table__header", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], ["id", "cases-to-unlink-table", 1, "govuk-table"], [1, "govuk-table__cell"], ["href", "javascript:void(0)", 1, "govuk-link", "govuk-link--no-visited-state", "float-right", 3, "click"], ["colspan", "2", 1, "govuk-table__cell"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__cell", 4, "ngIf"], [4, "ngIf"], ["colspan", "4", 1, "govuk-table__cell"]], template: function CheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17005
17066
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
17006
17067
|
i0.ɵɵtext(3, "Check your answers");
|
|
@@ -17059,7 +17120,7 @@ class ValidatorsUtils {
|
|
|
17059
17120
|
return regex.test(control.value) ? null : { isValid: false };
|
|
17060
17121
|
};
|
|
17061
17122
|
}
|
|
17062
|
-
static ɵfac = function ValidatorsUtils_Factory(
|
|
17123
|
+
static ɵfac = function ValidatorsUtils_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ValidatorsUtils)(); };
|
|
17063
17124
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ValidatorsUtils, factory: ValidatorsUtils.ɵfac, providedIn: 'root' });
|
|
17064
17125
|
}
|
|
17065
17126
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValidatorsUtils, [{
|
|
@@ -17569,7 +17630,7 @@ class LinkCasesComponent extends AbstractJourneyComponent {
|
|
|
17569
17630
|
super.next();
|
|
17570
17631
|
}
|
|
17571
17632
|
}
|
|
17572
|
-
static ɵfac = function LinkCasesComponent_Factory(
|
|
17633
|
+
static ɵfac = function LinkCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkCasesComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(ValidatorsUtils), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
17573
17634
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkCasesComponent, selectors: [["ccd-link-cases"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 33, vars: 11, consts: [[1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-caption-l"], [1, "govuk-heading-xl"], ["class", "form-group", 3, "formGroup", 4, "ngIf"], ["id", "caseNumber", 1, "govuk-form-group", 3, "ngClass"], ["class", "govuk-error-message", 4, "ngIf"], [1, "govuk-table"], [1, "govuk-table__caption", "govuk-table__caption--m"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "300", 1, "govuk-table__header"], ["scope", "col", "width", "150", 1, "govuk-table__header"], ["scope", "col", "width", "200", 1, "govuk-table__header"], ["scope", "col", "width", "400", 1, "govuk-table__header"], ["scope", "col", "width", "50", 1, "govuk-table__header"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "form-group", 3, "formGroup"], [1, "govuk-heading-s"], ["formControlName", "caseNumber", "id", "width-20", "name", "width-20", "type", "text", 1, "govuk-input", "govuk-input--width-20"], [1, "govuk-!-margin-top-3", 3, "ngClass"], ["id", "waste-hint", 1, "govuk-hint"], ["data-module", "govuk-checkboxes", "formArrayName", "reasonType", "id", "caseReason", 1, "govuk-checkboxes"], ["class", "govuk-checkboxes__item", 3, "formGroupName", 4, "ngFor", "ngForOf"], ["id", "other-description-char-limit-error", "class", "govuk-!-margin-top-3", 3, "ngClass", 4, "ngIf"], ["id", "propose", "type", "button", "data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "click"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-checkboxes__item", 3, "formGroupName"], ["formControlName", "selected", "name", "pos", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "value"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["id", "other-description-char-limit-error", 1, "govuk-!-margin-top-3", 3, "ngClass"], ["id", "otherDescription", "name", "otherDescription", "formControlName", "otherDescription", "rows", "5", "aria-describedby", "other-description-hint other-description-char-limit-info other-description-char-limit-error", 1, "govuk-textarea", "govuk-input--width-30"], ["id", "other-description-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-table__cell"], [1, "govuk-form-group--error", 3, "ngClass"], [1, "govuk-table__cell", 3, "title"], [4, "ngFor", "ngForOf"], [1, "govuk-link", "no-visited-state", 3, "click"], ["colspan", "6", 1, "govuk-table__cell"]], template: function LinkCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17574
17635
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div")(3, "span", 2);
|
|
17575
17636
|
i0.ɵɵtext(4);
|
|
@@ -17845,7 +17906,7 @@ class LinkedCasesFromTableComponent {
|
|
|
17845
17906
|
? 'Hide'
|
|
17846
17907
|
: 'Show';
|
|
17847
17908
|
}
|
|
17848
|
-
static ɵfac = function LinkedCasesFromTableComponent_Factory(
|
|
17909
|
+
static ɵfac = function LinkedCasesFromTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesFromTableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
17849
17910
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesFromTableComponent, selectors: [["ccd-linked-cases-from-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 2, vars: 2, consts: [["id", "show-hide-link", "class", "govuk-link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "table to display cases linked from", 4, "ngIf"], ["id", "show-hide-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["aria-describedby", "table to display cases linked from"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-table__header", "case-table-column", "width-20"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 1, "govuk-link", 3, "href"], [1, "case-table-column"], [3, "title"], ["class", "case-table-column", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesFromTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17850
17911
|
i0.ɵɵtemplate(0, LinkedCasesFromTableComponent_a_0_Template, 2, 1, "a", 0)(1, LinkedCasesFromTableComponent_table_1_Template, 14, 1, "table", 1);
|
|
17851
17912
|
} if (rf & 2) {
|
|
@@ -18121,7 +18182,7 @@ class LinkedCasesToTableComponent {
|
|
|
18121
18182
|
reasons: caseInfo?.value?.ReasonForLink
|
|
18122
18183
|
};
|
|
18123
18184
|
}
|
|
18124
|
-
static ɵfac = function LinkedCasesToTableComponent_Factory(
|
|
18185
|
+
static ɵfac = function LinkedCasesToTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkedCasesToTableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CasesService)); };
|
|
18125
18186
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkedCasesToTableComponent, selectors: [["ccd-linked-cases-to-table"]], inputs: { caseField: "caseField" }, outputs: { notifyAPIFailure: "notifyAPIFailure" }, decls: 3, vars: 1, consts: [[1, "govuk-grid-row", "govuk-!-margin-bottom-2"], [1, "govuk-grid-column-full"], ["aria-describedby", "table to display cases linked TO", 4, "ngIf"], ["aria-describedby", "table to display cases linked TO"], [1, "govuk-table__row"], ["scope", "col", "width", "20%", 1, "govuk-table__header", "case-table-column"], [1, "govuk-table__body"], ["class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["class", "govuk-table__row", 4, "ngIf"], [1, "govuk-body"], ["target", "_blank", "rel", "noopener", 3, "href"], [1, "govuk-link"], [3, "title"], [4, "ngIf"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-padding-left-1", 3, "href", 4, "ngIf"], [1, "govuk-!-padding-left-1", 3, "href"], ["colspan", "5", 1, "govuk-table__cell"]], template: function LinkedCasesToTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18126
18187
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
18127
18188
|
i0.ɵɵtemplate(2, LinkedCasesToTableComponent_table_2_Template, 16, 2, "table", 2);
|
|
@@ -18177,7 +18238,7 @@ class NoLinkedCasesComponent extends AbstractJourneyComponent {
|
|
|
18177
18238
|
onBack() {
|
|
18178
18239
|
this.router.navigate(['cases', 'case-details', this.linkedCasesService.caseId], { fragment: 'Linked cases' });
|
|
18179
18240
|
}
|
|
18180
|
-
static ɵfac = function NoLinkedCasesComponent_Factory(
|
|
18241
|
+
static ɵfac = function NoLinkedCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoLinkedCasesComponent)(i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18181
18242
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoLinkedCasesComponent, selectors: [["ccd-no-linked-cases"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["noLinkedCases", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], ["class", "govuk-heading-xl", 4, "ngIf"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf", "ngIfElse"], [1, "govuk-body"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-button-group"], ["type", "button", "id", "back-button", 1, "button", "button-primary", 3, "click"], [1, "govuk-heading-xl"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function NoLinkedCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18182
18243
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
18183
18244
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
@@ -18421,7 +18482,7 @@ class UnLinkCasesComponent extends AbstractFieldWriteJourneyComponent {
|
|
|
18421
18482
|
this.errorMessages = [];
|
|
18422
18483
|
this.unlinkErrorMessage = null;
|
|
18423
18484
|
}
|
|
18424
|
-
static ɵfac = function UnLinkCasesComponent_Factory(
|
|
18485
|
+
static ɵfac = function UnLinkCasesComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UnLinkCasesComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18425
18486
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnLinkCasesComponent, selectors: [["ccd-unlink-cases"]], outputs: { linkedCasesStateEmitter: "linkedCasesStateEmitter", notifyAPIFailure: "notifyAPIFailure" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "govuk-grid-row", 4, "ngIf"], [1, "govuk-grid-row"], [1, "govuk-grid-column-full"], [1, "govuk-heading-xl"], ["class", "govuk-form-group form-group", 3, "ngClass", "formGroup", 4, "ngIf"], [1, "govuk-form-group", "form-group", 3, "ngClass", "formGroup"], ["id", "unlink-cases-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes"], ["class", "govuk-checkboxes__item", 4, "ngFor", "ngForOf"], ["id", "unlink-cases-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-checkboxes__item"], ["formArrayName", "linkedCases", "name", "linkedCases", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "value", "checked"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"]], template: function UnLinkCasesComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18426
18487
|
i0.ɵɵtemplate(0, UnLinkCasesComponent_div_0_Template, 5, 1, "div", 0);
|
|
18427
18488
|
} if (rf & 2) {
|
|
@@ -18522,7 +18583,7 @@ class CommonDataService {
|
|
|
18522
18583
|
}
|
|
18523
18584
|
return of(null);
|
|
18524
18585
|
}
|
|
18525
|
-
static ɵfac = function CommonDataService_Factory(
|
|
18586
|
+
static ɵfac = function CommonDataService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CommonDataService)(i0.ɵɵinject(i1$2.HttpClient)); };
|
|
18526
18587
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CommonDataService, factory: CommonDataService.ɵfac });
|
|
18527
18588
|
}
|
|
18528
18589
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CommonDataService, [{
|
|
@@ -18640,7 +18701,7 @@ class ReadLinkedCasesFieldComponent {
|
|
|
18640
18701
|
getFailureLinkedFromNotification(evt) {
|
|
18641
18702
|
this.isServerLinkedFromError = true;
|
|
18642
18703
|
}
|
|
18643
|
-
static ɵfac = function ReadLinkedCasesFieldComponent_Factory(
|
|
18704
|
+
static ɵfac = function ReadLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService)); };
|
|
18644
18705
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadLinkedCasesFieldComponent, selectors: [["ccd-read-linked-cases-field"]], decls: 20, vars: 10, consts: [["singleApiError", ""], ["multiApisError", ""], [1, "govuk-!-margin-bottom-2"], [1, "heading-h1"], [1, "table-sub-heading"], ["reloadPage", "reload", 3, "notifyAPIFailure", "caseField"], [4, "ngIf", "ngIfThen"], [1, "govuk-!-margin-top-8"], [1, "govuk-main-wrapper"], [1, "govuk-body"], [1, "govuk-body", "align-left"], ["href", "javascript:void(0)", "id", "reload-linked-cases-tab", 1, "govuk-link", 3, "click"]], template: function ReadLinkedCasesFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18645
18706
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
18646
18707
|
i0.ɵɵelementStart(0, "div")(1, "div", 2)(2, "h1", 3);
|
|
@@ -18975,7 +19036,7 @@ class WriteLinkedCasesFieldComponent extends AbstractFieldWriteJourneyComponent
|
|
|
18975
19036
|
}
|
|
18976
19037
|
super.previousPage();
|
|
18977
19038
|
}
|
|
18978
|
-
static ɵfac = function WriteLinkedCasesFieldComponent_Factory(
|
|
19039
|
+
static ɵfac = function WriteLinkedCasesFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteLinkedCasesFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(CommonDataService), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
18979
19040
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteLinkedCasesFieldComponent, selectors: [["ccd-write-linked-cases-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 7, consts: [["journeyChild", ""], [1, "form-group", "govuk-!-margin-bottom-2", 3, "formGroup"], [1, "govuk-form-group", 3, "ngSwitch"], [4, "ngSwitchCase"], [3, "linkedCasesStateEmitter"]], template: function WriteLinkedCasesFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18980
19041
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
18981
19042
|
i0.ɵɵtemplate(2, WriteLinkedCasesFieldComponent_ng_container_2_Template, 3, 0, "ng-container", 3)(3, WriteLinkedCasesFieldComponent_ng_container_3_Template, 3, 0, "ng-container", 3)(4, WriteLinkedCasesFieldComponent_ng_container_4_Template, 3, 0, "ng-container", 3)(5, WriteLinkedCasesFieldComponent_ng_container_5_Template, 3, 0, "ng-container", 3)(6, WriteLinkedCasesFieldComponent_ng_container_6_Template, 3, 0, "ng-container", 3);
|
|
@@ -19029,7 +19090,7 @@ class ReadMoneyGbpFieldComponent extends AbstractFieldReadComponent {
|
|
|
19029
19090
|
isNumber() {
|
|
19030
19091
|
return null !== this.value && !isNaN(this.value);
|
|
19031
19092
|
}
|
|
19032
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMoneyGbpFieldComponent_BaseFactory; return function ReadMoneyGbpFieldComponent_Factory(
|
|
19093
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMoneyGbpFieldComponent_BaseFactory; return function ReadMoneyGbpFieldComponent_Factory(__ngFactoryType__) { return (ɵReadMoneyGbpFieldComponent_BaseFactory || (ɵReadMoneyGbpFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadMoneyGbpFieldComponent)))(__ngFactoryType__ || ReadMoneyGbpFieldComponent); }; })();
|
|
19033
19094
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMoneyGbpFieldComponent, selectors: [["ccd-read-money-gbp-field"]], inputs: { amount: "amount" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "text-16"]], template: function ReadMoneyGbpFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19034
19095
|
i0.ɵɵtemplate(0, ReadMoneyGbpFieldComponent_ng_container_0_Template, 4, 5, "ng-container", 0);
|
|
19035
19096
|
} if (rf & 2) {
|
|
@@ -19116,7 +19177,7 @@ class MoneyGbpInputComponent {
|
|
|
19116
19177
|
// Not used.
|
|
19117
19178
|
}
|
|
19118
19179
|
propagateChange = (_) => { };
|
|
19119
|
-
static ɵfac = function MoneyGbpInputComponent_Factory(
|
|
19180
|
+
static ɵfac = function MoneyGbpInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MoneyGbpInputComponent)(); };
|
|
19120
19181
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MoneyGbpInputComponent, selectors: [["ccd-money-gbp-input"]], inputs: { id: "id", name: "name", mandatory: "mandatory", formControl: "formControl" }, features: [i0.ɵɵProvidersFeature([
|
|
19121
19182
|
{
|
|
19122
19183
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -19208,7 +19269,7 @@ class WriteMoneyGbpFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19208
19269
|
ngOnInit() {
|
|
19209
19270
|
this.moneyGbpControl = this.registerControl(new FormControl(this.caseField.value));
|
|
19210
19271
|
}
|
|
19211
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteMoneyGbpFieldComponent_BaseFactory; return function WriteMoneyGbpFieldComponent_Factory(
|
|
19272
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteMoneyGbpFieldComponent_BaseFactory; return function WriteMoneyGbpFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteMoneyGbpFieldComponent_BaseFactory || (ɵWriteMoneyGbpFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteMoneyGbpFieldComponent)))(__ngFactoryType__ || WriteMoneyGbpFieldComponent); }; })();
|
|
19212
19273
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteMoneyGbpFieldComponent, selectors: [["ccd-write-money-gbp-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 13, consts: [[1, "form-group", "bottom-30", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-money"], [1, "form-currency"], [3, "id", "name", "mandatory", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteMoneyGbpFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19213
19274
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
19214
19275
|
i0.ɵɵtemplate(2, WriteMoneyGbpFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -19267,7 +19328,7 @@ function ReadMultiSelectListFieldComponent_table_0_Template(rf, ctx) { if (rf &
|
|
|
19267
19328
|
i0.ɵɵproperty("ngForOf", ctx_r1.caseField.value);
|
|
19268
19329
|
} }
|
|
19269
19330
|
class ReadMultiSelectListFieldComponent extends AbstractFieldReadComponent {
|
|
19270
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMultiSelectListFieldComponent_BaseFactory; return function ReadMultiSelectListFieldComponent_Factory(
|
|
19331
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadMultiSelectListFieldComponent_BaseFactory; return function ReadMultiSelectListFieldComponent_Factory(__ngFactoryType__) { return (ɵReadMultiSelectListFieldComponent_BaseFactory || (ɵReadMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadMultiSelectListFieldComponent)))(__ngFactoryType__ || ReadMultiSelectListFieldComponent); }; })();
|
|
19271
19332
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadMultiSelectListFieldComponent, selectors: [["ccd-read-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "multi-select-list-field-table", 4, "ngIf"], [1, "multi-select-list-field-table"], [4, "ngFor", "ngForOf"], [2, "display", "none"], [1, "text-16"]], template: function ReadMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19272
19333
|
i0.ɵɵtemplate(0, ReadMultiSelectListFieldComponent_table_0_Template, 4, 4, "table", 0);
|
|
19273
19334
|
} if (rf & 2) {
|
|
@@ -19373,7 +19434,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19373
19434
|
return this.checkboxes.controls.find(control => control.value === code);
|
|
19374
19435
|
}
|
|
19375
19436
|
}
|
|
19376
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteMultiSelectListFieldComponent_BaseFactory; return function WriteMultiSelectListFieldComponent_Factory(
|
|
19437
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteMultiSelectListFieldComponent_BaseFactory; return function WriteMultiSelectListFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteMultiSelectListFieldComponent_BaseFactory || (ɵWriteMultiSelectListFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteMultiSelectListFieldComponent)))(__ngFactoryType__ || WriteMultiSelectListFieldComponent); }; })();
|
|
19377
19438
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteMultiSelectListFieldComponent, selectors: [["ccd-write-multi-select-list-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 8, consts: [[1, "form-group", "bottom-30", 3, "ngClass", "id"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice"], ["type", "checkbox", 1, "form-control", 3, "change", "id", "name", "value", "checked"], [1, "form-label", 3, "for"]], template: function WriteMultiSelectListFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19378
19439
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
19379
19440
|
i0.ɵɵtemplate(3, WriteMultiSelectListFieldComponent_span_3_Template, 3, 3, "span", 1);
|
|
@@ -19399,7 +19460,7 @@ class WriteMultiSelectListFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19399
19460
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteMultiSelectListFieldComponent, { className: "WriteMultiSelectListFieldComponent", filePath: "lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.ts", lineNumber: 10 }); })();
|
|
19400
19461
|
|
|
19401
19462
|
class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
19402
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadNumberFieldComponent_BaseFactory; return function ReadNumberFieldComponent_Factory(
|
|
19463
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadNumberFieldComponent_BaseFactory; return function ReadNumberFieldComponent_Factory(__ngFactoryType__) { return (ɵReadNumberFieldComponent_BaseFactory || (ɵReadNumberFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadNumberFieldComponent)))(__ngFactoryType__ || ReadNumberFieldComponent); }; })();
|
|
19403
19464
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadNumberFieldComponent, selectors: [["ccd-read-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19404
19465
|
i0.ɵɵelementStart(0, "span", 0);
|
|
19405
19466
|
i0.ɵɵtext(1);
|
|
@@ -19456,7 +19517,7 @@ class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19456
19517
|
ngOnInit() {
|
|
19457
19518
|
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
19458
19519
|
}
|
|
19459
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteNumberFieldComponent_BaseFactory; return function WriteNumberFieldComponent_Factory(
|
|
19520
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteNumberFieldComponent_BaseFactory; return function WriteNumberFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteNumberFieldComponent_BaseFactory || (ɵWriteNumberFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent)))(__ngFactoryType__ || WriteNumberFieldComponent); }; })();
|
|
19460
19521
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteNumberFieldComponent, selectors: [["ccd-write-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "number", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19461
19522
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
19462
19523
|
i0.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -19497,7 +19558,7 @@ class ReadOrderSummaryFieldComponent extends AbstractFieldReadComponent {
|
|
|
19497
19558
|
getPaymentTotal() {
|
|
19498
19559
|
return this.caseField.value ? this.caseField.value.PaymentTotal : '';
|
|
19499
19560
|
}
|
|
19500
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryFieldComponent_BaseFactory; return function ReadOrderSummaryFieldComponent_Factory(
|
|
19561
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryFieldComponent_BaseFactory; return function ReadOrderSummaryFieldComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryFieldComponent_BaseFactory || (ɵReadOrderSummaryFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryFieldComponent)))(__ngFactoryType__ || ReadOrderSummaryFieldComponent); }; })();
|
|
19501
19562
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryFieldComponent, selectors: [["ccd-read-order-summary-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 26, vars: 20, consts: [[1, "order-summary-title"], ["id", "hiddenHeader", 2, "display", "none"], ["ccdReadOrderSummaryRow", "", 3, "feeValue", 4, "ngFor", "ngForOf"], [1, "payment-total"], [3, "amount"], ["ccdReadOrderSummaryRow", "", 3, "feeValue"]], template: function ReadOrderSummaryFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19502
19563
|
i0.ɵɵelementStart(0, "div", 0);
|
|
19503
19564
|
i0.ɵɵtext(1);
|
|
@@ -19583,7 +19644,7 @@ class WriteOrderSummaryFieldComponent extends AbstractFieldWriteComponent {
|
|
|
19583
19644
|
feeValueGroup.addControl('value', feeGroup);
|
|
19584
19645
|
return feeValueGroup;
|
|
19585
19646
|
}
|
|
19586
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteOrderSummaryFieldComponent_BaseFactory; return function WriteOrderSummaryFieldComponent_Factory(
|
|
19647
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteOrderSummaryFieldComponent_BaseFactory; return function WriteOrderSummaryFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteOrderSummaryFieldComponent_BaseFactory || (ɵWriteOrderSummaryFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteOrderSummaryFieldComponent)))(__ngFactoryType__ || WriteOrderSummaryFieldComponent); }; })();
|
|
19587
19648
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteOrderSummaryFieldComponent, selectors: [["ccd-write-order-summary-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "caseField"]], template: function WriteOrderSummaryFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19588
19649
|
i0.ɵɵelement(0, "ccd-read-order-summary-field", 0);
|
|
19589
19650
|
} if (rf & 2) {
|
|
@@ -19623,7 +19684,7 @@ class ReadOrganisationFieldComponent extends AbstractFieldReadComponent {
|
|
|
19623
19684
|
this.context = PaletteContext.TABLE_VIEW;
|
|
19624
19685
|
}
|
|
19625
19686
|
}
|
|
19626
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrganisationFieldComponent_BaseFactory; return function ReadOrganisationFieldComponent_Factory(
|
|
19687
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrganisationFieldComponent_BaseFactory; return function ReadOrganisationFieldComponent_Factory(__ngFactoryType__) { return (ɵReadOrganisationFieldComponent_BaseFactory || (ɵReadOrganisationFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrganisationFieldComponent)))(__ngFactoryType__ || ReadOrganisationFieldComponent); }; })();
|
|
19627
19688
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldComponent, selectors: [["ccd-read-organisation-field"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 3, consts: [[3, "ngSwitch"], [3, "caseField", "context", 4, "ngSwitchCase"], [3, "caseField", "caseFields", "context", 4, "ngSwitchCase"], [3, "caseField", "caseFields", "context", 4, "ngSwitchDefault"], [3, "caseField", "context"], [3, "caseField", "caseFields", "context"]], template: function ReadOrganisationFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19628
19689
|
i0.ɵɵelementContainerStart(0, 0);
|
|
19629
19690
|
i0.ɵɵtemplate(1, ReadOrganisationFieldComponent_ccd_read_organisation_field_raw_1_Template, 1, 2, "ccd-read-organisation-field-raw", 1)(2, ReadOrganisationFieldComponent_ccd_read_organisation_field_table_2_Template, 1, 3, "ccd-read-organisation-field-table", 2)(3, ReadOrganisationFieldComponent_ccd_read_organisation_field_table_3_Template, 1, 3, "ccd-read-organisation-field-table", 3);
|
|
@@ -20005,7 +20066,7 @@ class WriteOrganisationFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20005
20066
|
}
|
|
20006
20067
|
}
|
|
20007
20068
|
}
|
|
20008
|
-
static ɵfac = function WriteOrganisationFieldComponent_Factory(
|
|
20069
|
+
static ɵfac = function WriteOrganisationFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteOrganisationFieldComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter), i0.ɵɵdirectiveInject(WindowService)); };
|
|
20009
20070
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteOrganisationFieldComponent, selectors: [["ccd-write-organisation-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 7, consts: [["selectedOrganisation", ""], [1, "form-group", 3, "formGroup"], ["class", "govuk-fieldset", 4, "ngIf"], [1, "govuk-fieldset"], [2, "display", "none"], [1, "hmcts-banner"], ["fill", "currentColor", "role", "presentation", "focusable", "false", "xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 25 25", "height", "25", "width", "25", 1, "hmcts-banner__icon"], ["d", "M13.7,18.5h-2.4v-2.4h2.4V18.5z M12.5,13.7c-0.7,0-1.2-0.5-1.2-1.2V7.7c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v4.8\n C13.7,13.2,13.2,13.7,12.5,13.7z M12.5,0.5c-6.6,0-12,5.4-12,12s5.4,12,12,12s12-5.4,12-12S19.1,0.5,12.5,0.5z"], [1, "hmcts-banner__message"], [1, "hmcts-banner__assistive"], [1, "warning-message"], [1, "warning-panel"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "heading-h2"], [1, "govuk-form-group"], ["for", "search-org-text", 1, "govuk-label"], ["id", "search-org-hint", 1, "govuk-hint"], ["id", "search-org-text", "type", "text", 1, "form-control", 3, "formControl"], ["for", "organisation-table", 1, "govuk-label"], [1, "govuk-section-break", "govuk-section-break--visible"], [3, "ngClass", 4, "ngIf", "ngIfElse"], [3, "caseField", "formGroup", "selectedOrg$"], ["id", "find-organisation-help", "data-module", "govuk-details", 1, "govuk-details"], [1, "govuk-details__summary"], ["id", "content-why-can-not-find-organisation", 1, "govuk-details__summary-text"], ["id", "content-reason-can-not-find-organisation", 1, "govuk-details__text"], [3, "ngClass"], ["id", "organisation-table", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["id", "organisation-table"], [1, "name-header"], [1, "td-address"], [3, "content"], [1, "td-select"], ["href", "javascript:void(0);", 3, "click", "title"], [1, "no-result-message"], ["id", "organisation-selected-table", 4, "ngIf"], ["id", "organisation-selected-table"]], template: function WriteOrganisationFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20010
20071
|
i0.ɵɵelementStart(0, "div", 1);
|
|
20011
20072
|
i0.ɵɵtemplate(1, WriteOrganisationFieldComponent_fieldset_1_Template, 16, 9, "fieldset", 2);
|
|
@@ -20069,7 +20130,7 @@ class CasePaymentHistoryViewerFieldComponent extends PaymentField {
|
|
|
20069
20130
|
constructor(appConfig, sessionStorage) {
|
|
20070
20131
|
super(appConfig, sessionStorage);
|
|
20071
20132
|
}
|
|
20072
|
-
static ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(
|
|
20133
|
+
static ɵfac = function CasePaymentHistoryViewerFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasePaymentHistoryViewerFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
20073
20134
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CasePaymentHistoryViewerFieldComponent, selectors: [["ccd-case-payment-history-viewer-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 16, consts: [[3, "API_ROOT", "CCD_CASE_NUMBER", "BULKSCAN_API_ROOT", "SELECTED_OPTION", "ISBSENABLE", "LOGGEDINUSEREMAIL", "LOGGEDINUSERROLES", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "ISPAYMENTSTATUSENABLED"]], template: function CasePaymentHistoryViewerFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20074
20135
|
i0.ɵɵelement(0, "ccpay-payment-lib", 0);
|
|
20075
20136
|
} if (rf & 2) {
|
|
@@ -20083,7 +20144,7 @@ class CasePaymentHistoryViewerFieldComponent extends PaymentField {
|
|
|
20083
20144
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePaymentHistoryViewerFieldComponent, { className: "CasePaymentHistoryViewerFieldComponent", filePath: "lib/shared/components/palette/payment/case-payment-history-viewer-field.component.ts", lineNumber: 10 }); })();
|
|
20084
20145
|
|
|
20085
20146
|
class ReadPhoneUKFieldComponent extends AbstractFieldReadComponent {
|
|
20086
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadPhoneUKFieldComponent_BaseFactory; return function ReadPhoneUKFieldComponent_Factory(
|
|
20147
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadPhoneUKFieldComponent_BaseFactory; return function ReadPhoneUKFieldComponent_Factory(__ngFactoryType__) { return (ɵReadPhoneUKFieldComponent_BaseFactory || (ɵReadPhoneUKFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadPhoneUKFieldComponent)))(__ngFactoryType__ || ReadPhoneUKFieldComponent); }; })();
|
|
20087
20148
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadPhoneUKFieldComponent, selectors: [["ccd-read-phone-uk-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadPhoneUKFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20088
20149
|
i0.ɵɵelementStart(0, "span", 0);
|
|
20089
20150
|
i0.ɵɵtext(1);
|
|
@@ -20139,7 +20200,7 @@ class WritePhoneUKFieldComponent extends AbstractFieldWriteComponent {
|
|
|
20139
20200
|
ngOnInit() {
|
|
20140
20201
|
this.phoneUkControl = this.registerControl(new FormControl(this.caseField.value));
|
|
20141
20202
|
}
|
|
20142
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWritePhoneUKFieldComponent_BaseFactory; return function WritePhoneUKFieldComponent_Factory(
|
|
20203
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWritePhoneUKFieldComponent_BaseFactory; return function WritePhoneUKFieldComponent_Factory(__ngFactoryType__) { return (ɵWritePhoneUKFieldComponent_BaseFactory || (ɵWritePhoneUKFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WritePhoneUKFieldComponent)))(__ngFactoryType__ || WritePhoneUKFieldComponent); }; })();
|
|
20143
20204
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WritePhoneUKFieldComponent, selectors: [["ccd-write-phone-uk-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "tel", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WritePhoneUKFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20144
20205
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
20145
20206
|
i0.ɵɵtemplate(2, WritePhoneUKFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -20403,7 +20464,7 @@ function QualifyingQuestionDetailComponent_ng_container_0_Template(rf, ctx) { if
|
|
|
20403
20464
|
} }
|
|
20404
20465
|
class QualifyingQuestionDetailComponent {
|
|
20405
20466
|
qualifyingQuestion;
|
|
20406
|
-
static ɵfac = function QualifyingQuestionDetailComponent_Factory(
|
|
20467
|
+
static ɵfac = function QualifyingQuestionDetailComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionDetailComponent)(); };
|
|
20407
20468
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionDetailComponent, selectors: [["ccd-qualifying-question-detail"]], inputs: { qualifyingQuestion: "qualifyingQuestion" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-caption-l"], [1, "govuk-heading-l"], [1, "qm-qualifying-question"], [3, "content"]], template: function QualifyingQuestionDetailComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20408
20469
|
i0.ɵɵtemplate(0, QualifyingQuestionDetailComponent_ng_container_0_Template, 10, 9, "ng-container", 0);
|
|
20409
20470
|
} if (rf & 2) {
|
|
@@ -20460,7 +20521,7 @@ class QualifyingQuestionService {
|
|
|
20460
20521
|
clearQualifyingQuestionSelection() {
|
|
20461
20522
|
this.qualifyingQuestionSelection = null;
|
|
20462
20523
|
}
|
|
20463
|
-
static ɵfac = function QualifyingQuestionService_Factory(
|
|
20524
|
+
static ɵfac = function QualifyingQuestionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionService)(); };
|
|
20464
20525
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QualifyingQuestionService, factory: QualifyingQuestionService.ɵfac });
|
|
20465
20526
|
}
|
|
20466
20527
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QualifyingQuestionService, [{
|
|
@@ -20575,7 +20636,7 @@ class QualifyingQuestionOptionsComponent {
|
|
|
20575
20636
|
get displayError() {
|
|
20576
20637
|
return this.qualifyingQuestionsControl.touched && this.qualifyingQuestionsControl.hasError('required');
|
|
20577
20638
|
}
|
|
20578
|
-
static ɵfac = function QualifyingQuestionOptionsComponent_Factory(
|
|
20639
|
+
static ɵfac = function QualifyingQuestionOptionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QualifyingQuestionOptionsComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
20579
20640
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QualifyingQuestionOptionsComponent, selectors: [["ccd-qualifying-question-options"]], inputs: { qualifyingQuestionsControl: "qualifyingQuestionsControl", qualifyingQuestions$: "qualifyingQuestions$" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-form-group"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-heading-m", "govuk-!-margin-top-10"], ["data-module", "govuk-radios", 1, "govuk-radios"], [4, "ngFor", "ngForOf"], [1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["name", "qualifyingQuestionOption", "type", "radio", 1, "govuk-radios__input", 3, "id", "formControl", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [1, "govuk-radios__divider"]], template: function QualifyingQuestionOptionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20580
20641
|
i0.ɵɵtemplate(0, QualifyingQuestionOptionsComponent_ng_container_0_Template, 14, 12, "ng-container", 0);
|
|
20581
20642
|
} if (rf & 2) {
|
|
@@ -20639,7 +20700,7 @@ class QueryAttachmentsReadComponent {
|
|
|
20639
20700
|
});
|
|
20640
20701
|
this.caseFieldWithAttachments.value = this.attachments;
|
|
20641
20702
|
}
|
|
20642
|
-
static ɵfac = function QueryAttachmentsReadComponent_Factory(
|
|
20703
|
+
static ɵfac = function QueryAttachmentsReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryAttachmentsReadComponent)(); };
|
|
20643
20704
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryAttachmentsReadComponent, selectors: [["ccd-query-attachments-read"]], inputs: { attachments: "attachments" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "caseField", 4, "ngIf"], [3, "caseField"]], template: function QueryAttachmentsReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20644
20705
|
i0.ɵɵtemplate(0, QueryAttachmentsReadComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
|
|
20645
20706
|
} if (rf & 2) {
|
|
@@ -20688,7 +20749,7 @@ class QueryCaseDetailsHeaderComponent {
|
|
|
20688
20749
|
}, []);
|
|
20689
20750
|
return caseDataFields.concat(this.caseDetails.metadataFields);
|
|
20690
20751
|
}
|
|
20691
|
-
static ɵfac = function QueryCaseDetailsHeaderComponent_Factory(
|
|
20752
|
+
static ɵfac = function QueryCaseDetailsHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCaseDetailsHeaderComponent)(); };
|
|
20692
20753
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCaseDetailsHeaderComponent, selectors: [["ccd-query-case-details-header"]], inputs: { caseDetails: "caseDetails" }, decls: 2, vars: 2, consts: [["class", "heading-h1", 4, "ngIf"], ["class", "case-title", 4, "ngIf"], [1, "heading-h1"], [1, "case-title"], [3, "caseField", "caseFields"]], template: function QueryCaseDetailsHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20693
20754
|
i0.ɵɵtemplate(0, QueryCaseDetailsHeaderComponent_h1_0_Template, 3, 3, "h1", 0)(1, QueryCaseDetailsHeaderComponent_div_1_Template, 2, 2, "div", 1);
|
|
20694
20755
|
} if (rf & 2) {
|
|
@@ -20862,7 +20923,7 @@ class QueryManagementUtils {
|
|
|
20862
20923
|
const formattedDate = moment(date).format('YYYY-MM-DD');
|
|
20863
20924
|
return formattedDate;
|
|
20864
20925
|
}
|
|
20865
|
-
static ɵfac = function QueryManagementUtils_Factory(
|
|
20926
|
+
static ɵfac = function QueryManagementUtils_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryManagementUtils)(); };
|
|
20866
20927
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: QueryManagementUtils, factory: QueryManagementUtils.ɵfac });
|
|
20867
20928
|
}
|
|
20868
20929
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryManagementUtils, [{
|
|
@@ -21297,7 +21358,7 @@ class QueryCheckYourAnswersComponent {
|
|
|
21297
21358
|
this.attachments = documents.map(QueryManagementUtils.documentToCollectionFormDocument);
|
|
21298
21359
|
}
|
|
21299
21360
|
}
|
|
21300
|
-
static ɵfac = function QueryCheckYourAnswersComponent_Factory(
|
|
21361
|
+
static ɵfac = function QueryCheckYourAnswersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryCheckYourAnswersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(WorkAllocationService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(QualifyingQuestionService)); };
|
|
21301
21362
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryCheckYourAnswersComponent, selectors: [["ccd-query-check-your-answers"]], inputs: { formGroup: "formGroup", queryItem: "queryItem", queryCreateContext: "queryCreateContext", eventData: "eventData" }, outputs: { backClicked: "backClicked", querySubmitted: "querySubmitted" }, decls: 33, vars: 22, consts: [["defaultCheckYourAnswersTitle", ""], ["isHearingRelatedFalse", ""], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds-from-desktop"], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [4, "ngIf"], [1, "govuk-heading-l"], [4, "ngIf", "ngIfElse"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-summary-list govuk-!-margin-bottom-0", 4, "ngIf"], [1, "govuk-summary-list", "govuk-!-margin-bottom-0"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", "govuk-!-margin-right-3", 3, "click"], ["data-module", "govuk-button", "type", "submit", 1, "govuk-button", 3, "click"], [3, "eventCompletionParams"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [4, "ngFor", "ngForOf"], ["href", "javascript:void(0)", 1, "validation-error", 3, "id"], [1, "govuk-caption-l"], ["href", "javascript:void(0)", "class", "govuk-link", 3, "click", 4, "ngIf"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-summary-list__value", "govuk-summary-list__value--documentAttached"], [3, "attachments", 4, "ngIf"], [3, "attachments"]], template: function QueryCheckYourAnswersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21302
21363
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
21303
21364
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3);
|
|
@@ -21758,7 +21819,7 @@ class QueryDetailsComponent {
|
|
|
21758
21819
|
this.hasResponded.emit(false);
|
|
21759
21820
|
return false;
|
|
21760
21821
|
}
|
|
21761
|
-
static ɵfac = function QueryDetailsComponent_Factory(
|
|
21822
|
+
static ɵfac = function QueryDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryDetailsComponent)(i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
21762
21823
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId", queryResponseStatus: "queryResponseStatus" }, outputs: { backClicked: "backClicked", hasResponded: "hasResponded" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["followUpMessage", ""], [4, "ngIf"], ["type", "error", 4, "ngIf"], [1, "govuk-table", "query-details-table"], [1, "govuk-table__caption", "govuk-table__caption--l"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header"], [1, "govuk-table__cell"], ["class", "govuk-table__row govuk-table__row--isHearingRelated", 4, "ngIf"], ["class", "govuk-table__row", 4, "ngIf"], ["type", "error"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments", 4, "ngIf"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21763
21824
|
i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 47, 42, "ng-container", 1);
|
|
21764
21825
|
} if (rf & 2) {
|
|
@@ -21786,7 +21847,7 @@ class QueryEventCompletionComponent {
|
|
|
21786
21847
|
onEventCanBeCompleted(value) {
|
|
21787
21848
|
// Submit the query response
|
|
21788
21849
|
}
|
|
21789
|
-
static ɵfac = function QueryEventCompletionComponent_Factory(
|
|
21850
|
+
static ɵfac = function QueryEventCompletionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryEventCompletionComponent)(); };
|
|
21790
21851
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryEventCompletionComponent, selectors: [["ccd-query-event-completion"]], inputs: { eventCompletionParams: "eventCompletionParams" }, decls: 1, vars: 1, consts: [[3, "eventCanBeCompleted", "eventCompletionParams"]], template: function QueryEventCompletionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21791
21852
|
i0.ɵɵelementStart(0, "ccd-case-event-completion", 0);
|
|
21792
21853
|
i0.ɵɵlistener("eventCanBeCompleted", function QueryEventCompletionComponent_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { return ctx.onEventCanBeCompleted($event); });
|
|
@@ -21952,7 +22013,7 @@ class QueryListComponent {
|
|
|
21952
22013
|
col.sortOrder = SortOrder.ASCENDING;
|
|
21953
22014
|
}
|
|
21954
22015
|
}
|
|
21955
|
-
static ɵfac = function QueryListComponent_Factory(
|
|
22016
|
+
static ɵfac = function QueryListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryListComponent)(); };
|
|
21956
22017
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryListComponent, selectors: [["ccd-query-list"]], inputs: { caseQueriesCollection: "caseQueriesCollection" }, outputs: { selectedQuery: "selectedQuery" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "govuk-table", "query-list__table"], [1, "govuk-table__caption", "govuk-table__caption--l", "query-list__caption"], [1, "query-list__caption-text"], [1, "govuk-table__head"], [1, "govuk-table__row", "query-list__row"], ["scope", "col", "class", "govuk-table__header", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], ["class", "govuk-table__row query-list__row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__header"], ["type", "button", "aria-sort", "none", "href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell", "query-list__cell--first"], ["href", "javascript:void(0)", 3, "click"], [1, "govuk-table__cell", "query-list__cell"]], template: function QueryListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21957
22018
|
i0.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
21958
22019
|
} if (rf & 2) {
|
|
@@ -22020,7 +22081,7 @@ class QueryWriteAddDocumentsComponent {
|
|
|
22020
22081
|
ngOnDestroy() {
|
|
22021
22082
|
this.documentFormControlSubscription?.unsubscribe();
|
|
22022
22083
|
}
|
|
22023
|
-
static ɵfac = function QueryWriteAddDocumentsComponent_Factory(
|
|
22084
|
+
static ɵfac = function QueryWriteAddDocumentsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteAddDocumentsComponent)(); };
|
|
22024
22085
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteAddDocumentsComponent, selectors: [["ccd-query-write-add-documents"]], inputs: { formGroup: "formGroup", label: "label", hintText: "hintText" }, outputs: { documentCollectionUpdate: "documentCollectionUpdate" }, decls: 1, vars: 2, consts: [[3, "formGroup", "caseField"]], template: function QueryWriteAddDocumentsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22025
22086
|
i0.ɵɵelement(0, "ccd-write-collection-field", 0);
|
|
22026
22087
|
} if (rf & 2) {
|
|
@@ -22043,6 +22104,8 @@ class QueryWriteAddDocumentsComponent {
|
|
|
22043
22104
|
|
|
22044
22105
|
class QueryWriteDateInputComponent {
|
|
22045
22106
|
formControlName;
|
|
22107
|
+
// TEST TODO
|
|
22108
|
+
// Note: ngModel used here - Angular may affect this
|
|
22046
22109
|
day;
|
|
22047
22110
|
month;
|
|
22048
22111
|
year;
|
|
@@ -22083,7 +22146,7 @@ class QueryWriteDateInputComponent {
|
|
|
22083
22146
|
const isValidYear = this.year !== null && this.year >= 1970;
|
|
22084
22147
|
return isValidDay && isValidMonth && isValidYear;
|
|
22085
22148
|
}
|
|
22086
|
-
static ɵfac = function QueryWriteDateInputComponent_Factory(
|
|
22149
|
+
static ɵfac = function QueryWriteDateInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteDateInputComponent)(); };
|
|
22087
22150
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteDateInputComponent, selectors: [["ccd-query-write-date-input"]], inputs: { formControlName: "formControlName" }, features: [i0.ɵɵProvidersFeature([
|
|
22088
22151
|
{
|
|
22089
22152
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -22330,7 +22393,7 @@ class QueryWriteRaiseQueryComponent {
|
|
|
22330
22393
|
caseDetails;
|
|
22331
22394
|
showForm;
|
|
22332
22395
|
raiseQueryErrorMessage = RaiseQueryErrorMessage;
|
|
22333
|
-
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(
|
|
22396
|
+
static ɵfac = function QueryWriteRaiseQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRaiseQueryComponent)(); };
|
|
22334
22397
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRaiseQueryComponent, selectors: [["ccd-query-write-raise-query"]], inputs: { formGroup: "formGroup", submitted: "submitted", caseDetails: "caseDetails", showForm: "showForm" }, decls: 12, vars: 8, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-4"], [3, "caseDetails"], ["class", "govuk-!-margin-bottom-4", 4, "ngIf"], [1, "govuk-!-margin-bottom-4"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], ["for", "subject", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "subject-hint", 1, "govuk-hint"], ["id", "subject-error", "class", "govuk-error-message", 4, "ngIf"], ["type", "text", "name", "subject", "id", "subject", 1, "govuk-input", 3, "formControlName"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-hint", 1, "govuk-hint"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], [1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "isHearingRelated-error", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--inline"], [1, "govuk-radios__item"], ["id", "isHearingRelated-yes", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-yes", 1, "govuk-label", "govuk-radios__label"], ["id", "isHearingRelated-no", "name", "isHearingRelated", "type", "radio", "formControlName", "isHearingRelated", 1, "govuk-radios__input", 3, "checked", "value"], ["for", "isHearingRelated-no", 1, "govuk-label", "govuk-radios__label"], [4, "ngIf"], ["id", "subject-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "body-error", 1, "govuk-error-message"], ["id", "isHearingRelated-error", 1, "govuk-error-message"], [1, "govuk-radios__conditional", "govuk-!-margin-top-1", 3, "ngClass"], ["role", "group", 1, "govuk-fieldset"], [1, "govuk-label", "govuk-label--s"], ["id", "hearingDate-error", "class", "govuk-error-message", 4, "ngIf"], ["formControlName", "hearingDate"], ["id", "hearingDate-error", 1, "govuk-error-message"]], template: function QueryWriteRaiseQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22335
22398
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "div", 1);
|
|
22336
22399
|
i0.ɵɵtext(3);
|
|
@@ -22496,7 +22559,7 @@ class QueryWriteRespondToQueryComponent {
|
|
|
22496
22559
|
this.hasRespondedToQuery = value;
|
|
22497
22560
|
this.hasRespondedToQueryTask.emit(value);
|
|
22498
22561
|
}
|
|
22499
|
-
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(
|
|
22562
|
+
static ɵfac = function QueryWriteRespondToQueryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryWriteRespondToQueryComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22500
22563
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryWriteRespondToQueryComponent, selectors: [["ccd-query-write-respond-to-query"]], inputs: { queryItem: "queryItem", formGroup: "formGroup", queryCreateContext: "queryCreateContext", submitted: "submitted", caseQueriesCollections: "caseQueriesCollections", showForm: "showForm" }, outputs: { hasRespondedToQueryTask: "hasRespondedToQueryTask" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 10, consts: [[1, "govuk-!-margin-bottom-6"], [1, "govuk-caption-l"], [1, "govuk-heading-l", "govuk-!-margin-bottom-0"], [1, "govuk-!-margin-bottom-4"], [3, "caseDetails"], [3, "hasResponded", "query", "queryResponseStatus"], ["class", "query-respond", 4, "ngIf"], [1, "query-respond"], [4, "ngIf"], [1, "govuk-heading-m"], [3, "formGroup"], [1, "govuk-form-group", "body-textarea"], [1, "govuk-label-wrapper"], ["for", "body", 1, "govuk-label", "govuk-label--m", "govuk-!-font-weight-bold"], ["id", "body-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "body", "name", "body", "rows", "5", "aria-describedby", "body-hint body-error", 1, "govuk-textarea", 3, "formControlName"], ["id", "body-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"]], template: function QueryWriteRespondToQueryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22501
22564
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 0)(2, "div", 1);
|
|
22502
22565
|
i0.ɵɵtext(3);
|
|
@@ -22657,7 +22720,7 @@ class QueryConfirmationComponent {
|
|
|
22657
22720
|
ngOnInit() {
|
|
22658
22721
|
this.caseId = this.route.snapshot.params.cid;
|
|
22659
22722
|
}
|
|
22660
|
-
static ɵfac = function QueryConfirmationComponent_Factory(
|
|
22723
|
+
static ɵfac = function QueryConfirmationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || QueryConfirmationComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
22661
22724
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryConfirmationComponent, selectors: [["ccd-query-confirmation"]], inputs: { queryCreateContext: "queryCreateContext" }, decls: 1, vars: 1, consts: [["class", "govuk-main-wrapper", 4, "ngIf"], [1, "govuk-main-wrapper"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [4, "ngIf"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-body"], [1, "govuk-heading-s"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "tasks-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"], ["id", "case-link", "href", "javascript:void(0)", 1, "govuk-link", 3, "routerLink"]], template: function QueryConfirmationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22662
22725
|
i0.ɵɵtemplate(0, QueryConfirmationComponent_main_0_Template, 5, 2, "main", 0);
|
|
22663
22726
|
} if (rf & 2) {
|
|
@@ -22807,7 +22870,7 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
22807
22870
|
&& !(userDetails.roles.includes('pui-case-manager')
|
|
22808
22871
|
|| userDetails.roles.some((role) => role.toLowerCase().includes('judge')));
|
|
22809
22872
|
}
|
|
22810
|
-
static ɵfac = function ReadQueryManagementFieldComponent_Factory(
|
|
22873
|
+
static ɵfac = function ReadQueryManagementFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadQueryManagementFieldComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
22811
22874
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadQueryManagementFieldComponent, selectors: [["ccd-read-query-management-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["singleQueryDetails", ""], ["queryIsInReview", ""], [4, "ngIf", "ngIfElse"], [4, "ngFor", "ngForOf"], ["class", "govuk-!-margin-top-8 govuk-!-margin-bottom-8", 4, "ngIf"], [1, "govuk-!-margin-top-8", "govuk-!-margin-bottom-8"], [3, "selectedQuery", "caseQueriesCollection"], [3, "backClicked", "query", "caseId"], [4, "ngIf"], ["id", "ask-follow-up-question", "data-module", "govuk-button", 1, "govuk-button", 3, "routerLink"], [1, "govuk-!-font-weight-bold"]], template: function ReadQueryManagementFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22812
22875
|
i0.ɵɵtemplate(0, ReadQueryManagementFieldComponent_ng_container_0_Template, 2, 1, "ng-container", 2)(1, ReadQueryManagementFieldComponent_ng_template_1_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
22813
22876
|
} if (rf & 2) {
|
|
@@ -22822,22 +22885,21 @@ class ReadQueryManagementFieldComponent extends AbstractFieldReadComponent {
|
|
|
22822
22885
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadQueryManagementFieldComponent, { className: "ReadQueryManagementFieldComponent", filePath: "lib/shared/components/palette/query-management/read-query-management-field.component.ts", lineNumber: 14 }); })();
|
|
22823
22886
|
|
|
22824
22887
|
class ReadTextAreaFieldComponent extends AbstractFieldReadComponent {
|
|
22825
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextAreaFieldComponent_BaseFactory; return function ReadTextAreaFieldComponent_Factory(
|
|
22826
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
22888
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextAreaFieldComponent_BaseFactory; return function ReadTextAreaFieldComponent_Factory(__ngFactoryType__) { return (ɵReadTextAreaFieldComponent_BaseFactory || (ɵReadTextAreaFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadTextAreaFieldComponent)))(__ngFactoryType__ || ReadTextAreaFieldComponent); }; })();
|
|
22889
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadTextAreaFieldComponent, selectors: [["ccd-read-text-area-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[2, "white-space", "pre-wrap"]], template: function ReadTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22827
22890
|
i0.ɵɵelementStart(0, "span", 0);
|
|
22828
22891
|
i0.ɵɵtext(1);
|
|
22829
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22830
22892
|
i0.ɵɵelementEnd();
|
|
22831
22893
|
} if (rf & 2) {
|
|
22832
22894
|
i0.ɵɵadvance();
|
|
22833
|
-
i0.ɵɵtextInterpolate(
|
|
22834
|
-
} },
|
|
22895
|
+
i0.ɵɵtextInterpolate(ctx.caseField.value);
|
|
22896
|
+
} }, encapsulation: 2 });
|
|
22835
22897
|
}
|
|
22836
22898
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextAreaFieldComponent, [{
|
|
22837
22899
|
type: Component,
|
|
22838
22900
|
args: [{
|
|
22839
22901
|
selector: 'ccd-read-text-area-field',
|
|
22840
|
-
template: `<span style="white-space: pre-wrap">{{caseField.value
|
|
22902
|
+
template: `<span style="white-space: pre-wrap">{{ caseField.value }}</span>`
|
|
22841
22903
|
}]
|
|
22842
22904
|
}], null, null); })();
|
|
22843
22905
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextAreaFieldComponent, { className: "ReadTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/read-text-area-field.component.ts", lineNumber: 8 }); })();
|
|
@@ -22891,7 +22953,7 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22891
22953
|
event.target.scrollTop = event.target.scrollHeight;
|
|
22892
22954
|
}
|
|
22893
22955
|
}
|
|
22894
|
-
static ɵfac = function WriteTextAreaFieldComponent_Factory(
|
|
22956
|
+
static ɵfac = function WriteTextAreaFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteTextAreaFieldComponent)(i0.ɵɵdirectiveInject(BrowserService)); };
|
|
22895
22957
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTextAreaFieldComponent, selectors: [["ccd-write-text-area-field"]], features: [i0.ɵɵProvidersFeature([BrowserService]), i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["rows", "3", 1, "form-control", "bottom-30", 3, "input", "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteTextAreaFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22896
22958
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
22897
22959
|
i0.ɵɵtemplate(2, WriteTextAreaFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -22921,22 +22983,21 @@ class WriteTextAreaFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22921
22983
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteTextAreaFieldComponent, { className: "WriteTextAreaFieldComponent", filePath: "lib/shared/components/palette/text-area/write-text-area-field.component.ts", lineNumber: 11 }); })();
|
|
22922
22984
|
|
|
22923
22985
|
class ReadTextFieldComponent extends AbstractFieldReadComponent {
|
|
22924
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextFieldComponent_BaseFactory; return function ReadTextFieldComponent_Factory(
|
|
22925
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
22986
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadTextFieldComponent_BaseFactory; return function ReadTextFieldComponent_Factory(__ngFactoryType__) { return (ɵReadTextFieldComponent_BaseFactory || (ɵReadTextFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadTextFieldComponent)))(__ngFactoryType__ || ReadTextFieldComponent); }; })();
|
|
22987
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadTextFieldComponent, selectors: [["ccd-read-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22926
22988
|
i0.ɵɵelementStart(0, "span", 0);
|
|
22927
22989
|
i0.ɵɵtext(1);
|
|
22928
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
22929
22990
|
i0.ɵɵelementEnd();
|
|
22930
22991
|
} if (rf & 2) {
|
|
22931
22992
|
i0.ɵɵadvance();
|
|
22932
|
-
i0.ɵɵtextInterpolate(
|
|
22933
|
-
} },
|
|
22993
|
+
i0.ɵɵtextInterpolate(ctx.caseField.value);
|
|
22994
|
+
} }, encapsulation: 2 });
|
|
22934
22995
|
}
|
|
22935
22996
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadTextFieldComponent, [{
|
|
22936
22997
|
type: Component,
|
|
22937
22998
|
args: [{
|
|
22938
22999
|
selector: 'ccd-read-text-field',
|
|
22939
|
-
template: `<span class="text-16">{{caseField.value
|
|
23000
|
+
template: `<span class="text-16">{{ caseField.value }}</span>`
|
|
22940
23001
|
}]
|
|
22941
23002
|
}], null, null); })();
|
|
22942
23003
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadTextFieldComponent, { className: "ReadTextFieldComponent", filePath: "lib/shared/components/palette/text/read-text-field.component.ts", lineNumber: 8 }); })();
|
|
@@ -22981,7 +23042,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
22981
23042
|
onBlur($event) {
|
|
22982
23043
|
$event.target.value = $event.target.value.trim();
|
|
22983
23044
|
}
|
|
22984
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteTextFieldComponent_BaseFactory; return function WriteTextFieldComponent_Factory(
|
|
23045
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteTextFieldComponent_BaseFactory; return function WriteTextFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteTextFieldComponent_BaseFactory || (ɵWriteTextFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteTextFieldComponent)))(__ngFactoryType__ || WriteTextFieldComponent); }; })();
|
|
22985
23046
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteTextFieldComponent, selectors: [["ccd-write-text-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "blur", "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteTextFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22986
23047
|
i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
|
|
22987
23048
|
i0.ɵɵtemplate(2, WriteTextFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
@@ -23011,7 +23072,7 @@ class WriteTextFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23011
23072
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteTextFieldComponent, { className: "WriteTextFieldComponent", filePath: "lib/shared/components/palette/text/write-text-field.component.ts", lineNumber: 9 }); })();
|
|
23012
23073
|
|
|
23013
23074
|
class UnsupportedFieldComponent {
|
|
23014
|
-
static ɵfac = function UnsupportedFieldComponent_Factory(
|
|
23075
|
+
static ɵfac = function UnsupportedFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UnsupportedFieldComponent)(); };
|
|
23015
23076
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnsupportedFieldComponent, selectors: [["ccd-unsupported-field"]], decls: 2, vars: 0, template: function UnsupportedFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23016
23077
|
i0.ɵɵelementStart(0, "em");
|
|
23017
23078
|
i0.ɵɵtext(1, "Field type not supported");
|
|
@@ -23040,7 +23101,7 @@ class WaysToPayFieldComponent extends PaymentField {
|
|
|
23040
23101
|
getCardPaymentReturnUrl() {
|
|
23041
23102
|
return this.appConfig.getPaymentReturnUrl();
|
|
23042
23103
|
}
|
|
23043
|
-
static ɵfac = function WaysToPayFieldComponent_Factory(
|
|
23104
|
+
static ɵfac = function WaysToPayFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
23044
23105
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23045
23106
|
i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 15, "ccpay-payment-lib", 0);
|
|
23046
23107
|
} if (rf & 2) {
|
|
@@ -23094,7 +23155,7 @@ class YesNoService {
|
|
|
23094
23155
|
}
|
|
23095
23156
|
return false;
|
|
23096
23157
|
}
|
|
23097
|
-
static ɵfac = function YesNoService_Factory(
|
|
23158
|
+
static ɵfac = function YesNoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || YesNoService)(); };
|
|
23098
23159
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: YesNoService, factory: YesNoService.ɵfac });
|
|
23099
23160
|
}
|
|
23100
23161
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(YesNoService, [{
|
|
@@ -23112,7 +23173,7 @@ class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
|
23112
23173
|
super.ngOnInit();
|
|
23113
23174
|
this.formattedValue = this.yesNoService.format(this.caseField.value);
|
|
23114
23175
|
}
|
|
23115
|
-
static ɵfac = function ReadYesNoFieldComponent_Factory(
|
|
23176
|
+
static ɵfac = function ReadYesNoFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(YesNoService)); };
|
|
23116
23177
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 5, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23117
23178
|
i0.ɵɵelementStart(0, "span", 0);
|
|
23118
23179
|
i0.ɵɵtext(1);
|
|
@@ -23194,7 +23255,7 @@ class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
|
23194
23255
|
ngOnInit() {
|
|
23195
23256
|
this.yesNoControl = this.registerControl(new FormControl(this.yesNoService.format(this.caseField.value)));
|
|
23196
23257
|
}
|
|
23197
|
-
static ɵfac = function WriteYesNoFieldComponent_Factory(
|
|
23258
|
+
static ɵfac = function WriteYesNoFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteYesNoFieldComponent)(i0.ɵɵdirectiveInject(YesNoService)); };
|
|
23198
23259
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteYesNoFieldComponent, selectors: [["ccd-write-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 9, consts: [[1, "form-group", "bottom-30", 3, "id", "ngClass"], [1, "inline"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "id"], ["class", "multiple-choice", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice", 3, "ngClass"], ["type", "radio", 1, "form-control", 3, "id", "name", "formControl", "value"], [1, "form-label", 3, "for"]], template: function WriteYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23199
23260
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset", 1)(2, "legend");
|
|
23200
23261
|
i0.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 3, 3, "span", 2);
|
|
@@ -23314,7 +23375,7 @@ class PaletteService {
|
|
|
23314
23375
|
}
|
|
23315
23376
|
return UnsupportedFieldComponent;
|
|
23316
23377
|
}
|
|
23317
|
-
static ɵfac = function PaletteService_Factory(
|
|
23378
|
+
static ɵfac = function PaletteService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaletteService)(); };
|
|
23318
23379
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PaletteService, factory: PaletteService.ɵfac });
|
|
23319
23380
|
}
|
|
23320
23381
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteService, [{
|
|
@@ -23329,7 +23390,6 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23329
23390
|
withLabel = false;
|
|
23330
23391
|
formGroup = new FormGroup({});
|
|
23331
23392
|
caseFields = [];
|
|
23332
|
-
markdownUseHrefAsRouterLink;
|
|
23333
23393
|
fieldContainer;
|
|
23334
23394
|
constructor(resolver, paletteService) {
|
|
23335
23395
|
super();
|
|
@@ -23362,7 +23422,6 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23362
23422
|
component.instance['parent'] = this.parent;
|
|
23363
23423
|
component.instance['caseReference'] = this.caseReference;
|
|
23364
23424
|
component.instance['context'] = this.context;
|
|
23365
|
-
component.instance['markdownUseHrefAsRouterLink'] = this.markdownUseHrefAsRouterLink;
|
|
23366
23425
|
component.instance['labelCanBeTranslated'] = this.labelCanBeTranslated(this.caseField);
|
|
23367
23426
|
this.fieldContainer.insert(component.hostView);
|
|
23368
23427
|
});
|
|
@@ -23370,33 +23429,31 @@ class FieldReadComponent extends AbstractFieldReadComponent {
|
|
|
23370
23429
|
labelCanBeTranslated(caseField) {
|
|
23371
23430
|
return !!(caseField.field_type.type === 'Label' && caseField.label);
|
|
23372
23431
|
}
|
|
23373
|
-
static ɵfac = function FieldReadComponent_Factory(
|
|
23432
|
+
static ɵfac = function FieldReadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23374
23433
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23375
23434
|
i0.ɵɵviewQuery(_c0$x, 5, ViewContainerRef);
|
|
23376
23435
|
} if (rf & 2) {
|
|
23377
23436
|
let _t;
|
|
23378
23437
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
|
|
23379
|
-
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields"
|
|
23438
|
+
} }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 5, consts: [["fieldContainer", ""], [3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel"]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23380
23439
|
i0.ɵɵelementStart(0, "div", 1)(1, "ccd-field-read-label", 2);
|
|
23381
23440
|
i0.ɵɵelementContainer(2, null, 0);
|
|
23382
23441
|
i0.ɵɵelementEnd()();
|
|
23383
23442
|
} if (rf & 2) {
|
|
23384
23443
|
i0.ɵɵproperty("hidden", ctx.caseField.hidden);
|
|
23385
23444
|
i0.ɵɵadvance();
|
|
23386
|
-
i0.ɵɵproperty("formGroup", ctx.formGroup)("topLevelFormGroup", ctx.topLevelFormGroup)("caseField", ctx.caseField)("withLabel", ctx.withLabel)
|
|
23445
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup)("topLevelFormGroup", ctx.topLevelFormGroup)("caseField", ctx.caseField)("withLabel", ctx.withLabel);
|
|
23387
23446
|
} }, encapsulation: 2 });
|
|
23388
23447
|
}
|
|
23389
23448
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
|
|
23390
23449
|
type: Component,
|
|
23391
|
-
args: [{ selector: 'ccd-field-read', template: "<div [hidden]=\"caseField.hidden\">\n <ccd-field-read-label [formGroup]=\"formGroup\" [topLevelFormGroup]=\"topLevelFormGroup\" [caseField]=\"caseField\" [withLabel]=\"withLabel\"
|
|
23450
|
+
args: [{ selector: 'ccd-field-read', template: "<div [hidden]=\"caseField.hidden\">\n <ccd-field-read-label [formGroup]=\"formGroup\" [topLevelFormGroup]=\"topLevelFormGroup\" [caseField]=\"caseField\" [withLabel]=\"withLabel\">\n <ng-container #fieldContainer></ng-container>\n </ccd-field-read-label>\n</div>\n" }]
|
|
23392
23451
|
}], () => [{ type: i0.ComponentFactoryResolver }, { type: PaletteService }], { withLabel: [{
|
|
23393
23452
|
type: Input
|
|
23394
23453
|
}], formGroup: [{
|
|
23395
23454
|
type: Input
|
|
23396
23455
|
}], caseFields: [{
|
|
23397
23456
|
type: Input
|
|
23398
|
-
}], markdownUseHrefAsRouterLink: [{
|
|
23399
|
-
type: Input
|
|
23400
23457
|
}], fieldContainer: [{
|
|
23401
23458
|
type: ViewChild,
|
|
23402
23459
|
args: ['fieldContainer', { static: false, read: ViewContainerRef }]
|
|
@@ -23447,7 +23504,7 @@ class FieldWriteComponent extends AbstractFieldWriteComponent {
|
|
|
23447
23504
|
// Set up the flag for whether this can have a grey bar.
|
|
23448
23505
|
this.canHaveGreyBar = this.caseField.show_condition && this.caseField.field_type.type !== 'Collection';
|
|
23449
23506
|
}
|
|
23450
|
-
static ɵfac = function FieldWriteComponent_Factory(
|
|
23507
|
+
static ɵfac = function FieldWriteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(PaletteService)); };
|
|
23451
23508
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
|
|
23452
23509
|
i0.ɵɵviewQuery(_c0$w, 7, ViewContainerRef);
|
|
23453
23510
|
} if (rf & 2) {
|
|
@@ -23500,7 +23557,6 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
23500
23557
|
// EUI-3267. Flag for whether or not this can have a grey bar.
|
|
23501
23558
|
canHaveGreyBar = false;
|
|
23502
23559
|
withLabel;
|
|
23503
|
-
markdownUseHrefAsRouterLink;
|
|
23504
23560
|
isLabel() {
|
|
23505
23561
|
return this.caseField.field_type && this.caseField.field_type.type === 'Label';
|
|
23506
23562
|
}
|
|
@@ -23527,8 +23583,8 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
23527
23583
|
this.caseField = plainToClassFromExist(new CaseField(), this.caseField);
|
|
23528
23584
|
}
|
|
23529
23585
|
}
|
|
23530
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(
|
|
23531
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel"
|
|
23586
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵFieldReadLabelComponent_BaseFactory; return function FieldReadLabelComponent_Factory(__ngFactoryType__) { return (ɵFieldReadLabelComponent_BaseFactory || (ɵFieldReadLabelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FieldReadLabelComponent)))(__ngFactoryType__ || FieldReadLabelComponent); }; })();
|
|
23587
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FieldReadLabelComponent, selectors: [["ccd-field-read-label"]], inputs: { withLabel: "withLabel" }, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0$v, decls: 4, vars: 5, consts: [["caseFieldValue", ""], [3, "hidden"], ["class", "case-field", 4, "ngIf", "ngIfElse"], [1, "case-field"], [1, "case-field__label"], [1, "case-field__value"], [4, "ngTemplateOutlet"]], template: function FieldReadLabelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23532
23588
|
i0.ɵɵprojectionDef();
|
|
23533
23589
|
i0.ɵɵelementStart(0, "div", 1);
|
|
23534
23590
|
i0.ɵɵtemplate(1, FieldReadLabelComponent_dl_1_Template, 6, 4, "dl", 2)(2, FieldReadLabelComponent_ng_template_2_Template, 1, 0, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
@@ -23546,8 +23602,6 @@ class FieldReadLabelComponent extends AbstractFieldReadComponent {
|
|
|
23546
23602
|
args: [{ selector: 'ccd-field-read-label', template: "<div [hidden]=\"caseField.hidden\" [class.grey-bar]=\"canHaveGreyBar && !caseField.hiddenCannotChange\">\n <dl class=\"case-field\" *ngIf=\"withLabel && !isLabel() && (!isComplex() || isCaseLink()); else caseFieldValue\">\n <dt class=\"case-field__label\">{{caseField.label | rpxTranslate}}</dt>\n <dd class=\"case-field__value\">\n <ng-container *ngTemplateOutlet=\"caseFieldValue\"></ng-container>\n </dd>\n </dl>\n <ng-template #caseFieldValue>\n <ng-content></ng-content>\n </ng-template>\n</div>\n", styles: [".case-field:after{content:\"\";display:block;clear:both}.case-field{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:15px}@media (min-width: 641px){.case-field{margin-bottom:30px}}.case-field .case-field__label{display:block;color:#0b0c0c;padding-bottom:2px;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.case-field .case-field__label{font-size:19px;line-height:1.3157894737}}.case-field .case-field__value{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.case-field .case-field__value{font-size:19px;line-height:1.3157894737}}.form :host::ng-deep .grey-bar>*>.form-group,.form :host::ng-deep .grey-bar>*>*>.form-group,.form :host::ng-deep .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form :host::ng-deep .grey-bar>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>*>.form-group:not(.form-group-error),.form :host::ng-deep .grey-bar>*>dl.case-field:not(.form-group-error){border-left:solid 5px #b1b4b6}.form :host::ng-deep .grey-bar>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group input:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group select:not(.inline-block),.form :host::ng-deep .grey-bar>*>*>.form-group textarea:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field input:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field select:not(.inline-block),.form :host::ng-deep .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}\n"] }]
|
|
23547
23603
|
}], null, { withLabel: [{
|
|
23548
23604
|
type: Input
|
|
23549
|
-
}], markdownUseHrefAsRouterLink: [{
|
|
23550
|
-
type: Input
|
|
23551
23605
|
}] }); })();
|
|
23552
23606
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FieldReadLabelComponent, { className: "FieldReadLabelComponent", filePath: "lib/shared/components/palette/base-field/field-read-label.component.ts", lineNumber: 14 }); })();
|
|
23553
23607
|
|
|
@@ -23664,7 +23718,7 @@ class CaseFileViewFolderSelectorComponent {
|
|
|
23664
23718
|
}
|
|
23665
23719
|
return null;
|
|
23666
23720
|
}
|
|
23667
|
-
static ɵfac = function CaseFileViewFolderSelectorComponent_Factory(
|
|
23721
|
+
static ɵfac = function CaseFileViewFolderSelectorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderSelectorComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialogRef), i0.ɵɵdirectiveInject(MAT_LEGACY_DIALOG_DATA)); };
|
|
23668
23722
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderSelectorComponent, selectors: [["xui-case-file-view-folder-selector"]], decls: 14, vars: 2, consts: [["folder", ""], [1, "close", 3, "click"], [1, "govuk-heading-l"], [1, "folders", "govuk-radios", "govuk-radios--conditional"], [4, "ngFor", "ngForOf"], [1, "govuk-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [1, "cancel", 3, "click"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "folder", "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "click", "name", "id"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["src", "/assets/images/folder.png", "alt", "Folder icon", 1, "iconImg"]], template: function CaseFileViewFolderSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23669
23723
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23670
23724
|
i0.ɵɵelementStart(0, "div", 1);
|
|
@@ -23763,7 +23817,7 @@ class CaseFileViewOverlayMenuComponent {
|
|
|
23763
23817
|
this.isOpen = isOpen;
|
|
23764
23818
|
this.isOpenChange.emit(isOpen);
|
|
23765
23819
|
}
|
|
23766
|
-
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(
|
|
23820
|
+
static ɵfac = function CaseFileViewOverlayMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewOverlayMenuComponent)(); };
|
|
23767
23821
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewOverlayMenuComponent, selectors: [["ccd-case-file-view-overlay-menu"]], inputs: { title: "title", menuItems: "menuItems", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, ngContentSelectors: _c1$9, decls: 5, vars: 4, consts: [["trigger", "cdkOverlayOrigin"], ["type", "button", "cdkOverlayOrigin", "", 1, "overlay-toggle", 3, "click"], ["cdkConnectedOverlay", "", 3, "backdropClick", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayBackdropClass"], [1, "overlay-menu"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "overlay-menu__title"], [1, "overlay-menu__item", 3, "click"], ["class", "overlay-menu__itemIcon", 3, "src", "alt", 4, "ngIf"], [1, "overlay-menu__actionText"], [1, "overlay-menu__itemIcon", 3, "src", "alt"]], template: function CaseFileViewOverlayMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23768
23822
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
23769
23823
|
i0.ɵɵprojectionDef(_c0$t);
|
|
@@ -23812,7 +23866,7 @@ class CaseFileViewFolderDocumentActionsComponent {
|
|
|
23812
23866
|
this.overlayMenuItems.unshift({ actionText: 'Change folder', iconSrc: '/assets/img/case-file-view/document-menu/open_with.svg', actionFn: () => this.changeFolderAction.emit() });
|
|
23813
23867
|
}
|
|
23814
23868
|
}
|
|
23815
|
-
static ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(
|
|
23869
|
+
static ɵfac = function CaseFileViewFolderDocumentActionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderDocumentActionsComponent)(); };
|
|
23816
23870
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderDocumentActionsComponent, selectors: [["ccd-case-file-view-folder-document-actions"]], inputs: { allowMoving: "allowMoving" }, outputs: { changeFolderAction: "changeFolderAction", openInANewTabAction: "openInANewTabAction", downloadAction: "downloadAction", printAction: "printAction" }, decls: 3, vars: 2, consts: [[3, "isOpenChange", "menuItems", "isOpen"], ["trigger", ""], ["src", "/assets/img/case-file-view/document-menu/more_vert.svg", "alt", "More document options", 1, "actions-trigger-icon"]], template: function CaseFileViewFolderDocumentActionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23817
23871
|
i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
23818
23872
|
i0.ɵɵtwoWayListener("isOpenChange", function CaseFileViewFolderDocumentActionsComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.isOpen, $event) || (ctx.isOpen = $event); return $event; });
|
|
@@ -23869,7 +23923,7 @@ class CaseFileViewFolderSortComponent {
|
|
|
23869
23923
|
];
|
|
23870
23924
|
}
|
|
23871
23925
|
}
|
|
23872
|
-
static ɵfac = function CaseFileViewFolderSortComponent_Factory(
|
|
23926
|
+
static ɵfac = function CaseFileViewFolderSortComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderSortComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
23873
23927
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderSortComponent, selectors: [["ccd-case-file-view-folder-sort"]], outputs: { sortAscending: "sortAscending", sortDescending: "sortDescending" }, decls: 3, vars: 3, consts: [[3, "isOpenChange", "title", "menuItems", "isOpen"], ["trigger", ""], ["src", "/assets/img/sort/sort-arrows.svg", "alt", "Sort Arrows", 1, "sort-button-icon"]], template: function CaseFileViewFolderSortComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23874
23928
|
i0.ɵɵelementStart(0, "ccd-case-file-view-overlay-menu", 0);
|
|
23875
23929
|
i0.ɵɵtwoWayListener("isOpenChange", function CaseFileViewFolderSortComponent_Template_ccd_case_file_view_overlay_menu_isOpenChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.isOpen, $event) || (ctx.isOpen = $event); return $event; });
|
|
@@ -24346,7 +24400,7 @@ class CaseFileViewFolderComponent {
|
|
|
24346
24400
|
a.click();
|
|
24347
24401
|
a.remove();
|
|
24348
24402
|
}
|
|
24349
|
-
static ɵfac = function CaseFileViewFolderComponent_Factory(
|
|
24403
|
+
static ɵfac = function CaseFileViewFolderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
24350
24404
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", "aria-label", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-upload-timestamp"], [1, "node__document-options"], [3, "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction", "allowMoving"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24351
24405
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
24352
24406
|
i0.ɵɵelement(2, "input", 2);
|
|
@@ -24513,7 +24567,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
24513
24567
|
super.next();
|
|
24514
24568
|
}
|
|
24515
24569
|
}
|
|
24516
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵAddCommentsComponent_BaseFactory; return function AddCommentsComponent_Factory(
|
|
24570
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵAddCommentsComponent_BaseFactory; return function AddCommentsComponent_Factory(__ngFactoryType__) { return (ɵAddCommentsComponent_BaseFactory || (ɵAddCommentsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AddCommentsComponent)))(__ngFactoryType__ || AddCommentsComponent); }; })();
|
|
24517
24571
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AddCommentsComponent, selectors: [["ccd-add-comments"]], inputs: { formGroup: "formGroup", optional: "optional", isDisplayContextParameterExternal: "isDisplayContextParameterExternal", isDisplayContextParameter2Point1Enabled: "isDisplayContextParameter2Point1Enabled" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 18, vars: 21, consts: [[3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], [1, "govuk-label", "govuk-label--m", 3, "for"], [4, "ngIf"], ["id", "add-comments-hint", 1, "govuk-hint"], ["class", "govuk-warning-text", 4, "ngIf"], ["id", "flag-comments-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-comments-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "add-comments-hint add-comments-char-limit-info add-comments-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "add-comments-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["id", "flag-comments-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-comments-char-limit-error", 1, "govuk-error-message"]], template: function AddCommentsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24518
24572
|
i0.ɵɵelementContainerStart(0, 0);
|
|
24519
24573
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "h1", 3)(4, "label", 4);
|
|
@@ -24572,7 +24626,7 @@ class AddCommentsComponent extends AbstractJourneyComponent {
|
|
|
24572
24626
|
}] }); })();
|
|
24573
24627
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AddCommentsComponent, { className: "AddCommentsComponent", filePath: "lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.ts", lineNumber: 12 }); })();
|
|
24574
24628
|
|
|
24575
|
-
function
|
|
24629
|
+
function CaseFlagSummaryListComponent_dl_0_div_27_Template(rf, ctx) { if (rf & 1) {
|
|
24576
24630
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24577
24631
|
i0.ɵɵelementStart(0, "div", 2)(1, "dt", 3);
|
|
24578
24632
|
i0.ɵɵtext(2);
|
|
@@ -24582,7 +24636,7 @@ function CaseFlagSummaryListComponent_dl_0_div_28_Template(rf, ctx) { if (rf & 1
|
|
|
24582
24636
|
i0.ɵɵtext(5);
|
|
24583
24637
|
i0.ɵɵelementEnd();
|
|
24584
24638
|
i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
|
|
24585
|
-
i0.ɵɵlistener("click", function
|
|
24639
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_27_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : ctx_r1.caseFlagFieldState.FLAG_TYPE)); });
|
|
24586
24640
|
i0.ɵɵtext(8);
|
|
24587
24641
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
24588
24642
|
i0.ɵɵelementStart(10, "span", 7);
|
|
@@ -24600,7 +24654,7 @@ function CaseFlagSummaryListComponent_dl_0_div_28_Template(rf, ctx) { if (rf & 1
|
|
|
24600
24654
|
i0.ɵɵadvance(3);
|
|
24601
24655
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 8, "other description (Welsh)"), "");
|
|
24602
24656
|
} }
|
|
24603
|
-
function
|
|
24657
|
+
function CaseFlagSummaryListComponent_dl_0_div_28_Template(rf, ctx) { if (rf & 1) {
|
|
24604
24658
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
24605
24659
|
i0.ɵɵelementStart(0, "div", 2)(1, "dt", 3);
|
|
24606
24660
|
i0.ɵɵtext(2);
|
|
@@ -24610,7 +24664,7 @@ function CaseFlagSummaryListComponent_dl_0_div_29_Template(rf, ctx) { if (rf & 1
|
|
|
24610
24664
|
i0.ɵɵtext(5);
|
|
24611
24665
|
i0.ɵɵelementEnd();
|
|
24612
24666
|
i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
|
|
24613
|
-
i0.ɵɵlistener("click", function
|
|
24667
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_28_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE : ctx_r1.caseFlagFieldState.FLAG_COMMENTS)); });
|
|
24614
24668
|
i0.ɵɵtext(8);
|
|
24615
24669
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
24616
24670
|
i0.ɵɵelementStart(10, "span", 7);
|
|
@@ -24628,7 +24682,7 @@ function CaseFlagSummaryListComponent_dl_0_div_29_Template(rf, ctx) { if (rf & 1
|
|
|
24628
24682
|
i0.ɵɵadvance(3);
|
|
24629
24683
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 8, "comments"), "");
|
|
24630
24684
|
} }
|
|
24631
|
-
function
|
|
24685
|
+
function CaseFlagSummaryListComponent_dl_0_div_29_Template(rf, ctx) { if (rf & 1) {
|
|
24632
24686
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
24633
24687
|
i0.ɵɵelementStart(0, "div", 2)(1, "dt", 3);
|
|
24634
24688
|
i0.ɵɵtext(2);
|
|
@@ -24638,7 +24692,7 @@ function CaseFlagSummaryListComponent_dl_0_div_30_Template(rf, ctx) { if (rf & 1
|
|
|
24638
24692
|
i0.ɵɵtext(5);
|
|
24639
24693
|
i0.ɵɵelementEnd();
|
|
24640
24694
|
i0.ɵɵelementStart(6, "dd", 5)(7, "a", 6);
|
|
24641
|
-
i0.ɵɵlistener("click", function
|
|
24695
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_div_29_Template_a_click_7_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : ctx_r1.caseFlagFieldState.FLAG_COMMENTS)); });
|
|
24642
24696
|
i0.ɵɵtext(8);
|
|
24643
24697
|
i0.ɵɵpipe(9, "rpxTranslate");
|
|
24644
24698
|
i0.ɵɵelementStart(10, "span", 7);
|
|
@@ -24656,10 +24710,10 @@ function CaseFlagSummaryListComponent_dl_0_div_30_Template(rf, ctx) { if (rf & 1
|
|
|
24656
24710
|
i0.ɵɵadvance(3);
|
|
24657
24711
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 8, "comments (Welsh)"), "");
|
|
24658
24712
|
} }
|
|
24659
|
-
function
|
|
24713
|
+
function CaseFlagSummaryListComponent_dl_0_a_38_Template(rf, ctx) { if (rf & 1) {
|
|
24660
24714
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
24661
24715
|
i0.ɵɵelementStart(0, "a", 6);
|
|
24662
|
-
i0.ɵɵlistener("click", function
|
|
24716
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_a_38_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE : ctx_r1.caseFlagFieldState.FLAG_STATUS)); });
|
|
24663
24717
|
i0.ɵɵtext(1);
|
|
24664
24718
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
24665
24719
|
i0.ɵɵelementStart(3, "span", 7);
|
|
@@ -24680,61 +24734,60 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
24680
24734
|
i0.ɵɵelementEnd();
|
|
24681
24735
|
i0.ɵɵelementStart(5, "dd", 4);
|
|
24682
24736
|
i0.ɵɵtext(6);
|
|
24683
|
-
i0.ɵɵpipe(7, "rpxTranslate");
|
|
24684
24737
|
i0.ɵɵelementEnd();
|
|
24685
|
-
i0.ɵɵelementStart(
|
|
24686
|
-
i0.ɵɵlistener("click", function
|
|
24687
|
-
i0.ɵɵtext(
|
|
24688
|
-
i0.ɵɵpipe(
|
|
24689
|
-
i0.ɵɵelementStart(
|
|
24690
|
-
i0.ɵɵtext(
|
|
24691
|
-
i0.ɵɵpipe(
|
|
24738
|
+
i0.ɵɵelementStart(7, "dd", 5)(8, "a", 6);
|
|
24739
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_Template_a_click_8_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : ctx_r1.caseFlagFieldState.FLAG_LOCATION)); });
|
|
24740
|
+
i0.ɵɵtext(9);
|
|
24741
|
+
i0.ɵɵpipe(10, "rpxTranslate");
|
|
24742
|
+
i0.ɵɵelementStart(11, "span", 7);
|
|
24743
|
+
i0.ɵɵtext(12);
|
|
24744
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
24692
24745
|
i0.ɵɵelementEnd()()()();
|
|
24693
|
-
i0.ɵɵelementStart(
|
|
24694
|
-
i0.ɵɵtext(
|
|
24695
|
-
i0.ɵɵpipe(
|
|
24746
|
+
i0.ɵɵelementStart(14, "div", 2)(15, "dt", 3);
|
|
24747
|
+
i0.ɵɵtext(16);
|
|
24748
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
24696
24749
|
i0.ɵɵelementEnd();
|
|
24697
|
-
i0.ɵɵelementStart(
|
|
24698
|
-
i0.ɵɵtext(
|
|
24750
|
+
i0.ɵɵelementStart(18, "dd", 4);
|
|
24751
|
+
i0.ɵɵtext(19);
|
|
24699
24752
|
i0.ɵɵelementEnd();
|
|
24700
|
-
i0.ɵɵelementStart(
|
|
24701
|
-
i0.ɵɵlistener("click", function
|
|
24702
|
-
i0.ɵɵtext(
|
|
24703
|
-
i0.ɵɵpipe(
|
|
24704
|
-
i0.ɵɵelementStart(
|
|
24705
|
-
i0.ɵɵtext(
|
|
24706
|
-
i0.ɵɵpipe(
|
|
24753
|
+
i0.ɵɵelementStart(20, "dd", 5)(21, "a", 6);
|
|
24754
|
+
i0.ɵɵlistener("click", function CaseFlagSummaryListComponent_dl_0_Template_a_click_21_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.changeButtonEmitter.emit(ctx_r1.summaryListDisplayMode === ctx_r1.displayMode.MANAGE ? ctx_r1.caseFlagFieldState.FLAG_UPDATE : ctx_r1.caseFlagFieldState.FLAG_TYPE)); });
|
|
24755
|
+
i0.ɵɵtext(22);
|
|
24756
|
+
i0.ɵɵpipe(23, "rpxTranslate");
|
|
24757
|
+
i0.ɵɵelementStart(24, "span", 7);
|
|
24758
|
+
i0.ɵɵtext(25);
|
|
24759
|
+
i0.ɵɵpipe(26, "rpxTranslate");
|
|
24707
24760
|
i0.ɵɵelementEnd()()()();
|
|
24708
|
-
i0.ɵɵtemplate(
|
|
24709
|
-
i0.ɵɵelementStart(
|
|
24710
|
-
i0.ɵɵtext(
|
|
24711
|
-
i0.ɵɵpipe(
|
|
24761
|
+
i0.ɵɵtemplate(27, CaseFlagSummaryListComponent_dl_0_div_27_Template, 13, 10, "div", 8)(28, CaseFlagSummaryListComponent_dl_0_div_28_Template, 13, 10, "div", 8)(29, CaseFlagSummaryListComponent_dl_0_div_29_Template, 13, 10, "div", 8);
|
|
24762
|
+
i0.ɵɵelementStart(30, "div", 2)(31, "dt", 3);
|
|
24763
|
+
i0.ɵɵtext(32);
|
|
24764
|
+
i0.ɵɵpipe(33, "rpxTranslate");
|
|
24712
24765
|
i0.ɵɵelementEnd();
|
|
24713
|
-
i0.ɵɵelementStart(
|
|
24714
|
-
i0.ɵɵtext(
|
|
24715
|
-
i0.ɵɵpipe(
|
|
24766
|
+
i0.ɵɵelementStart(34, "dd", 4);
|
|
24767
|
+
i0.ɵɵtext(35);
|
|
24768
|
+
i0.ɵɵpipe(36, "rpxTranslate");
|
|
24716
24769
|
i0.ɵɵelementEnd();
|
|
24717
|
-
i0.ɵɵelementStart(
|
|
24718
|
-
i0.ɵɵtemplate(
|
|
24770
|
+
i0.ɵɵelementStart(37, "dd", 5);
|
|
24771
|
+
i0.ɵɵtemplate(38, CaseFlagSummaryListComponent_dl_0_a_38_Template, 6, 6, "a", 9);
|
|
24719
24772
|
i0.ɵɵelementEnd()()();
|
|
24720
24773
|
} if (rf & 2) {
|
|
24721
24774
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
24722
24775
|
i0.ɵɵadvance(3);
|
|
24723
24776
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 14, ctx_r1.addUpdateFlagHeaderText), " ");
|
|
24724
24777
|
i0.ɵɵadvance(3);
|
|
24725
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
24726
|
-
i0.ɵɵadvance(
|
|
24727
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24778
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.flagForSummaryDisplay.partyName || ctx_r1.caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION, " ");
|
|
24779
|
+
i0.ɵɵadvance(3);
|
|
24780
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(10, 16, "Change"), "");
|
|
24728
24781
|
i0.ɵɵadvance(3);
|
|
24729
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24782
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(13, 18, "party name"), "");
|
|
24730
24783
|
i0.ɵɵadvance(4);
|
|
24731
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24784
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(17, 20, ctx_r1.flagTypeHeaderText), " ");
|
|
24732
24785
|
i0.ɵɵadvance(3);
|
|
24733
24786
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.flagDescription, " ");
|
|
24734
24787
|
i0.ɵɵadvance(3);
|
|
24735
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24788
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(23, 22, "Change"), "");
|
|
24736
24789
|
i0.ɵɵadvance(3);
|
|
24737
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24790
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(26, 24, "flag type"), "");
|
|
24738
24791
|
i0.ɵɵadvance(2);
|
|
24739
24792
|
i0.ɵɵproperty("ngIf", (ctx_r1.flagDescriptionWelsh == null ? null : ctx_r1.flagDescriptionWelsh.length) > 0 && !ctx_r1.externalUserUpdate);
|
|
24740
24793
|
i0.ɵɵadvance();
|
|
@@ -24742,9 +24795,9 @@ function CaseFlagSummaryListComponent_dl_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
24742
24795
|
i0.ɵɵadvance();
|
|
24743
24796
|
i0.ɵɵproperty("ngIf", (ctx_r1.flagCommentsWelsh == null ? null : ctx_r1.flagCommentsWelsh.length) > 0 && !ctx_r1.externalUserUpdate);
|
|
24744
24797
|
i0.ɵɵadvance(3);
|
|
24745
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24798
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(33, 26, "Status"), " ");
|
|
24746
24799
|
i0.ɵɵadvance(3);
|
|
24747
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(
|
|
24800
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(36, 28, ctx_r1.flagStatus), " ");
|
|
24748
24801
|
i0.ɵɵadvance(3);
|
|
24749
24802
|
i0.ɵɵproperty("ngIf", ctx_r1.is2Point1Enabled);
|
|
24750
24803
|
} }
|
|
@@ -24848,16 +24901,16 @@ class CaseFlagSummaryListComponent {
|
|
|
24848
24901
|
return this.displayContextParameter === CaseFlagDisplayContextParameter.CREATE_2_POINT_1 ||
|
|
24849
24902
|
this.displayContextParameter === CaseFlagDisplayContextParameter.UPDATE_2_POINT_1;
|
|
24850
24903
|
}
|
|
24851
|
-
static ɵfac = function CaseFlagSummaryListComponent_Factory(
|
|
24904
|
+
static ɵfac = function CaseFlagSummaryListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagSummaryListComponent)(i0.ɵɵdirectiveInject(i1.RpxTranslationService)); };
|
|
24852
24905
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagSummaryListComponent, selectors: [["ccd-case-flag-summary-list"]], inputs: { flagForSummaryDisplay: "flagForSummaryDisplay", displayContextParameter: "displayContextParameter" }, outputs: { changeButtonEmitter: "changeButtonEmitter" }, decls: 1, vars: 1, consts: [["class", "govuk-summary-list", 4, "ngIf"], [1, "govuk-summary-list"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key"], [1, "govuk-summary-list__value"], [1, "govuk-summary-list__actions"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [1, "govuk-visually-hidden"], ["class", "govuk-summary-list__row", 4, "ngIf"], ["class", "govuk-link", "href", "javascript:void(0)", 3, "click", 4, "ngIf"]], template: function CaseFlagSummaryListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24853
|
-
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template,
|
|
24906
|
+
i0.ɵɵtemplate(0, CaseFlagSummaryListComponent_dl_0_Template, 39, 30, "dl", 0);
|
|
24854
24907
|
} if (rf & 2) {
|
|
24855
24908
|
i0.ɵɵproperty("ngIf", ctx.flagForSummaryDisplay);
|
|
24856
24909
|
} }, dependencies: [i5.NgIf, i1.RpxTranslatePipe], encapsulation: 2 });
|
|
24857
24910
|
}
|
|
24858
24911
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagSummaryListComponent, [{
|
|
24859
24912
|
type: Component,
|
|
24860
|
-
args: [{ selector: 'ccd-case-flag-summary-list', template: "<dl class=\"govuk-summary-list\" *ngIf=\"flagForSummaryDisplay\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{addUpdateFlagHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagForSummaryDisplay.partyName || caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION
|
|
24913
|
+
args: [{ selector: 'ccd-case-flag-summary-list', template: "<dl class=\"govuk-summary-list\" *ngIf=\"flagForSummaryDisplay\">\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{addUpdateFlagHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagForSummaryDisplay.partyName || caseFlagCheckYourAnswersPageStep.CASE_LEVEL_LOCATION }}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_MANAGE_CASE_FLAGS : caseFlagFieldState.FLAG_LOCATION)\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'party name' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{flagTypeHeaderText | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescription}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_TYPE)\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'flag type' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagDescriptionWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Other description (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagDescriptionWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_TYPE)\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'other description (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagComments?.length > 0\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{externalUserUpdate ? flagUpdateComments : flagComments}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_COMMENTS)\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"flagCommentsWelsh?.length > 0 && !externalUserUpdate\">\n <dt class=\"govuk-summary-list__key\">\n {{'Comments (Welsh)' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagCommentsWelsh}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE_WELSH_TRANSLATION : caseFlagFieldState.FLAG_COMMENTS)\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'comments (Welsh)' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n <div class=\"govuk-summary-list__row\">\n <dt class=\"govuk-summary-list__key\">\n {{'Status' | rpxTranslate}}\n </dt>\n <dd class=\"govuk-summary-list__value\">\n {{flagStatus | rpxTranslate}}\n </dd>\n <dd class=\"govuk-summary-list__actions\">\n <a *ngIf=\"is2Point1Enabled\" class=\"govuk-link\" href=\"javascript:void(0)\"\n (click)=\"changeButtonEmitter.emit(this.summaryListDisplayMode === displayMode.MANAGE ? caseFlagFieldState.FLAG_UPDATE : caseFlagFieldState.FLAG_STATUS)\">\n {{'Change' | rpxTranslate}}<span class=\"govuk-visually-hidden\"> {{'status' | rpxTranslate}}</span>\n </a>\n </dd>\n </div>\n</dl>\n" }]
|
|
24861
24914
|
}], () => [{ type: i1.RpxTranslationService }], { flagForSummaryDisplay: [{
|
|
24862
24915
|
type: Input
|
|
24863
24916
|
}], displayContextParameter: [{
|
|
@@ -25049,7 +25102,7 @@ class CaseFlagTableComponent {
|
|
|
25049
25102
|
get caseFlagStatus() {
|
|
25050
25103
|
return CaseFlagStatus;
|
|
25051
25104
|
}
|
|
25052
|
-
static ɵfac = function CaseFlagTableComponent_Factory(
|
|
25105
|
+
static ɵfac = function CaseFlagTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFlagTableComponent)(); };
|
|
25053
25106
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader", caseFlagsExternalUser: "caseFlagsExternalUser" }, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], ["class", "govuk-table__caption govuk-table__caption--l", 4, "ngIf"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["scope", "col", 1, "govuk-table__header", "col-party-name"], ["scope", "col", 1, "govuk-table__header", "col-comments"], ["scope", "col", 1, "govuk-table__header", "col-creation-date"], ["scope", "col", 1, "govuk-table__header", "col-last-modified"], ["scope", "col", 1, "govuk-table__header", "col-flag-status"], [1, "govuk-table__body"], [4, "ngIf"], ["class", "govuk-table__body", 4, "ngIf"], [1, "govuk-table__caption", "govuk-table__caption--l"], ["colspan", "5"], ["scope", "row", "class", "govuk-table__row", 4, "ngFor", "ngForOf"], ["scope", "row", 1, "govuk-table__row"], [1, "govuk-table__cell"], [1, "govuk-table__cell", "cell-flag-status"], ["class", "govuk-tag govuk-tag--turquoise", 4, "ngIf"], ["class", "govuk-tag govuk-tag--grey", 4, "ngIf"], ["class", "govuk-tag govuk-tag--yellow", 4, "ngIf"], ["class", "govuk-tag govuk-tag--red", 4, "ngIf"], [1, "govuk-!-font-weight-bold"], [1, "govuk-tag", "govuk-tag--turquoise"], [1, "govuk-tag", "govuk-tag--grey"], [1, "govuk-tag", "govuk-tag--yellow"], [1, "govuk-tag", "govuk-tag--red"]], template: function CaseFlagTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25054
25107
|
i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 21, 16, "table", 0);
|
|
25055
25108
|
} if (rf & 2) {
|
|
@@ -25366,7 +25419,7 @@ class ManageCaseFlagsComponent extends AbstractJourneyComponent {
|
|
|
25366
25419
|
});
|
|
25367
25420
|
}
|
|
25368
25421
|
}
|
|
25369
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵManageCaseFlagsComponent_BaseFactory; return function ManageCaseFlagsComponent_Factory(
|
|
25422
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵManageCaseFlagsComponent_BaseFactory; return function ManageCaseFlagsComponent_Factory(__ngFactoryType__) { return (ɵManageCaseFlagsComponent_BaseFactory || (ɵManageCaseFlagsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ManageCaseFlagsComponent)))(__ngFactoryType__ || ManageCaseFlagsComponent); }; })();
|
|
25370
25423
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ManageCaseFlagsComponent, selectors: [["ccd-manage-case-flags"]], inputs: { formGroup: "formGroup", flagsData: "flagsData", caseTitle: "caseTitle", displayContextParameter: "displayContextParameter" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 9, consts: [[3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "manage-case-flag-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "manage-case-flag-heading", 1, "govuk-fieldset__heading"], ["id", "manage-case-flag-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "manage-case-flag-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "change", "id", "checked"], [1, "govuk-label", "govuk-radios__label", 3, "for", "innerHtml"]], template: function ManageCaseFlagsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25371
25424
|
i0.ɵɵelementContainerStart(0, 0);
|
|
25372
25425
|
i0.ɵɵelementStart(1, "div", 1)(2, "fieldset", 2)(3, "legend", 3)(4, "h1", 4);
|
|
@@ -25699,7 +25752,7 @@ class SearchLanguageInterpreterComponent extends AbstractJourneyComponent {
|
|
|
25699
25752
|
super.next();
|
|
25700
25753
|
}
|
|
25701
25754
|
}
|
|
25702
|
-
static ɵfac = function SearchLanguageInterpreterComponent_Factory(
|
|
25755
|
+
static ɵfac = function SearchLanguageInterpreterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchLanguageInterpreterComponent)(i0.ɵɵdirectiveInject(i1.RpxTranslationService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
25703
25756
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchLanguageInterpreterComponent, selectors: [["ccd-search-language-interpreter"]], inputs: { formGroup: "formGroup", flagType: "flagType" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 25, vars: 25, consts: [["autoSearchLanguage", "matAutocomplete"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper"], [1, "govuk-label", "govuk-label--m", 3, "for"], ["id", "language-search-box-hint", 1, "govuk-hint"], [1, "auto-complete-container"], ["id", "language-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "language-entered-in-both-fields-error-message", "class", "govuk-error-message", 4, "ngIf"], ["aria-label", "Language search box", "matInput", "", "type", "text", 1, "govuk-input", "search-language__input", 3, "formControlName", "matAutocomplete"], ["autoActiveFirstOption", "", 1, "mat-autocomplete-panel-extend", 3, "displayWith"], [3, "value", 4, "ngFor", "ngForOf"], ["disabled", "", 4, "ngIf"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes", "govuk-checkboxes--small", "govuk-checkboxes--conditional"], [1, "govuk-radios__item"], ["id", "enter-language-manually", "name", "enter-language-manually", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change"], ["for", "enter-language-manually", 1, "govuk-label", "govuk-checkboxes__label"], ["class", "govuk-radios__conditional", 4, "ngIf"], ["id", "language-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "language-entered-in-both-fields-error-message", 1, "govuk-error-message"], [3, "value"], ["disabled", ""], [1, "govuk-radios__conditional"], ["for", "manual-language-entry", 1, "govuk-label"], ["id", "language-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "language-char-limit-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "manual-language-entry", "type", "text", 1, "govuk-input", "govuk-input--width-20", 3, "name", "formControlName"], ["id", "language-not-entered-error-message", 1, "govuk-error-message"], ["id", "language-char-limit-error-message", 1, "govuk-error-message"]], template: function SearchLanguageInterpreterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25704
25757
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
25705
25758
|
i0.ɵɵelementContainerStart(0, 1);
|
|
@@ -25931,7 +25984,7 @@ class SelectFlagLocationComponent extends AbstractJourneyComponent {
|
|
|
25931
25984
|
super.next();
|
|
25932
25985
|
}
|
|
25933
25986
|
}
|
|
25934
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵSelectFlagLocationComponent_BaseFactory; return function SelectFlagLocationComponent_Factory(
|
|
25987
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵSelectFlagLocationComponent_BaseFactory; return function SelectFlagLocationComponent_Factory(__ngFactoryType__) { return (ɵSelectFlagLocationComponent_BaseFactory || (ɵSelectFlagLocationComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SelectFlagLocationComponent)))(__ngFactoryType__ || SelectFlagLocationComponent); }; })();
|
|
25935
25988
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectFlagLocationComponent, selectors: [["ccd-select-flag-location"]], inputs: { formGroup: "formGroup", flagsData: "flagsData", isDisplayContextParameterExternal: "isDisplayContextParameterExternal" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 9, consts: [[3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-location-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "flag-location-heading", 1, "govuk-fieldset__heading"], ["id", "flag-location-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "flag-location-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for"], [4, "ngIf"]], template: function SelectFlagLocationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25936
25989
|
i0.ɵɵelementContainerStart(0, 0);
|
|
25937
25990
|
i0.ɵɵelementStart(1, "div", 1)(2, "fieldset", 2)(3, "legend", 3)(4, "h1", 4);
|
|
@@ -26384,7 +26437,7 @@ class SelectFlagTypeComponent extends AbstractJourneyComponent {
|
|
|
26384
26437
|
super.previous();
|
|
26385
26438
|
}
|
|
26386
26439
|
}
|
|
26387
|
-
static ɵfac = function SelectFlagTypeComponent_Factory(
|
|
26440
|
+
static ɵfac = function SelectFlagTypeComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectFlagTypeComponent)(i0.ɵɵdirectiveInject(CaseFlagRefdataService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
26388
26441
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectFlagTypeComponent, selectors: [["ccd-select-flag-type"]], inputs: { formGroup: "formGroup", jurisdiction: "jurisdiction", caseTypeId: "caseTypeId", hmctsServiceId: "hmctsServiceId", isDisplayContextParameterExternal: "isDisplayContextParameterExternal", isDisplayContextParameter2Point1Enabled: "isDisplayContextParameter2Point1Enabled", selectedFlagsLocation: "selectedFlagsLocation" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter", flagCommentsOptionalEmitter: "flagCommentsOptionalEmitter", flagTypeSubJourneyEmitter: "flagTypeSubJourneyEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["priorFlagTypeSelected", ""], [3, "formGroup", 4, "ngIf"], [3, "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "flag-type-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "flag-type-heading", 1, "govuk-fieldset__heading", "govuk-!-margin-bottom-1"], [4, "ngIf", "ngIfElse"], ["id", "flag-type-not-selected-error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "govuk-radios__conditional", "id", "conditional-flagType", 4, "ngIf"], ["id", "flag-type-not-selected-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["id", "conditional-flagType", 1, "govuk-radios__conditional"], ["for", "other-flag-type-description", 1, "govuk-label"], ["id", "flag-type-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-flag-type-description", "type", "text", 1, "govuk-input", "govuk-!-width-one-half", 3, "ngClass", "name", "formControlName"], ["class", "govuk-checkboxes__item govuk-!-margin-top-4", 4, "ngIf"], ["id", "flag-type-error-message", 1, "govuk-error-message"], [1, "govuk-checkboxes__item", "govuk-!-margin-top-4"], ["id", "is-visible-externally", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "name", "formControlName"], ["for", "is-visible-externally", 1, "govuk-label", "govuk-checkboxes__label"]], template: function SelectFlagTypeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26389
26442
|
i0.ɵɵtemplate(0, SelectFlagTypeComponent_ng_container_0_Template, 12, 10, "ng-container", 1);
|
|
26390
26443
|
} if (rf & 2) {
|
|
@@ -26880,7 +26933,7 @@ class UpdateFlagComponent extends AbstractJourneyComponent {
|
|
|
26880
26933
|
super.next();
|
|
26881
26934
|
}
|
|
26882
26935
|
}
|
|
26883
|
-
static ɵfac = function UpdateFlagComponent_Factory(
|
|
26936
|
+
static ɵfac = function UpdateFlagComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UpdateFlagComponent)(i0.ɵɵdirectiveInject(i1.RpxTranslationService), i0.ɵɵdirectiveInject(MultipageComponentStateService)); };
|
|
26884
26937
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateFlagComponent, selectors: [["ccd-update-flag"]], inputs: { formGroup: "formGroup", displayContextParameter: "displayContextParameter" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 23, vars: 22, consts: [["externalUser", ""], ["updateFlagStatusReason", ""], [3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper", "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--m"], ["id", "update-flag-hint-external", "class", "govuk-hint", 4, "ngIf"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["id", "update-flag-comments-hint-external", "class", "govuk-hint", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["id", "flag-status-container-v2_1", "class", "govuk-!-margin-bottom-4", 4, "ngIf"], ["id", "translation-checkbox-container", "class", "govuk-!-margin-bottom-6", 4, "ngIf"], ["id", "flag-status-container-v1", "class", "govuk-grid-row", 4, "ngIf"], ["id", "update-flag-hint-external", 1, "govuk-hint"], ["id", "update-flag-comments-hint-external", 1, "govuk-hint"], ["id", "update-flag-comments-hint", 1, "govuk-hint"], ["class", "govuk-warning-text", 4, "ngIf"], ["id", "update-flag-comments-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-comments-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-comments-hint update-flag-comments-char-limit-info update-flag-comments-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-comments-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-warning-text"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], ["id", "update-flag-comments-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "update-flag-comments-char-limit-error", 1, "govuk-error-message"], [4, "ngIf"], [4, "ngTemplateOutlet"], ["id", "update-flag-status-reason-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "update-flag-status-reason-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "update-flag-comments-hint-external update-flag-status-hint update-flag-status-reason-char-limit-info\n update-flag-status-reason-char-limit-error", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "update-flag-status-reason-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "update-flag-status-reason-not-entered-error-message", 1, "govuk-error-message"], ["id", "update-flag-status-reason-char-limit-error", 1, "govuk-error-message"], ["id", "flag-status-container-v2_1", 1, "govuk-!-margin-bottom-4"], ["aria-describedby", "update-flag-status-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--s"], ["id", "update-flag-status-heading", 1, "govuk-fieldset__heading"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional", "govuk-!-margin-bottom-4", 3, "id"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "update-flag-status-hint", 1, "govuk-hint"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "formControlName", "value"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["id", "translation-checkbox-container", 1, "govuk-!-margin-bottom-6"], ["data-module", "govuk-checkboxes", 1, "govuk-checkboxes"], [1, "govuk-checkboxes__item"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "formControlName", "id", "name"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["id", "flag-status-container-v1", 1, "govuk-grid-row"], [1, "govuk-grid-column-one-half"], [1, "govuk-tag", 3, "ngClass"], ["class", "button button-secondary", "type", "button", 3, "click", 4, "ngIf"], ["type", "button", 1, "button", "button-secondary", 3, "click"]], template: function UpdateFlagComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26885
26938
|
i0.ɵɵelementContainerStart(0, 2);
|
|
26886
26939
|
i0.ɵɵelementStart(1, "div", 3)(2, "div", 4)(3, "h1", 5)(4, "label", 6);
|
|
@@ -27081,7 +27134,7 @@ class UpdateFlagAddTranslationFormComponent extends AbstractJourneyComponent {
|
|
|
27081
27134
|
super.next();
|
|
27082
27135
|
}
|
|
27083
27136
|
}
|
|
27084
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵUpdateFlagAddTranslationFormComponent_BaseFactory; return function UpdateFlagAddTranslationFormComponent_Factory(
|
|
27137
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵUpdateFlagAddTranslationFormComponent_BaseFactory; return function UpdateFlagAddTranslationFormComponent_Factory(__ngFactoryType__) { return (ɵUpdateFlagAddTranslationFormComponent_BaseFactory || (ɵUpdateFlagAddTranslationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(UpdateFlagAddTranslationFormComponent)))(__ngFactoryType__ || UpdateFlagAddTranslationFormComponent); }; })();
|
|
27085
27138
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UpdateFlagAddTranslationFormComponent, selectors: [["ccd-update-flag-add-translation-form"]], inputs: { formGroup: "formGroup" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 50, vars: 54, consts: [[3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-label-wrapper", "govuk-!-margin-bottom-6"], [1, "govuk-label", "govuk-label--m"], ["id", "add-translation-form-hint", 1, "govuk-hint"], [1, "govuk-!-margin-bottom-4"], [1, "govuk-label", "govuk-label--s", 3, "for"], ["id", "add-translation-other-flag-description-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "add-translation-other-flag-description-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-other-flag-description-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-other-flag-description-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-comments-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-comments-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-flag-comments-welsh-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["id", "add-translation-flag-comments-welsh-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], ["id", "add-translation-other-flag-description-char-limit-error", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "add-translation-other-flag-description-welsh-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-comments-char-limit-error", 1, "govuk-error-message"], ["id", "add-translation-flag-comments-welsh-char-limit-error", 1, "govuk-error-message"]], template: function UpdateFlagAddTranslationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27086
27139
|
i0.ɵɵelementContainerStart(0, 0);
|
|
27087
27140
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "h1", 3)(4, "label", 4);
|
|
@@ -27312,7 +27365,7 @@ class ConfirmFlagStatusComponent extends AbstractJourneyComponent {
|
|
|
27312
27365
|
});
|
|
27313
27366
|
}
|
|
27314
27367
|
}
|
|
27315
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵConfirmFlagStatusComponent_BaseFactory; return function ConfirmFlagStatusComponent_Factory(
|
|
27368
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵConfirmFlagStatusComponent_BaseFactory; return function ConfirmFlagStatusComponent_Factory(__ngFactoryType__) { return (ɵConfirmFlagStatusComponent_BaseFactory || (ɵConfirmFlagStatusComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ConfirmFlagStatusComponent)))(__ngFactoryType__ || ConfirmFlagStatusComponent); }; })();
|
|
27316
27369
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmFlagStatusComponent, selectors: [["ccd-confirm-flag-status"]], inputs: { formGroup: "formGroup", defaultStatus: "defaultStatus" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 19, vars: 19, consts: [[3, "formGroup"], ["data-module", "govuk-character-count", "data-maxlength", "200", 1, "govuk-character-count"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "confirm-flag-status-heading", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "confirm-flag-status-heading", 1, "govuk-fieldset__heading"], ["data-module", "govuk-radios", "id", "conditional-radios-list", 1, "govuk-radios", "govuk-radios--conditional", "govuk-!-margin-bottom-4"], ["class", "govuk-radios__item", 4, "ngFor", "ngForOf"], ["id", "status-reason-hint", 1, "govuk-hint"], ["id", "status-reason-not-entered-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "status-reason-char-limit-error", "class", "govuk-error-message", 4, "ngIf"], ["rows", "5", "aria-describedby", "status-reason-hint status-reason-char-limit-info", 1, "govuk-textarea", 3, "id", "name", "formControlName"], ["id", "status-reason-char-limit-info", "aria-live", "polite", 1, "govuk-hint", "govuk-character-count__message"], [1, "govuk-radios__item"], ["type", "radio", 1, "govuk-radios__input", 3, "id", "name", "value", "formControlName"], [1, "govuk-label", "govuk-radios__label", 3, "for"], ["id", "status-reason-not-entered-error-message", 1, "govuk-error-message"], [1, "govuk-visually-hidden"], ["id", "status-reason-char-limit-error", 1, "govuk-error-message"]], template: function ConfirmFlagStatusComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27317
27370
|
i0.ɵɵelementContainerStart(0, 0);
|
|
27318
27371
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "fieldset", 3)(4, "legend", 4)(5, "h1", 5);
|
|
@@ -27391,7 +27444,7 @@ class FlagFieldDisplayPipe extends AsyncPipe {
|
|
|
27391
27444
|
}
|
|
27392
27445
|
return null;
|
|
27393
27446
|
}
|
|
27394
|
-
static ɵfac = function FlagFieldDisplayPipe_Factory(
|
|
27447
|
+
static ɵfac = function FlagFieldDisplayPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FlagFieldDisplayPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslationService, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16)); };
|
|
27395
27448
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "flagFieldDisplay", type: FlagFieldDisplayPipe, pure: false });
|
|
27396
27449
|
}
|
|
27397
27450
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FlagFieldDisplayPipe, [{
|
|
@@ -27428,7 +27481,7 @@ class LanguageInterpreterDisplayPipe extends AsyncPipe {
|
|
|
27428
27481
|
}
|
|
27429
27482
|
return null;
|
|
27430
27483
|
}
|
|
27431
|
-
static ɵfac = function LanguageInterpreterDisplayPipe_Factory(
|
|
27484
|
+
static ɵfac = function LanguageInterpreterDisplayPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LanguageInterpreterDisplayPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslationService, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16)); };
|
|
27432
27485
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "languageInterpreterDisplay", type: LanguageInterpreterDisplayPipe, pure: false });
|
|
27433
27486
|
}
|
|
27434
27487
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageInterpreterDisplayPipe, [{
|
|
@@ -27532,7 +27585,7 @@ class ManageCaseFlagsLabelDisplayPipe extends AsyncPipe {
|
|
|
27532
27585
|
? flagDetail.name_cy || flagDetail.name
|
|
27533
27586
|
: flagDetail.name || flagDetail.name_cy;
|
|
27534
27587
|
}
|
|
27535
|
-
static ɵfac = function ManageCaseFlagsLabelDisplayPipe_Factory(
|
|
27588
|
+
static ɵfac = function ManageCaseFlagsLabelDisplayPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ManageCaseFlagsLabelDisplayPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslationService, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16)); };
|
|
27536
27589
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "manageCaseFlagsLabelDisplay", type: ManageCaseFlagsLabelDisplayPipe, pure: false });
|
|
27537
27590
|
}
|
|
27538
27591
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ManageCaseFlagsLabelDisplayPipe, [{
|
|
@@ -27605,7 +27658,7 @@ class UpdateFlagTitleDisplayPipe extends AsyncPipe {
|
|
|
27605
27658
|
}
|
|
27606
27659
|
return '';
|
|
27607
27660
|
}
|
|
27608
|
-
static ɵfac = function UpdateFlagTitleDisplayPipe_Factory(
|
|
27661
|
+
static ɵfac = function UpdateFlagTitleDisplayPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UpdateFlagTitleDisplayPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslationService, 16), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16)); };
|
|
27609
27662
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "updateFlagTitleDisplay", type: UpdateFlagTitleDisplayPipe, pure: false });
|
|
27610
27663
|
}
|
|
27611
27664
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UpdateFlagTitleDisplayPipe, [{
|
|
@@ -27633,7 +27686,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf
|
|
|
27633
27686
|
i0.ɵɵadvance();
|
|
27634
27687
|
i0.ɵɵproperty("hidden", field_r1.hidden || field_r1.field_type.type === "Label");
|
|
27635
27688
|
i0.ɵɵadvance(2);
|
|
27636
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 8, field_r1.label));
|
|
27689
|
+
i0.ɵɵtextInterpolate(ctx_r1.isTranslatable(field_r1) ? i0.ɵɵpipeBind1(4, 8, field_r1.label) : field_r1.label);
|
|
27637
27690
|
i0.ɵɵadvance(2);
|
|
27638
27691
|
i0.ɵɵproperty("hidden", field_r1.hidden);
|
|
27639
27692
|
i0.ɵɵadvance();
|
|
@@ -27645,7 +27698,7 @@ function ReadComplexFieldRawComponent_ng_container_1_Template(rf, ctx) { if (rf
|
|
|
27645
27698
|
*/
|
|
27646
27699
|
class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
27647
27700
|
caseFields = [];
|
|
27648
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldRawComponent_BaseFactory; return function ReadComplexFieldRawComponent_Factory(
|
|
27701
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldRawComponent_BaseFactory; return function ReadComplexFieldRawComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldRawComponent_BaseFactory || (ɵReadComplexFieldRawComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldRawComponent)))(__ngFactoryType__ || ReadComplexFieldRawComponent); }; })();
|
|
27649
27702
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldRawComponent, selectors: [["ccd-read-complex-field-raw"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 12, consts: [[1, "complex-raw"], [4, "ngFor", "ngForOf"], [3, "hidden"], [1, "text-16"], [3, "caseField", "context", "caseFields", "topLevelFormGroup", "idPrefix"]], template: function ReadComplexFieldRawComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27650
27703
|
i0.ɵɵelementStart(0, "dl", 0);
|
|
27651
27704
|
i0.ɵɵtemplate(1, ReadComplexFieldRawComponent_ng_container_1_Template, 7, 10, "ng-container", 1);
|
|
@@ -27658,7 +27711,7 @@ class ReadComplexFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
27658
27711
|
}
|
|
27659
27712
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldRawComponent, [{
|
|
27660
27713
|
type: Component,
|
|
27661
|
-
args: [{ selector: 'ccd-read-complex-field-raw', template: "<dl class=\"complex-raw\">\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup :id()\">\n <dt [hidden]=\"field.hidden || field.field_type.type === 'Label'\"><span class=\"text-16\">{{field.label | rpxTranslate}}</span></dt>\n <dd [hidden]=\"field.hidden\">\n <ccd-field-read [caseField]=\"field\" [context]=\"context\" [caseFields]=\"caseFields\" [topLevelFormGroup]=\"topLevelFormGroup\" [idPrefix]=\"idPrefix\"></ccd-field-read>\n </dd>\n </ng-container>\n</dl>\n", styles: ["dl.complex-raw{list-style-type:none;margin:5px 0 10px}dl.complex-raw dl.complex-raw{padding-left:2ch}dl.complex-raw dt{font-weight:700}\n"] }]
|
|
27714
|
+
args: [{ selector: 'ccd-read-complex-field-raw', template: "<dl class=\"complex-raw\">\n <ng-container *ngFor=\"let field of caseField | ccdReadFieldsFilter:false :undefined :true :topLevelFormGroup :id()\">\n <dt [hidden]=\"field.hidden || field.field_type.type === 'Label'\"><span class=\"text-16\">{{isTranslatable(field) ? (field.label | rpxTranslate) : field.label}}</span></dt>\n <dd [hidden]=\"field.hidden\">\n <ccd-field-read [caseField]=\"field\" [context]=\"context\" [caseFields]=\"caseFields\" [topLevelFormGroup]=\"topLevelFormGroup\" [idPrefix]=\"idPrefix\"></ccd-field-read>\n </dd>\n </ng-container>\n</dl>\n", styles: ["dl.complex-raw{list-style-type:none;margin:5px 0 10px}dl.complex-raw dl.complex-raw{padding-left:2ch}dl.complex-raw dt{font-weight:700}\n"] }]
|
|
27662
27715
|
}], null, { caseFields: [{
|
|
27663
27716
|
type: Input
|
|
27664
27717
|
}] }); })();
|
|
@@ -27726,7 +27779,7 @@ class ReadComplexFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
27726
27779
|
setDummyPathForChildArrays() {
|
|
27727
27780
|
this.path = ReadComplexFieldTableComponent.DUMMY_STRING_PRE + this.idPrefix + ReadComplexFieldTableComponent.DUMMY_STRING_POST;
|
|
27728
27781
|
}
|
|
27729
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(
|
|
27782
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldTableComponent_BaseFactory; return function ReadComplexFieldTableComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldTableComponent_BaseFactory || (ɵReadComplexFieldTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldTableComponent)))(__ngFactoryType__ || ReadComplexFieldTableComponent); }; })();
|
|
27730
27783
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldTableComponent, selectors: [["ccd-read-complex-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 17, consts: [["SimpleRow", ""], [1, "complex-panel"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex field table", 1, "complex-panel-table"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], ["colspan", "2"], [3, "topLevelFormGroup", "caseField", "context"], [1, "complex-panel-simple-field", 3, "hidden"], ["id", "complex-panel-simple-field-label"]], template: function ReadComplexFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
27731
27784
|
i0.ɵɵelementStart(0, "div", 1)(1, "dl", 2)(2, "dt")(3, "span", 3);
|
|
27732
27785
|
i0.ɵɵtext(4);
|
|
@@ -28095,8 +28148,8 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28095
28148
|
}
|
|
28096
28149
|
return result;
|
|
28097
28150
|
}
|
|
28098
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldCollectionTableComponent_BaseFactory; return function ReadComplexFieldCollectionTableComponent_Factory(
|
|
28099
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldCollectionTableComponent, selectors: [["ccd-read-complex-field-collection-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 6, consts: [["showEmptyTd", ""], ["SimpleRow", ""], [1, "complex-panel", 3, "hidden"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex panel table", 1, "complex-panel-table"], ["scope", "col", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["scope", "col"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "click", "innerHTML"], [1, "new-table-row", "accordion-heading", 3, "click"], [2, "float", "right"], ["href", "javascript:void(0)"], ["alt", "
|
|
28151
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadComplexFieldCollectionTableComponent_BaseFactory; return function ReadComplexFieldCollectionTableComponent_Factory(__ngFactoryType__) { return (ɵReadComplexFieldCollectionTableComponent_BaseFactory || (ɵReadComplexFieldCollectionTableComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadComplexFieldCollectionTableComponent)))(__ngFactoryType__ || ReadComplexFieldCollectionTableComponent); }; })();
|
|
28152
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadComplexFieldCollectionTableComponent, selectors: [["ccd-read-complex-field-collection-table"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 13, vars: 6, consts: [["showEmptyTd", ""], ["SimpleRow", ""], [1, "complex-panel", 3, "hidden"], [1, "complex-panel-title"], [1, "text-16"], ["aria-describedby", "complex panel table", 1, "complex-panel-table"], ["scope", "col", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], ["scope", "col"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "click", "innerHTML"], [1, "new-table-row", "accordion-heading", 3, "click"], [2, "float", "right"], ["href", "javascript:void(0)"], ["alt", "accordion-img", 1, "accordion-image", 3, "src"], [3, "hidden"], [3, "colSpan"], ["aria-describedby", "complex panel table expanded", 1, "complex-panel-table"], [4, "ngIf", "ngIfElse"], [3, "caseField", "context"], ["class", "complex-panel-simple-field accordion-body", 3, "hidden", 4, "ngIf"], [3, "hidden", 4, "ngIf"], [1, "complex-panel-simple-field", "accordion-body", 3, "hidden"], ["class", "text-16", 4, "ngIf"], ["colspan", "2"], ["class", "complex-panel-compound-field", 3, "hidden", 4, "ngIf", "ngIfElse"], [1, "complex-panel-compound-field", 3, "hidden"], [1, "complex-panel-nested-field", 3, "hidden"], [4, "ngIf"]], template: function ReadComplexFieldCollectionTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28100
28153
|
i0.ɵɵelementStart(0, "div", 2)(1, "dl", 3)(2, "dt")(3, "span", 4);
|
|
28101
28154
|
i0.ɵɵtext(4);
|
|
28102
28155
|
i0.ɵɵpipe(5, "rpxTranslate");
|
|
@@ -28121,7 +28174,7 @@ class ReadComplexFieldCollectionTableComponent extends AbstractFieldReadComponen
|
|
|
28121
28174
|
}
|
|
28122
28175
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadComplexFieldCollectionTableComponent, [{
|
|
28123
28176
|
type: Component,
|
|
28124
|
-
args: [{ selector: 'ccd-read-complex-field-collection-table', template: "<div class=\"complex-panel\" [hidden]=\"caseField.hidden\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n <dd></dd>\n </dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex panel table\">\n <tbody>\n <!-- <COMPLEX table field header>-->\n <tr>\n <th *ngFor=\"let heading of columns\" scope=\"col\">\n <span class=\"text-16\">{{columnsAllLabels[heading].label | rpxTranslate}}</span>\n <a href=\"javascript:void(0)\"\n (click)=\"sortRowsByColumns(heading)\"\n class=\"sort-widget\"\n [innerHTML]=\"sortWidget(columnsAllLabels[heading])\"></a>\n </th>\n <th></th>\n </tr>\n <!-- </COMPLEX table field header>-->\n <ng-container *ngFor=\"let item of rows; let i = index;\">\n <!-- <COMPLEX table collapsed view>-->\n <tr class=\"new-table-row accordion-heading\" (click)=\"isHidden[i] = !isHidden[i]\"\n [class.last-accordion]=\"isHidden[i]\">\n <ng-container *ngFor=\"let heading of columns\">\n <td class=\"text-16\">\n <div *ngIf=\"item[heading]; else showEmptyTd\">\n <ccd-field-read\n [caseField]=\"toCaseField(heading, item[heading].label, columnsHorizontalLabel[heading].type, item[heading])\"\n [context]=\"context\"></ccd-field-read>\n </div>\n <ng-template #showEmptyTd>\n <div> </div>\n </ng-template>\n </td>\n </ng-container>\n <td>\n <div style=\"float: right;\">\n <a href=\"javascript:void(0)\"> <img src=\"{{ getImage(i) }}\" alt=\"
|
|
28177
|
+
args: [{ selector: 'ccd-read-complex-field-collection-table', template: "<div class=\"complex-panel\" [hidden]=\"caseField.hidden\">\n <dl class=\"complex-panel-title\">\n <dt><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></dt>\n <dd></dd>\n </dl>\n <table class=\"complex-panel-table\" aria-describedby=\"complex panel table\">\n <tbody>\n <!-- <COMPLEX table field header>-->\n <tr>\n <th *ngFor=\"let heading of columns\" scope=\"col\">\n <span class=\"text-16\">{{columnsAllLabels[heading].label | rpxTranslate}}</span>\n <a href=\"javascript:void(0)\"\n (click)=\"sortRowsByColumns(heading)\"\n class=\"sort-widget\"\n [innerHTML]=\"sortWidget(columnsAllLabels[heading])\"></a>\n </th>\n <th></th>\n </tr>\n <!-- </COMPLEX table field header>-->\n <ng-container *ngFor=\"let item of rows; let i = index;\">\n <!-- <COMPLEX table collapsed view>-->\n <tr class=\"new-table-row accordion-heading\" (click)=\"isHidden[i] = !isHidden[i]\"\n [class.last-accordion]=\"isHidden[i]\">\n <ng-container *ngFor=\"let heading of columns\">\n <td class=\"text-16\">\n <div *ngIf=\"item[heading]; else showEmptyTd\">\n <ccd-field-read\n [caseField]=\"toCaseField(heading, item[heading].label, columnsHorizontalLabel[heading].type, item[heading])\"\n [context]=\"context\"></ccd-field-read>\n </div>\n <ng-template #showEmptyTd>\n <div> </div>\n </ng-template>\n </td>\n </ng-container>\n <td>\n <div style=\"float: right;\">\n <a href=\"javascript:void(0)\"> <img src=\"{{ getImage(i) }}\" alt=\"accordion-img\" class=\"accordion-image\"/></a>\n </div>\n </td>\n </tr>\n <!-- </COMPLEX table collapsed view>-->\n <!-- <COMPLEX table expanded view>-->\n <tr [hidden]=\"isHidden[i]\">\n <td [colSpan]=\"columns.length + 1\">\n <table class=\"complex-panel-table\" aria-describedby=\"complex panel table expanded\">\n <tbody>\n <ng-container\n *ngFor=\"let vLabel of columnsVerticalLabel | keyvalue: keepOriginalOrder | ccdCollectionTableCaseFieldsFilter: caseField: rows[i] | ccdReadFieldsFilter:true :undefined :true\">\n <!-- <COMPLEX table expandable body simple field>-->\n <tr class=\"complex-panel-simple-field accordion-body\" *ngIf=\"item[vLabel.id]\" [hidden]=\"vLabel.hidden\">\n <th scope=\"col\"><span class=\"text-16\">{{ vLabel.label | rpxTranslate }}</span></th>\n <td *ngIf=\"vLabel['type'] !== 'Complex'\" class=\"text-16\">\n <ccd-field-read [caseField]=\"toCaseField('', vLabel.label, vLabel.field_type, item[vLabel.id])\"\n [context]=\"context\"></ccd-field-read>\n </td>\n </tr>\n <!-- </COMPLEX table expandable body simple field>-->\n\n <!-- <COMPLEX table expandable body complex field>-->\n <tr *ngIf=\"vLabel['type'] === 'Complex' && addCaseFieldValue(vLabel, item[vLabel.id])\" [hidden]=\"vLabel.hidden\">\n <td colspan=\"2\">\n <ng-container *ngFor=\"let caseField of vLabel | ccdReadFieldsFilter:true :undefined :true\">\n <tr class=\"complex-panel-compound-field\" *ngIf=\"(caseField | ccdIsCompound); else SimpleRow\" [hidden]=\"caseField\">\n <td colspan=\"2\">\n <span class=\"text-16\"><ccd-field-read [caseField]=\"caseField\" [context]=\"context\"></ccd-field-read></span>\n </td>\n </tr>\n <ng-template #SimpleRow>\n <tr class=\"complex-panel-nested-field\" [hidden]=\"caseField.hidden\">\n <th scope=\"col\"><span class=\"text-16\">{{caseField.label | rpxTranslate}}</span></th>\n <td *ngIf=\"!item[vLabel.id]?.hasOwnProperty('CaseReference')\">\n <span class=\"text-16\"><ccd-field-read [caseField]=\"caseField\" [context]=\"context\"></ccd-field-read></span>\n </td>\n <td *ngIf=\"item[vLabel.id]?.hasOwnProperty('CaseReference')\">\n <ccd-read-case-link-field [caseField]=\"addCaseReferenceValue(caseField, item[vLabel.id].CaseReference)\" [context]=\"context\"></ccd-read-case-link-field>\n </td>\n </tr>\n </ng-template>\n </ng-container>\n </td>\n </tr>\n <!-- <COMPLEX table expandable body complex field>-->\n </ng-container>\n </tbody>\n </table>\n </td>\n </tr>\n <!-- </COMPLEX table expanded view>-->\n </ng-container>\n </tbody>\n </table>\n</div>\n", styles: [".complex-panel{margin:13px 0;border:1px solid #bfc1c3}.complex-panel .complex-panel-title{background-color:#dee0e2;padding:5px 5px 2px;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width: 641px){.complex-panel .complex-panel-title{font-size:19px;line-height:1.3157894737}}.complex-panel .complex-panel-table>tbody>tr>th{vertical-align:top}.complex-panel .complex-panel-table>tbody>tr:last-child>th{border-bottom:none}.complex-panel .complex-panel-table th{padding-left:5px;font-weight:700;border-bottom:none}.complex-panel .complex-panel-table td{padding-left:5px;padding-top:0;padding-bottom:0;border-bottom:none}.complex-panel .new-table-row{border-top:1px solid #bfc1c3}.complex-panel .complex-panel-simple-field th{padding-left:5px;padding-top:0;padding-bottom:0;width:295px}.complex-panel .complex-panel-nested-field th{padding-left:33px;padding-top:0;padding-bottom:0;width:200px}.complex-panel .complex-panel-compound-field td{padding:5px;border-bottom:none}.sort-widget{cursor:pointer;text-decoration:none;color:#0b0c0c}.accordion-wrapper{margin-bottom:20px}.accordion-wrapper .heading-medium{margin:0}.accordion-wrapper .accordion-heading{border-top:1px solid #bfc1c3;padding-top:20px;padding-bottom:10px;height:20px;cursor:pointer}.accordion-wrapper .accordion-heading .accordion-image{width:25px;margin-right:20px}.accordion-wrapper .accordion-body{margin-top:20px;margin-right:20px}.accordion-wrapper .last-accordion{border-bottom:1px solid #bfc1c3;padding-bottom:30px}\n"] }]
|
|
28125
28178
|
}], null, null); })();
|
|
28126
28179
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadComplexFieldCollectionTableComponent, { className: "ReadComplexFieldCollectionTableComponent", filePath: "lib/shared/components/palette/complex/read-complex-field-collection-table.component.ts", lineNumber: 12 }); })();
|
|
28127
28180
|
|
|
@@ -28164,7 +28217,7 @@ class WriteDateFieldComponent extends AbstractFieldWriteComponent {
|
|
|
28164
28217
|
isDateTime() {
|
|
28165
28218
|
return this.caseField.field_type.id === 'DateTime';
|
|
28166
28219
|
}
|
|
28167
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDateFieldComponent_BaseFactory; return function WriteDateFieldComponent_Factory(
|
|
28220
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵWriteDateFieldComponent_BaseFactory; return function WriteDateFieldComponent_Factory(__ngFactoryType__) { return (ɵWriteDateFieldComponent_BaseFactory || (ɵWriteDateFieldComponent_BaseFactory = i0.ɵɵgetInheritedFactory(WriteDateFieldComponent)))(__ngFactoryType__ || WriteDateFieldComponent); }; })();
|
|
28168
28221
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteDateFieldComponent, selectors: [["ccd-write-date-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 14, consts: [[1, "form-group", "bottom-30", 3, "id", "ngClass"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "id", "isDateTime", "mandatory", "isInvalid", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteDateFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28169
28222
|
i0.ɵɵelementStart(0, "div", 0)(1, "fieldset")(2, "legend");
|
|
28170
28223
|
i0.ɵɵtemplate(3, WriteDateFieldComponent_span_3_Template, 3, 3, "span", 1);
|
|
@@ -28419,7 +28472,7 @@ class DatetimePickerComponent extends AbstractFormFieldComponent {
|
|
|
28419
28472
|
this.dateControl.setValue('');
|
|
28420
28473
|
}
|
|
28421
28474
|
}
|
|
28422
|
-
static ɵfac = function DatetimePickerComponent_Factory(
|
|
28475
|
+
static ɵfac = function DatetimePickerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatetimePickerComponent)(i0.ɵɵdirectiveInject(FormatTranslatorService), i0.ɵɵdirectiveInject(NGX_MAT_DATE_FORMATS)); };
|
|
28423
28476
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DatetimePickerComponent, selectors: [["ccd-datetime-picker"]], viewQuery: function DatetimePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
28424
28477
|
i0.ɵɵviewQuery(_c0$h, 5);
|
|
28425
28478
|
i0.ɵɵviewQuery(_c1$6, 5);
|
|
@@ -28507,7 +28560,7 @@ class DocumentUrlPipe {
|
|
|
28507
28560
|
const remoteDocumentManagementPattern = new RegExp(this.appConfig.getRemoteDocumentManagementUrl());
|
|
28508
28561
|
return value.replace(remoteDocumentManagementPattern, this.appConfig.getDocumentManagementUrl());
|
|
28509
28562
|
}
|
|
28510
|
-
static ɵfac = function DocumentUrlPipe_Factory(
|
|
28563
|
+
static ɵfac = function DocumentUrlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DocumentUrlPipe)(i0.ɵɵdirectiveInject(AbstractAppConfig, 16)); };
|
|
28511
28564
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDocumentUrl", type: DocumentUrlPipe, pure: true });
|
|
28512
28565
|
}
|
|
28513
28566
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DocumentUrlPipe, [{
|
|
@@ -28519,7 +28572,7 @@ class DocumentUrlPipe {
|
|
|
28519
28572
|
|
|
28520
28573
|
class EventLogDetailsComponent {
|
|
28521
28574
|
event;
|
|
28522
|
-
static ɵfac = function EventLogDetailsComponent_Factory(
|
|
28575
|
+
static ɵfac = function EventLogDetailsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventLogDetailsComponent)(); };
|
|
28523
28576
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogDetailsComponent, selectors: [["ccd-event-log-details"]], inputs: { event: "event" }, decls: 59, vars: 39, consts: [["tabindex", "0", 1, "EventLogDetails"], [1, "heading-h2"], ["tabindex", "0", "aria-live", "polite"], [1, "text-16"], [1, "tooltip", "text-16"]], template: function EventLogDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28524
28577
|
i0.ɵɵelementStart(0, "table", 0)(1, "caption")(2, "h2", 1);
|
|
28525
28578
|
i0.ɵɵtext(3);
|
|
@@ -28816,7 +28869,7 @@ class EventLogTableComponent {
|
|
|
28816
28869
|
}
|
|
28817
28870
|
return `press enter key to open event ${event.event_name} link in separate window`;
|
|
28818
28871
|
}
|
|
28819
|
-
static ɵfac = function EventLogTableComponent_Factory(
|
|
28872
|
+
static ɵfac = function EventLogTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventLogTableComponent)(i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
28820
28873
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogTableComponent, selectors: [["ccd-event-log-table"]], inputs: { events: "events", selected: "selected" }, outputs: { onSelect: "onSelect", onCaseHistory: "onCaseHistory" }, decls: 21, vars: 13, consts: [[1, "EventLogTable"], [1, "heading-h2"], [1, "text-16"], ["tabindex", "0", 3, "ngClass", "click", "keyup", 4, "ngFor", "ngForOf"], ["tabindex", "0", 3, "click", "keyup", "ngClass"], [3, "ngSwitch"], ["id", "case-timeline", 4, "ngSwitchCase"], [4, "ngSwitchCase"], [4, "ngIf"], ["class", "tooltip", 4, "ngIf"], ["tabindex", "0", 3, "keydown.enter"], [1, "tooltip", "text-16"], [1, "tooltiptext"], ["tabindex", "0"], ["id", "case-timeline"], ["class", "text-16 event-link", 3, "click", 4, "ngIf"], ["class", "text-16 event-link", 4, "ngIf"], [1, "text-16", "event-link", 3, "click"], [1, "text-16", "event-link"], ["class", "text-16 event-link", 3, "routerLink", "target", 4, "ngIf"], [1, "text-16", "event-link", 3, "routerLink", "target"], [1, "tooltip"], ["target", "_blank", "rel", "noopener", 3, "href"], ["alt", "document image", "src", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABoCAYAAABmOHdtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAAkoSURBVHhe7d33c5RFHAZw/wCKiF0s2LAwiigq9l5G/UV/UUeFkEAoQqiWoKKI1Dg6YxQQbGmkXQoJIQQiaSShhiQMkgIphCSXkN4buPtcnnDG9fXCa+FN9mY+M5Lce7f3ZPb2u/vu+3rRsKn+Z4ey4e7BIB4XnQ8doA7QHB2gSTpAk3SAJlk+wOG9VL/7L+gATbrgAxzlHgAM6skVcTDhw2i4daENXvbZCXd9EAU8fqRbADi/5j9JB2jSBRvg2Hmh8MAnMbAl/Ths+jUPqhvboLapHXJKTkPU/mKI2FcEdyyJhOvmhoLqvczQAZp0wQU4YVEAuPnGw5GTtdDd0wOdXd3Q1uGQXVID/HlXdw+0tHVCWU0zvLMhFSZ5R4Dqvc+HDtCkCybAW8RAIHn6xkJpuR3aOrqgqqEVPDanwZu+u8HLLwPY1aduTAF7fSvwuLqmNliweRfc6x0JqrYMxN8FONwj9Cz0Pq8/HWBvEP2Do389wFHugTDROxqOldcDu2hmfiXcucQGN8wLgxHiWOnc6zjKncs9t8DVs4Ih+kAxFFY2QK0IUXr1q11wvRhYJOc2DQSD6B8cDXMLPAuKYyUd4P8d4Eg3B7+UfOgRA4V0XHxYafx7kcCCePT0IHhudTyEZZ6Al9YlAAO+bEbQH8RlnYT6lg4oqW6CG+eHw7Apfg6KNhrRAVo9wAeXxcKu3DJgOTLn53S4cmYwMLiA1AI4VdsCja0dwC5feroZOKXjcWO9woDHtbSLMkfYmHgMVG1zhQ7Q6gHyg/IDnbA3AssRLiLM/SUDyutagc8vrmoEDj4suAsqGuCa2SFwuWcQLAzIhJ6eMxCYVgi3LY4AVRuN6ACtHuALaxKgobUT8kUI0uRlMcAy5+fkfOjsktO5nr4pHrvmG75JUFzdDE1iGie9/s1uuHiaP7y4NgH4B8gtrYFJH8eAqo1GdIBWD5BTs6KqJmCZMW5RBLAgfmd9MvDxeeRhYNe7QhTPUqWYvkFdC2xK/A34fl9EHYZ80b2lmqZ2GPNuKDi3zRU6QKsHyC7F4PjB7vsoBi6eFgCBaQXQ0dkN2cWn4VJRJEvsgtuzSqFdPEd6ZlU8cKr31BfxwN/zDzdZlFKSqo1GdIBWD3D8+1HAQvhQUTWc+/J3BLj1QDHwyz+zwA4MhoH/euQUsJzhFO8SjwC4X4QscZks6Wg5vOKzE1RtNKIDtHqAb36bBOVieiXVN7cDB4crZ24Bt+9TgQXwmpgc4GDDQrm6oRUqxAAi+cTmwAg3f+Agwikfnz9mdjCo2mhEB2j1AN/6Lgn4gVhWjFtkg9EegbA8MgvYNW37ioFTNRbUHIRYmE8XJZLE5TD+u0EMWNLpxjbg8ao2GtEBWj3AmxeEAx9ZYgCR5vllAAeR2EMl0NDSDnweBxGWKzyxztObj6/YDix3uHzGQcS2twg42KjaaEQHaPUAH/9cfEChTgwcUm1zBzz82TZgF14hvvglLiYE7SkEdmEuzXM5jIW55w9pwFMHM8R/S/0Ld8t2YR2g4ocD4bYxBfYXVgG/3Lm5iEv67ptSgY8vt+UCt7dd+24osBzilo5l4QeBC7OrtmYDyxwue42ZEwKqNhrRAVo9QBbMreILXWIXfHtDCnAQCU4/DpzK7cmrgNHTRRcXuBiwJ68S+HrPrNoBl4ivAenplduBiwmJuWXAKZ6qjUZ0gIMlwOa2DiiqaoS31ydDX4BiwJAYYNqxCmB5wkEnI98OXJx4emU8jHKX2z/8UepIDHBXThnoAIdqgAyKm4h4ovxGr1DoG0S+TwE+1okBRLpFFOHSdXPDgEv6nBouDT0AfL/V0Yfhz4NIKDi3zRU6QKsH+NCnscBFBBbULLA5SKyMzgYu6funFsBVs4Lh5gU2KBGhSXy9KRuSgYsJM3/cAyyX8srrYaxXOKjaaEQHaPUAOYXqFhN/iSfMFwdmAhcLth8uBXbxgyeqgL/nhTbx4jkSNylxcOAmo4dEqSNxEAkRpZH0wtoEULXRiA7Q6gG+9nUiFFY2Aif549+LAJYpq7bmABdUt4iSRrp6dghwaZ8bJ9mFueWDS/qzf0qHxtZOsNe3ADdmqtpoRAdo9QB5OrFYfGiJZcWED6OAWzs8f0wHnlRaHpEFXJBlucM/AKeEH4UdAC4mrI3NBS46cAsIl8VUbTSiA7R6gFyOYnBHy+pgmiiaJW5L25F9ErhIkHy0HPj7J1bEAZfFuPD66PI44GDz8Kdiyie0d3ZBgpjGSc+K6Z2kaqMRHaDVA3xMfDiJW3W5NfeRz7YBP3h45nHoEKWJtK/QDiy0n1udAPx5S3sX3Lt0KzDo59fsAAbIQnri0mhQtdGIDtDqAbJ8mLIhBbi5nFs6eKE0p2B8LAnaCzfNDwdukOQF2OzK3MrB91sXmwMn7A3ARQXLDiI6QMUPzwfLDE76+XMW0ryEn4PDT0l5wNOeDJqDREh6IfAPwdOaz68WXVjglJCD1kTRzSXnNrlCBzhYAvwrnIIliBJG4pI+bzLBJX8+n4MO/yA8ngFy0OKUMPVYBXDp3/m9XaEDHOwBcirHDZWcyn0spmcSp3CqY50xUF4yxsHjVE0z8JYDqmON6AAHe4C8gIYX1jBAn225wPJFdawzBsibVHARgUFyEFIda0QHONgDpK/jcoHlB28e4WoBfKmY7kncUtzVLW/S091XHvHiRtWxRnSAgz7A3ptBcNmLS/a8+VjU/iLg7U5YtvB4bioatzAceHkrb27Bk0osf/7w3i7QAQ76AHtxAyVPlPNWTly6z8ivhDd8d8NLPjvBY1Mq8CZlvClZQXkd8OJDHaAO0DWTvG3gtTkRePqSgwJPmPMSLm5zO3PmDBRW1IPHehGucNuicFC9lyt0gEMtQLr7gyjg1g0uCrCrcoq2t8AOyb9VABcTbl9sA9VrD4QOUPHaA2HZAIk3Fxsx1Q/u8Y4GBsugeVKJ2+FUr3U+dIAmWT7A/5sO0CQdoEk6QJN0gCbpAE0yHSBfYKgaMcMG/YMjHeDfMB2g6iDtHB2gSTpAk3SAJukATdIBmvSvBcj/UUnfGwxWitCcKcNxhQ7QQRmOK1iIql50KFGG4wodoIMyHFfoAB2U4bhCB+igDMcVOkAHZTiu0AFK/md/Bw8XevIIyEqZAAAAAElFTkSuQmCC", 1, "doc-img"], [1, "tooltiptext", "doc-tooltip"]], template: function EventLogTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28821
28874
|
i0.ɵɵelementStart(0, "table", 0)(1, "caption")(2, "h2", 1);
|
|
28822
28875
|
i0.ɵɵtext(3);
|
|
@@ -28903,7 +28956,7 @@ class EventLogComponent {
|
|
|
28903
28956
|
caseHistoryClicked(eventId) {
|
|
28904
28957
|
this.onCaseHistory.emit(eventId);
|
|
28905
28958
|
}
|
|
28906
|
-
static ɵfac = function EventLogComponent_Factory(
|
|
28959
|
+
static ɵfac = function EventLogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventLogComponent)(); };
|
|
28907
28960
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventLogComponent, selectors: [["ccd-event-log"]], inputs: { events: "events" }, outputs: { onCaseHistory: "onCaseHistory" }, decls: 8, vars: 4, consts: [[1, "grid-row"], [1, "column-one-half", "scrollbar"], [3, "ngSwitch"], [3, "events", "selected", "onSelect", "onCaseHistory", 4, "ngSwitchCase"], [3, "events", "selected", "onSelect", 4, "ngSwitchCase"], [1, "column-one-half"], [1, "EventLog-DetailsPanel"], [3, "event", 4, "ngIf"], [3, "onSelect", "onCaseHistory", "events", "selected"], [3, "onSelect", "events", "selected"], [3, "event"]], template: function EventLogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28908
28961
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
28909
28962
|
i0.ɵɵelementContainerStart(2, 2);
|
|
@@ -28937,7 +28990,7 @@ class EventLogComponent {
|
|
|
28937
28990
|
const _c0$f = ["*"];
|
|
28938
28991
|
class RouterLinkComponent {
|
|
28939
28992
|
link;
|
|
28940
|
-
static ɵfac = function RouterLinkComponent_Factory(
|
|
28993
|
+
static ɵfac = function RouterLinkComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RouterLinkComponent)(); };
|
|
28941
28994
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RouterLinkComponent, selectors: [["exui-routerlink"]], ngContentSelectors: _c0$f, decls: 2, vars: 1, consts: [[3, "routerLink"]], template: function RouterLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28942
28995
|
i0.ɵɵprojectionDef();
|
|
28943
28996
|
i0.ɵɵelementStart(0, "a", 0);
|
|
@@ -28971,7 +29024,7 @@ class CcdCaseTitlePipe {
|
|
|
28971
29024
|
getReadOnlyAndFormFields(formGroup, caseFields) {
|
|
28972
29025
|
return this.fieldsUtils.mergeLabelCaseFieldsAndFormFields(caseFields, formGroup.getRawValue());
|
|
28973
29026
|
}
|
|
28974
|
-
static ɵfac = function CcdCaseTitlePipe_Factory(
|
|
29027
|
+
static ɵfac = function CcdCaseTitlePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CcdCaseTitlePipe)(i0.ɵɵdirectiveInject(PlaceholderService, 16), i0.ɵɵdirectiveInject(FieldsUtils, 16)); };
|
|
28975
29028
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdCaseTitle", type: CcdCaseTitlePipe, pure: true });
|
|
28976
29029
|
}
|
|
28977
29030
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcdCaseTitlePipe, [{
|
|
@@ -28999,7 +29052,7 @@ class CcdCollectionTableCaseFieldsFilterPipe {
|
|
|
28999
29052
|
}
|
|
29000
29053
|
});
|
|
29001
29054
|
}
|
|
29002
|
-
static ɵfac = function CcdCollectionTableCaseFieldsFilterPipe_Factory(
|
|
29055
|
+
static ɵfac = function CcdCollectionTableCaseFieldsFilterPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CcdCollectionTableCaseFieldsFilterPipe)(); };
|
|
29003
29056
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdCollectionTableCaseFieldsFilter", type: CcdCollectionTableCaseFieldsFilterPipe, pure: true });
|
|
29004
29057
|
}
|
|
29005
29058
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcdCollectionTableCaseFieldsFilterPipe, [{
|
|
@@ -29024,7 +29077,7 @@ class CcdCYAPageLabelFilterPipe {
|
|
|
29024
29077
|
});
|
|
29025
29078
|
}
|
|
29026
29079
|
getNonLabelComplexFieldType = (complexFields) => complexFields.filter((caseField) => caseField.field_type.type !== 'Label');
|
|
29027
|
-
static ɵfac = function CcdCYAPageLabelFilterPipe_Factory(
|
|
29080
|
+
static ɵfac = function CcdCYAPageLabelFilterPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CcdCYAPageLabelFilterPipe)(); };
|
|
29028
29081
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdCYAPageLabelFilter", type: CcdCYAPageLabelFilterPipe, pure: true });
|
|
29029
29082
|
}
|
|
29030
29083
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcdCYAPageLabelFilterPipe, [{
|
|
@@ -29198,7 +29251,7 @@ class ReadFieldsFilterPipe {
|
|
|
29198
29251
|
})
|
|
29199
29252
|
.filter(f => keepEmpty || ReadFieldsFilterPipe.keepField(f, undefined, false, checkConditionalShowAgainst));
|
|
29200
29253
|
}
|
|
29201
|
-
static ɵfac = function ReadFieldsFilterPipe_Factory(
|
|
29254
|
+
static ɵfac = function ReadFieldsFilterPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadFieldsFilterPipe)(); };
|
|
29202
29255
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdReadFieldsFilter", type: ReadFieldsFilterPipe, pure: true });
|
|
29203
29256
|
}
|
|
29204
29257
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadFieldsFilterPipe, [{
|
|
@@ -29225,7 +29278,7 @@ class CcdTabFieldsPipe {
|
|
|
29225
29278
|
}
|
|
29226
29279
|
});
|
|
29227
29280
|
}
|
|
29228
|
-
static ɵfac = function CcdTabFieldsPipe_Factory(
|
|
29281
|
+
static ɵfac = function CcdTabFieldsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CcdTabFieldsPipe)(); };
|
|
29229
29282
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdTabFields", type: CcdTabFieldsPipe, pure: true });
|
|
29230
29283
|
}
|
|
29231
29284
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcdTabFieldsPipe, [{
|
|
@@ -29260,7 +29313,7 @@ class CcdPageFieldsPipe {
|
|
|
29260
29313
|
}
|
|
29261
29314
|
});
|
|
29262
29315
|
}
|
|
29263
|
-
static ɵfac = function CcdPageFieldsPipe_Factory(
|
|
29316
|
+
static ɵfac = function CcdPageFieldsPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CcdPageFieldsPipe)(); };
|
|
29264
29317
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdPageFields", type: CcdPageFieldsPipe, pure: true });
|
|
29265
29318
|
}
|
|
29266
29319
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcdPageFieldsPipe, [{
|
|
@@ -29274,7 +29327,7 @@ class EnumDisplayDescriptionPipe {
|
|
|
29274
29327
|
transform(value) {
|
|
29275
29328
|
return Object.values(value);
|
|
29276
29329
|
}
|
|
29277
|
-
static ɵfac = function EnumDisplayDescriptionPipe_Factory(
|
|
29330
|
+
static ɵfac = function EnumDisplayDescriptionPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EnumDisplayDescriptionPipe)(); };
|
|
29278
29331
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "enumDisplayDescription", type: EnumDisplayDescriptionPipe, pure: true });
|
|
29279
29332
|
}
|
|
29280
29333
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EnumDisplayDescriptionPipe, [{
|
|
@@ -29298,7 +29351,7 @@ class LinkCasesFromReasonValuePipe {
|
|
|
29298
29351
|
}
|
|
29299
29352
|
return this.linkedCasesService.linkCaseReasons?.find(reason => reason.key === linkFromReason.reasonCode)?.value_en;
|
|
29300
29353
|
}
|
|
29301
|
-
static ɵfac = function LinkCasesFromReasonValuePipe_Factory(
|
|
29354
|
+
static ɵfac = function LinkCasesFromReasonValuePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkCasesFromReasonValuePipe)(i0.ɵɵdirectiveInject(LinkedCasesService, 16)); };
|
|
29302
29355
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdLinkCasesFromReasonValue", type: LinkCasesFromReasonValuePipe, pure: true });
|
|
29303
29356
|
}
|
|
29304
29357
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkCasesFromReasonValuePipe, [{
|
|
@@ -29322,7 +29375,7 @@ class LinkCasesReasonValuePipe {
|
|
|
29322
29375
|
}
|
|
29323
29376
|
return this.linkedCasesService.linkCaseReasons?.find(reason => reason.key === linkReason.Reason)?.value_en;
|
|
29324
29377
|
}
|
|
29325
|
-
static ɵfac = function LinkCasesReasonValuePipe_Factory(
|
|
29378
|
+
static ɵfac = function LinkCasesReasonValuePipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkCasesReasonValuePipe)(i0.ɵɵdirectiveInject(LinkedCasesService, 16)); };
|
|
29326
29379
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdLinkCasesReasonValue", type: LinkCasesReasonValuePipe, pure: true });
|
|
29327
29380
|
}
|
|
29328
29381
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkCasesReasonValuePipe, [{
|
|
@@ -29342,7 +29395,7 @@ class SortSearchResultPipe {
|
|
|
29342
29395
|
* (sortParameters.sortOrder === SortOrder$1.DESCENDING ? 1 : -1);
|
|
29343
29396
|
});
|
|
29344
29397
|
}
|
|
29345
|
-
static ɵfac = function SortSearchResultPipe_Factory(
|
|
29398
|
+
static ɵfac = function SortSearchResultPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SortSearchResultPipe)(); };
|
|
29346
29399
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdSortSearchResult", type: SortSearchResultPipe, pure: true });
|
|
29347
29400
|
}
|
|
29348
29401
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SortSearchResultPipe, [{
|
|
@@ -29366,7 +29419,7 @@ const pipeDeclarations = [
|
|
|
29366
29419
|
EnumDisplayDescriptionPipe
|
|
29367
29420
|
];
|
|
29368
29421
|
class PipesModule {
|
|
29369
|
-
static ɵfac = function PipesModule_Factory(
|
|
29422
|
+
static ɵfac = function PipesModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PipesModule)(); };
|
|
29370
29423
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PipesModule });
|
|
29371
29424
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
|
|
29372
29425
|
}
|
|
@@ -29407,7 +29460,7 @@ class PipesModule {
|
|
|
29407
29460
|
EnumDisplayDescriptionPipe] }); })();
|
|
29408
29461
|
|
|
29409
29462
|
class MarkdownComponentModule {
|
|
29410
|
-
static ɵfac = function MarkdownComponentModule_Factory(
|
|
29463
|
+
static ɵfac = function MarkdownComponentModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MarkdownComponentModule)(); };
|
|
29411
29464
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MarkdownComponentModule });
|
|
29412
29465
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
29413
29466
|
ReactiveFormsModule,
|
|
@@ -29472,7 +29525,7 @@ class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
|
29472
29525
|
getFeeAmount() {
|
|
29473
29526
|
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
29474
29527
|
}
|
|
29475
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(
|
|
29528
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵReadOrderSummaryRowComponent_BaseFactory; return function ReadOrderSummaryRowComponent_Factory(__ngFactoryType__) { return (ɵReadOrderSummaryRowComponent_BaseFactory || (ɵReadOrderSummaryRowComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent)))(__ngFactoryType__ || ReadOrderSummaryRowComponent); }; })();
|
|
29476
29529
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$e, decls: 7, vars: 5, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29477
29530
|
i0.ɵɵelementStart(0, "td");
|
|
29478
29531
|
i0.ɵɵtext(1);
|
|
@@ -29552,7 +29605,7 @@ class ReadOrganisationFieldRawComponent extends AbstractFieldReadComponent {
|
|
|
29552
29605
|
this.selectedOrg$ = this.organisations$.pipe(switchMap((organisations) => of(this.organisationConverter.toSimpleOrganisationModel(organisations.find(findOrg => findOrg.organisationIdentifier === this.caseField.value.OrganisationID)))));
|
|
29553
29606
|
}
|
|
29554
29607
|
}
|
|
29555
|
-
static ɵfac = function ReadOrganisationFieldRawComponent_Factory(
|
|
29608
|
+
static ɵfac = function ReadOrganisationFieldRawComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadOrganisationFieldRawComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter)); };
|
|
29556
29609
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldRawComponent, selectors: [["ccd-read-organisation-field-raw"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 6, consts: [[1, "complex-panel"], [1, "complex-field-table"], [2, "display", "none"], ["class", "complex-field-table", 4, "ngIf"], [1, "complex-panel-compound-field"], [1, "label-width-small"], [1, "text-16"], [3, "content"]], template: function ReadOrganisationFieldRawComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29557
29610
|
i0.ɵɵelementStart(0, "div", 0)(1, "table", 1);
|
|
29558
29611
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -29628,7 +29681,7 @@ class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
|
29628
29681
|
this.selectedOrg$ = this.organisations$.pipe(switchMap((organisations) => of(this.organisationConverter.toSimpleOrganisationModel(organisations.find(findOrg => findOrg.organisationIdentifier === this.caseField.value.OrganisationID)))));
|
|
29629
29682
|
}
|
|
29630
29683
|
}
|
|
29631
|
-
static ɵfac = function ReadOrganisationFieldTableComponent_Factory(
|
|
29684
|
+
static ɵfac = function ReadOrganisationFieldTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReadOrganisationFieldTableComponent)(i0.ɵɵdirectiveInject(OrganisationService), i0.ɵɵdirectiveInject(OrganisationConverter)); };
|
|
29632
29685
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 14, vars: 9, consts: [[1, "complex-panel"], [1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table", 4, "ngIf"], [1, "complex-panel-compound-field"], [2, "display", "none"], [1, "label-width-medium"], [3, "content"]], template: function ReadOrganisationFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29633
29686
|
i0.ɵɵelementStart(0, "div", 0)(1, "table", 1);
|
|
29634
29687
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
@@ -29662,7 +29715,7 @@ class WriteOrganisationComplexFieldComponent extends AbstractFormFieldComponent
|
|
|
29662
29715
|
constructor() {
|
|
29663
29716
|
super();
|
|
29664
29717
|
}
|
|
29665
|
-
static ɵfac = function WriteOrganisationComplexFieldComponent_Factory(
|
|
29718
|
+
static ɵfac = function WriteOrganisationComplexFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WriteOrganisationComplexFieldComponent)(); };
|
|
29666
29719
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WriteOrganisationComplexFieldComponent, selectors: [["ccd-write-organisation-complex-field"]], inputs: { selectedOrg$: "selectedOrg$" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [["type", "hidden", "name", "organisationID", 3, "value"], ["type", "hidden", "name", "organisationName", 3, "value"]], template: function WriteOrganisationComplexFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
29667
29720
|
i0.ɵɵelementStart(0, "div");
|
|
29668
29721
|
i0.ɵɵelement(1, "input", 0);
|
|
@@ -29688,7 +29741,7 @@ class WriteOrganisationComplexFieldComponent extends AbstractFormFieldComponent
|
|
|
29688
29741
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WriteOrganisationComplexFieldComponent, { className: "WriteOrganisationComplexFieldComponent", filePath: "lib/shared/components/palette/organisation/write-organisation-complex-field.component.ts", lineNumber: 11 }); })();
|
|
29689
29742
|
|
|
29690
29743
|
class NotificationBannerModule {
|
|
29691
|
-
static ɵfac = function NotificationBannerModule_Factory(
|
|
29744
|
+
static ɵfac = function NotificationBannerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationBannerModule)(); };
|
|
29692
29745
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NotificationBannerModule });
|
|
29693
29746
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
|
|
29694
29747
|
}
|
|
@@ -29703,7 +29756,7 @@ class NotificationBannerModule {
|
|
|
29703
29756
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NotificationBannerModule, { declarations: [NotificationBannerComponent], imports: [CommonModule], exports: [NotificationBannerComponent] }); })();
|
|
29704
29757
|
|
|
29705
29758
|
class BannersModule {
|
|
29706
|
-
static ɵfac = function BannersModule_Factory(
|
|
29759
|
+
static ɵfac = function BannersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BannersModule)(); };
|
|
29707
29760
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: BannersModule });
|
|
29708
29761
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
29709
29762
|
AlertModule,
|
|
@@ -29730,7 +29783,7 @@ class BannersModule {
|
|
|
29730
29783
|
NotificationBannerModule] }); })();
|
|
29731
29784
|
|
|
29732
29785
|
class BodyModule {
|
|
29733
|
-
static ɵfac = function BodyModule_Factory(
|
|
29786
|
+
static ɵfac = function BodyModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BodyModule)(); };
|
|
29734
29787
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: BodyModule });
|
|
29735
29788
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, RouterModule] });
|
|
29736
29789
|
}
|
|
@@ -29745,7 +29798,7 @@ class BodyModule {
|
|
|
29745
29798
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(BodyModule, { declarations: [BodyComponent], imports: [CommonModule, RouterModule], exports: [BodyComponent] }); })();
|
|
29746
29799
|
|
|
29747
29800
|
class FootersModule {
|
|
29748
|
-
static ɵfac = function FootersModule_Factory(
|
|
29801
|
+
static ɵfac = function FootersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FootersModule)(); };
|
|
29749
29802
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FootersModule });
|
|
29750
29803
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
29751
29804
|
RpxTranslationModule.forChild()] });
|
|
@@ -29764,7 +29817,7 @@ class FootersModule {
|
|
|
29764
29817
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FootersModule, { declarations: [FooterComponent], imports: [CommonModule, i1.RpxTranslationModule], exports: [FooterComponent] }); })();
|
|
29765
29818
|
|
|
29766
29819
|
class FormModule {
|
|
29767
|
-
static ɵfac = function FormModule_Factory(
|
|
29820
|
+
static ɵfac = function FormModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormModule)(); };
|
|
29768
29821
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormModule });
|
|
29769
29822
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
29770
29823
|
RpxTranslationModule.forChild()] });
|
|
@@ -29819,7 +29872,7 @@ class CollectionCreateCheckerService {
|
|
|
29819
29872
|
hasCreateAccess(caseField, role) {
|
|
29820
29873
|
return !!caseField.acls.find(acl => acl.role === role && acl.create === true);
|
|
29821
29874
|
}
|
|
29822
|
-
static ɵfac = function CollectionCreateCheckerService_Factory(
|
|
29875
|
+
static ɵfac = function CollectionCreateCheckerService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CollectionCreateCheckerService)(); };
|
|
29823
29876
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CollectionCreateCheckerService, factory: CollectionCreateCheckerService.ɵfac });
|
|
29824
29877
|
}
|
|
29825
29878
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollectionCreateCheckerService, [{
|
|
@@ -29844,7 +29897,7 @@ class FileUploadProgressGuard {
|
|
|
29844
29897
|
}
|
|
29845
29898
|
return true;
|
|
29846
29899
|
}
|
|
29847
|
-
static ɵfac = function FileUploadProgressGuard_Factory(
|
|
29900
|
+
static ɵfac = function FileUploadProgressGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileUploadProgressGuard)(i0.ɵɵinject(FileUploadStateService), i0.ɵɵinject(WindowService)); };
|
|
29848
29901
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FileUploadProgressGuard, factory: FileUploadProgressGuard.ɵfac });
|
|
29849
29902
|
}
|
|
29850
29903
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadProgressGuard, [{
|
|
@@ -29978,7 +30031,7 @@ const PALETTE_COMPONENTS = [
|
|
|
29978
30031
|
CaseEventCompletionTaskReassignedComponent
|
|
29979
30032
|
];
|
|
29980
30033
|
class PaletteModule {
|
|
29981
|
-
static ɵfac = function PaletteModule_Factory(
|
|
30034
|
+
static ɵfac = function PaletteModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaletteModule)(); };
|
|
29982
30035
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PaletteModule });
|
|
29983
30036
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
29984
30037
|
ChangeDetectorRef,
|
|
@@ -31082,7 +31135,7 @@ class CaseEditSubmitComponent {
|
|
|
31082
31135
|
}
|
|
31083
31136
|
return 'Cancel';
|
|
31084
31137
|
}
|
|
31085
|
-
static ɵfac = function CaseEditSubmitComponent_Factory(
|
|
31138
|
+
static ɵfac = function CaseEditSubmitComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditSubmitComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ProfileNotifier), i0.ɵɵdirectiveInject(MultipageComponentStateService), i0.ɵɵdirectiveInject(FormValidatorsService), i0.ɵɵdirectiveInject(CaseFlagStateService), i0.ɵɵdirectiveInject(LinkedCasesService)); };
|
|
31086
31139
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditSubmitComponent, selectors: [["ccd-case-edit-submit"]], decls: 25, vars: 24, consts: [["titleBlock", ""], ["idBlock", ""], [1, "govuk-heading-l"], [4, "ngIf", "ngIfThen", "ngIfElse"], [3, "error"], [3, "callbackErrorsContext", "callbackErrorsSubject"], [1, "check-your-answers", 3, "submit", "formGroup"], [4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "click", "disabled"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["class", "text-16", 4, "ngIf"], ["aria-describedby", "check your answers table", 1, "form-table"], [4, "ngFor", "ngForOf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "hidden", "formGroup", "contextFields"], ["class", "valign-top case-field-label", 4, "ngIf"], [1, "form-cell", "case-field-content", "text-16"], [3, "formGroup", "topLevelFormGroup", "caseField", "context", "caseFields"], [1, "valign-top", "case-field-label"], [1, "valign-top", "check-your-answers__change", "case-field-change"], ["href", "javascript:void(0)", 3, "click", 4, "ngIf"], ["aria-describedby", "summary fields table", 1, "summary-fields"], [3, "ngSwitch"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["class", "compound-field", "ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields", 4, "ngSwitchCase"], ["ccdLabelSubstitutor", "", 3, "caseField", "formGroup", "contextFields"], ["id", "summary-field-label"], [1, "form-cell"], [3, "formGroup", "caseField"], ["ccdLabelSubstitutor", "", 1, "compound-field", 3, "caseField", "formGroup", "contextFields"], ["colspan", "2"], [3, "formGroup", "caseField", "caseFields"], ["id", "fieldset-event", "formGroupName", "event"], [2, "display", "none"], [1, "form-group", 3, "ngClass"], ["for", "field-trigger-summary", 1, "form-label"], [1, "form-hint"], ["class", "error-message", 4, "ngIf"], ["type", "text", "id", "field-trigger-summary", "formControlName", "summary", "maxlength", "1024", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], ["for", "field-trigger-description", 1, "form-label"], ["id", "field-trigger-description", "formControlName", "description", "maxlength", "65536", 1, "form-control", "bottom-30", "width-50", 3, "ngClass"], [1, "error-message"], [3, "eventCanBeCompleted", "eventCompletionParams"]], template: function CaseEditSubmitComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31087
31140
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
31088
31141
|
i0.ɵɵelementStart(0, "div")(1, "h1", 2);
|
|
@@ -31203,7 +31256,7 @@ class CaseProgressComponent {
|
|
|
31203
31256
|
isDataLoaded() {
|
|
31204
31257
|
return this.eventTrigger && this.caseDetails ? true : false;
|
|
31205
31258
|
}
|
|
31206
|
-
static ɵfac = function CaseProgressComponent_Factory(
|
|
31259
|
+
static ɵfac = function CaseProgressComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseProgressComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(EventTriggerService)); };
|
|
31207
31260
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseProgressComponent, selectors: [["ccd-case-progress"]], inputs: { case: "case", event: "event" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "cancelled", "submitted", "submit", "validate", "caseDetails", "eventTrigger"]], template: function CaseProgressComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31208
31261
|
i0.ɵɵtemplate(0, CaseProgressComponent_div_0_Template, 2, 4, "div", 0);
|
|
31209
31262
|
} if (rf & 2) {
|
|
@@ -31225,7 +31278,7 @@ class CaseProgressComponent {
|
|
|
31225
31278
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseProgressComponent, { className: "CaseProgressComponent", filePath: "lib/shared/components/case-editor/case-progress/case-progress.component.ts", lineNumber: 17 }); })();
|
|
31226
31279
|
|
|
31227
31280
|
class ErrorsModule {
|
|
31228
|
-
static ɵfac = function ErrorsModule_Factory(
|
|
31281
|
+
static ɵfac = function ErrorsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorsModule)(); };
|
|
31229
31282
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ErrorsModule });
|
|
31230
31283
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
31231
31284
|
RouterModule,
|
|
@@ -31252,7 +31305,7 @@ class ErrorsModule {
|
|
|
31252
31305
|
|
|
31253
31306
|
class LoadingSpinnerComponent {
|
|
31254
31307
|
loadingText = 'Loading';
|
|
31255
|
-
static ɵfac = function LoadingSpinnerComponent_Factory(
|
|
31308
|
+
static ɵfac = function LoadingSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingSpinnerComponent)(); };
|
|
31256
31309
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingSpinnerComponent, selectors: [["ccd-loading-spinner"]], inputs: { loadingText: "loadingText" }, decls: 6, vars: 3, consts: [[1, "spinner-container"], [1, "spinner-inner-container"], [1, "spinner", 2, "margin", "auto"]], template: function LoadingSpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31257
31310
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "p");
|
|
31258
31311
|
i0.ɵɵtext(3);
|
|
@@ -31274,7 +31327,7 @@ class LoadingSpinnerComponent {
|
|
|
31274
31327
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingSpinnerComponent, { className: "LoadingSpinnerComponent", filePath: "lib/shared/components/loading-spinner/loading-spinner.component.ts", lineNumber: 10 }); })();
|
|
31275
31328
|
|
|
31276
31329
|
class LoadingSpinnerModule {
|
|
31277
|
-
static ɵfac = function LoadingSpinnerModule_Factory(
|
|
31330
|
+
static ɵfac = function LoadingSpinnerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingSpinnerModule)(); };
|
|
31278
31331
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LoadingSpinnerModule });
|
|
31279
31332
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
31280
31333
|
RpxTranslationModule.forChild()] });
|
|
@@ -31345,7 +31398,7 @@ function CaseEditGenericErrorsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
31345
31398
|
} }
|
|
31346
31399
|
class CaseEditGenericErrorsComponent {
|
|
31347
31400
|
error;
|
|
31348
|
-
static ɵfac = function CaseEditGenericErrorsComponent_Factory(
|
|
31401
|
+
static ɵfac = function CaseEditGenericErrorsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditGenericErrorsComponent)(); };
|
|
31349
31402
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEditGenericErrorsComponent, selectors: [["ccd-case-edit-generic-errors"]], inputs: { error: "error" }, features: [i0.ɵɵProvidersFeature([])], decls: 2, vars: 2, consts: [["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 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-h3", "error-summary-heading"], ["class", "error-summary-list", 4, "ngIf"], [1, "error-summary-list"], ["class", "ccd-error-summary-li", 4, "ngFor", "ngForOf"], [1, "ccd-error-summary-li"]], template: function CaseEditGenericErrorsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31350
31403
|
i0.ɵɵtemplate(0, CaseEditGenericErrorsComponent_div_0_Template, 10, 0, "div", 0)(1, CaseEditGenericErrorsComponent_div_1_Template, 6, 2, "div", 0);
|
|
31351
31404
|
} if (rf & 2) {
|
|
@@ -31363,7 +31416,7 @@ class CaseEditGenericErrorsComponent {
|
|
|
31363
31416
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseEditGenericErrorsComponent, { className: "CaseEditGenericErrorsComponent", filePath: "lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.ts", lineNumber: 11 }); })();
|
|
31364
31417
|
|
|
31365
31418
|
class CaseEditorModule {
|
|
31366
|
-
static ɵfac = function CaseEditorModule_Factory(
|
|
31419
|
+
static ɵfac = function CaseEditorModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEditorModule)(); };
|
|
31367
31420
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseEditorModule });
|
|
31368
31421
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
31369
31422
|
CaseEditDataService,
|
|
@@ -31581,7 +31634,7 @@ class CaseHeaderComponent {
|
|
|
31581
31634
|
}, []);
|
|
31582
31635
|
return caseDataFields.concat(this.caseDetails.metadataFields);
|
|
31583
31636
|
}
|
|
31584
|
-
static ɵfac = function CaseHeaderComponent_Factory(
|
|
31637
|
+
static ɵfac = function CaseHeaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHeaderComponent)(); };
|
|
31585
31638
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseHeaderComponent, selectors: [["ccd-case-header"]], inputs: { caseDetails: "caseDetails" }, decls: 2, vars: 2, consts: [["class", "heading-h1", 4, "ngIf"], ["class", "case-title", 4, "ngIf"], [1, "heading-h1"], [1, "case-title"], [3, "caseField", "caseFields"]], template: function CaseHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31586
31639
|
i0.ɵɵtemplate(0, CaseHeaderComponent_h1_0_Template, 3, 3, "h1", 0)(1, CaseHeaderComponent_div_1_Template, 2, 2, "div", 1);
|
|
31587
31640
|
} if (rf & 2) {
|
|
@@ -31599,7 +31652,7 @@ class CaseHeaderComponent {
|
|
|
31599
31652
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseHeaderComponent, { className: "CaseHeaderComponent", filePath: "lib/shared/components/case-header/case-header.component.ts", lineNumber: 12 }); })();
|
|
31600
31653
|
|
|
31601
31654
|
class CaseHeaderModule {
|
|
31602
|
-
static ɵfac = function CaseHeaderModule_Factory(
|
|
31655
|
+
static ɵfac = function CaseHeaderModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHeaderModule)(); };
|
|
31603
31656
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseHeaderModule });
|
|
31604
31657
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
31605
31658
|
RouterModule,
|
|
@@ -31836,7 +31889,7 @@ class PaginationComponent {
|
|
|
31836
31889
|
set responsive(value) {
|
|
31837
31890
|
this.pResponsive = coerceToBoolean(value);
|
|
31838
31891
|
}
|
|
31839
|
-
static ɵfac = function PaginationComponent_Factory(
|
|
31892
|
+
static ɵfac = function PaginationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationComponent)(); };
|
|
31840
31893
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["ccd-pagination"]], inputs: { visibilityLabel: "visibilityLabel", id: "id", maxSize: "maxSize", previousLabel: "previousLabel", nextLabel: "nextLabel", screenReaderPaginationLabel: "screenReaderPaginationLabel", screenReaderPageLabel: "screenReaderPageLabel", screenReaderCurrentLabel: "screenReaderCurrentLabel", directionLinks: "directionLinks", autoHide: "autoHide", responsive: "responsive" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, decls: 5, vars: 6, consts: [["p", "paginationApi"], [3, "pageChange", "pageBoundsCorrection", "id", "maxSize"], ["role", "navigation"], ["class", "ngx-pagination", 3, "responsive", 4, "ngIf"], [1, "ngx-pagination"], ["class", "pagination-previous", 3, "disabled", 4, "ngIf"], [1, "small-screen"], [3, "current", "ellipsis", 4, "ngFor", "ngForOf"], ["class", "pagination-next", 3, "disabled", 4, "ngIf"], [1, "pagination-previous"], ["tabindex", "0", 3, "keyup.enter", "click", 4, "ngIf"], [4, "ngIf"], ["tabindex", "0", 3, "keyup.enter", "click"], [1, "show-for-sr"], [1, "pagination-next"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
31841
31894
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
31842
31895
|
i0.ɵɵelementStart(0, "pagination-template", 1, 0);
|
|
@@ -32167,7 +32220,7 @@ class CaseListComponent {
|
|
|
32167
32220
|
this.currentPageNo = pageNumber;
|
|
32168
32221
|
this.pageChange.emit(pageNumber);
|
|
32169
32222
|
}
|
|
32170
|
-
static ɵfac = function CaseListComponent_Factory(
|
|
32223
|
+
static ɵfac = function CaseListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListComponent)(i0.ɵɵdirectiveInject(BrowserService)); };
|
|
32171
32224
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseListComponent, selectors: [["ccd-case-list"]], inputs: { classes: "classes", caption: "caption", firstCellIsHeader: "firstCellIsHeader", cases: "cases", tableConfig: "tableConfig", selectionEnabled: "selectionEnabled", selectedCases: "selectedCases", currentPageNo: "currentPageNo", totalResultsCount: "totalResultsCount", pageSize: "pageSize" }, outputs: { selection: "selection", pageChange: "pageChange" }, decls: 12, vars: 17, consts: [[1, "govuk-table__caption"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["class", "govuk-table__header", "scope", "col", 4, "ngIf"], ["class", "govuk-table__header", "scope", "col", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], [4, "ngFor", "ngForOf"], [3, "pageChange", 4, "ngIf"], ["scope", "col", 1, "govuk-table__header"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["data-selector", "table-row", 1, "govuk-table__row"], ["data-selector", "table-header", "class", "govuk-table__header", "scope", "row", 4, "ngIf"], ["data-selector", "table-header", "scope", "row", 1, "govuk-table__header"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["data-selector", "table-cell", "class", "govuk-table__cell", 3, "ngSwitch", 4, "ngIf"], [4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["data-selector", "table-cell", 1, "govuk-table__cell", 3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "pageChange"]], template: function CaseListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32172
32225
|
i0.ɵɵelementStart(0, "table")(1, "caption", 0);
|
|
32173
32226
|
i0.ɵɵtext(2);
|
|
@@ -32245,7 +32298,7 @@ class TableConfig {
|
|
|
32245
32298
|
}
|
|
32246
32299
|
|
|
32247
32300
|
class PaginationModule {
|
|
32248
|
-
static ɵfac = function PaginationModule_Factory(
|
|
32301
|
+
static ɵfac = function PaginationModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationModule)(); };
|
|
32249
32302
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PaginationModule });
|
|
32250
32303
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
32251
32304
|
NgxPaginationModule,
|
|
@@ -32273,7 +32326,7 @@ class PaginationModule {
|
|
|
32273
32326
|
PaginatePipe] }); })();
|
|
32274
32327
|
|
|
32275
32328
|
class CaseListModule {
|
|
32276
|
-
static ɵfac = function CaseListModule_Factory(
|
|
32329
|
+
static ɵfac = function CaseListModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListModule)(); };
|
|
32277
32330
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseListModule });
|
|
32278
32331
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
32279
32332
|
BrowserService
|
|
@@ -32405,6 +32458,8 @@ class WorkbasketFiltersComponent {
|
|
|
32405
32458
|
workbasketInputs;
|
|
32406
32459
|
workbasketInputsReady;
|
|
32407
32460
|
workbasketDefaults;
|
|
32461
|
+
// TEST-TODO
|
|
32462
|
+
// ngModel may cause Angular 18 issues
|
|
32408
32463
|
selected;
|
|
32409
32464
|
formGroup = new FormGroup({});
|
|
32410
32465
|
selectedJurisdictionCaseTypes;
|
|
@@ -32677,7 +32732,7 @@ class WorkbasketFiltersComponent {
|
|
|
32677
32732
|
this.caseFields = this.workbasketInputs.map(item => FieldsUtils.convertToCaseField(item.field));
|
|
32678
32733
|
}
|
|
32679
32734
|
}
|
|
32680
|
-
static ɵfac = function WorkbasketFiltersComponent_Factory(
|
|
32735
|
+
static ɵfac = function WorkbasketFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(WorkbasketInputFilterService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
32681
32736
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls: 39, vars: 46, consts: [["aria-label", "Filters", 1, "heading-h2"], [1, "global-display"], [1, "form-group"], ["for", "wb-jurisdiction", 1, "form-label"], ["id", "wb-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["for", "wb-case-type", 1, "form-label"], ["id", "wb-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel", "disabled"], ["for", "wb-case-state", 1, "form-label"], ["id", "wb-case-state", "name", "state", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "ngModel", "disabled"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", 1, "button", "workbasket-filters-apply", 3, "click", "disabled", "title"], ["type", "button", 1, "button", "button-secondary", 3, "click", "title"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "keyup.enter", "caseField", "formGroup", "isExpanded", "isInSearchBlock"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32682
32737
|
i0.ɵɵelementStart(0, "h2", 0);
|
|
32683
32738
|
i0.ɵɵtext(1);
|
|
@@ -32789,7 +32844,7 @@ class WorkbasketFiltersComponent {
|
|
|
32789
32844
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WorkbasketFiltersComponent, { className: "WorkbasketFiltersComponent", filePath: "lib/shared/components/workbasket-filters/workbasket-filters.component.ts", lineNumber: 26 }); })();
|
|
32790
32845
|
|
|
32791
32846
|
class WorkbasketFiltersModule {
|
|
32792
|
-
static ɵfac = function WorkbasketFiltersModule_Factory(
|
|
32847
|
+
static ɵfac = function WorkbasketFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || WorkbasketFiltersModule)(); };
|
|
32793
32848
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: WorkbasketFiltersModule });
|
|
32794
32849
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
32795
32850
|
WorkbasketInputFilterService,
|
|
@@ -32874,7 +32929,7 @@ class CaseListFiltersComponent {
|
|
|
32874
32929
|
onWrapperReset(value) {
|
|
32875
32930
|
this.onReset.emit(value);
|
|
32876
32931
|
}
|
|
32877
|
-
static ɵfac = function CaseListFiltersComponent_Factory(
|
|
32932
|
+
static ɵfac = function CaseListFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListFiltersComponent)(i0.ɵɵdirectiveInject(DefinitionsService)); };
|
|
32878
32933
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseListFiltersComponent, selectors: [["ccd-case-list-filters"]], inputs: { defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls: 1, vars: 1, consts: [[3, "jurisdictions", "defaults", "onApply", "onReset", 4, "ngIf"], [3, "onApply", "onReset", "jurisdictions", "defaults"]], template: function CaseListFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32879
32934
|
i0.ɵɵtemplate(0, CaseListFiltersComponent_ccd_workbasket_filters_0_Template, 1, 2, "ccd-workbasket-filters", 0);
|
|
32880
32935
|
} if (rf & 2) {
|
|
@@ -32894,7 +32949,7 @@ class CaseListFiltersComponent {
|
|
|
32894
32949
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseListFiltersComponent, { className: "CaseListFiltersComponent", filePath: "lib/shared/components/case-list-filters/case-list-filters.component.ts", lineNumber: 10 }); })();
|
|
32895
32950
|
|
|
32896
32951
|
class CaseListFiltersModule {
|
|
32897
|
-
static ɵfac = function CaseListFiltersModule_Factory(
|
|
32952
|
+
static ɵfac = function CaseListFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseListFiltersModule)(); };
|
|
32898
32953
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseListFiltersModule });
|
|
32899
32954
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
32900
32955
|
WorkbasketInputFilterService,
|
|
@@ -32999,7 +33054,7 @@ class CaseHistoryService {
|
|
|
32999
33054
|
return throwError(error);
|
|
33000
33055
|
}));
|
|
33001
33056
|
}
|
|
33002
|
-
static ɵfac = function CaseHistoryService_Factory(
|
|
33057
|
+
static ɵfac = function CaseHistoryService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHistoryService)(i0.ɵɵinject(HttpService), i0.ɵɵinject(HttpErrorService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
33003
33058
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseHistoryService, factory: CaseHistoryService.ɵfac });
|
|
33004
33059
|
}
|
|
33005
33060
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryService, [{
|
|
@@ -33022,7 +33077,7 @@ function CaseHistoryComponent_div_0_ng_container_57_ng_container_6_tr_4_Template
|
|
|
33022
33077
|
i0.ɵɵproperty("caseField", field_r1)("caseReference", ctx_r1.caseHistory.case_id);
|
|
33023
33078
|
} }
|
|
33024
33079
|
function CaseHistoryComponent_div_0_ng_container_57_ng_container_6_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
33025
|
-
i0.ɵɵelementStart(0, "tr", 17)(1, "
|
|
33080
|
+
i0.ɵɵelementStart(0, "tr", 17)(1, "th", 18);
|
|
33026
33081
|
i0.ɵɵelement(2, "ccd-field-read", 16);
|
|
33027
33082
|
i0.ɵɵelementEnd()();
|
|
33028
33083
|
} if (rf & 2) {
|
|
@@ -33227,7 +33282,7 @@ class CaseHistoryComponent {
|
|
|
33227
33282
|
.map(tab => Object.assign({}, tab, { fields: this.orderService.sort(tab.fields) }))
|
|
33228
33283
|
.filter(tab => ShowCondition.getInstance(tab.show_condition).matchByContextFields(tab.fields));
|
|
33229
33284
|
}
|
|
33230
|
-
static ɵfac = function CaseHistoryComponent_Factory(
|
|
33285
|
+
static ɵfac = function CaseHistoryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHistoryComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(CaseHistoryService)); };
|
|
33231
33286
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseHistoryComponent, selectors: [["ccd-case-history"]], inputs: { event: "event" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "grid-row"], [1, "column-full"], [3, "caseDetails"], [1, "heading-h2"], ["aria-describedby", "event details table", 1, "EventDetails"], [4, "ngFor", "ngForOf"], [1, "caseHistorySection"], [1, "heading-h3"], [1, "CaseHistory", 3, "id"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-label-header"], [1, "case-viewer-label"], [3, "caseField", "caseReference"], [1, "compound-field"], ["colspan", "2"]], template: function CaseHistoryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
33232
33287
|
i0.ɵɵtemplate(0, CaseHistoryComponent_div_0_Template, 58, 44, "div", 0);
|
|
33233
33288
|
} if (rf & 2) {
|
|
@@ -33236,14 +33291,14 @@ class CaseHistoryComponent {
|
|
|
33236
33291
|
}
|
|
33237
33292
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryComponent, [{
|
|
33238
33293
|
type: Component,
|
|
33239
|
-
args: [{ selector: 'ccd-case-history', template: "<div *ngIf=\"isDataLoaded()\">\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n </div>\n </div>\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <div>\n <h2 class=\"heading-h2\">{{'Event Details' | rpxTranslate}}</h2>\n <table class=\"EventDetails\" aria-describedby=\"event details table\">\n <tbody>\n <tr>\n <th>{{'Date' | rpxTranslate}}</th>\n <td>{{caseHistory.event.timestamp | ccdDate : 'local'}}</td>\n </tr>\n <tr>\n <th>{{'Author' | rpxTranslate}}</th>\n <td>{{caseHistory.event.user_first_name | titlecase}} {{caseHistory.event.user_last_name | uppercase}}</td>\n </tr>\n <tr>\n <th>{{'End state' | rpxTranslate}}</th>\n <td>{{caseHistory.event.state_name}}</td>\n </tr>\n <tr>\n <th>{{'Event' | rpxTranslate}}</th>\n <td>{{caseHistory.event.event_name}}</td>\n </tr>\n <tr>\n <th>{{'Summary' | rpxTranslate}}</th>\n <td>{{caseHistory.event.summary | ccdDash}}</td>\n </tr>\n <tr>\n <th>{{'Comment' | rpxTranslate}}</th>\n <td>{{caseHistory.event.comment | ccdDash}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div>\n <h2 class=\"heading-h2\">{{'Case Details' | rpxTranslate}}</h2>\n <ng-container *ngFor=\"let tab of tabs\">\n <div class=\"caseHistorySection\">\n <h3 class=\"heading-h3\">{{tab.label}}</h3>\n <table class=\"CaseHistory\" id=\"{{tab.id}}\" [attr.aria-describedby]=\"'case history table' | rpxTranslate\">\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"tab.fields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th id=\"case-viewer-label-header\">\n <div class=\"case-viewer-label\">{{field.label}}</div>\n </th>\n <td>\n <ccd-field-read [caseField]=\"field\" [caseReference]=\"caseHistory.case_id\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <
|
|
33294
|
+
args: [{ selector: 'ccd-case-history', template: "<div *ngIf=\"isDataLoaded()\">\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n </div>\n </div>\n <div class=\"grid-row\">\n <div class=\"column-full\">\n <div>\n <h2 class=\"heading-h2\">{{'Event Details' | rpxTranslate}}</h2>\n <table class=\"EventDetails\" aria-describedby=\"event details table\">\n <tbody>\n <tr>\n <th>{{'Date' | rpxTranslate}}</th>\n <td>{{caseHistory.event.timestamp | ccdDate : 'local'}}</td>\n </tr>\n <tr>\n <th>{{'Author' | rpxTranslate}}</th>\n <td>{{caseHistory.event.user_first_name | titlecase}} {{caseHistory.event.user_last_name | uppercase}}</td>\n </tr>\n <tr>\n <th>{{'End state' | rpxTranslate}}</th>\n <td>{{caseHistory.event.state_name}}</td>\n </tr>\n <tr>\n <th>{{'Event' | rpxTranslate}}</th>\n <td>{{caseHistory.event.event_name}}</td>\n </tr>\n <tr>\n <th>{{'Summary' | rpxTranslate}}</th>\n <td>{{caseHistory.event.summary | ccdDash}}</td>\n </tr>\n <tr>\n <th>{{'Comment' | rpxTranslate}}</th>\n <td>{{caseHistory.event.comment | ccdDash}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n <div>\n <h2 class=\"heading-h2\">{{'Case Details' | rpxTranslate}}</h2>\n <ng-container *ngFor=\"let tab of tabs\">\n <div class=\"caseHistorySection\">\n <h3 class=\"heading-h3\">{{tab.label}}</h3>\n <table class=\"CaseHistory\" id=\"{{tab.id}}\" [attr.aria-describedby]=\"'case history table' | rpxTranslate\">\n <ng-container *ngFor=\"let field of tab | ccdTabFields | ccdReadFieldsFilter:false :undefined :true\">\n <div ccdLabelSubstitutor [caseField]=\"field\" [contextFields]=\"tab.fields\" [hidden]=\"field.hidden\">\n <ng-container [ngSwitch]=\"!(field | ccdIsCompound)\">\n <tr *ngSwitchCase=\"true\">\n <th id=\"case-viewer-label-header\">\n <div class=\"case-viewer-label\">{{field.label}}</div>\n </th>\n <td>\n <ccd-field-read [caseField]=\"field\" [caseReference]=\"caseHistory.case_id\"></ccd-field-read>\n </td>\n </tr>\n <tr *ngSwitchCase=\"false\" class=\"compound-field\">\n <th colspan=\"2\">\n <ccd-field-read [caseField]=\"field\" [caseReference]=\"caseHistory.case_id\"></ccd-field-read>\n </th>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </table>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [".CaseHistory th,.CaseHistory td{border-bottom:none}.caseHistorySection{margin-top:40px}.EventDetails th,.EventDetails td{border-bottom:none}th{width:1%;white-space:nowrap;vertical-align:top}.compound-field td{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}\n"] }]
|
|
33240
33295
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: AlertService }, { type: OrderService }, { type: CaseNotifier }, { type: CaseHistoryService }], { event: [{
|
|
33241
33296
|
type: Input
|
|
33242
33297
|
}] }); })();
|
|
33243
33298
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseHistoryComponent, { className: "CaseHistoryComponent", filePath: "lib/shared/components/case-history/case-history.component.ts", lineNumber: 20 }); })();
|
|
33244
33299
|
|
|
33245
33300
|
class CaseHistoryModule {
|
|
33246
|
-
static ɵfac = function CaseHistoryModule_Factory(
|
|
33301
|
+
static ɵfac = function CaseHistoryModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseHistoryModule)(); };
|
|
33247
33302
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseHistoryModule });
|
|
33248
33303
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
33249
33304
|
CaseHistoryService,
|
|
@@ -33378,7 +33433,7 @@ class CaseTimelineComponent {
|
|
|
33378
33433
|
goToCaseTimeline() {
|
|
33379
33434
|
this.displayMode = CaseTimelineDisplayMode.TIMELINE;
|
|
33380
33435
|
}
|
|
33381
|
-
static ɵfac = function CaseTimelineComponent_Factory(
|
|
33436
|
+
static ɵfac = function CaseTimelineComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseTimelineComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
33382
33437
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseTimelineComponent, selectors: [["ccd-case-timeline"]], inputs: { case: "case" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [3, "events", "onCaseHistory", 4, "ngIf"], [3, "onCaseHistory", "events"], [1, "govuk-breadcrumbs"], [1, "govuk-breadcrumbs__list"], [1, "govuk-breadcrumbs__list-item"], ["href", "javascript:void(0)", 1, "govuk-back-link", 3, "click"], [3, "event"]], template: function CaseTimelineComponent_Template(rf, ctx) { if (rf & 1) {
|
|
33383
33438
|
i0.ɵɵtemplate(0, CaseTimelineComponent_div_0_Template, 4, 3, "div", 0);
|
|
33384
33439
|
} if (rf & 2) {
|
|
@@ -33394,7 +33449,7 @@ class CaseTimelineComponent {
|
|
|
33394
33449
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseTimelineComponent, { className: "CaseTimelineComponent", filePath: "lib/shared/components/case-timeline/case-timeline.component.ts", lineNumber: 17 }); })();
|
|
33395
33450
|
|
|
33396
33451
|
class CaseTimelineModule {
|
|
33397
|
-
static ɵfac = function CaseTimelineModule_Factory(
|
|
33452
|
+
static ɵfac = function CaseTimelineModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseTimelineModule)(); };
|
|
33398
33453
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseTimelineModule });
|
|
33399
33454
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
33400
33455
|
ErrorsModule,
|
|
@@ -33547,7 +33602,7 @@ class CaseResolver {
|
|
|
33547
33602
|
|| userDetails.roles.includes('caseworker-privatelaw'))
|
|
33548
33603
|
? this.router.navigate([CaseResolver.defaultWAPage]) : this.router.navigate([CaseResolver.defaultPage]);
|
|
33549
33604
|
}
|
|
33550
|
-
static ɵfac = function CaseResolver_Factory(
|
|
33605
|
+
static ɵfac = function CaseResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseResolver)(i0.ɵɵinject(CaseNotifier), i0.ɵɵinject(DraftService), i0.ɵɵinject(NavigationNotifierService), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
33551
33606
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CaseResolver, factory: CaseResolver.ɵfac });
|
|
33552
33607
|
}
|
|
33553
33608
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseResolver, [{
|
|
@@ -33580,9 +33635,13 @@ class EventTriggerResolver {
|
|
|
33580
33635
|
this.loadingService = loadingService;
|
|
33581
33636
|
}
|
|
33582
33637
|
resolve(route) {
|
|
33583
|
-
|
|
33584
|
-
|
|
33585
|
-
|
|
33638
|
+
if (this.isRootTriggerEventRoute(route)) {
|
|
33639
|
+
return this.getAndCacheEventTrigger(route);
|
|
33640
|
+
}
|
|
33641
|
+
if (this.cachedEventTrigger && (route.params?.eid === this.cachedEventTrigger?.id)) {
|
|
33642
|
+
return Promise.resolve(this.cachedEventTrigger);
|
|
33643
|
+
}
|
|
33644
|
+
return this.getAndCacheEventTrigger(route);
|
|
33586
33645
|
}
|
|
33587
33646
|
isRootTriggerEventRoute(route) {
|
|
33588
33647
|
// if route is 'trigger/:eid'
|
|
@@ -33617,7 +33676,7 @@ class EventTriggerResolver {
|
|
|
33617
33676
|
return throwError(error);
|
|
33618
33677
|
})).toPromise();
|
|
33619
33678
|
}
|
|
33620
|
-
static ɵfac = function EventTriggerResolver_Factory(
|
|
33679
|
+
static ɵfac = function EventTriggerResolver_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTriggerResolver)(i0.ɵɵinject(CasesService), i0.ɵɵinject(AlertService), i0.ɵɵinject(ProfileService), i0.ɵɵinject(ProfileNotifier), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(ErrorNotifierService), i0.ɵɵinject(LoadingService)); };
|
|
33621
33680
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventTriggerResolver, factory: EventTriggerResolver.ɵfac });
|
|
33622
33681
|
}
|
|
33623
33682
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventTriggerResolver, [{
|
|
@@ -33769,7 +33828,7 @@ class CaseEventTriggerComponent {
|
|
|
33769
33828
|
isDataLoaded() {
|
|
33770
33829
|
return !!(this.eventTrigger && this.caseDetails);
|
|
33771
33830
|
}
|
|
33772
|
-
static ɵfac = function CaseEventTriggerComponent_Factory(
|
|
33831
|
+
static ɵfac = function CaseEventTriggerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseEventTriggerComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
33773
33832
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseEventTriggerComponent, selectors: [["ccd-case-event-trigger"]], decls: 1, vars: 1, consts: [["class", "screen-990", 4, "ngIf"], [1, "screen-990"], [3, "caseId", "displayMode"], [3, "cancelled", "submitted", "caseDetails", "submit", "validate", "eventTrigger"]], template: function CaseEventTriggerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
33774
33833
|
i0.ɵɵtemplate(0, CaseEventTriggerComponent_div_0_Template, 3, 6, "div", 0);
|
|
33775
33834
|
} if (rf & 2) {
|
|
@@ -33851,7 +33910,7 @@ class CaseViewComponent {
|
|
|
33851
33910
|
}
|
|
33852
33911
|
return throwError(error);
|
|
33853
33912
|
}
|
|
33854
|
-
static ɵfac = function CaseViewComponent_Factory(
|
|
33913
|
+
static ɵfac = function CaseViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewComponent)(i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
33855
33914
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewComponent, selectors: [["ccd-case-view"]], inputs: { case: "case", hasPrint: "hasPrint", hasEventSelector: "hasEventSelector" }, outputs: { navigationTriggered: "navigationTriggered" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "hasPrint", "hasEventSelector"]], template: function CaseViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
33856
33915
|
i0.ɵɵtemplate(0, CaseViewComponent_div_0_Template, 2, 2, "div", 0);
|
|
33857
33916
|
} if (rf & 2) {
|
|
@@ -33970,15 +34029,14 @@ function CaseBasicAccessViewComponent_div_18_Template(rf, ctx) { if (rf & 1) {
|
|
|
33970
34029
|
i0.ɵɵelementEnd();
|
|
33971
34030
|
i0.ɵɵelementStart(4, "dd", 12);
|
|
33972
34031
|
i0.ɵɵtext(5);
|
|
33973
|
-
i0.ɵɵpipe(6, "
|
|
33974
|
-
i0.ɵɵpipe(7, "titlecase");
|
|
34032
|
+
i0.ɵɵpipe(6, "titlecase");
|
|
33975
34033
|
i0.ɵɵelementEnd()();
|
|
33976
34034
|
} if (rf & 2) {
|
|
33977
34035
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
33978
34036
|
i0.ɵɵadvance(2);
|
|
33979
34037
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Court or hearing centre"));
|
|
33980
34038
|
i0.ɵɵadvance(3);
|
|
33981
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
34039
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 4, ctx_r0.courtOrHearingCentre));
|
|
33982
34040
|
} }
|
|
33983
34041
|
function CaseBasicAccessViewComponent_div_19_Template(rf, ctx) { if (rf & 1) {
|
|
33984
34042
|
i0.ɵɵelementStart(0, "div", 10)(1, "dt", 11);
|
|
@@ -34036,7 +34094,7 @@ class CaseBasicAccessViewComponent {
|
|
|
34036
34094
|
getRequestUrl(accessType) {
|
|
34037
34095
|
return accessType === 'CHALLENGED' ? 'challenged-access-request' : 'specific-access-request';
|
|
34038
34096
|
}
|
|
34039
|
-
static ɵfac = function CaseBasicAccessViewComponent_Factory(
|
|
34097
|
+
static ɵfac = function CaseBasicAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseBasicAccessViewComponent)(i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.Router)); };
|
|
34040
34098
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseBasicAccessViewComponent, selectors: [["ccd-case-basic-access-view"]], inputs: { caseDetails: "caseDetails", accessType: "accessType" }, decls: 29, vars: 23, consts: [[4, "ngIf"], ["type", "information"], [1, "heading-h1"], [1, "govuk-heading-m"], [1, "govuk-summary-list"], ["class", "govuk-summary-list__row", 4, "ngIf"], [1, "govuk-button-group"], [1, "govuk-button", "govuk-!-margin-right-3", 3, "routerLink"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [1, "govuk-summary-list__row"], [1, "govuk-summary-list__key", "summary-key"], [1, "govuk-summary-list__value"]], template: function CaseBasicAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34041
34099
|
i0.ɵɵtemplate(0, CaseBasicAccessViewComponent_ccd_loading_spinner_0_Template, 1, 0, "ccd-loading-spinner", 0);
|
|
34042
34100
|
i0.ɵɵelementStart(1, "div")(2, "cut-alert", 1);
|
|
@@ -34053,7 +34111,7 @@ class CaseBasicAccessViewComponent {
|
|
|
34053
34111
|
i0.ɵɵpipe(13, "rpxTranslate");
|
|
34054
34112
|
i0.ɵɵelementEnd();
|
|
34055
34113
|
i0.ɵɵelementStart(14, "dl", 4);
|
|
34056
|
-
i0.ɵɵtemplate(15, CaseBasicAccessViewComponent_div_15_Template, 7, 6, "div", 5)(16, CaseBasicAccessViewComponent_div_16_Template, 7, 6, "div", 5)(17, CaseBasicAccessViewComponent_div_17_Template, 7, 6, "div", 5)(18, CaseBasicAccessViewComponent_div_18_Template,
|
|
34114
|
+
i0.ɵɵtemplate(15, CaseBasicAccessViewComponent_div_15_Template, 7, 6, "div", 5)(16, CaseBasicAccessViewComponent_div_16_Template, 7, 6, "div", 5)(17, CaseBasicAccessViewComponent_div_17_Template, 7, 6, "div", 5)(18, CaseBasicAccessViewComponent_div_18_Template, 7, 6, "div", 5)(19, CaseBasicAccessViewComponent_div_19_Template, 8, 8, "div", 5);
|
|
34057
34115
|
i0.ɵɵelementEnd()();
|
|
34058
34116
|
i0.ɵɵelementStart(20, "div", 6)(21, "button", 7);
|
|
34059
34117
|
i0.ɵɵtext(22);
|
|
@@ -34098,7 +34156,7 @@ class CaseBasicAccessViewComponent {
|
|
|
34098
34156
|
}
|
|
34099
34157
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseBasicAccessViewComponent, [{
|
|
34100
34158
|
type: Component,
|
|
34101
|
-
args: [{ selector: 'ccd-case-basic-access-view', template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<div>\n <cut-alert type=\"information\">\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This case requires' | rpxTranslate}} {{accessType | rpxTranslate | lowercase}} {{'access' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{'Authorisation is needed to access this case' | rpxTranslate}}</ng-container>\n <br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{\"This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes\" | rpxTranslate }}.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Case details' | rpxTranslate}}</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Case name' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Service' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'State' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Court or hearing centre' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre |
|
|
34159
|
+
args: [{ selector: 'ccd-case-basic-access-view', template: "<ccd-loading-spinner *ngIf=\"showSpinner\"></ccd-loading-spinner>\n<div>\n <cut-alert type=\"information\">\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This case requires' | rpxTranslate}} {{accessType | rpxTranslate | lowercase}} {{'access' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{'Authorisation is needed to access this case' | rpxTranslate}}</ng-container>\n <br />\n <ng-container *ngIf=\"accessType === 'CHALLENGED'\">{{'This is because the case is outside your work area. If you request access to the case, it will be logged for auditing purposes' | rpxTranslate}}.</ng-container>\n <ng-container *ngIf=\"accessType === 'SPECIFIC'\">{{\"This could be because it's outside your jurisdiction, or you may be excluded from the case. If you request access to this case, it will be logged for auditing purposes\" | rpxTranslate }}.</ng-container>\n </cut-alert>\n <h1 class=\"heading-h1\">#{{ caseDetails.case_id | ccdCaseReference}}</h1>\n <h2 class=\"govuk-heading-m\">{{'Case details' | rpxTranslate}}</h2>\n <dl class=\"govuk-summary-list\">\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.basicFields?.caseNameHmctsInternal\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Case name' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.basicFields.caseNameHmctsInternal | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.case_type?.jurisdiction?.name\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Service' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.case_type.jurisdiction.name | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"caseDetails.state?.description\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'State' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{caseDetails.state.description | rpxTranslate}}</dd>\n </div>\n <div class=\"govuk-summary-list__row\" *ngIf=\"courtOrHearingCentre\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Court or hearing centre' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{courtOrHearingCentre | titlecase}}</dd>\n </div>\n\n <div class=\"govuk-summary-list__row\" *ngIf=\"accessType\">\n <dt class=\"govuk-summary-list__key summary-key\">{{'Access' | rpxTranslate}}</dt>\n <dd class=\"govuk-summary-list__value\">{{accessType | titlecase | rpxTranslate}}</dd>\n </div>\n </dl>\n</div>\n<div class=\"govuk-button-group\">\n <button class=\"govuk-button govuk-!-margin-right-3\" [routerLink]=\"getRequestUrl(accessType)\">\n {{'Request access' | rpxTranslate}}\n </button>\n <div class=\"govuk-grid-column-full govuk-!-padding-left-0\">\n <p>\n <a class=\"govuk-body\" (click)=\"onCancel()\" href=\"javascript:void(0)\">\n {{'Cancel' | rpxTranslate}}\n </a>\n </p>\n </div>\n</div>\n" }]
|
|
34102
34160
|
}], () => [{ type: CasesService }, { type: i1$1.Router }], { caseDetails: [{
|
|
34103
34161
|
type: Input
|
|
34104
34162
|
}], accessType: [{
|
|
@@ -34126,7 +34184,7 @@ class DeleteOrCancelDialogComponent {
|
|
|
34126
34184
|
this.result = 'Cancel';
|
|
34127
34185
|
this.matDialogRef.close(this.result);
|
|
34128
34186
|
}
|
|
34129
|
-
static ɵfac = function DeleteOrCancelDialogComponent_Factory(
|
|
34187
|
+
static ɵfac = function DeleteOrCancelDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DeleteOrCancelDialogComponent)(i0.ɵɵdirectiveInject(i1$3.MatLegacyDialogRef)); };
|
|
34130
34188
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DeleteOrCancelDialogComponent, selectors: [["ccd-delete-or-cancel-dialog"]], decls: 19, vars: 12, consts: [[1, "dialog-header"], [1, "heading-h2", "x", 3, "click"], [1, "heading-h2", "dialog-title"], [1, "dialog-info"], [1, "text-info"], ["type", "button", "title", "Delete", 1, "button", "action-button", 3, "click"], ["type", "button", "title", "Cancel", 1, "button", "button-secondary", 3, "click"]], template: function DeleteOrCancelDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34131
34189
|
i0.ɵɵelementStart(0, "div")(1, "div", 0)(2, "h2", 1);
|
|
34132
34190
|
i0.ɵɵlistener("click", function DeleteOrCancelDialogComponent_Template_h2_click_2_listener() { return ctx.cancel(); });
|
|
@@ -34168,7 +34226,7 @@ class DeleteOrCancelDialogComponent {
|
|
|
34168
34226
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DeleteOrCancelDialogComponent, { className: "DeleteOrCancelDialogComponent", filePath: "lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.ts", lineNumber: 9 }); })();
|
|
34169
34227
|
|
|
34170
34228
|
class DialogsModule {
|
|
34171
|
-
static ɵfac = function DialogsModule_Factory(
|
|
34229
|
+
static ɵfac = function DialogsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DialogsModule)(); };
|
|
34172
34230
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DialogsModule });
|
|
34173
34231
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
34174
34232
|
FormsModule,
|
|
@@ -34335,7 +34393,7 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
|
|
|
34335
34393
|
i0.ɵɵadvance();
|
|
34336
34394
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
34337
34395
|
i0.ɵɵadvance(2);
|
|
34338
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)
|
|
34396
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup == null ? null : ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
|
|
34339
34397
|
} }
|
|
34340
34398
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
34341
34399
|
i0.ɵɵelementStart(0, "tr", 40)(1, "th", 35)(2, "span", 36);
|
|
@@ -34347,14 +34405,14 @@ function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_
|
|
|
34347
34405
|
i0.ɵɵadvance();
|
|
34348
34406
|
i0.ɵɵproperty("id", "case-viewer-field-read--" + field_r7.id);
|
|
34349
34407
|
i0.ɵɵadvance(2);
|
|
34350
|
-
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id)
|
|
34408
|
+
i0.ɵɵproperty("topLevelFormGroup", ctx_r1.formGroup.controls["data"])("caseField", field_r7)("caseReference", ctx_r1.caseDetails.case_id);
|
|
34351
34409
|
} }
|
|
34352
34410
|
function CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
34353
34411
|
i0.ɵɵelementContainerStart(0);
|
|
34354
34412
|
i0.ɵɵelementStart(1, "div", 30);
|
|
34355
34413
|
i0.ɵɵelementContainerStart(2, 31);
|
|
34356
34414
|
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
34357
|
-
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5,
|
|
34415
|
+
i0.ɵɵtemplate(4, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_4_Template, 5, 5, "tr", 32)(5, CaseFullAccessViewComponent_ng_container_12_mat_tab_4_ng_template_3_ng_container_3_tr_5_Template, 4, 4, "tr", 33);
|
|
34358
34416
|
i0.ɵɵelementContainerEnd();
|
|
34359
34417
|
i0.ɵɵelementEnd();
|
|
34360
34418
|
i0.ɵɵelementContainerEnd();
|
|
@@ -34472,7 +34530,6 @@ class CaseFullAccessViewComponent {
|
|
|
34472
34530
|
caseSubscription;
|
|
34473
34531
|
errorSubscription;
|
|
34474
34532
|
dialogConfig;
|
|
34475
|
-
markdownUseHrefAsRouterLink;
|
|
34476
34533
|
message;
|
|
34477
34534
|
subscription;
|
|
34478
34535
|
notificationBannerConfig;
|
|
@@ -34516,7 +34573,6 @@ class CaseFullAccessViewComponent {
|
|
|
34516
34573
|
}));
|
|
34517
34574
|
initDialog();
|
|
34518
34575
|
this.init();
|
|
34519
|
-
this.markdownUseHrefAsRouterLink = true;
|
|
34520
34576
|
this.sessionStorageService?.removeItem('eventUrl');
|
|
34521
34577
|
this.subscription = this.convertHrefToRouterService?.getHrefMarkdownLinkContent().subscribe((hrefMarkdownLinkContent) => {
|
|
34522
34578
|
// do not convert router with initial default value; convert to router only on updated link content
|
|
@@ -34845,13 +34901,13 @@ class CaseFullAccessViewComponent {
|
|
|
34845
34901
|
this.errorNotifierService.announceError(null);
|
|
34846
34902
|
this.alertService.clear();
|
|
34847
34903
|
}
|
|
34848
|
-
static ɵfac = function CaseFullAccessViewComponent_Factory(
|
|
34904
|
+
static ɵfac = function CaseFullAccessViewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseFullAccessViewComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(NavigationNotifierService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(ActivityPollingService), i0.ɵɵdirectiveInject(i1$3.MatLegacyDialog), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(DraftService), i0.ɵɵdirectiveInject(ErrorNotifierService), i0.ɵɵdirectiveInject(ConvertHrefToRouterService), i0.ɵɵdirectiveInject(i5.Location), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(i1.RpxTranslatePipe), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(LinkedCasesService), i0.ɵɵdirectiveInject(CaseFlagStateService)); };
|
|
34849
34905
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFullAccessViewComponent, selectors: [["ccd-case-full-access-view"]], viewQuery: function CaseFullAccessViewComponent_Query(rf, ctx) { if (rf & 1) {
|
|
34850
34906
|
i0.ɵɵviewQuery(_c0$b, 5);
|
|
34851
34907
|
} if (rf & 2) {
|
|
34852
34908
|
let _t;
|
|
34853
34909
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabGroup = _t.first);
|
|
34854
|
-
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [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, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], [3, "id", "label", "aria-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"
|
|
34910
|
+
} }, inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", caseDetails: "caseDetails", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 12, consts: [["tabGroup", ""], ["class", "error-summary", "role", "group", "aria-labelledby", "edit-case-event_error-summary-heading", "tabindex", "-1", 4, "ngIf"], [3, "callbackErrorsContext", "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject"], [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, "onTriggerChange", "onTriggerSubmit", "isDisabled", "triggers", "triggerText", "eventId"], [3, "linkClicked", "notificationBannerConfig"], ["animationDuration", "0ms", 3, "selectedIndexChange", "disableRipple", "selectedIndex"], [3, "id", "label", 4, "ngFor", "ngForOf"], [3, "id", "label", "aria-label", 4, "ngFor", "ngForOf"], [3, "id", "label"], [3, "id", "label", "aria-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"], ["id", "case-viewer-field-label"], [1, "case-viewer-label", "text-16"], [1, "compound-field"]], template: function CaseFullAccessViewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
34855
34911
|
i0.ɵɵtemplate(0, CaseFullAccessViewComponent_div_0_Template, 14, 12, "div", 1)(1, CaseFullAccessViewComponent_div_1_Template, 8, 7, "div", 1);
|
|
34856
34912
|
i0.ɵɵelementStart(2, "ccd-callback-errors", 2);
|
|
34857
34913
|
i0.ɵɵlistener("callbackErrorsContext", function CaseFullAccessViewComponent_Template_ccd_callback_errors_callbackErrorsContext_2_listener($event) { return ctx.callbackErrorsNotify($event); });
|
|
@@ -34889,7 +34945,7 @@ class CaseFullAccessViewComponent {
|
|
|
34889
34945
|
}
|
|
34890
34946
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFullAccessViewComponent, [{
|
|
34891
34947
|
type: Component,
|
|
34892
|
-
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\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | 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\"
|
|
34948
|
+
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\" [aria-label]=\"curIdx === 0 ? tab.label + ', Please use left and right arrow keys to navigate case tabs' : '' | 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 </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 </ccd-field-read>\n </span>\n </th>\n </tr>\n </ng-container>\n </div>\n </ng-container>\n </tbody>\n </table>\n </ng-template>\n </mat-tab>\n <mat-tab *ngFor=\"let tab of appendedTabs\" [id]=\"tab.id\" [label]=\"tab.label | rpxTranslate\">\n </mat-tab>\n </mat-tab-group>\n <router-outlet *ngIf=\"(prependedTabs && prependedTabs.length) || (appendedTabs && appendedTabs.length)\"></router-outlet>\n </ng-container>\n </div>\n</div>\n", styles: ["th{width:1%;white-space:nowrap;vertical-align:top}.compound-field th{padding:0}.case-viewer-controls{margin-top:47px;margin-bottom:20px}ccd-case-header{float:left;margin-right:10px}ccd-event-trigger{float:right}.case-viewer-label{min-width:300px;white-space:normal}.markdown h3{margin-bottom:0}.hide-table-capion{position:absolute;visibility:hidden}\n"] }]
|
|
34893
34949
|
}], () => [{ type: i0.NgZone }, { type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: NavigationNotifierService }, { type: OrderService }, { type: ActivityPollingService }, { type: i1$3.MatLegacyDialog }, { type: AlertService }, { type: DraftService }, { type: ErrorNotifierService }, { type: ConvertHrefToRouterService }, { type: i5.Location }, { type: i0.ChangeDetectorRef }, { type: SessionStorageService }, { type: i1.RpxTranslatePipe }, { type: LoadingService }, { type: LinkedCasesService }, { type: CaseFlagStateService }], { hasPrint: [{
|
|
34894
34950
|
type: Input
|
|
34895
34951
|
}], hasEventSelector: [{
|
|
@@ -34953,7 +35009,7 @@ class PrintUrlPipe {
|
|
|
34953
35009
|
}
|
|
34954
35010
|
return remoteUrl;
|
|
34955
35011
|
}
|
|
34956
|
-
static ɵfac = function PrintUrlPipe_Factory(
|
|
35012
|
+
static ɵfac = function PrintUrlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PrintUrlPipe)(i0.ɵɵdirectiveInject(AbstractAppConfig, 16)); };
|
|
34957
35013
|
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdPrintUrl", type: PrintUrlPipe, pure: true });
|
|
34958
35014
|
}
|
|
34959
35015
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PrintUrlPipe, [{
|
|
@@ -34967,20 +35023,19 @@ function CasePrinterComponent_div_0_tr_16_Template(rf, ctx) { if (rf & 1) {
|
|
|
34967
35023
|
i0.ɵɵelementStart(0, "tr")(1, "td", 4)(2, "a", 5);
|
|
34968
35024
|
i0.ɵɵpipe(3, "ccdPrintUrl");
|
|
34969
35025
|
i0.ɵɵtext(4);
|
|
34970
|
-
i0.ɵɵpipe(5, "rpxTranslate");
|
|
34971
35026
|
i0.ɵɵelementEnd()();
|
|
34972
|
-
i0.ɵɵelementStart(
|
|
34973
|
-
i0.ɵɵtext(
|
|
34974
|
-
i0.ɵɵpipe(
|
|
35027
|
+
i0.ɵɵelementStart(5, "td", 6);
|
|
35028
|
+
i0.ɵɵtext(6);
|
|
35029
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
34975
35030
|
i0.ɵɵelementEnd()();
|
|
34976
35031
|
} if (rf & 2) {
|
|
34977
35032
|
const document_r1 = ctx.$implicit;
|
|
34978
35033
|
i0.ɵɵadvance(2);
|
|
34979
35034
|
i0.ɵɵproperty("href", i0.ɵɵpipeBind1(3, 3, document_r1.url), i0.ɵɵsanitizeUrl);
|
|
34980
35035
|
i0.ɵɵadvance(2);
|
|
34981
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
34982
|
-
i0.ɵɵadvance(
|
|
34983
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
35036
|
+
i0.ɵɵtextInterpolate1(" ", document_r1.name, " ");
|
|
35037
|
+
i0.ɵɵadvance(2);
|
|
35038
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 5, document_r1.type));
|
|
34984
35039
|
} }
|
|
34985
35040
|
function CasePrinterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
34986
35041
|
i0.ɵɵelementStart(0, "div");
|
|
@@ -35000,7 +35055,7 @@ function CasePrinterComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
35000
35055
|
i0.ɵɵpipe(14, "rpxTranslate");
|
|
35001
35056
|
i0.ɵɵelementEnd()()();
|
|
35002
35057
|
i0.ɵɵelementStart(15, "tbody");
|
|
35003
|
-
i0.ɵɵtemplate(16, CasePrinterComponent_div_0_tr_16_Template,
|
|
35058
|
+
i0.ɵɵtemplate(16, CasePrinterComponent_div_0_tr_16_Template, 8, 7, "tr", 3);
|
|
35004
35059
|
i0.ɵɵelementEnd()()();
|
|
35005
35060
|
} if (rf & 2) {
|
|
35006
35061
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -35056,7 +35111,7 @@ class CasePrinterComponent {
|
|
|
35056
35111
|
isDataLoaded() {
|
|
35057
35112
|
return this.caseDetails && this.documents ? true : false;
|
|
35058
35113
|
}
|
|
35059
|
-
static ɵfac = function CasePrinterComponent_Factory(
|
|
35114
|
+
static ɵfac = function CasePrinterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CasePrinterComponent)(i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(AlertService)); };
|
|
35060
35115
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CasePrinterComponent, selectors: [["ng-component"]], decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "caseDetails"], [1, "heading-h2"], [4, "ngFor", "ngForOf"], [1, "document-name"], ["target", "_blank", "rel", "external", 3, "href"], [1, "document-type"]], template: function CasePrinterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35061
35116
|
i0.ɵɵtemplate(0, CasePrinterComponent_div_0_Template, 17, 14, "div", 0);
|
|
35062
35117
|
} if (rf & 2) {
|
|
@@ -35065,7 +35120,7 @@ class CasePrinterComponent {
|
|
|
35065
35120
|
}
|
|
35066
35121
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CasePrinterComponent, [{
|
|
35067
35122
|
type: Component,
|
|
35068
|
-
args: [{ template: "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <h2 class=\"heading-h2\">{{'Print' | rpxTranslate}}</h2>\n <table [attr.aria-describedby]=\"'case print table' | rpxTranslate\">\n <thead>\n <tr>\n <th>{{'Name' | rpxTranslate}}</th>\n <th>{{'Type' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let document of documents\">\n <td class=\"document-name\"><a [href]=\"document.url | ccdPrintUrl\" target=\"_blank\" rel=\"external\">\n {{document.name
|
|
35123
|
+
args: [{ template: "<div *ngIf=\"isDataLoaded()\">\n <ccd-case-header [caseDetails]=\"caseDetails\"></ccd-case-header>\n <h2 class=\"heading-h2\">{{'Print' | rpxTranslate}}</h2>\n <table [attr.aria-describedby]=\"'case print table' | rpxTranslate\">\n <thead>\n <tr>\n <th>{{'Name' | rpxTranslate}}</th>\n <th>{{'Type' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let document of documents\">\n <td class=\"document-name\"><a [href]=\"document.url | ccdPrintUrl\" target=\"_blank\" rel=\"external\">\n {{document.name}}\n </a></td>\n <td class=\"document-type\">{{document.type | rpxTranslate}}</td>\n </tr>\n </tbody>\n </table>\n</div>\n" }]
|
|
35069
35124
|
}], () => [{ type: CaseNotifier }, { type: CasesService }, { type: AlertService }], null); })();
|
|
35070
35125
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CasePrinterComponent, { className: "CasePrinterComponent", filePath: "lib/shared/components/case-viewer/printer/case-printer.component.ts", lineNumber: 14 }); })();
|
|
35071
35126
|
|
|
@@ -35171,7 +35226,7 @@ class CaseViewerComponent {
|
|
|
35171
35226
|
}
|
|
35172
35227
|
return tabs;
|
|
35173
35228
|
}
|
|
35174
|
-
static ɵfac = function CaseViewerComponent_Factory(
|
|
35229
|
+
static ɵfac = function CaseViewerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(OrderService)); };
|
|
35175
35230
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseViewerComponent, selectors: [["ccd-case-viewer"]], inputs: { hasPrint: "hasPrint", hasEventSelector: "hasEventSelector", prependedTabs: "prependedTabs", appendedTabs: "appendedTabs" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["id", "content", 3, "accessType", "caseDetails", 4, "ngIf"], ["id", "content", 3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs", 4, "ngIf"], ["id", "content", 3, "accessType", "caseDetails"], ["id", "content", 3, "caseDetails", "hasPrint", "hasEventSelector", "prependedTabs", "appendedTabs"]], template: function CaseViewerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35176
35231
|
i0.ɵɵtemplate(0, CaseViewerComponent_div_0_Template, 3, 2, "div", 0);
|
|
35177
35232
|
} if (rf & 2) {
|
|
@@ -35217,7 +35272,7 @@ function ErrorMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
35217
35272
|
} }
|
|
35218
35273
|
class ErrorMessageComponent {
|
|
35219
35274
|
error;
|
|
35220
|
-
static ɵfac = function ErrorMessageComponent_Factory(
|
|
35275
|
+
static ɵfac = function ErrorMessageComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ErrorMessageComponent)(); };
|
|
35221
35276
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ErrorMessageComponent, selectors: [["exui-error-message"]], inputs: { error: "error" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["routerLink", ".", "tabindex", "0", 3, "fragment"]], template: function ErrorMessageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35222
35277
|
i0.ɵɵtemplate(0, ErrorMessageComponent_ng_container_0_Template, 11, 7, "ng-container", 0);
|
|
35223
35278
|
} if (rf & 2) {
|
|
@@ -35233,7 +35288,7 @@ class ErrorMessageComponent {
|
|
|
35233
35288
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorMessageComponent, { className: "ErrorMessageComponent", filePath: "lib/shared/components/error-message/error-message.component.ts", lineNumber: 12 }); })();
|
|
35234
35289
|
|
|
35235
35290
|
class EventMessageModule {
|
|
35236
|
-
static ɵfac = function EventMessageModule_Factory(
|
|
35291
|
+
static ɵfac = function EventMessageModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventMessageModule)(); };
|
|
35237
35292
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EventMessageModule });
|
|
35238
35293
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
35239
35294
|
ReactiveFormsModule,
|
|
@@ -35272,7 +35327,7 @@ class MultipleTasksExistComponent {
|
|
|
35272
35327
|
this.route = route;
|
|
35273
35328
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
35274
35329
|
}
|
|
35275
|
-
static ɵfac = function MultipleTasksExistComponent_Factory(
|
|
35330
|
+
static ɵfac = function MultipleTasksExistComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MultipleTasksExistComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
35276
35331
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MultipleTasksExistComponent, selectors: [["app-multiple-tasks-exist"]], decls: 24, vars: 21, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function MultipleTasksExistComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35277
35332
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35278
35333
|
i0.ɵɵtext(3);
|
|
@@ -35329,7 +35384,7 @@ class NoTasksAvailableComponent {
|
|
|
35329
35384
|
this.route = route;
|
|
35330
35385
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
35331
35386
|
}
|
|
35332
|
-
static ɵfac = function NoTasksAvailableComponent_Factory(
|
|
35387
|
+
static ɵfac = function NoTasksAvailableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NoTasksAvailableComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
35333
35388
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NoTasksAvailableComponent, selectors: [["app-no-tasks-available"]], decls: 21, vars: 18, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function NoTasksAvailableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35334
35389
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35335
35390
|
i0.ɵɵtext(3);
|
|
@@ -35461,7 +35516,7 @@ class TaskAssignedComponent {
|
|
|
35461
35516
|
this.judicialworkerSubscription.unsubscribe();
|
|
35462
35517
|
}
|
|
35463
35518
|
}
|
|
35464
|
-
static ɵfac = function TaskAssignedComponent_Factory(
|
|
35519
|
+
static ɵfac = function TaskAssignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskAssignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(JudicialworkerService), i0.ɵɵdirectiveInject(CaseworkerService)); };
|
|
35465
35520
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskAssignedComponent, selectors: [["app-task-assigned"]], decls: 1, vars: 1, consts: [["class", "govuk-!-margin-9", 4, "ngIf"], [1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskAssignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35466
35521
|
i0.ɵɵtemplate(0, TaskAssignedComponent_div_0_Template, 22, 22, "div", 0);
|
|
35467
35522
|
} if (rf & 2) {
|
|
@@ -35477,7 +35532,7 @@ class TaskAssignedComponent {
|
|
|
35477
35532
|
const _c0$7 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
35478
35533
|
class TaskCancelledComponent {
|
|
35479
35534
|
caseId;
|
|
35480
|
-
static ɵfac = function TaskCancelledComponent_Factory(
|
|
35535
|
+
static ɵfac = function TaskCancelledComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskCancelledComponent)(); };
|
|
35481
35536
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskCancelledComponent, selectors: [["app-task-cancelled"]], inputs: { caseId: "caseId" }, decls: 31, vars: 27, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], [1, "form-group", "form-group-related"], ["type", "submit", "data-module", "govuk-button", 1, "govuk-button", "govuk-!-margin-right-2"], ["data-module", "govuk-button", 1, "govuk-button", "govuk-button--secondary", 3, "routerLink"]], template: function TaskCancelledComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35482
35537
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35483
35538
|
i0.ɵɵtext(3);
|
|
@@ -35544,7 +35599,7 @@ const _c0$6 = a0 => ["/", "cases", "case-details", a0, "tasks"];
|
|
|
35544
35599
|
class TaskConflictComponent {
|
|
35545
35600
|
task;
|
|
35546
35601
|
caseId;
|
|
35547
|
-
static ɵfac = function TaskConflictComponent_Factory(
|
|
35602
|
+
static ɵfac = function TaskConflictComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskConflictComponent)(); };
|
|
35548
35603
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskConflictComponent, selectors: [["app-task-conflict"]], inputs: { task: "task", caseId: "caseId" }, decls: 24, vars: 21, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskConflictComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35549
35604
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35550
35605
|
i0.ɵɵtext(3);
|
|
@@ -35605,7 +35660,7 @@ class TaskUnassignedComponent {
|
|
|
35605
35660
|
this.route = route;
|
|
35606
35661
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
35607
35662
|
}
|
|
35608
|
-
static ɵfac = function TaskUnassignedComponent_Factory(
|
|
35663
|
+
static ɵfac = function TaskUnassignedComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TaskUnassignedComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
35609
35664
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TaskUnassignedComponent, selectors: [["app-task-unassigned"]], decls: 21, vars: 18, consts: [[1, "govuk-!-margin-9"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], ["href", "#"], [1, "govuk-form-group", "govuk-form-group--error"], [1, "govuk-heading-m"], ["href", "javascript:void(0)", 3, "routerLink"]], template: function TaskUnassignedComponent_Template(rf, ctx) { if (rf & 1) {
|
|
35610
35665
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "h2", 2);
|
|
35611
35666
|
i0.ɵɵtext(3);
|
|
@@ -35800,7 +35855,7 @@ class EventStartGuard {
|
|
|
35800
35855
|
this.sessionStorageService.setItem(CaseEditComponent.TASK_EVENT_COMPLETION_INFO, JSON.stringify(taskEventCompletionInfo));
|
|
35801
35856
|
this.sessionStorageService.setItem(CaseEditComponent.CLIENT_CONTEXT, JSON.stringify(storeClientContext));
|
|
35802
35857
|
}
|
|
35803
|
-
static ɵfac = function EventStartGuard_Factory(
|
|
35858
|
+
static ɵfac = function EventStartGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartGuard)(i0.ɵɵinject(WorkAllocationService), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(AbstractAppConfig), i0.ɵɵinject(ReadCookieService)); };
|
|
35804
35859
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventStartGuard, factory: EventStartGuard.ɵfac });
|
|
35805
35860
|
}
|
|
35806
35861
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartGuard, [{
|
|
@@ -36018,7 +36073,7 @@ class EventStartStateMachineService {
|
|
|
36018
36073
|
addTransitionsForStateMultipleTasksAssignedToUser() {
|
|
36019
36074
|
this.stateMultipleTasksAssignedToUser.addTransition(EventStartStates.FINAL, this.stateFinal);
|
|
36020
36075
|
}
|
|
36021
|
-
static ɵfac = function EventStartStateMachineService_Factory(
|
|
36076
|
+
static ɵfac = function EventStartStateMachineService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartStateMachineService)(); };
|
|
36022
36077
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventStartStateMachineService, factory: EventStartStateMachineService.ɵfac });
|
|
36023
36078
|
}
|
|
36024
36079
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartStateMachineService, [{
|
|
@@ -36067,7 +36122,7 @@ class EventStartComponent {
|
|
|
36067
36122
|
// Start state machine
|
|
36068
36123
|
this.service.startStateMachine(this.stateMachine);
|
|
36069
36124
|
}
|
|
36070
|
-
static ɵfac = function EventStartComponent_Factory(
|
|
36125
|
+
static ɵfac = function EventStartComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartComponent)(i0.ɵɵdirectiveInject(EventStartStateMachineService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(ReadCookieService)); };
|
|
36071
36126
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventStartComponent, selectors: [["ccd-event-start"]], decls: 0, vars: 0, template: function EventStartComponent_Template(rf, ctx) { }, encapsulation: 2 });
|
|
36072
36127
|
}
|
|
36073
36128
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventStartComponent, [{
|
|
@@ -36098,7 +36153,7 @@ class EventTasksResolverService {
|
|
|
36098
36153
|
this.abstractConfig.logMessage(`EventTasksResolverService: caseInfo details not available in session storage for ${caseId}`);
|
|
36099
36154
|
}
|
|
36100
36155
|
}
|
|
36101
|
-
static ɵfac = function EventTasksResolverService_Factory(
|
|
36156
|
+
static ɵfac = function EventTasksResolverService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTasksResolverService)(i0.ɵɵinject(WorkAllocationService), i0.ɵɵinject(SessionStorageService), i0.ɵɵinject(AbstractAppConfig)); };
|
|
36102
36157
|
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventTasksResolverService, factory: EventTasksResolverService.ɵfac });
|
|
36103
36158
|
}
|
|
36104
36159
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventTasksResolverService, [{
|
|
@@ -36106,7 +36161,7 @@ class EventTasksResolverService {
|
|
|
36106
36161
|
}], () => [{ type: WorkAllocationService }, { type: SessionStorageService }, { type: AbstractAppConfig }], null); })();
|
|
36107
36162
|
|
|
36108
36163
|
class EventStartModule {
|
|
36109
|
-
static ɵfac = function EventStartModule_Factory(
|
|
36164
|
+
static ɵfac = function EventStartModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventStartModule)(); };
|
|
36110
36165
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EventStartModule });
|
|
36111
36166
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
36112
36167
|
EventStartGuard,
|
|
@@ -36262,7 +36317,7 @@ class EventTriggerComponent {
|
|
|
36262
36317
|
getDefault() {
|
|
36263
36318
|
return this.triggers?.length === 1 ? this.triggers[0] : '';
|
|
36264
36319
|
}
|
|
36265
|
-
static ɵfac = function EventTriggerComponent_Factory(
|
|
36320
|
+
static ɵfac = function EventTriggerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTriggerComponent)(i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(OrderService)); };
|
|
36266
36321
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EventTriggerComponent, selectors: [["ccd-event-trigger"]], inputs: { triggers: "triggers", triggerText: "triggerText", isDisabled: "isDisabled", eventId: "eventId" }, outputs: { onTriggerSubmit: "onTriggerSubmit", onTriggerChange: "onTriggerChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "event-trigger", 3, "formGroup", "ngSubmit", 4, "ngIf"], [1, "event-trigger", 3, "ngSubmit", "formGroup"], [1, "form-group", 2, "width", "350px !important"], ["for", "next-step", 1, "form-label"], ["id", "next-step", "formControlName", "trigger", 1, "form-control", "ccd-dropdown", 3, "change", "ngClass", "compareWith"], ["value", "", "data-default", "", 4, "ngIf"], [3, "ngValue", "title", 4, "ngFor", "ngForOf"], ["type", "submit", 1, "button", 3, "disabled"], ["value", "", "data-default", ""], [3, "ngValue", "title"]], template: function EventTriggerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36267
36322
|
i0.ɵɵtemplate(0, EventTriggerComponent_form_0_Template, 11, 14, "form", 0);
|
|
36268
36323
|
} if (rf & 2) {
|
|
@@ -36288,7 +36343,7 @@ class EventTriggerComponent {
|
|
|
36288
36343
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EventTriggerComponent, { className: "EventTriggerComponent", filePath: "lib/shared/components/event-trigger/event-trigger.component.ts", lineNumber: 12 }); })();
|
|
36289
36344
|
|
|
36290
36345
|
class EventTriggerModule {
|
|
36291
|
-
static ɵfac = function EventTriggerModule_Factory(
|
|
36346
|
+
static ɵfac = function EventTriggerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EventTriggerModule)(); };
|
|
36292
36347
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: EventTriggerModule });
|
|
36293
36348
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
36294
36349
|
ReactiveFormsModule,
|
|
@@ -36528,7 +36583,7 @@ class CaseChallengedAccessRequestComponent {
|
|
|
36528
36583
|
inputEmpty(input) {
|
|
36529
36584
|
return input.value === null || input.value.trim().length === 0;
|
|
36530
36585
|
}
|
|
36531
|
-
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(
|
|
36586
|
+
static ɵfac = function CaseChallengedAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
36532
36587
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessRequestComponent, selectors: [["ccd-case-challenged-access-request"]], decls: 50, vars: 46, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], ["data-module", "govuk-radios", 1, "govuk-radios", "govuk-radios--conditional"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-0", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-0", "class", "govuk-radios__conditional", 4, "ngIf"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-3", "name", "radioSelected", "type", "radio", "data-aria-controls", "conditional-reason-3", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-3", "id", "reason-3-label", 1, "govuk-label", "govuk-radios__label"], ["id", "conditional-reason-3", "class", "govuk-radios__conditional", 4, "ngIf"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"], ["id", "conditional-reason-0", 1, "govuk-radios__conditional"], [1, "govuk-form-group"], ["for", "case-reference", 1, "govuk-label"], ["id", "case-reference-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "case-reference", "name", "case-reference", "type", "text", "formControlName", "caseReference", 1, "govuk-input", "govuk-!-width-one-third", 3, "ngClass"], ["id", "case-reference-error-message", 1, "govuk-error-message"], ["id", "conditional-reason-3", 1, "govuk-radios__conditional"], ["id", "other-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "other-reason", "name", "other-reason", "rows", "5", "aria-describedby", "reason-3-label", "formControlName", "otherReason", 1, "govuk-textarea", 3, "ngClass"], ["id", "other-reason-error-message", 1, "govuk-error-message"]], template: function CaseChallengedAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36533
36588
|
i0.ɵɵtemplate(0, CaseChallengedAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
36534
36589
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
@@ -36646,7 +36701,7 @@ class CaseChallengedAccessSuccessComponent {
|
|
|
36646
36701
|
ngOnInit() {
|
|
36647
36702
|
this.caseId = this.route.snapshot.params.cid;
|
|
36648
36703
|
}
|
|
36649
|
-
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(
|
|
36704
|
+
static ɵfac = function CaseChallengedAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseChallengedAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36650
36705
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseChallengedAccessSuccessComponent, selectors: [["ccd-case-challenged-access-success"]], decls: 31, vars: 23, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], [3, "routerLink"]], template: function CaseChallengedAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36651
36706
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
36652
36707
|
i0.ɵɵtext(5);
|
|
@@ -36718,7 +36773,7 @@ class CaseReviewSpecificAccessRejectComponent {
|
|
|
36718
36773
|
ngOnInit() {
|
|
36719
36774
|
this.caseId = this.route.snapshot.data.case.case_id;
|
|
36720
36775
|
}
|
|
36721
|
-
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(
|
|
36776
|
+
static ɵfac = function CaseReviewSpecificAccessRejectComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRejectComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
36722
36777
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRejectComponent, selectors: [["case-review-specific-access-reject"]], decls: 24, vars: 17, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-heading-m"], [1, "govuk-body"], [1, "form-group", "form-group-related"], ["button", "", "href", "tasks/list", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "cancel"], [3, "href"]], template: function CaseReviewSpecificAccessRejectComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36723
36778
|
i0.ɵɵelement(0, "p");
|
|
36724
36779
|
i0.ɵɵelementStart(1, "div", 0)(2, "div", 1)(3, "div", 2)(4, "div", 3)(5, "h1", 4);
|
|
@@ -36886,7 +36941,7 @@ class CaseReviewSpecificAccessRequestComponent {
|
|
|
36886
36941
|
this.requestAccessDetails = requestAccessDetailsMock.details;
|
|
36887
36942
|
}
|
|
36888
36943
|
}
|
|
36889
|
-
static ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(
|
|
36944
|
+
static ɵfac = function CaseReviewSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseReviewSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(AbstractAppConfig)); };
|
|
36890
36945
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseReviewSpecificAccessRequestComponent, selectors: [["ccd-case-review-specific-access-request"]], decls: 77, vars: 55, consts: [[3, "error", 4, "ngIf"], [3, "submit", "formGroup"], [1, "govuk-form-group"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], [1, "govuk-table"], [1, "govuk-table__body"], [1, "govuk-table__row"], ["scope", "row", 1, "govuk-table__header", "leftLabel"], [1, "govuk-table__cell"], [1, "govuk-form-group", 3, "ngClass"], [1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--m"], ["id", "error-message", "class", "govuk-error-message", 4, "ngIf"], [1, "govuk-radios__item"], ["id", "reason-0", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-0", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-1", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-1", 1, "govuk-label", "govuk-radios__label"], ["id", "reason-2", "name", "radioSelected", "type", "radio", "formControlName", "radioSelected", 1, "govuk-radios__input", 3, "change", "value", "checked"], ["for", "reason-2", 1, "govuk-label", "govuk-radios__label"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "error-message", 1, "govuk-error-message"]], template: function CaseReviewSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36891
36946
|
i0.ɵɵtemplate(0, CaseReviewSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
36892
36947
|
i0.ɵɵelementStart(1, "form", 1);
|
|
@@ -37153,7 +37208,7 @@ class CaseSpecificAccessRequestComponent {
|
|
|
37153
37208
|
inputEmpty(input) {
|
|
37154
37209
|
return input.value === null || input.value.trim().length === 0;
|
|
37155
37210
|
}
|
|
37156
|
-
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(
|
|
37211
|
+
static ɵfac = function CaseSpecificAccessRequestComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessRequestComponent)(i0.ɵɵdirectiveInject(i4.FormBuilder), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(CasesService), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(CaseNotifier)); };
|
|
37157
37212
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessRequestComponent, selectors: [["ccd-case-specific-access-request"]], decls: 50, vars: 42, consts: [[3, "error", 4, "ngIf"], ["type", "information"], [3, "submit", "formGroup"], [1, "govuk-form-group", 3, "ngClass"], ["aria-describedby", "reason-hint", 1, "govuk-fieldset"], [1, "govuk-fieldset__legend", "govuk-fieldset__legend--l"], [1, "govuk-fieldset__heading"], ["data-module", "govuk-details", "role", "group", 1, "govuk-details"], ["aria-expanded", "false", 1, "govuk-details__summary"], [1, "govuk-details__summary-text"], ["aria-hidden", "true", 1, "govuk-details__text"], [1, "govuk-body"], [1, "govuk-list", "govuk-list--bullet"], ["id", "reason-hint", 1, "govuk-hint"], ["id", "conditional-reason-3"], [1, "govuk-form-group"], ["id", "specific-reason-error-message", "class", "govuk-error-message", 4, "ngIf"], ["id", "specific-reason", "name", "specific-reason", "rows", "8", "formControlName", "specificReason", 1, "govuk-textarea", 3, "ngClass"], [1, "govuk-button-group"], ["type", "submit", 1, "govuk-button", "govuk-!-margin-right-3"], [1, "govuk-grid-column-full", "govuk-!-padding-left-0"], ["href", "javascript:void(0)", 1, "govuk-body", 3, "click"], [3, "error"], ["id", "specific-reason-error-message", 1, "govuk-error-message"]], template: function CaseSpecificAccessRequestComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37158
37213
|
i0.ɵɵtemplate(0, CaseSpecificAccessRequestComponent_exui_error_message_0_Template, 1, 1, "exui-error-message", 0);
|
|
37159
37214
|
i0.ɵɵelementStart(1, "cut-alert", 1);
|
|
@@ -37256,7 +37311,7 @@ class CaseSpecificAccessSuccessComponent {
|
|
|
37256
37311
|
ngOnInit() {
|
|
37257
37312
|
this.caseId = this.route.snapshot.params.cid;
|
|
37258
37313
|
}
|
|
37259
|
-
static ɵfac = function CaseSpecificAccessSuccessComponent_Factory(
|
|
37314
|
+
static ɵfac = function CaseSpecificAccessSuccessComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseSpecificAccessSuccessComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute)); };
|
|
37260
37315
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseSpecificAccessSuccessComponent, selectors: [["ccd-case-specific-access-success"]], decls: 23, vars: 1, consts: [[1, "govuk-width-container"], [1, "govuk-grid-row"], [1, "govuk-grid-column-two-thirds"], [1, "govuk-panel", "govuk-panel--confirmation"], [1, "govuk-panel__title"], [1, "govuk-panel__body"], [1, "govuk-heading-m"], [1, "govuk-body"], ["href", "work/my-work/my-access"]], template: function CaseSpecificAccessSuccessComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37261
37316
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "h1", 4);
|
|
37262
37317
|
i0.ɵɵtext(5, " Request sent");
|
|
@@ -37294,7 +37349,7 @@ class CaseSpecificAccessSuccessComponent {
|
|
|
37294
37349
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaseSpecificAccessSuccessComponent, { className: "CaseSpecificAccessSuccessComponent", filePath: "lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.ts", lineNumber: 8 }); })();
|
|
37295
37350
|
|
|
37296
37351
|
class CaseViewerModule {
|
|
37297
|
-
static ɵfac = function CaseViewerModule_Factory(
|
|
37352
|
+
static ɵfac = function CaseViewerModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CaseViewerModule)(); };
|
|
37298
37353
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CaseViewerModule });
|
|
37299
37354
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
37300
37355
|
CaseNotifier,
|
|
@@ -37728,7 +37783,7 @@ class CreateCaseFiltersComponent {
|
|
|
37728
37783
|
isEmpty(value) {
|
|
37729
37784
|
return value === null || value === undefined;
|
|
37730
37785
|
}
|
|
37731
|
-
static ɵfac = function CreateCaseFiltersComponent_Factory(
|
|
37786
|
+
static ɵfac = function CreateCaseFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CreateCaseFiltersComponent)(i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(DefinitionsService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(JurisdictionService)); };
|
|
37732
37787
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CreateCaseFiltersComponent, selectors: [["ccd-create-case-filters"]], inputs: { isDisabled: "isDisabled", startButtonText: "startButtonText" }, outputs: { selectionSubmitted: "selectionSubmitted", selectionChanged: "selectionChanged" }, decls: 31, vars: 28, consts: [[3, "ngSubmit"], [1, "form-group"], ["for", "cc-jurisdiction", 1, "form-label"], ["id", "cc-jurisdiction", "name", "jurisdiction", 1, "form-control", "ccd-dropdown", 3, "change", "formControl"], ["value", ""], [3, "value", 4, "ngFor", "ngForOf"], ["for", "cc-case-type", 1, "form-label"], ["id", "cc-case-type", "name", "case-type", 1, "form-control", "ccd-dropdown", 3, "change", "formControl"], ["for", "cc-event", 1, "form-label"], ["id", "cc-event", "name", "event", 1, "form-control", "ccd-dropdown", 3, "change", "formControl"], ["type", "submit", 1, "button", 3, "disabled"], [3, "value"]], template: function CreateCaseFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37733
37788
|
i0.ɵɵelementStart(0, "form", 0);
|
|
37734
37789
|
i0.ɵɵlistener("ngSubmit", function CreateCaseFiltersComponent_Template_form_ngSubmit_0_listener() { return ctx.apply(); });
|
|
@@ -37818,7 +37873,7 @@ class CreateCaseFiltersComponent {
|
|
|
37818
37873
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CreateCaseFiltersComponent, { className: "CreateCaseFiltersComponent", filePath: "lib/shared/components/create-case-filters/create-case-filters.component.ts", lineNumber: 18 }); })();
|
|
37819
37874
|
|
|
37820
37875
|
class CreateCaseFiltersModule {
|
|
37821
|
-
static ɵfac = function CreateCaseFiltersModule_Factory(
|
|
37876
|
+
static ɵfac = function CreateCaseFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CreateCaseFiltersModule)(); };
|
|
37822
37877
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CreateCaseFiltersModule });
|
|
37823
37878
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
37824
37879
|
FormsModule,
|
|
@@ -37943,6 +37998,8 @@ class SearchFiltersComponent {
|
|
|
37943
37998
|
onJurisdiction = new EventEmitter();
|
|
37944
37999
|
searchInputs;
|
|
37945
38000
|
searchInputsReady;
|
|
38001
|
+
// TEST-TODO
|
|
38002
|
+
// ngModel may cause Angular 18 issues
|
|
37946
38003
|
selected;
|
|
37947
38004
|
selectedJurisdictionCaseTypes;
|
|
37948
38005
|
formGroup = new FormGroup({});
|
|
@@ -38119,7 +38176,7 @@ class SearchFiltersComponent {
|
|
|
38119
38176
|
this.caseFields = this.searchInputs.map(item => FieldsUtils.convertToCaseField(item.field));
|
|
38120
38177
|
}
|
|
38121
38178
|
}
|
|
38122
|
-
static ɵfac = function SearchFiltersComponent_Factory(
|
|
38179
|
+
static ɵfac = function SearchFiltersComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchFiltersComponent)(i0.ɵɵdirectiveInject(SearchService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
38123
38180
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchFiltersComponent, selectors: [["ccd-search-filters"]], inputs: { jurisdictions: "jurisdictions", autoApply: "autoApply" }, outputs: { onApply: "onApply", onReset: "onReset", onJurisdiction: "onJurisdiction" }, decls: 28, vars: 34, consts: [["aria-label", "Filters", 1, "heading-h2"], [1, "global-display"], [1, "form-group", 2, "margin-top", "13px"], ["for", "s-jurisdiction", 1, "form-label"], ["id", "s-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "ngModel"], [3, "ngValue", 4, "ngFor", "ngForOf"], [1, "form-group"], ["for", "s-case-type", 1, "form-label"], ["id", "s-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModelChange", "change", "disabled", "ngModel"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", 1, "button", 3, "click", "keyup.enter", "disabled", "title"], ["id", "reset", "type", "button", 1, "button", "button-secondary", 3, "click", "title"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "keyup.enter", "caseField", "formGroup", "isExpanded"]], template: function SearchFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38124
38181
|
i0.ɵɵelementStart(0, "h2", 0);
|
|
38125
38182
|
i0.ɵɵtext(1);
|
|
@@ -38242,7 +38299,7 @@ class SearchFiltersWrapperComponent {
|
|
|
38242
38299
|
onWrapperJurisdiction(value) {
|
|
38243
38300
|
this.onJurisdiction.emit(value);
|
|
38244
38301
|
}
|
|
38245
|
-
static ɵfac = function SearchFiltersWrapperComponent_Factory(
|
|
38302
|
+
static ɵfac = function SearchFiltersWrapperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchFiltersWrapperComponent)(i0.ɵɵdirectiveInject(DefinitionsService)); };
|
|
38246
38303
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchFiltersWrapperComponent, selectors: [["ccd-search-filters-wrapper"]], inputs: { autoApply: "autoApply" }, outputs: { onApply: "onApply", onReset: "onReset", onJurisdiction: "onJurisdiction" }, decls: 1, vars: 1, consts: [[3, "jurisdictions", "autoApply", "onApply", "onReset", "onJuridiction", 4, "ngIf"], [3, "onApply", "onReset", "onJuridiction", "jurisdictions", "autoApply"]], template: function SearchFiltersWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
38247
38304
|
i0.ɵɵtemplate(0, SearchFiltersWrapperComponent_ccd_search_filters_0_Template, 1, 2, "ccd-search-filters", 0);
|
|
38248
38305
|
} if (rf & 2) {
|
|
@@ -38264,7 +38321,7 @@ class SearchFiltersWrapperComponent {
|
|
|
38264
38321
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchFiltersWrapperComponent, { className: "SearchFiltersWrapperComponent", filePath: "lib/shared/components/search-filters/search-filters-wrapper.component.ts", lineNumber: 11 }); })();
|
|
38265
38322
|
|
|
38266
38323
|
class SearchFiltersModule {
|
|
38267
|
-
static ɵfac = function SearchFiltersModule_Factory(
|
|
38324
|
+
static ɵfac = function SearchFiltersModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchFiltersModule)(); };
|
|
38268
38325
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SearchFiltersModule });
|
|
38269
38326
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
38270
38327
|
SearchService,
|
|
@@ -38363,7 +38420,7 @@ function SearchResultComponent_table_0_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
38363
38420
|
} if (rf & 2) {
|
|
38364
38421
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
38365
38422
|
i0.ɵɵadvance();
|
|
38366
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(2, 8,
|
|
38423
|
+
i0.ɵɵattribute("aria-label", ctx_r0.getTotalResults() + " " + i0.ɵɵpipeBind1(2, 8, "results have been found"));
|
|
38367
38424
|
i0.ɵɵadvance(3);
|
|
38368
38425
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(5, 10, "Showing"), " ");
|
|
38369
38426
|
i0.ɵɵadvance(3);
|
|
@@ -38432,7 +38489,7 @@ function SearchResultComponent_table_0_th_11_Template(rf, ctx) { if (rf & 1) {
|
|
|
38432
38489
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
38433
38490
|
i0.ɵɵattribute("aria-sort", ctx_r0.isSortAscending(col_r5) === null ? null : ctx_r0.isSortAscending(col_r5) ? "ascending" : "descending");
|
|
38434
38491
|
i0.ɵɵadvance(3);
|
|
38435
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 3, col_r5.label), " ");
|
|
38492
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r0.isTranslatable(col_r5) ? i0.ɵɵpipeBind1(4, 3, col_r5.label) : col_r5.label, " ");
|
|
38436
38493
|
i0.ɵɵadvance(2);
|
|
38437
38494
|
i0.ɵɵproperty("ngIf", ctx_r0.comparator(col_r5));
|
|
38438
38495
|
} }
|
|
@@ -38806,6 +38863,9 @@ class SearchResultComponent {
|
|
|
38806
38863
|
this.selected.page = (changes['page']).currentValue;
|
|
38807
38864
|
}
|
|
38808
38865
|
}
|
|
38866
|
+
isTranslatable(col) {
|
|
38867
|
+
return FieldsUtils.isTranslatable(col.case_field_type);
|
|
38868
|
+
}
|
|
38809
38869
|
get resultTotal() {
|
|
38810
38870
|
const total = this.paginationMetadata.totalResultsCount;
|
|
38811
38871
|
const maximumResultReached = total >= this.PAGINATION_MAX_ITEM_RESULT;
|
|
@@ -39068,7 +39128,7 @@ class SearchResultComponent {
|
|
|
39068
39128
|
}
|
|
39069
39129
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
39070
39130
|
noop() { }
|
|
39071
|
-
static ɵfac = function SearchResultComponent_Factory(
|
|
39131
|
+
static ɵfac = function SearchResultComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultComponent)(i0.ɵɵdirectiveInject(SearchResultViewItemComparatorFactory), i0.ɵɵdirectiveInject(AbstractAppConfig), i0.ɵɵdirectiveInject(ActivityService), i0.ɵɵdirectiveInject(CaseReferencePipe), i0.ɵɵdirectiveInject(PlaceholderService), i0.ɵɵdirectiveInject(BrowserService), i0.ɵɵdirectiveInject(SessionStorageService)); };
|
|
39072
39132
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SearchResultComponent, selectors: [["ccd-search-result"]], inputs: { caseLinkUrlTemplate: "caseLinkUrlTemplate", jurisdiction: "jurisdiction", caseType: "caseType", caseState: "caseState", caseFilterFG: "caseFilterFG", resultView: "resultView", page: "page", paginationMetadata: "paginationMetadata", metadataFields: "metadataFields", selectionEnabled: "selectionEnabled", showOnlySelected: "showOnlySelected", preSelectedCases: "preSelectedCases", consumerSortingEnabled: "consumerSortingEnabled" }, outputs: { selection: "selection", changePage: "changePage", clickCase: "clickCase", sortHandler: "sortHandler" }, features: [i0.ɵɵNgOnChangesFeature], decls: 3, vars: 3, consts: [["case_reference", ""], [4, "ngIf"], [3, "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel", "pageChange", 4, "ngIf"], ["class", "notification", 4, "ngIf"], ["id", "search-result-heading__text", "tabindex", "-1", 1, "heading-h2"], ["class", "govuk-warning-text pagination-limit-warning", 4, "ngIf"], ["class", "pagination-top", 4, "ngIf"], ["class", "reset-selection", 4, "ngIf"], ["scope", "row"], ["class", "govuk-table__checkbox", 4, "ngIf"], ["class", "search-result-column-header", "scope", "col", 4, "ngFor", "ngForOf"], ["style", "width: 110px;", "scope", "col", 4, "ngIf"], [1, "govuk-warning-text", "pagination-limit-warning"], ["aria-hidden", "true", 1, "govuk-warning-text__icon"], [1, "govuk-warning-text__text"], [1, "govuk-warning-text__assistive"], [1, "pagination-top"], ["id", "search-result-summary__text", 1, "text-16"], [1, "govuk-!-font-weight-bold"], [1, "reset-selection"], ["href", "javascript:void(0)", 1, "search-result-reset-link", 3, "click"], [1, "govuk-table__checkbox"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "checked", "disabled"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["scope", "col", 1, "search-result-column-header"], [1, "search-result-column-label", 3, "click", "keyup"], ["class", "search-result-column-sort", 4, "ngIf"], [1, "search-result-column-sort"], ["href", "javascript:void(0)", 1, "sort-widget", 3, "click", "innerHTML"], ["scope", "col", 2, "width", "110px"], [4, "ngFor", "ngForOf"], ["class", "govuk-table__checkbox", "scope", "col", 4, "ngIf"], ["class", "search-result-column-cell", "scope", "row", 4, "ngFor", "ngForOf"], ["scope", "col", 1, "govuk-table__checkbox"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "id", "name", "checked", "disabled"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["scope", "row", 1, "search-result-column-cell"], ["class", "govuk-link", 3, "routerLink", 4, "ngIf"], ["class", "text-16", 3, "visibility", 4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["class", "text-16", 4, "ngIf"], [1, "text-16"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute", 4, "ngIf", "ngIfElse"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "elementsToSubstitute"], [3, "caseId", "displayMode"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "change", "keyup", "id", "name", "checked", "disabled"], [3, "pageChange", "visibilityLabel", "autoHide", "maxSize", "screenReaderPaginationLabel", "screenReaderPageLabel", "screenReaderCurrentLabel"], [1, "notification"]], template: function SearchResultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
39073
39133
|
i0.ɵɵtemplate(0, SearchResultComponent_table_0_Template, 16, 11, "table", 1)(1, SearchResultComponent_ccd_pagination_1_Template, 1, 6, "ccd-pagination", 2)(2, SearchResultComponent_div_2_Template, 4, 6, "div", 3);
|
|
39074
39134
|
} if (rf & 2) {
|
|
@@ -39081,7 +39141,7 @@ class SearchResultComponent {
|
|
|
39081
39141
|
}
|
|
39082
39142
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchResultComponent, [{
|
|
39083
39143
|
type: Component,
|
|
39084
|
-
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' results have been found' | rpxTranslate\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{col.label | rpxTranslate}}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
39144
|
+
args: [{ selector: 'ccd-search-result', template: "<table *ngIf=\"hasResults() || hasDrafts()\">\n <caption>\n <h2 class=\"heading-h2\" id=\"search-result-heading__text\" tabindex=\"-1\">{{ (caseState ? 'Your cases' : 'Search result') | rpxTranslate}}</h2>\n\n <div class=\"govuk-warning-text pagination-limit-warning\" *ngIf=\"paginationLimitEnforced\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">{{'Warning' | rpxTranslate}}</span>\n {{'The total size of the result set is' | rpxTranslate}} {{paginationMetadata.totalResultsCount | number}}. {{'Only the first 10,000 records are available for display.' | rpxTranslate}}\n </strong>\n </div>\n\n <div *ngIf=\"(hasResults() || hasDrafts())\" class=\"pagination-top\">\n <output [attr.aria-label]=\"getTotalResults() + ' ' + ('results have been found' | rpxTranslate)\"></output>\n <span class=\"text-16\" id=\"search-result-summary__text\">{{'Showing' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getFirstResult() }}</span>\n {{'to' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getLastResult() }}</span>\n {{'of' | rpxTranslate}}\n <span class=\"govuk-!-font-weight-bold\">{{ getTotalResults() }}</span> {{'results' | rpxTranslate}}</span>\n </div>\n <div *ngIf=\"(hasResults() || hasDrafts()) && selectionEnabled\" class=\"reset-selection\"\n [attr.aria-label]=\"'Reset selection' | rpxTranslate\">\n <span><a class=\"search-result-reset-link\" href=\"javascript:void(0)\" (click)=\"clearSelection()\">{{'Reset case selection' | rpxTranslate}}</a></span>\n </div>\n </caption>\n <thead>\n <tr scope=\"row\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-all\" name=\"select-all\" type=\"checkbox\" (change)=\"selectAll()\" [checked]=\"allOnPageSelected()\" [disabled]=\"!canAnyBeShared()\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-all\" [attr.aria-labelledby]=\"'select-all'\">\n </label>\n </div>\n </td>\n <th *ngFor=\"let col of resultView.columns\" class=\"search-result-column-header\"\n [attr.aria-sort]=\"isSortAscending(col) === null ? null : (isSortAscending(col) ? 'ascending' : 'descending')\" scope=\"col\">\n <div>\n <div class=\"search-result-column-label\" (click)=\"sort(col)\" (keyup)=\"noop()\">\n {{ isTranslatable(col) ? (col.label | rpxTranslate) : col.label }}\n </div>\n <div *ngIf=\"comparator(col)\" class=\"search-result-column-sort\">\n <a (click)=\"sort(col)\" class=\"sort-widget\" [innerHTML]=\"sortWidget(col)\" href=\"javascript:void(0)\"></a>\n </div>\n </div>\n </th>\n <th *ngIf=\"activityEnabled()\" style=\"width: 110px;\" scope=\"col\">​</th>\n </tr>\n </thead>\n\n <tbody>\n <!-- sorted by consumer -->\n <ng-container *ngIf=\"consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n <!-- sorted by toolkit -->\n <ng-container *ngIf=\"!consumerSortingEnabled\">\n <tr *ngFor=\"let result of resultView.results | ccdSortSearchResult : sortParameters | paginate: { itemsPerPage: paginationPageSize, currentPage: selected.page, totalItems: resultTotal }\">\n <td *ngIf=\"selectionEnabled\" class=\"govuk-table__checkbox\" scope=\"col\">\n <div class=\"govuk-checkboxes__item\">\n <input class=\"govuk-checkboxes__input\" id=\"select-{{ result.case_id }}\" name=\"select-{{ result.case_id }}\"\n type=\"checkbox\" (change)=\"changeSelection(result)\" [checked]=\"isSelected(result)\" [disabled]=\"!canBeShared(result)\" (keyup)=\"onKeyUp($event, result)\" />\n <label class=\"govuk-label govuk-checkboxes__label\" for=\"select-{{ result.case_id }}\" [attr.aria-labelledby]=\"'select-' + result.case_id\">\n </label>\n </div>\n </td>\n <td class=\"search-result-column-cell\" *ngFor=\"let col of resultView.columns; let colIndex = index\" scope=\"row\">\n\n <a *ngIf=\"colIndex == 0\" [routerLink]=\"prepareCaseLinkUrl(result.case_id)\"\n attr.aria-label=\"go to case with Case reference:{{ result.case_id | ccdCaseReference }}\" class=\"govuk-link\">\n <ng-container class=\"text-16\" *ngIf=\"!hideRows\">\n <ccd-field-read *ngIf=\"draftPrefixOrGet(col, result); else case_reference\"\n ccdLabelSubstitutor [caseField]=\"getColumnsWithPrefix(result.columns[col.case_field_id], result)\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n <ng-template #case_reference>{{result.case_id | ccdCaseReference}}</ng-template>\n </ng-container>\n </a>\n <div *ngIf=\"colIndex != 0\" class=\"text-16\" [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-field-read ccdLabelSubstitutor\n [caseField]=\"result.columns[col.case_field_id]\"\n [contextFields]=\"result.hydrated_case_fields\"\n [elementsToSubstitute]=\"['value']\"></ccd-field-read>\n </div>\n </td>\n <td *ngIf=\"activityEnabled()\">\n <div [style.visibility]=\"hideRows ? 'hidden' : 'visible'\">\n <ccd-activity [caseId]=\"result.case_id\" [displayMode]=\"ICON\"></ccd-activity>\n </div>\n </td>\n </tr>\n </ng-container>\n\n </tbody>\n</table>\n\n<ccd-pagination\n *ngIf=\"hasResults()\"\n (pageChange)=\"goToPage($event)\"\n [visibilityLabel]=\"hideRows ? 'hidden' : 'visible'\"\n [autoHide]=\"true\"\n [maxSize]=\"8\"\n [screenReaderPaginationLabel]=\"'Pagination'\"\n [screenReaderPageLabel]=\"page\"\n [screenReaderCurrentLabel]=\"'You\\'re on page'\"></ccd-pagination>\n\n<div *ngIf=\"!(hasResults() || hasDrafts())\" class=\"notification\"\n[attr.aria-describedby]=\"'No cases found. Try using different filters.' | rpxTranslate\">\n{{'No cases found. Try using different filters.' | rpxTranslate}}\n</div>\n", styles: ["table thead tr th{vertical-align:top}table tbody tr td{font-size:16px;word-wrap:break-word}table tbody tr td a{float:left}table .caseid-col{white-space:nowrap}.notification{text-align:center;padding:30px 0;margin-top:75px}a:hover{color:#005ea5}.search-result-reset-link{padding-right:15px;padding-left:15px}.search-result-column-header{width:unset;table-layout:normal}.search-result-column-header div{display:table-cell;width:auto}@media screen and (max-width: 379px){.search-result-column-header div{display:block;float:right}}.search-result-column-label{font-size:16px;font-weight:700;word-wrap:break-word;cursor:pointer;padding-right:15px}.search-result-column-sort{font-size:16px}.sort-widget{cursor:pointer;text-decoration:none;color:#231f20}span.heading-medium{margin-top:-20px}.govuk-table__checkbox{vertical-align:middle;padding-left:3px}#search-result-heading__text:focus{outline:none}\n"] }]
|
|
39085
39145
|
}], () => [{ type: SearchResultViewItemComparatorFactory }, { type: AbstractAppConfig }, { type: ActivityService }, { type: CaseReferencePipe }, { type: PlaceholderService }, { type: BrowserService }, { type: SessionStorageService }], { caseLinkUrlTemplate: [{
|
|
39086
39146
|
type: Input
|
|
39087
39147
|
}], jurisdiction: [{
|
|
@@ -39120,7 +39180,7 @@ class SearchResultComponent {
|
|
|
39120
39180
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SearchResultComponent, { className: "SearchResultComponent", filePath: "lib/shared/components/search-result/search-result.component.ts", lineNumber: 18 }); })();
|
|
39121
39181
|
|
|
39122
39182
|
class SearchResultModule {
|
|
39123
|
-
static ɵfac = function SearchResultModule_Factory(
|
|
39183
|
+
static ɵfac = function SearchResultModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SearchResultModule)(); };
|
|
39124
39184
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SearchResultModule });
|
|
39125
39185
|
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
39126
39186
|
SearchResultViewItemComparatorFactory,
|