@hmcts/ccd-case-ui-toolkit 7.0.7-task-completion-error-message → 7.0.7-welsh-translation-fixes
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/banners/notification-banner/domain/notification-banner-config.model.mjs +1 -1
- package/esm2020/lib/components/banners/notification-banner/notification-banner.component.mjs +41 -30
- package/esm2020/lib/shared/commons/constants.mjs +1 -2
- package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +8 -18
- package/esm2020/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +2 -2
- package/esm2020/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +2 -2
- package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +2 -11
- package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.mjs +7 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +166 -123
- package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +17 -22
- package/esm2020/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +2 -3
- package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +2 -2
- package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +2 -2
- package/esm2020/lib/shared/components/case-editor/services/case-flag-state.service.mjs +19 -0
- package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +6 -1
- package/esm2020/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +1 -1
- package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +1 -1
- package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +12 -38
- package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +51 -24
- package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +8 -5
- package/esm2020/lib/shared/components/palette/address/write-address-field.component.mjs +19 -20
- package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +1 -1
- package/esm2020/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +70 -31
- package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +249 -46
- package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +140 -71
- package/esm2020/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +165 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/index.mjs +4 -1
- package/esm2020/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +73 -78
- package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +133 -99
- package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +22 -9
- package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +213 -112
- package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +267 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +439 -104
- package/esm2020/lib/shared/components/palette/case-flag/domain/case-flag-state.model.mjs +1 -1
- package/esm2020/lib/shared/components/palette/case-flag/domain/case-flag.model.mjs +1 -1
- package/esm2020/lib/shared/components/palette/case-flag/domain/language.model.mjs +1 -1
- package/esm2020/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.mjs +2 -1
- package/esm2020/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.mjs +3 -1
- package/esm2020/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.mjs +12 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.mjs +15 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.mjs +13 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.mjs +3 -2
- package/esm2020/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.mjs +11 -3
- package/esm2020/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/index.mjs +9 -2
- package/esm2020/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.mjs +3 -2
- package/esm2020/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.mjs +4 -1
- package/esm2020/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.mjs +5 -1
- package/esm2020/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.mjs +7 -2
- package/esm2020/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.mjs +10 -7
- package/esm2020/lib/shared/components/palette/case-flag/index.mjs +2 -1
- package/esm2020/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +41 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/index.mjs +5 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +41 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +109 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +77 -0
- package/esm2020/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +156 -57
- package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +385 -172
- package/esm2020/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/collection/write-collection-field.component.mjs +49 -54
- package/esm2020/lib/shared/components/palette/complex/read-complex-field.component.mjs +12 -14
- package/esm2020/lib/shared/components/palette/complex/sort-order.mjs +7 -0
- package/esm2020/lib/shared/components/palette/complex/write-complex-field.component.mjs +5 -6
- package/esm2020/lib/shared/components/palette/date/write-date-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +23 -24
- package/esm2020/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/email/write-email-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +9 -7
- package/esm2020/lib/shared/components/palette/index.mjs +3 -1
- package/esm2020/lib/shared/components/palette/markdown/index.mjs +2 -1
- package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +40 -0
- package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +9 -7
- package/esm2020/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/number/write-number-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/palette.module.mjs +148 -49
- package/esm2020/lib/shared/components/palette/palette.service.mjs +4 -2
- package/esm2020/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/query-management/__mocks__/index.mjs +210 -0
- package/esm2020/lib/shared/components/palette/query-management/components/index.mjs +13 -0
- package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +42 -0
- package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +144 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +64 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +60 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +281 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +327 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +22 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +164 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +74 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +107 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +201 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +101 -0
- package/esm2020/lib/shared/components/palette/query-management/enums/index.mjs +6 -0
- package/esm2020/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.mjs +5 -0
- package/esm2020/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.mjs +10 -0
- package/esm2020/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.mjs +6 -0
- package/esm2020/lib/shared/components/palette/query-management/index.mjs +7 -0
- package/esm2020/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +2 -0
- package/esm2020/lib/shared/components/palette/query-management/models/index.mjs +8 -0
- package/esm2020/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.mjs +2 -0
- package/esm2020/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.mjs +2 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-create-context.enum.mjs +9 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.mjs +2 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +21 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +38 -0
- package/esm2020/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +121 -0
- package/esm2020/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +22 -0
- package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +8 -10
- package/esm2020/lib/shared/components/palette/utils/field-label.pipe.mjs +14 -7
- package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +16 -9
- package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +10 -5
- package/esm2020/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +12 -13
- package/esm2020/lib/shared/components/search-filters/search-filters.component.mjs +24 -4
- package/esm2020/lib/shared/domain/case-flag/flag-type.model.mjs +16 -2
- package/esm2020/lib/shared/domain/case-view/case-view-event-ids.enum.mjs +6 -0
- package/esm2020/lib/shared/domain/case-view/case-view-trigger.model.mjs +1 -2
- package/esm2020/lib/shared/domain/definition/display-context-enum.model.mjs +3 -1
- package/esm2020/lib/shared/domain/work-allocation/task-response.model.mjs +1 -1
- package/esm2020/lib/shared/fixture/shared.test.fixture.mjs +2 -1
- package/esm2020/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +16 -0
- package/esm2020/lib/shared/pipes/generic/index.mjs +2 -0
- package/esm2020/lib/shared/pipes/index.mjs +3 -2
- package/esm2020/lib/shared/pipes/pipes.module.mjs +9 -5
- package/esm2020/lib/shared/services/alert/alert.service.mjs +1 -1
- package/esm2020/lib/shared/services/case-flag/case-flag-refdata.service.mjs +9 -3
- package/esm2020/lib/shared/services/fields/fields.utils.mjs +22 -4
- package/esm2020/lib/shared/services/form/form-value.service.mjs +14 -11
- package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +2 -1
- package/esm2020/lib/shared/services/request/request.options.builder.mjs +7 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +8805 -4294
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +9786 -5695
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/components/banners/notification-banner/domain/notification-banner-config.model.d.ts +6 -5
- package/lib/components/banners/notification-banner/domain/notification-banner-config.model.d.ts.map +1 -1
- package/lib/shared/commons/constants.d.ts +0 -1
- package/lib/shared/commons/constants.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +2 -3
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.d.ts +6 -0
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts +17 -20
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/case-flag-state.service.d.ts +11 -0
- package/lib/shared/components/case-editor/services/case-flag-state.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/cases.service.d.ts +1 -0
- package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts +2 -2
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +2 -5
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +7 -3
- 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/case-viewer.module.d.ts +4 -4
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.d.ts +6 -2
- package/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts +25 -8
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.d.ts +28 -0
- package/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/components/index.d.ts +3 -0
- package/lib/shared/components/palette/case-flag/components/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts +4 -8
- package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts +10 -8
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +16 -9
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.d.ts +27 -0
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +26 -11
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag-state.model.d.ts +1 -10
- package/lib/shared/components/palette/case-flag/domain/case-flag-state.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag.model.d.ts +12 -1
- package/lib/shared/components/palette/case-flag/domain/case-flag.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/domain/language.model.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/domain/language.model.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.d.ts +3 -1
- package/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.d.ts +11 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.d.ts +14 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.d.ts +12 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.d.ts +11 -3
- package/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/index.d.ts +8 -1
- package/lib/shared/components/palette/case-flag/enums/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.d.ts +2 -1
- package/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.d.ts +3 -0
- package/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.d.ts +5 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts +7 -2
- package/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.d.ts +7 -4
- package/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/index.d.ts +1 -0
- package/lib/shared/components/palette/case-flag/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.d.ts +19 -0
- package/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/index.d.ts +5 -0
- package/lib/shared/components/palette/case-flag/pipes/index.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.d.ts +18 -0
- package/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.d.ts +25 -0
- package/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.d.ts +21 -0
- package/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts +12 -8
- package/lib/shared/components/palette/case-flag/read-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +52 -27
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +3 -2
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/read-complex-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/sort-order.d.ts +6 -0
- package/lib/shared/components/palette/complex/sort-order.d.ts.map +1 -0
- package/lib/shared/components/palette/index.d.ts +2 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/index.d.ts +1 -0
- package/lib/shared/components/palette/markdown/index.d.ts.map +1 -1
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +13 -0
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.module.d.ts +140 -118
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts +11 -0
- package/lib/shared/components/palette/query-management/__mocks__/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/index.d.ts +13 -0
- package/lib/shared/components/palette/query-management/components/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.d.ts +8 -0
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +22 -0
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.d.ts +11 -0
- package/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.d.ts +10 -0
- package/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +30 -0
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts +16 -0
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.d.ts +9 -0
- package/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts +18 -0
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +20 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +20 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +11 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +21 -0
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/enums/index.d.ts +6 -0
- package/lib/shared/components/palette/query-management/enums/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.d.ts +4 -0
- package/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.d.ts +5 -0
- package/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.d.ts +9 -0
- package/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.d.ts +5 -0
- package/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/index.d.ts +7 -0
- package/lib/shared/components/palette/query-management/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts +27 -0
- package/lib/shared/components/palette/query-management/models/case-queries-collection.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/index.d.ts +8 -0
- package/lib/shared/components/palette/query-management/models/index.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.d.ts +5 -0
- package/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.d.ts +6 -0
- package/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-create-context.enum.d.ts +8 -0
- package/lib/shared/components/palette/query-management/models/query-create-context.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.d.ts +7 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts +10 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts +22 -0
- package/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts +18 -0
- package/lib/shared/components/palette/query-management/read-query-management-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts +12 -0
- package/lib/shared/components/palette/query-management/utils/query-management.utils.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/field-label.pipe.d.ts +3 -0
- package/lib/shared/components/palette/utils/field-label.pipe.d.ts.map +1 -1
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts +8 -5
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -1
- package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts.map +1 -1
- package/lib/shared/components/search-filters/search-filters.component.d.ts.map +1 -1
- package/lib/shared/domain/case-flag/flag-type.model.d.ts +6 -1
- package/lib/shared/domain/case-flag/flag-type.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/case-view-event-ids.enum.d.ts +5 -0
- package/lib/shared/domain/case-view/case-view-event-ids.enum.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-view-trigger.model.d.ts +0 -1
- package/lib/shared/domain/case-view/case-view-trigger.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/display-context-enum.model.d.ts +3 -1
- package/lib/shared/domain/definition/display-context-enum.model.d.ts.map +1 -1
- package/lib/shared/domain/work-allocation/task-response.model.d.ts +1 -1
- package/lib/shared/domain/work-allocation/task-response.model.d.ts.map +1 -1
- package/lib/shared/fixture/shared.test.fixture.d.ts.map +1 -1
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts +8 -0
- package/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/generic/index.d.ts +2 -0
- package/lib/shared/pipes/generic/index.d.ts.map +1 -0
- package/lib/shared/pipes/index.d.ts +2 -1
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +3 -2
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/lib/shared/services/alert/alert.service.d.ts.map +1 -1
- package/lib/shared/services/case-flag/case-flag-refdata.service.d.ts +3 -2
- package/lib/shared/services/case-flag/case-flag-refdata.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/lib/shared/services/form/form-value.service.d.ts.map +1 -1
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -1
- package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,138 +1,207 @@
|
|
|
1
1
|
import { Component, Input } from '@angular/core';
|
|
2
2
|
import { CaseFlagStatus } from '../../enums';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
i0.ɵɵ
|
|
7
|
-
i0.ɵɵ
|
|
4
|
+
function CaseFlagTableComponent_table_0_caption_1_Template(rf, ctx) { if (rf & 1) {
|
|
5
|
+
i0.ɵɵelementStart(0, "caption", 13);
|
|
6
|
+
i0.ɵɵtext(1);
|
|
7
|
+
i0.ɵɵelementEnd();
|
|
8
|
+
} if (rf & 2) {
|
|
9
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
10
|
+
i0.ɵɵadvance(1);
|
|
11
|
+
i0.ɵɵtextInterpolate(ctx_r1.tableCaption);
|
|
12
|
+
} }
|
|
13
|
+
function CaseFlagTableComponent_table_0_tr_19_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 14);
|
|
15
|
+
i0.ɵɵtext(2);
|
|
16
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
17
|
+
i0.ɵɵelementEnd()();
|
|
18
|
+
} if (rf & 2) {
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 1, "None"));
|
|
21
|
+
} }
|
|
22
|
+
function CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "div")(1, "span", 23);
|
|
24
|
+
i0.ɵɵtext(2);
|
|
8
25
|
i0.ɵɵelementEnd()();
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const flagDetail_r5 = i0.ɵɵnextContext().$implicit;
|
|
28
|
+
i0.ɵɵadvance(2);
|
|
29
|
+
i0.ɵɵtextInterpolate1("Update Reason: ", flagDetail_r5.flagUpdateComment, "");
|
|
9
30
|
} }
|
|
10
|
-
function
|
|
11
|
-
i0.ɵɵelementStart(0, "strong",
|
|
12
|
-
i0.ɵɵtext(1
|
|
31
|
+
function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "strong", 24);
|
|
33
|
+
i0.ɵɵtext(1);
|
|
34
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
13
35
|
i0.ɵɵelementEnd();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
i0.ɵɵadvance(1);
|
|
38
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Active"));
|
|
39
|
+
} }
|
|
40
|
+
function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "strong", 25);
|
|
42
|
+
i0.ɵɵtext(1);
|
|
43
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
} if (rf & 2) {
|
|
46
|
+
i0.ɵɵadvance(1);
|
|
47
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Inactive"));
|
|
14
48
|
} }
|
|
15
|
-
function
|
|
16
|
-
i0.ɵɵelementStart(0, "strong",
|
|
17
|
-
i0.ɵɵtext(1
|
|
49
|
+
function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
+
i0.ɵɵelementStart(0, "strong", 26);
|
|
51
|
+
i0.ɵɵtext(1);
|
|
52
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
18
53
|
i0.ɵɵelementEnd();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
i0.ɵɵadvance(1);
|
|
56
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Requested"));
|
|
19
57
|
} }
|
|
20
|
-
function
|
|
21
|
-
i0.ɵɵelementStart(0, "strong",
|
|
22
|
-
i0.ɵɵtext(1
|
|
58
|
+
function CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template(rf, ctx) { if (rf & 1) {
|
|
59
|
+
i0.ɵɵelementStart(0, "strong", 27);
|
|
60
|
+
i0.ɵɵtext(1);
|
|
61
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
23
62
|
i0.ɵɵelementEnd();
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
i0.ɵɵadvance(1);
|
|
65
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Not approved"));
|
|
24
66
|
} }
|
|
25
|
-
function
|
|
26
|
-
i0.ɵɵelementStart(0, "tr",
|
|
67
|
+
function CaseFlagTableComponent_table_0_tbody_20_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
68
|
+
i0.ɵɵelementStart(0, "tr", 16)(1, "td", 17)(2, "div");
|
|
27
69
|
i0.ɵɵtext(3);
|
|
70
|
+
i0.ɵɵpipe(4, "flagFieldDisplay");
|
|
28
71
|
i0.ɵɵelementEnd();
|
|
29
|
-
i0.ɵɵelementStart(
|
|
30
|
-
i0.ɵɵtext(
|
|
72
|
+
i0.ɵɵelementStart(5, "div");
|
|
73
|
+
i0.ɵɵtext(6);
|
|
74
|
+
i0.ɵɵpipe(7, "flagFieldDisplay");
|
|
31
75
|
i0.ɵɵelementEnd();
|
|
32
|
-
i0.ɵɵelementStart(
|
|
33
|
-
i0.ɵɵtext(7);
|
|
34
|
-
i0.ɵɵelementEnd()();
|
|
35
|
-
i0.ɵɵelementStart(8, "td", 16);
|
|
76
|
+
i0.ɵɵelementStart(8, "div");
|
|
36
77
|
i0.ɵɵtext(9);
|
|
78
|
+
i0.ɵɵpipe(10, "flagFieldDisplay");
|
|
79
|
+
i0.ɵɵelementEnd()();
|
|
80
|
+
i0.ɵɵelementStart(11, "td", 17)(12, "div");
|
|
81
|
+
i0.ɵɵtext(13);
|
|
82
|
+
i0.ɵɵpipe(14, "flagFieldDisplay");
|
|
37
83
|
i0.ɵɵelementEnd();
|
|
38
|
-
i0.ɵɵ
|
|
39
|
-
i0.ɵɵtext(11);
|
|
40
|
-
i0.ɵɵpipe(12, "date");
|
|
84
|
+
i0.ɵɵtemplate(15, CaseFlagTableComponent_table_0_tbody_20_tr_1_div_15_Template, 3, 1, "div", 11);
|
|
41
85
|
i0.ɵɵelementEnd();
|
|
42
|
-
i0.ɵɵelementStart(
|
|
43
|
-
i0.ɵɵtext(
|
|
44
|
-
i0.ɵɵpipe(
|
|
86
|
+
i0.ɵɵelementStart(16, "td", 17);
|
|
87
|
+
i0.ɵɵtext(17);
|
|
88
|
+
i0.ɵɵpipe(18, "date");
|
|
45
89
|
i0.ɵɵelementEnd();
|
|
46
|
-
i0.ɵɵelementStart(
|
|
47
|
-
i0.ɵɵ
|
|
48
|
-
i0.ɵɵ
|
|
49
|
-
i0.ɵɵ
|
|
90
|
+
i0.ɵɵelementStart(19, "td", 17);
|
|
91
|
+
i0.ɵɵtext(20);
|
|
92
|
+
i0.ɵɵpipe(21, "date");
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
i0.ɵɵelementStart(22, "td", 18);
|
|
95
|
+
i0.ɵɵtemplate(23, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_23_Template, 3, 3, "strong", 19);
|
|
96
|
+
i0.ɵɵtemplate(24, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_24_Template, 3, 3, "strong", 20);
|
|
97
|
+
i0.ɵɵtemplate(25, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_25_Template, 3, 3, "strong", 21);
|
|
98
|
+
i0.ɵɵtemplate(26, CaseFlagTableComponent_table_0_tbody_20_tr_1_strong_26_Template, 3, 3, "strong", 22);
|
|
50
99
|
i0.ɵɵelementEnd()();
|
|
51
100
|
} if (rf & 2) {
|
|
52
|
-
const
|
|
53
|
-
const
|
|
101
|
+
const flagDetail_r5 = ctx.$implicit;
|
|
102
|
+
const ctx_r4 = i0.ɵɵnextContext(3);
|
|
54
103
|
i0.ɵɵadvance(3);
|
|
55
|
-
i0.ɵɵtextInterpolate(
|
|
56
|
-
i0.ɵɵadvance(
|
|
57
|
-
i0.ɵɵtextInterpolate(
|
|
58
|
-
i0.ɵɵadvance(
|
|
59
|
-
i0.ɵɵtextInterpolate(
|
|
104
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(4, 11, flagDetail_r5, "name"));
|
|
105
|
+
i0.ɵɵadvance(3);
|
|
106
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 14, flagDetail_r5, "otherDescription"));
|
|
107
|
+
i0.ɵɵadvance(3);
|
|
108
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 17, flagDetail_r5, "subTypeValue"));
|
|
109
|
+
i0.ɵɵadvance(4);
|
|
110
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 20, flagDetail_r5, "flagComment"));
|
|
60
111
|
i0.ɵɵadvance(2);
|
|
61
|
-
i0.ɵɵ
|
|
112
|
+
i0.ɵɵproperty("ngIf", !ctx_r4.caseFlagsExternalUser && (flagDetail_r5.status === ctx_r4.caseFlagStatus.NOT_APPROVED || flagDetail_r5.status === ctx_r4.caseFlagStatus.INACTIVE) && flagDetail_r5.flagUpdateComment);
|
|
62
113
|
i0.ɵɵadvance(2);
|
|
63
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(
|
|
114
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(18, 23, flagDetail_r5.dateTimeCreated, "dd LLL yyyy"));
|
|
64
115
|
i0.ɵɵadvance(3);
|
|
65
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(
|
|
116
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(21, 26, flagDetail_r5.dateTimeModified, "dd LLL yyyy"));
|
|
66
117
|
i0.ɵɵadvance(3);
|
|
67
|
-
i0.ɵɵproperty("ngIf",
|
|
118
|
+
i0.ɵɵproperty("ngIf", flagDetail_r5.status === ctx_r4.caseFlagStatus.ACTIVE);
|
|
68
119
|
i0.ɵɵadvance(1);
|
|
69
|
-
i0.ɵɵproperty("ngIf",
|
|
120
|
+
i0.ɵɵproperty("ngIf", flagDetail_r5.status === ctx_r4.caseFlagStatus.INACTIVE);
|
|
70
121
|
i0.ɵɵadvance(1);
|
|
71
|
-
i0.ɵɵproperty("ngIf",
|
|
122
|
+
i0.ɵɵproperty("ngIf", flagDetail_r5.status === ctx_r4.caseFlagStatus.REQUESTED);
|
|
123
|
+
i0.ɵɵadvance(1);
|
|
124
|
+
i0.ɵɵproperty("ngIf", flagDetail_r5.status === ctx_r4.caseFlagStatus.NOT_APPROVED);
|
|
72
125
|
} }
|
|
73
|
-
function
|
|
126
|
+
function CaseFlagTableComponent_table_0_tbody_20_Template(rf, ctx) { if (rf & 1) {
|
|
74
127
|
i0.ɵɵelementStart(0, "tbody", 10);
|
|
75
|
-
i0.ɵɵtemplate(1,
|
|
128
|
+
i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_tbody_20_tr_1_Template, 27, 29, "tr", 15);
|
|
76
129
|
i0.ɵɵelementEnd();
|
|
77
130
|
} if (rf & 2) {
|
|
78
|
-
const
|
|
131
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
79
132
|
i0.ɵɵadvance(1);
|
|
80
|
-
i0.ɵɵproperty("ngForOf",
|
|
133
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.flagData.flags.details);
|
|
81
134
|
} }
|
|
82
135
|
function CaseFlagTableComponent_table_0_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
-
i0.ɵɵelementStart(0, "table", 1)
|
|
84
|
-
i0.ɵɵ
|
|
85
|
-
i0.ɵɵ
|
|
86
|
-
i0.ɵɵ
|
|
87
|
-
i0.ɵɵtext(6);
|
|
136
|
+
i0.ɵɵelementStart(0, "table", 1);
|
|
137
|
+
i0.ɵɵtemplate(1, CaseFlagTableComponent_table_0_caption_1_Template, 2, 1, "caption", 2);
|
|
138
|
+
i0.ɵɵelementStart(2, "thead", 3)(3, "tr", 4)(4, "th", 5);
|
|
139
|
+
i0.ɵɵtext(5);
|
|
88
140
|
i0.ɵɵelementEnd();
|
|
89
|
-
i0.ɵɵelementStart(
|
|
90
|
-
i0.ɵɵtext(
|
|
141
|
+
i0.ɵɵelementStart(6, "th", 6);
|
|
142
|
+
i0.ɵɵtext(7);
|
|
143
|
+
i0.ɵɵpipe(8, "rpxTranslate");
|
|
91
144
|
i0.ɵɵelementEnd();
|
|
92
145
|
i0.ɵɵelementStart(9, "th", 7);
|
|
93
|
-
i0.ɵɵtext(10
|
|
146
|
+
i0.ɵɵtext(10);
|
|
147
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
94
148
|
i0.ɵɵelementEnd();
|
|
95
|
-
i0.ɵɵelementStart(
|
|
96
|
-
i0.ɵɵtext(
|
|
149
|
+
i0.ɵɵelementStart(12, "th", 8);
|
|
150
|
+
i0.ɵɵtext(13);
|
|
151
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
97
152
|
i0.ɵɵelementEnd();
|
|
98
|
-
i0.ɵɵelementStart(
|
|
99
|
-
i0.ɵɵtext(
|
|
153
|
+
i0.ɵɵelementStart(15, "th", 9);
|
|
154
|
+
i0.ɵɵtext(16);
|
|
155
|
+
i0.ɵɵpipe(17, "rpxTranslate");
|
|
100
156
|
i0.ɵɵelementEnd()()();
|
|
101
|
-
i0.ɵɵelementStart(
|
|
102
|
-
i0.ɵɵtemplate(
|
|
157
|
+
i0.ɵɵelementStart(18, "tbody", 10);
|
|
158
|
+
i0.ɵɵtemplate(19, CaseFlagTableComponent_table_0_tr_19_Template, 4, 3, "tr", 11);
|
|
103
159
|
i0.ɵɵelementEnd();
|
|
104
|
-
i0.ɵɵtemplate(
|
|
160
|
+
i0.ɵɵtemplate(20, CaseFlagTableComponent_table_0_tbody_20_Template, 2, 1, "tbody", 12);
|
|
105
161
|
i0.ɵɵelementEnd();
|
|
106
162
|
} if (rf & 2) {
|
|
107
163
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
108
|
-
i0.ɵɵadvance(
|
|
109
|
-
i0.ɵɵ
|
|
164
|
+
i0.ɵɵadvance(1);
|
|
165
|
+
i0.ɵɵproperty("ngIf", ctx_r0.tableCaption);
|
|
110
166
|
i0.ɵɵadvance(4);
|
|
111
167
|
i0.ɵɵtextInterpolate(ctx_r0.firstColumnHeader);
|
|
112
|
-
i0.ɵɵadvance(
|
|
168
|
+
i0.ɵɵadvance(2);
|
|
169
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 8, "Comments"));
|
|
170
|
+
i0.ɵɵadvance(3);
|
|
171
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 10, "Creation date"));
|
|
172
|
+
i0.ɵɵadvance(3);
|
|
173
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 12, "Last modified"));
|
|
174
|
+
i0.ɵɵadvance(3);
|
|
175
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(17, 14, "Flag status"));
|
|
176
|
+
i0.ɵɵadvance(3);
|
|
113
177
|
i0.ɵɵproperty("ngIf", !ctx_r0.flagData.flags.details || ctx_r0.flagData.flags.details && ctx_r0.flagData.flags.details.length === 0);
|
|
114
178
|
i0.ɵɵadvance(1);
|
|
115
179
|
i0.ɵɵproperty("ngIf", ctx_r0.flagData.flags.details && ctx_r0.flagData.flags.details.length > 0);
|
|
116
180
|
} }
|
|
117
181
|
export class CaseFlagTableComponent {
|
|
182
|
+
constructor() {
|
|
183
|
+
this.caseFlagsExternalUser = false;
|
|
184
|
+
}
|
|
118
185
|
get caseFlagStatus() {
|
|
119
186
|
return CaseFlagStatus;
|
|
120
187
|
}
|
|
121
188
|
}
|
|
122
189
|
CaseFlagTableComponent.ɵfac = function CaseFlagTableComponent_Factory(t) { return new (t || CaseFlagTableComponent)(); };
|
|
123
|
-
CaseFlagTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CaseFlagTableComponent, selectors: [["ccd-case-flag-table"]], inputs: { tableCaption: "tableCaption", flagData: "flagData", firstColumnHeader: "firstColumnHeader" }, decls: 1, vars: 1, consts: [["class", "govuk-table", 4, "ngIf"], [1, "govuk-table"], [
|
|
124
|
-
i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template,
|
|
190
|
+
CaseFlagTableComponent.ɵ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) {
|
|
191
|
+
i0.ɵɵtemplate(0, CaseFlagTableComponent_table_0_Template, 21, 16, "table", 0);
|
|
125
192
|
} if (rf & 2) {
|
|
126
193
|
i0.ɵɵproperty("ngIf", ctx.flagData);
|
|
127
|
-
} },
|
|
194
|
+
} }, styles: [".govuk-table[_ngcontent-%COMP%] .govuk-table__caption[_ngcontent-%COMP%]{margin-top:10px}.govuk-table[_ngcontent-%COMP%] .govuk-table__head[_ngcontent-%COMP%] .govuk-table__row[_ngcontent-%COMP%] .col-party-name[_ngcontent-%COMP%]{width:24%}.govuk-table[_ngcontent-%COMP%] .govuk-table__head[_ngcontent-%COMP%] .govuk-table__row[_ngcontent-%COMP%] .col-comments[_ngcontent-%COMP%]{width:42%}.govuk-table[_ngcontent-%COMP%] .govuk-table__head[_ngcontent-%COMP%] .govuk-table__row[_ngcontent-%COMP%] .col-creation-date[_ngcontent-%COMP%], .govuk-table[_ngcontent-%COMP%] .govuk-table__head[_ngcontent-%COMP%] .govuk-table__row[_ngcontent-%COMP%] .col-last-modified[_ngcontent-%COMP%]{width:12%}.govuk-table[_ngcontent-%COMP%] .govuk-table__head[_ngcontent-%COMP%] .govuk-table__row[_ngcontent-%COMP%] .col-flag-status[_ngcontent-%COMP%]{width:10%}.govuk-table[_ngcontent-%COMP%] .govuk-table__body[_ngcontent-%COMP%] .govuk-table__row[_ngcontent-%COMP%] .cell-flag-status[_ngcontent-%COMP%]{white-space:nowrap}"] });
|
|
128
195
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFlagTableComponent, [{
|
|
129
196
|
type: Component,
|
|
130
|
-
args: [{ selector: 'ccd-case-flag-table', template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">Comments</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">Creation date</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">Last modified</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">Flag status</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">None</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail
|
|
197
|
+
args: [{ selector: 'ccd-case-flag-table', template: "<table class=\"govuk-table\" *ngIf=\"flagData\">\n <caption class=\"govuk-table__caption govuk-table__caption--l\" *ngIf=\"tableCaption\">{{tableCaption}}</caption>\n <thead class=\"govuk-table__head\">\n <tr class=\"govuk-table__row\">\n <th scope=\"col\" class=\"govuk-table__header col-party-name\">{{firstColumnHeader}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-comments\">{{'Comments' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-creation-date\">{{'Creation date' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-last-modified\">{{'Last modified' | rpxTranslate}}</th>\n <th scope=\"col\" class=\"govuk-table__header col-flag-status\">{{'Flag status' | rpxTranslate}}</th>\n </tr>\n </thead>\n <tbody class=\"govuk-table__body\">\n <tr *ngIf=\"!flagData.flags.details || (flagData.flags.details && flagData.flags.details.length === 0)\">\n <td colspan=\"5\">{{'None' | rpxTranslate}}</td>\n </tr>\n </tbody>\n <tbody class=\"govuk-table__body\" *ngIf=\"flagData.flags.details && flagData.flags.details.length > 0\">\n <tr scope=\"row\" class=\"govuk-table__row\" *ngFor=\"let flagDetail of flagData.flags.details\">\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail | flagFieldDisplay:'name'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'otherDescription'}}</div>\n <div>{{flagDetail | flagFieldDisplay:'subTypeValue'}}</div>\n </td>\n <td class=\"govuk-table__cell\">\n <div>{{flagDetail | flagFieldDisplay:'flagComment'}}</div>\n <div *ngIf=\"!caseFlagsExternalUser &&\n (flagDetail.status === caseFlagStatus.NOT_APPROVED || flagDetail.status === caseFlagStatus.INACTIVE) &&\n flagDetail.flagUpdateComment\">\n <span class=\"govuk-!-font-weight-bold\">Update Reason: {{flagDetail.flagUpdateComment}}</span>\n </div>\n </td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeCreated | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell\">{{flagDetail.dateTimeModified | date: 'dd LLL yyyy'}}</td>\n <td class=\"govuk-table__cell cell-flag-status\">\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.ACTIVE\" class=\"govuk-tag govuk-tag--turquoise\">{{'Active' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.INACTIVE\" class=\"govuk-tag govuk-tag--grey\">{{'Inactive' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.REQUESTED\" class=\"govuk-tag govuk-tag--yellow\">{{'Requested' | rpxTranslate}}</strong>\n <strong *ngIf=\"flagDetail.status === caseFlagStatus.NOT_APPROVED\" class=\"govuk-tag govuk-tag--red\">{{'Not approved' | rpxTranslate}}</strong>\n </td>\n </tr>\n </tbody>\n</table>\n", styles: [".govuk-table .govuk-table__caption{margin-top:10px}.govuk-table .govuk-table__head .govuk-table__row .col-party-name{width:24%}.govuk-table .govuk-table__head .govuk-table__row .col-comments{width:42%}.govuk-table .govuk-table__head .govuk-table__row .col-creation-date,.govuk-table .govuk-table__head .govuk-table__row .col-last-modified{width:12%}.govuk-table .govuk-table__head .govuk-table__row .col-flag-status{width:10%}.govuk-table .govuk-table__body .govuk-table__row .cell-flag-status{white-space:nowrap}\n"] }]
|
|
131
198
|
}], null, { tableCaption: [{
|
|
132
199
|
type: Input
|
|
133
200
|
}], flagData: [{
|
|
134
201
|
type: Input
|
|
135
202
|
}], firstColumnHeader: [{
|
|
136
203
|
type: Input
|
|
204
|
+
}], caseFlagsExternalUser: [{
|
|
205
|
+
type: Input
|
|
137
206
|
}] }); })();
|
|
138
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
207
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1mbGFnLXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2Nhc2UtZmxhZy9jb21wb25lbnRzL2Nhc2UtZmxhZy10YWJsZS9jYXNlLWZsYWctdGFibGUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4v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cyA9PT0gY2FzZUZsYWdTdGF0dXMuTk9UX0FQUFJPVkVEXCIgY2xhc3M9XCJnb3Z1ay10YWcgZ292dWstdGFnLS1yZWRcIj57eydOb3QgYXBwcm92ZWQnIHwgcnB4VHJhbnNsYXRlfX08L3N0cm9uZz5cbiAgICAgIDwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvdGFibGU+XG4iXX0=
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { CaseFlagFieldState, CaseFlagStatus, CaseFlagWizardStepTitle, ConfirmStatusErrorMessage, ConfirmStatusStep } from '../../enums';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "rpx-xui-translation";
|
|
8
|
+
function ConfirmFlagStatusComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
10
|
+
i0.ɵɵelement(1, "input", 16);
|
|
11
|
+
i0.ɵɵelementStart(2, "label", 17);
|
|
12
|
+
i0.ɵɵtext(3);
|
|
13
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
14
|
+
i0.ɵɵelementEnd()();
|
|
15
|
+
} if (rf & 2) {
|
|
16
|
+
const status_r3 = ctx.$implicit;
|
|
17
|
+
const i_r4 = ctx.index;
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(1);
|
|
20
|
+
i0.ɵɵpropertyInterpolate1("id", "flag-status-", i_r4, "");
|
|
21
|
+
i0.ɵɵproperty("name", ctx_r0.selectedStatusControlName)("value", status_r3)("formControlName", ctx_r0.selectedStatusControlName);
|
|
22
|
+
i0.ɵɵadvance(1);
|
|
23
|
+
i0.ɵɵpropertyInterpolate1("for", "flag-status-", i_r4, "");
|
|
24
|
+
i0.ɵɵadvance(1);
|
|
25
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(4, 6, ctx_r0.caseFlagStatusEnum[status_r3]), " ");
|
|
26
|
+
} }
|
|
27
|
+
function ConfirmFlagStatusComponent_div_13_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "span", 19);
|
|
29
|
+
i0.ɵɵtext(2);
|
|
30
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵtext(4);
|
|
33
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
37
|
+
i0.ɵɵadvance(2);
|
|
38
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
|
|
39
|
+
i0.ɵɵadvance(2);
|
|
40
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r1.statusReasonNotEnteredErrorMessage), " ");
|
|
41
|
+
} }
|
|
42
|
+
function ConfirmFlagStatusComponent_div_14_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
i0.ɵɵelementStart(0, "div", 20)(1, "span", 19);
|
|
44
|
+
i0.ɵɵtext(2);
|
|
45
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵtext(4);
|
|
48
|
+
i0.ɵɵpipe(5, "rpxTranslate");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
} if (rf & 2) {
|
|
51
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
52
|
+
i0.ɵɵadvance(2);
|
|
53
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Error:"));
|
|
54
|
+
i0.ɵɵadvance(2);
|
|
55
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(5, 4, ctx_r2.statusReasonCharLimitErrorMessage), " ");
|
|
56
|
+
} }
|
|
57
|
+
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
58
|
+
export class ConfirmFlagStatusComponent {
|
|
59
|
+
constructor() {
|
|
60
|
+
this.caseFlagStateEmitter = new EventEmitter();
|
|
61
|
+
this.caseFlagStatusEnum = CaseFlagStatus;
|
|
62
|
+
this.errorMessages = [];
|
|
63
|
+
this.statusReasonNotEnteredErrorMessage = null;
|
|
64
|
+
this.statusReasonCharLimitErrorMessage = null;
|
|
65
|
+
this.selectedStatusControlName = 'selectedStatus';
|
|
66
|
+
this.statusReasonControlName = 'statusReason';
|
|
67
|
+
this.reasonMaxCharLimit = 200;
|
|
68
|
+
}
|
|
69
|
+
ngOnInit() {
|
|
70
|
+
this.confirmFlagStatusTitle = CaseFlagWizardStepTitle.CONFIRM_FLAG_STATUS;
|
|
71
|
+
this.flagCreationStatuses = Object.keys(CaseFlagStatus).filter(key => !['INACTIVE'].includes(key));
|
|
72
|
+
this.statusReasonHint = ConfirmStatusStep.HINT_TEXT;
|
|
73
|
+
this.statusReasonCharLimitInfo = ConfirmStatusStep.CHARACTER_LIMIT_INFO;
|
|
74
|
+
this.formGroup.addControl(this.selectedStatusControlName, new FormControl(this.flagCreationStatuses.find(key => CaseFlagStatus[key] === this.defaultStatus)));
|
|
75
|
+
this.formGroup.addControl(this.statusReasonControlName, new FormControl(''));
|
|
76
|
+
}
|
|
77
|
+
onNext() {
|
|
78
|
+
// Validate status reason entry
|
|
79
|
+
this.validateTextEntry();
|
|
80
|
+
// Return case flag field state and error messages to the parent
|
|
81
|
+
this.caseFlagStateEmitter.emit({ currentCaseFlagFieldState: CaseFlagFieldState.FLAG_STATUS, errorMessages: this.errorMessages });
|
|
82
|
+
}
|
|
83
|
+
validateTextEntry() {
|
|
84
|
+
this.statusReasonNotEnteredErrorMessage = null;
|
|
85
|
+
this.statusReasonCharLimitErrorMessage = null;
|
|
86
|
+
this.errorMessages = [];
|
|
87
|
+
if (this.formGroup.get(this.selectedStatusControlName).value === 'NOT_APPROVED' &&
|
|
88
|
+
!this.formGroup.get(this.statusReasonControlName).value) {
|
|
89
|
+
this.statusReasonNotEnteredErrorMessage = ConfirmStatusErrorMessage.STATUS_REASON_NOT_ENTERED;
|
|
90
|
+
this.errorMessages.push({
|
|
91
|
+
title: '',
|
|
92
|
+
description: ConfirmStatusErrorMessage.STATUS_REASON_NOT_ENTERED,
|
|
93
|
+
fieldId: this.statusReasonControlName
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
if (this.formGroup.get(this.statusReasonControlName).value &&
|
|
97
|
+
this.formGroup.get(this.statusReasonControlName).value.length > this.reasonMaxCharLimit) {
|
|
98
|
+
this.statusReasonCharLimitErrorMessage = ConfirmStatusErrorMessage.STATUS_REASON_CHAR_LIMIT_EXCEEDED;
|
|
99
|
+
this.errorMessages.push({
|
|
100
|
+
title: '',
|
|
101
|
+
description: ConfirmStatusErrorMessage.STATUS_REASON_CHAR_LIMIT_EXCEEDED,
|
|
102
|
+
fieldId: this.statusReasonControlName
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
ConfirmFlagStatusComponent.ɵfac = function ConfirmFlagStatusComponent_Factory(t) { return new (t || ConfirmFlagStatusComponent)(); };
|
|
108
|
+
ConfirmFlagStatusComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConfirmFlagStatusComponent, selectors: [["ccd-confirm-flag-status"]], inputs: { formGroup: "formGroup", defaultStatus: "defaultStatus" }, outputs: { caseFlagStateEmitter: "caseFlagStateEmitter" }, decls: 23, vars: 22, 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-button-group"], ["type", "button", 1, "button", "button-primary", 3, "click"], [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) {
|
|
109
|
+
i0.ɵɵelementContainerStart(0, 0);
|
|
110
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "fieldset", 3)(4, "legend", 4)(5, "h1", 5);
|
|
111
|
+
i0.ɵɵtext(6);
|
|
112
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
113
|
+
i0.ɵɵelementEnd()();
|
|
114
|
+
i0.ɵɵelementStart(8, "div", 6);
|
|
115
|
+
i0.ɵɵtemplate(9, ConfirmFlagStatusComponent_div_9_Template, 5, 8, "div", 7);
|
|
116
|
+
i0.ɵɵelementEnd()();
|
|
117
|
+
i0.ɵɵelementStart(10, "div", 8);
|
|
118
|
+
i0.ɵɵtext(11);
|
|
119
|
+
i0.ɵɵpipe(12, "rpxTranslate");
|
|
120
|
+
i0.ɵɵelementEnd();
|
|
121
|
+
i0.ɵɵtemplate(13, ConfirmFlagStatusComponent_div_13_Template, 6, 6, "div", 9);
|
|
122
|
+
i0.ɵɵtemplate(14, ConfirmFlagStatusComponent_div_14_Template, 6, 6, "div", 10);
|
|
123
|
+
i0.ɵɵelement(15, "textarea", 11);
|
|
124
|
+
i0.ɵɵelementStart(16, "div", 12);
|
|
125
|
+
i0.ɵɵtext(17);
|
|
126
|
+
i0.ɵɵpipe(18, "rpxTranslate");
|
|
127
|
+
i0.ɵɵelementEnd()()();
|
|
128
|
+
i0.ɵɵelementContainerEnd();
|
|
129
|
+
i0.ɵɵelementStart(19, "div", 13)(20, "button", 14);
|
|
130
|
+
i0.ɵɵlistener("click", function ConfirmFlagStatusComponent_Template_button_click_20_listener() { return ctx.onNext(); });
|
|
131
|
+
i0.ɵɵtext(21);
|
|
132
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
133
|
+
i0.ɵɵelementEnd()();
|
|
134
|
+
} if (rf & 2) {
|
|
135
|
+
i0.ɵɵproperty("formGroup", ctx.formGroup);
|
|
136
|
+
i0.ɵɵadvance(2);
|
|
137
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.errorMessages.length > 0));
|
|
138
|
+
i0.ɵɵadvance(4);
|
|
139
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(7, 12, ctx.confirmFlagStatusTitle), " ");
|
|
140
|
+
i0.ɵɵadvance(3);
|
|
141
|
+
i0.ɵɵproperty("ngForOf", ctx.flagCreationStatuses);
|
|
142
|
+
i0.ɵɵadvance(2);
|
|
143
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(12, 14, ctx.statusReasonHint), " ");
|
|
144
|
+
i0.ɵɵadvance(2);
|
|
145
|
+
i0.ɵɵproperty("ngIf", ctx.statusReasonNotEnteredErrorMessage);
|
|
146
|
+
i0.ɵɵadvance(1);
|
|
147
|
+
i0.ɵɵproperty("ngIf", ctx.statusReasonCharLimitErrorMessage);
|
|
148
|
+
i0.ɵɵadvance(1);
|
|
149
|
+
i0.ɵɵproperty("id", ctx.statusReasonControlName)("name", ctx.statusReasonControlName)("formControlName", ctx.statusReasonControlName);
|
|
150
|
+
i0.ɵɵadvance(2);
|
|
151
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(18, 16, ctx.statusReasonCharLimitInfo), " ");
|
|
152
|
+
i0.ɵɵadvance(4);
|
|
153
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 18, "Next"));
|
|
154
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.DefaultValueAccessor, i2.RadioControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.RpxTranslatePipe], encapsulation: 2 });
|
|
155
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmFlagStatusComponent, [{
|
|
156
|
+
type: Component,
|
|
157
|
+
args: [{ selector: 'ccd-confirm-flag-status', template: "<ng-container [formGroup]=\"formGroup\">\n <div class=\"govuk-character-count\" data-module=\"govuk-character-count\" data-maxlength=\"200\">\n <div class=\"govuk-form-group\" [ngClass]=\"{'form-group-error': errorMessages.length > 0}\">\n <fieldset class=\"govuk-fieldset\" aria-describedby=\"confirm-flag-status-heading\">\n <legend class=\"govuk-fieldset__legend govuk-fieldset__legend--m\">\n <h1 id=\"confirm-flag-status-heading\" class=\"govuk-fieldset__heading\">\n {{confirmFlagStatusTitle | rpxTranslate}}\n </h1>\n </legend>\n <div class=\"govuk-radios govuk-radios--conditional govuk-!-margin-bottom-4\" data-module=\"govuk-radios\" id=\"conditional-radios-list\">\n <div class=\"govuk-radios__item\" *ngFor=\"let status of flagCreationStatuses; index as i\">\n <input class=\"govuk-radios__input\" id=\"flag-status-{{i}}\" [name]=\"selectedStatusControlName\"\n type=\"radio\" [value]=\"status\" [formControlName]=\"selectedStatusControlName\"/>\n <label class=\"govuk-label govuk-radios__label\" for=\"flag-status-{{i}}\">\n {{caseFlagStatusEnum[status] | rpxTranslate}}\n </label>\n </div>\n </div>\n </fieldset>\n <div id=\"status-reason-hint\" class=\"govuk-hint\">\n {{statusReasonHint | rpxTranslate}}\n </div>\n <div id=\"status-reason-not-entered-error-message\" class=\"govuk-error-message\"\n *ngIf=\"statusReasonNotEnteredErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{statusReasonNotEnteredErrorMessage | rpxTranslate}}\n </div>\n <div id=\"status-reason-char-limit-error\" class=\"govuk-error-message\"\n *ngIf=\"statusReasonCharLimitErrorMessage\">\n <span class=\"govuk-visually-hidden\">{{'Error:' | rpxTranslate}}</span> {{statusReasonCharLimitErrorMessage | rpxTranslate}}\n </div>\n <textarea class=\"govuk-textarea\" [id]=\"statusReasonControlName\"\n [name]=\"statusReasonControlName\" [formControlName]=\"statusReasonControlName\" rows=\"5\"\n aria-describedby=\"status-reason-hint status-reason-char-limit-info\"></textarea>\n <div id=\"status-reason-char-limit-info\" class=\"govuk-hint govuk-character-count__message\" aria-live=\"polite\">\n {{statusReasonCharLimitInfo | rpxTranslate}}\n </div>\n </div>\n </div>\n</ng-container>\n\n<div class=\"govuk-button-group\">\n <button class=\"button button-primary\" type=\"button\" (click)=\"onNext()\">{{'Next' | rpxTranslate}}</button>\n</div>\n" }]
|
|
158
|
+
}], null, { formGroup: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}], defaultStatus: [{
|
|
161
|
+
type: Input
|
|
162
|
+
}], caseFlagStateEmitter: [{
|
|
163
|
+
type: Output
|
|
164
|
+
}] }); })();
|
|
165
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1mbGFnLXN0YXR1cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmN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G9uIGJ1dHRvbi1wcmltYXJ5XCIgdHlwZT1cImJ1dHRvblwiIChjbGljayk9XCJvbk5leHQoKVwiPnt7J05leHQnIHwgcnB4VHJhbnNsYXRlfX08L2J1dHRvbj5cbjwvZGl2PlxuIl19
|
|
@@ -6,4 +6,7 @@ export * from './search-language-interpreter/search-language-interpreter.compone
|
|
|
6
6
|
export * from './select-flag-location/select-flag-location.component';
|
|
7
7
|
export * from './select-flag-type/select-flag-type.component';
|
|
8
8
|
export * from './update-flag/update-flag.component';
|
|
9
|
-
|
|
9
|
+
export * from './update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component';
|
|
10
|
+
export * from './case-flag-summary-list/case-flag-summary-list.component';
|
|
11
|
+
export * from './confirm-flag-status/confirm-flag-status.component';
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9jYXNlLWZsYWcvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsMkRBQTJELENBQUM7QUFDMUUsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLGlEQUFpRCxDQUFDO0FBQ2hFLGNBQWMscUVBQXFFLENBQUM7QUFDcEYsY0FBYyx1REFBdUQsQ0FBQztBQUN0RSxjQUFjLCtDQUErQyxDQUFDO0FBQzlELGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYywyRkFBMkYsQ0FBQztBQUMxRyxjQUFjLDJEQUEyRCxDQUFDO0FBQzFFLGNBQWMscURBQXFELENBQUMiLCJzb3VyY2VzQ29udG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