@hmcts/ccd-case-ui-toolkit 6.19.15-restricted-case-access → 6.19.15-welsh-translation-FirstErrorPipe-fix
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +9845 -4911
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.js +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +2 -11
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.js +7 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +167 -128
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +17 -21
- package/esm2015/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.js +2 -3
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.js +2 -2
- package/esm2015/lib/shared/components/case-editor/services/case-flag-state.service.js +19 -0
- package/esm2015/lib/shared/components/case-editor/services/cases.service.js +6 -1
- package/esm2015/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.js +5 -18
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +77 -49
- package/esm2015/lib/shared/components/case-viewer/case-viewer.module.js +5 -2
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.js +76 -33
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.js +264 -45
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.js +144 -73
- package/esm2015/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.js +181 -0
- package/esm2015/lib/shared/components/palette/case-flag/components/index.js +4 -1
- package/esm2015/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.js +72 -77
- package/esm2015/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.js +133 -101
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.js +21 -8
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +223 -114
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.js +292 -0
- package/esm2015/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.js +465 -109
- package/esm2015/lib/shared/components/palette/case-flag/domain/case-flag-state.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/domain/case-flag.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/domain/language.model.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.js +2 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.js +3 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.js +12 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.js +15 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.js +13 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.js +3 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.js +11 -3
- package/esm2015/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/index.js +9 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.js +3 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.js +4 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.js +5 -1
- package/esm2015/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.js +7 -2
- package/esm2015/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.js +10 -7
- package/esm2015/lib/shared/components/palette/case-flag/index.js +2 -1
- package/esm2015/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.js +41 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/index.js +5 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.js +41 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.js +109 -0
- package/esm2015/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.js +77 -0
- package/esm2015/lib/shared/components/palette/case-flag/read-case-flag-field.component.js +153 -51
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +387 -171
- package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +34 -37
- package/esm2015/lib/shared/components/palette/complex/read-complex-field.component.js +9 -7
- package/esm2015/lib/shared/components/palette/complex/sort-order.js +7 -0
- package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +4 -5
- package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/index.js +3 -1
- package/esm2015/lib/shared/components/palette/markdown/index.js +2 -1
- package/esm2015/lib/shared/components/palette/markdown/markdown-component.module.js +42 -0
- package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/palette.module.js +147 -50
- package/esm2015/lib/shared/components/palette/palette.service.js +4 -2
- package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/query-management/__mocks__/index.js +210 -0
- package/esm2015/lib/shared/components/palette/query-management/components/index.js +13 -0
- package/esm2015/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.js +45 -0
- package/esm2015/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.js +154 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.js +69 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.js +64 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.js +316 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-details/query-details.component.js +380 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.js +25 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-list/query-list.component.js +181 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.js +78 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.js +125 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.js +239 -0
- package/esm2015/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.js +120 -0
- package/esm2015/lib/shared/components/palette/query-management/enums/index.js +6 -0
- package/esm2015/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.js +5 -0
- package/esm2015/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.js +10 -0
- package/esm2015/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.js +6 -0
- package/esm2015/lib/shared/components/palette/query-management/index.js +7 -0
- package/esm2015/lib/shared/components/palette/query-management/models/case-queries-collection.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/index.js +8 -0
- package/esm2015/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-create-context.enum.js +9 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.js +2 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.js +18 -0
- package/esm2015/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.js +41 -0
- package/esm2015/lib/shared/components/palette/query-management/read-query-management-field.component.js +128 -0
- package/esm2015/lib/shared/components/palette/query-management/utils/query-management.utils.js +22 -0
- package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +4 -5
- package/esm2015/lib/shared/components/palette/utils/first-error.pipe.js +16 -9
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +7 -5
- package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +8 -8
- package/esm2015/lib/shared/domain/case-flag/flag-type.model.js +17 -2
- package/esm2015/lib/shared/domain/case-view/case-view-event-ids.enum.js +6 -0
- package/esm2015/lib/shared/domain/case-view/case-view-trigger.model.js +1 -2
- package/esm2015/lib/shared/domain/definition/display-context-enum.model.js +3 -1
- package/esm2015/lib/shared/fixture/shared.test.fixture.js +2 -1
- package/esm2015/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.js +16 -0
- package/esm2015/lib/shared/pipes/generic/index.js +2 -0
- package/esm2015/lib/shared/pipes/index.js +3 -2
- package/esm2015/lib/shared/pipes/pipes.module.js +9 -5
- package/esm2015/lib/shared/services/case-flag/case-flag-refdata.service.js +9 -3
- package/esm2015/lib/shared/services/fields/fields.utils.js +21 -3
- package/esm2015/lib/shared/services/form/form-value.service.js +14 -11
- package/esm2015/lib/shared/services/jurisdiction/jurisdiction.service.js +2 -1
- package/esm2015/lib/shared/services/request/request.options.builder.js +7 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +8433 -4028
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-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-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 +6 -2
- 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 +23 -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 +51 -26
- 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/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/first-error.pipe.d.ts +8 -5
- package/lib/shared/components/palette/utils/first-error.pipe.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/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/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
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { SessionStorageService } from '../../../../../services';
|
|
3
|
+
import { QueryListItem } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../../../services";
|
|
6
|
+
function QueryDetailsComponent_ng_container_0_tr_45_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
+
i0.ɵɵelementStart(0, "tr", 10);
|
|
8
|
+
i0.ɵɵelementStart(1, "th", 6);
|
|
9
|
+
i0.ɵɵtext(2);
|
|
10
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
11
|
+
i0.ɵɵelementEnd();
|
|
12
|
+
i0.ɵɵelementStart(4, "td", 7);
|
|
13
|
+
i0.ɵɵtext(5);
|
|
14
|
+
i0.ɵɵpipe(6, "date");
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "What is the date of the hearing?"));
|
|
21
|
+
i0.ɵɵadvance(3);
|
|
22
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(6, 4, ctx_r1.query.hearingDate, "dd MMM yyyy"));
|
|
23
|
+
} }
|
|
24
|
+
function QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_51_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 11);
|
|
26
|
+
} if (rf & 2) {
|
|
27
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
28
|
+
i0.ɵɵproperty("attachments", ctx_r2.query.attachments);
|
|
29
|
+
} }
|
|
30
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_tr_15_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
+
i0.ɵɵelementStart(0, "tr", 5);
|
|
32
|
+
i0.ɵɵelementStart(1, "th", 6);
|
|
33
|
+
i0.ɵɵtext(2);
|
|
34
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(4, "td", 7);
|
|
37
|
+
i0.ɵɵtext(5);
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
} if (rf & 2) {
|
|
41
|
+
const child_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
42
|
+
i0.ɵɵadvance(2);
|
|
43
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "Caseworker name"));
|
|
44
|
+
i0.ɵɵadvance(3);
|
|
45
|
+
i0.ɵɵtextInterpolate(child_r5.name);
|
|
46
|
+
} }
|
|
47
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 11);
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
const child_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
51
|
+
i0.ɵɵproperty("attachments", child_r5.attachments);
|
|
52
|
+
} }
|
|
53
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
+
i0.ɵɵelementContainerStart(0);
|
|
55
|
+
i0.ɵɵelementStart(1, "table", 2);
|
|
56
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
57
|
+
i0.ɵɵelementStart(3, "caption", 3);
|
|
58
|
+
i0.ɵɵelementStart(4, "div");
|
|
59
|
+
i0.ɵɵtext(5);
|
|
60
|
+
i0.ɵɵpipe(6, "rpxTranslate");
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementStart(7, "tbody", 4);
|
|
64
|
+
i0.ɵɵelementStart(8, "tr", 5);
|
|
65
|
+
i0.ɵɵelementStart(9, "th", 6);
|
|
66
|
+
i0.ɵɵtext(10);
|
|
67
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
68
|
+
i0.ɵɵelementEnd();
|
|
69
|
+
i0.ɵɵelementStart(12, "td", 7);
|
|
70
|
+
i0.ɵɵtext(13);
|
|
71
|
+
i0.ɵɵpipe(14, "date");
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵtemplate(15, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_tr_15_Template, 6, 4, "tr", 15);
|
|
75
|
+
i0.ɵɵelementStart(16, "tr", 5);
|
|
76
|
+
i0.ɵɵelementStart(17, "th", 6);
|
|
77
|
+
i0.ɵɵtext(18);
|
|
78
|
+
i0.ɵɵpipe(19, "rpxTranslate");
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
i0.ɵɵelementStart(20, "td", 7);
|
|
81
|
+
i0.ɵɵtext(21);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelementStart(22, "tr", 5);
|
|
85
|
+
i0.ɵɵelementStart(23, "th", 6);
|
|
86
|
+
i0.ɵɵtext(24);
|
|
87
|
+
i0.ɵɵpipe(25, "rpxTranslate");
|
|
88
|
+
i0.ɵɵelementEnd();
|
|
89
|
+
i0.ɵɵelementStart(26, "td", 7);
|
|
90
|
+
i0.ɵɵtemplate(27, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_ccd_query_attachments_read_27_Template, 1, 1, "ccd-query-attachments-read", 9);
|
|
91
|
+
i0.ɵɵelementEnd();
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵelementEnd();
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
i0.ɵɵelementContainerEnd();
|
|
96
|
+
} if (rf & 2) {
|
|
97
|
+
const child_r5 = i0.ɵɵnextContext().$implicit;
|
|
98
|
+
const ctx_r7 = i0.ɵɵnextContext(3);
|
|
99
|
+
i0.ɵɵadvance(1);
|
|
100
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(2, 9, "Response of the query"));
|
|
101
|
+
i0.ɵɵadvance(4);
|
|
102
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(6, 11, "Response"));
|
|
103
|
+
i0.ɵɵadvance(5);
|
|
104
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 13, "Last response date"));
|
|
105
|
+
i0.ɵɵadvance(3);
|
|
106
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(14, 15, child_r5.createdOn, "dd MMM yyyy"));
|
|
107
|
+
i0.ɵɵadvance(2);
|
|
108
|
+
i0.ɵɵproperty("ngIf", ctx_r7.isCaseworker());
|
|
109
|
+
i0.ɵɵadvance(3);
|
|
110
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(19, 18, "Response detail"));
|
|
111
|
+
i0.ɵɵadvance(3);
|
|
112
|
+
i0.ɵɵtextInterpolate(child_r5.body);
|
|
113
|
+
i0.ɵɵadvance(3);
|
|
114
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(25, 20, "Attachments"));
|
|
115
|
+
i0.ɵɵadvance(3);
|
|
116
|
+
i0.ɵɵproperty("ngIf", child_r5.attachments);
|
|
117
|
+
} }
|
|
118
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_template_2_ccd_query_attachments_read_34_Template(rf, ctx) { if (rf & 1) {
|
|
119
|
+
i0.ɵɵelement(0, "ccd-query-attachments-read", 11);
|
|
120
|
+
} if (rf & 2) {
|
|
121
|
+
const child_r5 = i0.ɵɵnextContext(2).$implicit;
|
|
122
|
+
i0.ɵɵproperty("attachments", child_r5.attachments);
|
|
123
|
+
} }
|
|
124
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
125
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
126
|
+
i0.ɵɵtext(1);
|
|
127
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
i0.ɵɵelementStart(3, "table", 2);
|
|
130
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
131
|
+
i0.ɵɵelementStart(5, "caption", 3);
|
|
132
|
+
i0.ɵɵelementStart(6, "div");
|
|
133
|
+
i0.ɵɵtext(7);
|
|
134
|
+
i0.ɵɵpipe(8, "rpxTranslate");
|
|
135
|
+
i0.ɵɵelementEnd();
|
|
136
|
+
i0.ɵɵelementEnd();
|
|
137
|
+
i0.ɵɵelementStart(9, "tbody", 4);
|
|
138
|
+
i0.ɵɵelementStart(10, "tr", 5);
|
|
139
|
+
i0.ɵɵelementStart(11, "th", 6);
|
|
140
|
+
i0.ɵɵtext(12);
|
|
141
|
+
i0.ɵɵpipe(13, "rpxTranslate");
|
|
142
|
+
i0.ɵɵelementEnd();
|
|
143
|
+
i0.ɵɵelementStart(14, "td", 7);
|
|
144
|
+
i0.ɵɵtext(15);
|
|
145
|
+
i0.ɵɵpipe(16, "date");
|
|
146
|
+
i0.ɵɵelementEnd();
|
|
147
|
+
i0.ɵɵelementEnd();
|
|
148
|
+
i0.ɵɵelementStart(17, "tr", 5);
|
|
149
|
+
i0.ɵɵelementStart(18, "th", 6);
|
|
150
|
+
i0.ɵɵtext(19);
|
|
151
|
+
i0.ɵɵpipe(20, "rpxTranslate");
|
|
152
|
+
i0.ɵɵelementEnd();
|
|
153
|
+
i0.ɵɵelementStart(21, "td", 7);
|
|
154
|
+
i0.ɵɵtext(22);
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
i0.ɵɵelementEnd();
|
|
157
|
+
i0.ɵɵelementStart(23, "tr", 5);
|
|
158
|
+
i0.ɵɵelementStart(24, "th", 6);
|
|
159
|
+
i0.ɵɵtext(25);
|
|
160
|
+
i0.ɵɵpipe(26, "rpxTranslate");
|
|
161
|
+
i0.ɵɵelementEnd();
|
|
162
|
+
i0.ɵɵelementStart(27, "td", 7);
|
|
163
|
+
i0.ɵɵtext(28);
|
|
164
|
+
i0.ɵɵelementEnd();
|
|
165
|
+
i0.ɵɵelementEnd();
|
|
166
|
+
i0.ɵɵelementStart(29, "tr", 5);
|
|
167
|
+
i0.ɵɵelementStart(30, "th", 6);
|
|
168
|
+
i0.ɵɵtext(31);
|
|
169
|
+
i0.ɵɵpipe(32, "rpxTranslate");
|
|
170
|
+
i0.ɵɵelementEnd();
|
|
171
|
+
i0.ɵɵelementStart(33, "td", 7);
|
|
172
|
+
i0.ɵɵtemplate(34, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_template_2_ccd_query_attachments_read_34_Template, 1, 1, "ccd-query-attachments-read", 9);
|
|
173
|
+
i0.ɵɵelementEnd();
|
|
174
|
+
i0.ɵɵelementEnd();
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
i0.ɵɵelementEnd();
|
|
177
|
+
} if (rf & 2) {
|
|
178
|
+
const child_r5 = i0.ɵɵnextContext().$implicit;
|
|
179
|
+
i0.ɵɵadvance(1);
|
|
180
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 11, "Follow-up"));
|
|
181
|
+
i0.ɵɵadvance(2);
|
|
182
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(4, 13, "Follow-up of the response"));
|
|
183
|
+
i0.ɵɵadvance(4);
|
|
184
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 15, "Follow up query"));
|
|
185
|
+
i0.ɵɵadvance(5);
|
|
186
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 17, "Last submission date"));
|
|
187
|
+
i0.ɵɵadvance(3);
|
|
188
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(16, 19, child_r5.createdOn, "dd MMM yyyy"));
|
|
189
|
+
i0.ɵɵadvance(4);
|
|
190
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 22, "Last submitted by"));
|
|
191
|
+
i0.ɵɵadvance(3);
|
|
192
|
+
i0.ɵɵtextInterpolate(child_r5.name);
|
|
193
|
+
i0.ɵɵadvance(3);
|
|
194
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(26, 24, "Query detail"));
|
|
195
|
+
i0.ɵɵadvance(3);
|
|
196
|
+
i0.ɵɵtextInterpolate(child_r5.body);
|
|
197
|
+
i0.ɵɵadvance(3);
|
|
198
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(32, 26, "Attachments"));
|
|
199
|
+
i0.ɵɵadvance(3);
|
|
200
|
+
i0.ɵɵproperty("ngIf", child_r5.attachments);
|
|
201
|
+
} }
|
|
202
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
203
|
+
i0.ɵɵelementContainerStart(0);
|
|
204
|
+
i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_container_1_Template, 28, 22, "ng-container", 13);
|
|
205
|
+
i0.ɵɵtemplate(2, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_ng_template_2_Template, 35, 28, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
|
206
|
+
i0.ɵɵelementContainerEnd();
|
|
207
|
+
} if (rf & 2) {
|
|
208
|
+
const i_r6 = ctx.index;
|
|
209
|
+
const _r8 = i0.ɵɵreference(3);
|
|
210
|
+
i0.ɵɵadvance(1);
|
|
211
|
+
i0.ɵɵproperty("ngIf", i_r6 % 2 === 0)("ngIfElse", _r8);
|
|
212
|
+
} }
|
|
213
|
+
function QueryDetailsComponent_ng_container_0_ng_container_52_Template(rf, ctx) { if (rf & 1) {
|
|
214
|
+
i0.ɵɵelementContainerStart(0);
|
|
215
|
+
i0.ɵɵtemplate(1, QueryDetailsComponent_ng_container_0_ng_container_52_ng_container_1_Template, 4, 2, "ng-container", 12);
|
|
216
|
+
i0.ɵɵelementContainerEnd();
|
|
217
|
+
} if (rf & 2) {
|
|
218
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
219
|
+
i0.ɵɵadvance(1);
|
|
220
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.query.children);
|
|
221
|
+
} }
|
|
222
|
+
function QueryDetailsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
223
|
+
const _r19 = i0.ɵɵgetCurrentView();
|
|
224
|
+
i0.ɵɵelementContainerStart(0);
|
|
225
|
+
i0.ɵɵelementStart(1, "p");
|
|
226
|
+
i0.ɵɵelementStart(2, "a", 1);
|
|
227
|
+
i0.ɵɵlistener("click", function QueryDetailsComponent_ng_container_0_Template_a_click_2_listener() { i0.ɵɵrestoreView(_r19); const ctx_r18 = i0.ɵɵnextContext(); return ctx_r18.onBack(); });
|
|
228
|
+
i0.ɵɵtext(3);
|
|
229
|
+
i0.ɵɵpipe(4, "rpxTranslate");
|
|
230
|
+
i0.ɵɵelementEnd();
|
|
231
|
+
i0.ɵɵelementEnd();
|
|
232
|
+
i0.ɵɵelementStart(5, "div");
|
|
233
|
+
i0.ɵɵelementStart(6, "table", 2);
|
|
234
|
+
i0.ɵɵpipe(7, "rpxTranslate");
|
|
235
|
+
i0.ɵɵelementStart(8, "caption", 3);
|
|
236
|
+
i0.ɵɵelementStart(9, "div");
|
|
237
|
+
i0.ɵɵtext(10);
|
|
238
|
+
i0.ɵɵpipe(11, "rpxTranslate");
|
|
239
|
+
i0.ɵɵelementEnd();
|
|
240
|
+
i0.ɵɵelementEnd();
|
|
241
|
+
i0.ɵɵelementStart(12, "tbody", 4);
|
|
242
|
+
i0.ɵɵelementStart(13, "tr", 5);
|
|
243
|
+
i0.ɵɵelementStart(14, "th", 6);
|
|
244
|
+
i0.ɵɵtext(15);
|
|
245
|
+
i0.ɵɵpipe(16, "rpxTranslate");
|
|
246
|
+
i0.ɵɵelementEnd();
|
|
247
|
+
i0.ɵɵelementStart(17, "td", 7);
|
|
248
|
+
i0.ɵɵtext(18);
|
|
249
|
+
i0.ɵɵelementEnd();
|
|
250
|
+
i0.ɵɵelementEnd();
|
|
251
|
+
i0.ɵɵelementStart(19, "tr", 5);
|
|
252
|
+
i0.ɵɵelementStart(20, "th", 6);
|
|
253
|
+
i0.ɵɵtext(21);
|
|
254
|
+
i0.ɵɵpipe(22, "rpxTranslate");
|
|
255
|
+
i0.ɵɵelementEnd();
|
|
256
|
+
i0.ɵɵelementStart(23, "td", 7);
|
|
257
|
+
i0.ɵɵtext(24);
|
|
258
|
+
i0.ɵɵpipe(25, "date");
|
|
259
|
+
i0.ɵɵelementEnd();
|
|
260
|
+
i0.ɵɵelementEnd();
|
|
261
|
+
i0.ɵɵelementStart(26, "tr", 5);
|
|
262
|
+
i0.ɵɵelementStart(27, "th", 6);
|
|
263
|
+
i0.ɵɵtext(28);
|
|
264
|
+
i0.ɵɵpipe(29, "rpxTranslate");
|
|
265
|
+
i0.ɵɵelementEnd();
|
|
266
|
+
i0.ɵɵelementStart(30, "td", 7);
|
|
267
|
+
i0.ɵɵtext(31);
|
|
268
|
+
i0.ɵɵelementEnd();
|
|
269
|
+
i0.ɵɵelementEnd();
|
|
270
|
+
i0.ɵɵelementStart(32, "tr", 5);
|
|
271
|
+
i0.ɵɵelementStart(33, "th", 6);
|
|
272
|
+
i0.ɵɵtext(34);
|
|
273
|
+
i0.ɵɵpipe(35, "rpxTranslate");
|
|
274
|
+
i0.ɵɵelementEnd();
|
|
275
|
+
i0.ɵɵelementStart(36, "td", 7);
|
|
276
|
+
i0.ɵɵtext(37);
|
|
277
|
+
i0.ɵɵelementEnd();
|
|
278
|
+
i0.ɵɵelementEnd();
|
|
279
|
+
i0.ɵɵelementStart(38, "tr", 5);
|
|
280
|
+
i0.ɵɵelementStart(39, "th", 6);
|
|
281
|
+
i0.ɵɵtext(40);
|
|
282
|
+
i0.ɵɵpipe(41, "rpxTranslate");
|
|
283
|
+
i0.ɵɵelementEnd();
|
|
284
|
+
i0.ɵɵelementStart(42, "td", 7);
|
|
285
|
+
i0.ɵɵtext(43);
|
|
286
|
+
i0.ɵɵpipe(44, "rpxTranslate");
|
|
287
|
+
i0.ɵɵelementEnd();
|
|
288
|
+
i0.ɵɵelementEnd();
|
|
289
|
+
i0.ɵɵtemplate(45, QueryDetailsComponent_ng_container_0_tr_45_Template, 7, 7, "tr", 8);
|
|
290
|
+
i0.ɵɵelementStart(46, "tr", 5);
|
|
291
|
+
i0.ɵɵelementStart(47, "th", 6);
|
|
292
|
+
i0.ɵɵtext(48);
|
|
293
|
+
i0.ɵɵpipe(49, "rpxTranslate");
|
|
294
|
+
i0.ɵɵelementEnd();
|
|
295
|
+
i0.ɵɵelementStart(50, "td", 7);
|
|
296
|
+
i0.ɵɵtemplate(51, QueryDetailsComponent_ng_container_0_ccd_query_attachments_read_51_Template, 1, 1, "ccd-query-attachments-read", 9);
|
|
297
|
+
i0.ɵɵelementEnd();
|
|
298
|
+
i0.ɵɵelementEnd();
|
|
299
|
+
i0.ɵɵelementEnd();
|
|
300
|
+
i0.ɵɵelementEnd();
|
|
301
|
+
i0.ɵɵelementEnd();
|
|
302
|
+
i0.ɵɵtemplate(52, QueryDetailsComponent_ng_container_0_ng_container_52_Template, 2, 1, "ng-container", 0);
|
|
303
|
+
i0.ɵɵelementContainerEnd();
|
|
304
|
+
} if (rf & 2) {
|
|
305
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
306
|
+
i0.ɵɵadvance(3);
|
|
307
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(4, 21, "Back to query list"));
|
|
308
|
+
i0.ɵɵadvance(3);
|
|
309
|
+
i0.ɵɵattribute("aria-describedby", i0.ɵɵpipeBind1(7, 23, "Details of the query"));
|
|
310
|
+
i0.ɵɵadvance(4);
|
|
311
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 25, "Query details"));
|
|
312
|
+
i0.ɵɵadvance(5);
|
|
313
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 27, "Last submitted by"));
|
|
314
|
+
i0.ɵɵadvance(3);
|
|
315
|
+
i0.ɵɵtextInterpolate(ctx_r0.query.lastSubmittedBy);
|
|
316
|
+
i0.ɵɵadvance(3);
|
|
317
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(22, 29, "Submission date"));
|
|
318
|
+
i0.ɵɵadvance(3);
|
|
319
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(25, 31, ctx_r0.query.createdOn, "dd MMM yyyy"));
|
|
320
|
+
i0.ɵɵadvance(4);
|
|
321
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(29, 34, "Query subject"));
|
|
322
|
+
i0.ɵɵadvance(3);
|
|
323
|
+
i0.ɵɵtextInterpolate(ctx_r0.query.subject);
|
|
324
|
+
i0.ɵɵadvance(3);
|
|
325
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 36, "Query body"));
|
|
326
|
+
i0.ɵɵadvance(3);
|
|
327
|
+
i0.ɵɵtextInterpolate(ctx_r0.query.body);
|
|
328
|
+
i0.ɵɵadvance(2);
|
|
329
|
+
i0.ɵɵclassProp("govuk-table__header--no-border", ctx_r0.query.isHearingRelated);
|
|
330
|
+
i0.ɵɵadvance(1);
|
|
331
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(41, 38, "Is the query hearing related?"), " ");
|
|
332
|
+
i0.ɵɵadvance(2);
|
|
333
|
+
i0.ɵɵclassProp("govuk-table__cell--no-border", ctx_r0.query.isHearingRelated);
|
|
334
|
+
i0.ɵɵadvance(1);
|
|
335
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind3(44, 40, "Is the query hearing related?", null, ctx_r0.query.isHearingRelated ? "Yes" : "No"), "");
|
|
336
|
+
i0.ɵɵadvance(2);
|
|
337
|
+
i0.ɵɵproperty("ngIf", ctx_r0.query.isHearingRelated);
|
|
338
|
+
i0.ɵɵadvance(3);
|
|
339
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(49, 44, "Attachments"));
|
|
340
|
+
i0.ɵɵadvance(3);
|
|
341
|
+
i0.ɵɵproperty("ngIf", ctx_r0.query.attachments);
|
|
342
|
+
i0.ɵɵadvance(1);
|
|
343
|
+
i0.ɵɵproperty("ngIf", (ctx_r0.query.children == null ? null : ctx_r0.query.children.length) > 0);
|
|
344
|
+
} }
|
|
345
|
+
export class QueryDetailsComponent {
|
|
346
|
+
constructor(sessionStorageService) {
|
|
347
|
+
this.sessionStorageService = sessionStorageService;
|
|
348
|
+
this.backClicked = new EventEmitter();
|
|
349
|
+
}
|
|
350
|
+
onBack() {
|
|
351
|
+
this.backClicked.emit(true);
|
|
352
|
+
}
|
|
353
|
+
isCaseworker() {
|
|
354
|
+
const userDetails = JSON.parse(this.sessionStorageService.getItem('userDetails'));
|
|
355
|
+
return userDetails && userDetails.roles
|
|
356
|
+
&& !(userDetails.roles.includes('pui-case-manager')
|
|
357
|
+
|| userDetails.roles.some((role) => role.toLowerCase().includes('judge')));
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
QueryDetailsComponent.ɵfac = function QueryDetailsComponent_Factory(t) { return new (t || QueryDetailsComponent)(i0.ɵɵdirectiveInject(i1.SessionStorageService)); };
|
|
361
|
+
QueryDetailsComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryDetailsComponent, selectors: [["ccd-query-details"]], inputs: { query: "query", caseId: "caseId" }, outputs: { backClicked: "backClicked" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["href", "javascript:void(0)", 1, "govuk-link", 3, "click"], [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"], [3, "attachments", 4, "ngIf"], [1, "govuk-table__row", "govuk-table__row--isHearingRelated"], [3, "attachments"], [4, "ngFor", "ngForOf"], [4, "ngIf", "ngIfElse"], ["followUpMessage", ""], ["class", "govuk-table__row", 4, "ngIf"], [1, "query_details_caption"]], template: function QueryDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
362
|
+
i0.ɵɵtemplate(0, QueryDetailsComponent_ng_container_0_Template, 53, 46, "ng-container", 0);
|
|
363
|
+
} if (rf & 2) {
|
|
364
|
+
i0.ɵɵproperty("ngIf", ctx.query);
|
|
365
|
+
} }, styles: [".query-details-table[_ngcontent-%COMP%] .govuk-table__header[_ngcontent-%COMP%]{width:330px}"] });
|
|
366
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryDetailsComponent, [{
|
|
367
|
+
type: Component,
|
|
368
|
+
args: [{
|
|
369
|
+
selector: 'ccd-query-details',
|
|
370
|
+
templateUrl: './query-details.component.html',
|
|
371
|
+
styleUrls: ['./query-details.component.scss']
|
|
372
|
+
}]
|
|
373
|
+
}], function () { return [{ type: i1.SessionStorageService }]; }, { query: [{
|
|
374
|
+
type: Input
|
|
375
|
+
}], backClicked: [{
|
|
376
|
+
type: Output
|
|
377
|
+
}], caseId: [{
|
|
378
|
+
type: Input
|
|
379
|
+
}] }); })();
|
|
380
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktZGV0YWlscy5jb21wb25lbnQuanMiLCJzb3V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AgICAgICAgICA8L3RyPlxuXG4gICAgICAgICAgICA8dHIgY2xhc3M9XCJnb3Z1ay10YWJsZV9fcm93XCI+XG4gICAgICAgICAgICAgIDx0aCBzY29wZT1cInJvd1wiIGNsYXNzPVwiZ292dWstdGFibGVfX2hlYWRlclwiPnt7ICdBdHRhY2htZW50cycgfCBycHhUcmFuc2xhdGUgfX08L3RoPlxuICAgICAgICAgICAgICA8dGQgY2xhc3M9XCJnb3Z1ay10YWJsZV9fY2VsbFwiPlxuICAgICAgICAgICAgICAgIDxjY2QtcXVlcnktYXR0YWNobWVudHMtcmVhZFxuICAgICAgICAgICAgICAgICAgKm5nSWY9XCJjaGlsZC5hdHRhY2htZW50c1wiXG4gICAgICAgICAgICAgICAgICBbYXR0YWNobWVudHNdPVwiY2hpbGQuYXR0YWNobWVudHNcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8L2NjZC1xdWVyeS1hdHRhY2htZW50cy1yZWFkPlxuICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICA8L3Rib2R5PlxuICAgICAgICA8L3RhYmxlPlxuICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class QueryEventCompletionComponent {
|
|
4
|
+
onEventCanBeCompleted(value) {
|
|
5
|
+
// Submit the query response
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
QueryEventCompletionComponent.ɵfac = function QueryEventCompletionComponent_Factory(t) { return new (t || QueryEventCompletionComponent)(); };
|
|
9
|
+
QueryEventCompletionComponent.ɵcmp = i0.ɵɵdefineComponent({ type: QueryEventCompletionComponent, selectors: [["ccd-query-event-completion"]], inputs: { eventCompletionParams: "eventCompletionParams" }, decls: 1, vars: 1, consts: [[3, "eventCompletionParams", "eventCanBeCompleted"]], template: function QueryEventCompletionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "ccd-case-event-completion", 0);
|
|
11
|
+
i0.ɵɵlistener("eventCanBeCompleted", function QueryEventCompletionComponent_Template_ccd_case_event_completion_eventCanBeCompleted_0_listener($event) { return ctx.onEventCanBeCompleted($event); });
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
i0.ɵɵproperty("eventCompletionParams", ctx.eventCompletionParams);
|
|
15
|
+
} }, encapsulation: 2 });
|
|
16
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryEventCompletionComponent, [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{
|
|
19
|
+
selector: 'ccd-query-event-completion',
|
|
20
|
+
templateUrl: './query-event-completion.component.html'
|
|
21
|
+
}]
|
|
22
|
+
}], null, { eventCompletionParams: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}] }); })();
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktZXZlbnQtY29tcGxldGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9xdWVyeS1tYW5hZ2VtZW50L2NvbXBvbmVudHMvcXVlcnktZXZlbnQtY29tcGxldGlvbi9xdWVyeS1ldmVudC1jb21wbGV0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQ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GlvbkNvbXBvbmVudCB7XG4gIEBJbnB1dCgpIHB1YmxpYyBldmVudENvbXBsZXRpb25QYXJhbXM6IEV2ZW50Q29tcGxldGlvblBhcmFtcztcblxuICBwdWJsaWMgb25FdmVudENhbkJlQ29tcGxldGVkKHZhbHVlOiBib29sZWFuKTogdm9pZCB7XG4gICAgLy8gU3VibWl0IHRoZSBxdWVyeSByZXNwb25zZVxuICB9XG59XG4iLCI8Y2NkLWNhc2UtZXZlbnQtY29tcGxldGlvbiBbZXZlbnRDb21wbGV0aW9uUGFyYW1zXT1cImV2ZW50Q29tcGxldGlvblBhcmFtc1wiXG4gIChldmVudENhbkJlQ29tcGxldGVkKT1cIm9uRXZlbnRDYW5CZUNvbXBsZXRlZCgkZXZlbnQpXCI+XG48L2NjZC1jYXNlLWV2ZW50LWNvbXBsZXRpb24+Il19
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { SortOrder } from '../../../complex/sort-order';
|
|
3
|
+
import { QueryListData } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "rpx-xui-translation";
|
|
7
|
+
function QueryListComponent_ng_container_0_th_7_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
9
|
+
i0.ɵɵelementStart(0, "th", 8);
|
|
10
|
+
i0.ɵɵelementStart(1, "button", 9);
|
|
11
|
+
i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_th_7_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const col_r3 = ctx.$implicit; const ctx_r5 = i0.ɵɵnextContext(2); return ctx_r5.sortTable(col_r3); });
|
|
12
|
+
i0.ɵɵtext(2);
|
|
13
|
+
i0.ɵɵpipe(3, "rpxTranslate");
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
} if (rf & 2) {
|
|
17
|
+
const col_r3 = ctx.$implicit;
|
|
18
|
+
const i_r4 = ctx.index;
|
|
19
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
20
|
+
i0.ɵɵattribute("aria-sort", ctx_r1.getAriaSortHeaderValue(col_r3));
|
|
21
|
+
i0.ɵɵadvance(1);
|
|
22
|
+
i0.ɵɵattribute("data-index", i_r4);
|
|
23
|
+
i0.ɵɵadvance(1);
|
|
24
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, col_r3.displayName), " ");
|
|
25
|
+
} }
|
|
26
|
+
function QueryListComponent_ng_container_0_tr_9_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
28
|
+
i0.ɵɵelementStart(0, "tr", 4);
|
|
29
|
+
i0.ɵɵelementStart(1, "td", 10);
|
|
30
|
+
i0.ɵɵelementStart(2, "a", 11);
|
|
31
|
+
i0.ɵɵlistener("click", function QueryListComponent_ng_container_0_tr_9_Template_a_click_2_listener() { i0.ɵɵrestoreView(_r9); const message_r7 = ctx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.showDetails(message_r7); });
|
|
32
|
+
i0.ɵɵtext(3);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵelementStart(4, "td", 12);
|
|
36
|
+
i0.ɵɵtext(5);
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(6, "td", 12);
|
|
39
|
+
i0.ɵɵtext(7);
|
|
40
|
+
i0.ɵɵpipe(8, "date");
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(9, "td", 12);
|
|
43
|
+
i0.ɵɵtext(10);
|
|
44
|
+
i0.ɵɵpipe(11, "date");
|
|
45
|
+
i0.ɵɵelementEnd();
|
|
46
|
+
i0.ɵɵelementStart(12, "td", 12);
|
|
47
|
+
i0.ɵɵtext(13);
|
|
48
|
+
i0.ɵɵpipe(14, "rpxTranslate");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
const message_r7 = ctx.$implicit;
|
|
53
|
+
i0.ɵɵadvance(3);
|
|
54
|
+
i0.ɵɵtextInterpolate(message_r7.subject);
|
|
55
|
+
i0.ɵɵadvance(2);
|
|
56
|
+
i0.ɵɵtextInterpolate(message_r7.lastSubmittedBy);
|
|
57
|
+
i0.ɵɵadvance(2);
|
|
58
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 5, message_r7.lastSubmittedDate, "dd MMM YYYY"));
|
|
59
|
+
i0.ɵɵadvance(3);
|
|
60
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(11, 8, message_r7.lastResponseDate, "dd MMM YYYY"));
|
|
61
|
+
i0.ɵɵadvance(3);
|
|
62
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 11, message_r7.responseStatus));
|
|
63
|
+
} }
|
|
64
|
+
function QueryListComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0.ɵɵelementContainerStart(0);
|
|
66
|
+
i0.ɵɵelementStart(1, "table", 1);
|
|
67
|
+
i0.ɵɵelementStart(2, "caption", 2);
|
|
68
|
+
i0.ɵɵelementStart(3, "div");
|
|
69
|
+
i0.ɵɵtext(4);
|
|
70
|
+
i0.ɵɵelementEnd();
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
i0.ɵɵelementStart(5, "thead", 3);
|
|
73
|
+
i0.ɵɵelementStart(6, "tr", 4);
|
|
74
|
+
i0.ɵɵtemplate(7, QueryListComponent_ng_container_0_th_7_Template, 4, 5, "th", 5);
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
i0.ɵɵelementEnd();
|
|
77
|
+
i0.ɵɵelementStart(8, "tbody", 6);
|
|
78
|
+
i0.ɵɵtemplate(9, QueryListComponent_ng_container_0_tr_9_Template, 15, 13, "tr", 7);
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementContainerEnd();
|
|
82
|
+
} if (rf & 2) {
|
|
83
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
84
|
+
i0.ɵɵadvance(4);
|
|
85
|
+
i0.ɵɵtextInterpolate(ctx_r0.queryListData.partyName);
|
|
86
|
+
i0.ɵɵadvance(3);
|
|
87
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.displayedColumns);
|
|
88
|
+
i0.ɵɵadvance(2);
|
|
89
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.queryListData.queries);
|
|
90
|
+
} }
|
|
91
|
+
export class QueryListComponent {
|
|
92
|
+
constructor() {
|
|
93
|
+
this.selectedQuery = new EventEmitter();
|
|
94
|
+
this.displayedColumns = [
|
|
95
|
+
{ name: 'subject', displayName: 'Query subject', sortOrder: SortOrder.UNSORTED },
|
|
96
|
+
{ name: 'lastSubmittedBy', displayName: 'Last submitted by', sortOrder: SortOrder.UNSORTED },
|
|
97
|
+
{ name: 'lastSubmittedDate', displayName: 'Last submission date', sortOrder: SortOrder.UNSORTED },
|
|
98
|
+
{ name: 'lastResponseDate', displayName: 'Last response date', sortOrder: SortOrder.UNSORTED },
|
|
99
|
+
{ name: 'responseStatus', displayName: 'Response status', sortOrder: SortOrder.UNSORTED }
|
|
100
|
+
];
|
|
101
|
+
}
|
|
102
|
+
ngOnChanges(simpleChanges) {
|
|
103
|
+
var _a;
|
|
104
|
+
const currentCaseQueriesCollection = (_a = simpleChanges.caseQueriesCollection) === null || _a === void 0 ? void 0 : _a.currentValue;
|
|
105
|
+
if (currentCaseQueriesCollection) {
|
|
106
|
+
this.queryListData = new QueryListData(currentCaseQueriesCollection);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
sortTable(col) {
|
|
110
|
+
switch (col.displayName) {
|
|
111
|
+
case 'Last submission date':
|
|
112
|
+
case 'Last response date': {
|
|
113
|
+
this.sortDate(col);
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
default: {
|
|
117
|
+
this.sort(col);
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
getAriaSortHeaderValue(col) {
|
|
123
|
+
switch (col.sortOrder) {
|
|
124
|
+
case SortOrder.ASCENDING: {
|
|
125
|
+
return 'ascending';
|
|
126
|
+
}
|
|
127
|
+
case SortOrder.DESCENDING: {
|
|
128
|
+
return 'descending';
|
|
129
|
+
}
|
|
130
|
+
default: {
|
|
131
|
+
return 'none';
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
showDetails(query) {
|
|
136
|
+
this.selectedQuery.emit(query);
|
|
137
|
+
}
|
|
138
|
+
sort(col) {
|
|
139
|
+
if (col.sortOrder === SortOrder.ASCENDING) {
|
|
140
|
+
this.queryListData.queries.sort((a, b) => (a[col.name] < b[col.name]) ? 1 : -1);
|
|
141
|
+
this.displayedColumns.forEach((c) => c.sortOrder = SortOrder.UNSORTED);
|
|
142
|
+
col.sortOrder = SortOrder.DESCENDING;
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
this.queryListData.queries.sort((a, b) => (a[col.name] > b[col.name]) ? 1 : -1);
|
|
146
|
+
this.displayedColumns.forEach((c) => c.sortOrder = SortOrder.UNSORTED);
|
|
147
|
+
col.sortOrder = SortOrder.ASCENDING;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
sortDate(col) {
|
|
151
|
+
if (col.sortOrder === SortOrder.ASCENDING) {
|
|
152
|
+
this.queryListData.queries.sort((a, b) => b[col.name] - a[col.name]);
|
|
153
|
+
this.displayedColumns.forEach((c) => c.sortOrder = SortOrder.UNSORTED);
|
|
154
|
+
col.sortOrder = SortOrder.DESCENDING;
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
this.queryListData.queries.sort((a, b) => a[col.name] - b[col.name]);
|
|
158
|
+
this.displayedColumns.forEach((c) => c.sortOrder = SortOrder.UNSORTED);
|
|
159
|
+
col.sortOrder = SortOrder.ASCENDING;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
QueryListComponent.ɵfac = function QueryListComponent_Factory(t) { return new (t || QueryListComponent)(); };
|
|
164
|
+
QueryListComponent.ɵcmp = 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"], [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) {
|
|
165
|
+
i0.ɵɵtemplate(0, QueryListComponent_ng_container_0_Template, 10, 3, "ng-container", 0);
|
|
166
|
+
} if (rf & 2) {
|
|
167
|
+
i0.ɵɵproperty("ngIf", ctx.queryListData);
|
|
168
|
+
} }, directives: [i1.NgIf, i1.NgForOf], pipes: [i2.RpxTranslatePipe, i1.DatePipe], styles: ["@charset \"UTF-8\";.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-left:10px}.query-list__row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{padding-right:10px}.query-list__cell--first[_ngcontent-%COMP%]{width:33%}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%], [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:hover{background-color:transparent;border-width:0;box-shadow:0 0 0 0;color:#000;cursor:pointer;font-family:inherit;font-weight:inherit;padding:0 10px 0 0;position:relative;text-align:inherit;font-size:1em;margin:0}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:focus, [aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover:focus{background-color:#fd0;color:#000;box-shadow:0 -2px #fd0,0 4px #000;outline:none}[aria-sort][_ngcontent-%COMP%]:first-child button[_ngcontent-%COMP%]{right:auto}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:\" \u25BC\";position:absolute;right:-1px;top:9px;font-size:.5em}[aria-sort][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";position:absolute;right:-1px;top:1px;font-size:.5em}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before, [aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:before{content:none}[aria-sort=ascending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25B2\";font-size:.8em;position:absolute;right:-5px;top:2px}[aria-sort=descending][_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:\" \u25BC\";font-size:.8em;position:absolute;right:-5px;top:2px}"] });
|
|
169
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(QueryListComponent, [{
|
|
170
|
+
type: Component,
|
|
171
|
+
args: [{
|
|
172
|
+
selector: 'ccd-query-list',
|
|
173
|
+
templateUrl: './query-list.component.html',
|
|
174
|
+
styleUrls: ['./query-list.component.scss']
|
|
175
|
+
}]
|
|
176
|
+
}], null, { caseQueriesCollection: [{
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