@hmcts/ccd-case-ui-toolkit 5.0.6-angular11-upgrade → 5.0.9-angular11-upgrade
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 +25692 -5025
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -16
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/activity/activity-banner/activity-banner.component.js +42 -0
- package/esm2015/lib/shared/components/activity/activity-banner/index.js +2 -0
- package/esm2015/lib/shared/components/activity/activity-icon/activity-icon.component.js +35 -0
- package/esm2015/lib/shared/components/activity/activity-icon/index.js +2 -0
- package/esm2015/lib/shared/components/activity/activity.component.js +150 -0
- package/esm2015/lib/shared/components/activity/activity.module.js +53 -0
- package/esm2015/lib/shared/components/activity/index.js +5 -0
- package/esm2015/lib/shared/components/case-editor/case-create/case-create.component.js +94 -0
- package/esm2015/lib/shared/components/case-editor/case-create/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +113 -0
- package/esm2015/lib/shared/components/case-editor/case-edit/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +131 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.js +146 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-form/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page-text.enum.js +11 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +654 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-page/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +759 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +185 -0
- package/esm2015/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.js +89 -0
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.js +72 -0
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.js +157 -0
- package/esm2015/lib/shared/components/case-editor/case-event-completion/index.js +4 -0
- package/esm2015/lib/shared/components/case-editor/case-progress/case-progress.component.js +85 -0
- package/esm2015/lib/shared/components/case-editor/case-progress/index.js +2 -0
- package/esm2015/lib/shared/components/case-editor/domain/event-completion-params.model.js +2 -0
- package/esm2015/lib/shared/components/case-editor/domain/event-completion-portal-types.model.js +6 -0
- package/esm2015/lib/shared/components/case-editor/editor.routing.js +31 -0
- package/esm2015/lib/shared/components/case-editor/index.js +13 -0
- package/esm2015/lib/shared/components/case-editor/services/case-edit-wizard.guard.js +92 -0
- package/esm2015/lib/shared/components/case-editor/services/case-worker.service.js +32 -0
- package/esm2015/lib/shared/components/case-editor/services/convert-href-to-router.service.js +41 -0
- package/esm2015/lib/shared/components/case-editor/services/event-completion-state-machine.service.js +162 -0
- package/esm2015/lib/shared/components/case-editor/services/event-trigger.service.js +20 -0
- package/esm2015/lib/shared/components/case-editor/services/index.js +12 -0
- package/esm2015/lib/shared/components/case-editor/services/judicial-worker.service.js +32 -0
- package/esm2015/lib/shared/components/case-editor/services/page-validation.service.js +50 -0
- package/esm2015/lib/shared/components/case-editor/services/wizard-factory.service.js +7 -0
- package/esm2015/lib/shared/components/case-header/case-header.component.js +65 -0
- package/esm2015/lib/shared/components/case-header/case-header.module.js +35 -0
- package/esm2015/lib/shared/components/case-header/index.js +3 -0
- package/esm2015/lib/shared/components/case-history/case-history.component.js +264 -0
- package/esm2015/lib/shared/components/case-history/case-history.module.js +52 -0
- package/esm2015/lib/shared/components/case-history/domain/case-history.model.js +28 -0
- package/esm2015/lib/shared/components/case-history/index.js +3 -0
- package/esm2015/lib/shared/components/case-history/services/case-history.service.js +40 -0
- package/esm2015/lib/shared/components/case-list/case-list.component.js +370 -0
- package/esm2015/lib/shared/components/case-list/case-list.module.js +45 -0
- package/esm2015/lib/shared/components/case-list/index.js +3 -0
- package/esm2015/lib/shared/components/case-list-filters/case-list-filters.component.js +57 -0
- package/esm2015/lib/shared/components/case-list-filters/case-list-filters.module.js +59 -0
- package/esm2015/lib/shared/components/case-list-filters/index.js +3 -0
- package/esm2015/lib/shared/components/case-timeline/case-timeline.component.js +118 -0
- package/esm2015/lib/shared/components/case-timeline/case-timeline.module.js +46 -0
- package/esm2015/lib/shared/components/case-timeline/index.js +3 -0
- package/esm2015/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.js +195 -0
- package/esm2015/lib/shared/components/case-viewer/case-basic-access-view/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.js +307 -0
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.js +20 -0
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/models/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.js +64 -0
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-success/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.js +120 -0
- package/esm2015/lib/shared/components/case-viewer/case-event-trigger/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +545 -0
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.js +63 -0
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-reject/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.js +258 -0
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.js +18 -0
- package/esm2015/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.js +195 -0
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.js +11 -0
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/models/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.js +60 -0
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-success/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-view/case-view.component.js +100 -0
- package/esm2015/lib/shared/components/case-viewer/case-view/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/case-viewer.component.js +129 -0
- package/esm2015/lib/shared/components/case-viewer/case-viewer.module.js +155 -0
- package/esm2015/lib/shared/components/case-viewer/index.js +14 -0
- package/esm2015/lib/shared/components/case-viewer/printer/case-printer.component.js +111 -0
- package/esm2015/lib/shared/components/case-viewer/printer/index.js +4 -0
- package/esm2015/lib/shared/components/case-viewer/printer/pipes/index.js +2 -0
- package/esm2015/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.js +60 -0
- package/esm2015/lib/shared/components/case-viewer/services/case.resolver.js +110 -0
- package/esm2015/lib/shared/components/case-viewer/services/event-trigger.resolver.js +64 -0
- package/esm2015/lib/shared/components/case-viewer/services/index.js +3 -0
- package/esm2015/lib/shared/components/case-viewer/viewer.routing.js +127 -0
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters-selection.model.js +8 -0
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.component.js +257 -0
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.module.js +42 -0
- package/esm2015/lib/shared/components/create-case-filters/index.js +4 -0
- package/esm2015/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.js +57 -0
- package/esm2015/lib/shared/components/dialogs/delete-or-cancel-dialog/index.js +2 -0
- package/esm2015/lib/shared/components/dialogs/dialogs.module.js +49 -0
- package/esm2015/lib/shared/components/dialogs/document-dialog/index.js +2 -0
- package/esm2015/lib/shared/components/dialogs/index.js +6 -0
- package/esm2015/lib/shared/components/dialogs/remove-dialog/index.js +2 -0
- package/esm2015/lib/shared/components/dialogs/save-or-discard-dialog/index.js +2 -0
- package/esm2015/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.js +61 -0
- package/esm2015/lib/shared/components/error/callback-errors.component.js +145 -0
- package/esm2015/lib/shared/components/error/domain/error-context.js +3 -0
- package/esm2015/lib/shared/components/error/domain/index.js +2 -0
- package/esm2015/lib/shared/components/error/errors.module.js +31 -0
- package/esm2015/lib/shared/components/error/index.js +4 -0
- package/esm2015/lib/shared/components/error-message/error-message.component.js +51 -0
- package/esm2015/lib/shared/components/error-message/error-message.module.js +39 -0
- package/esm2015/lib/shared/components/error-message/index.js +3 -0
- package/esm2015/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.js +55 -0
- package/esm2015/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.js +52 -0
- package/esm2015/lib/shared/components/event-start/components/task-assigned/task-assigned.component.js +104 -0
- package/esm2015/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.js +60 -0
- package/esm2015/lib/shared/components/event-start/components/task-conflict/task-conflict.component.js +54 -0
- package/esm2015/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.js +52 -0
- package/esm2015/lib/shared/components/event-start/event-guard/event-start.guard.js +103 -0
- package/esm2015/lib/shared/components/event-start/event-start.component.js +52 -0
- package/esm2015/lib/shared/components/event-start/event-start.module.js +69 -0
- package/esm2015/lib/shared/components/event-start/index.js +10 -0
- package/esm2015/lib/shared/components/event-start/models/event-start-state-machine-context.model.js +2 -0
- package/esm2015/lib/shared/components/event-start/models/event-start-states-enum.model.js +16 -0
- package/esm2015/lib/shared/components/event-start/models/index.js +3 -0
- package/esm2015/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.js +29 -0
- package/esm2015/lib/shared/components/event-start/services/event-start-state-machine.service.js +168 -0
- package/esm2015/lib/shared/components/event-start/services/index.js +2 -0
- package/esm2015/lib/shared/components/event-trigger/event-trigger.component.js +108 -0
- package/esm2015/lib/shared/components/event-trigger/event-trigger.module.js +35 -0
- package/esm2015/lib/shared/components/event-trigger/index.js +3 -0
- package/esm2015/lib/shared/components/index.js +20 -0
- package/esm2015/lib/shared/components/loading-spinner/index.js +2 -0
- package/esm2015/lib/shared/components/loading-spinner/loading-spinner.component.js +33 -0
- package/esm2015/lib/shared/components/pagination/index.js +3 -0
- package/esm2015/lib/shared/components/pagination/pagination.component.js +255 -0
- package/esm2015/lib/shared/components/pagination/pagination.module.js +33 -0
- package/esm2015/lib/shared/components/palette/address/index.js +3 -0
- package/esm2015/lib/shared/components/palette/case-link/index.js +3 -0
- package/esm2015/lib/shared/components/palette/complex/index.js +1 -7
- package/esm2015/lib/shared/components/palette/complex/write-complex-field.component.js +2 -2
- package/esm2015/lib/shared/components/palette/index.js +32 -0
- package/esm2015/lib/shared/components/palette/palette.module.js +16 -27
- package/esm2015/lib/shared/components/search-result/index.js +3 -0
- package/esm2015/lib/shared/components/search-result/search-result.component.js +845 -0
- package/esm2015/lib/shared/components/search-result/search-result.module.js +67 -0
- package/esm2015/lib/shared/components/workbasket-filters/index.js +3 -0
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +448 -0
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.module.js +60 -0
- package/esm2015/lib/shared/domain/case-view/role-request.model.js +1 -1
- package/esm2015/lib/shared/domain/work-allocation/case-worker.model.js +2 -0
- package/esm2015/lib/shared/domain/work-allocation/judicial-worker.model.js +2 -0
- package/esm2015/lib/shared/index.js +2 -1
- package/esm2015/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.js +29 -0
- package/esm2015/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.js +29 -0
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +154 -0
- package/esm2015/lib/shared/pipes/complex/ccd-tab-fields.pipe.js +31 -0
- package/esm2015/lib/shared/pipes/complex/cdd-page-fields.pipe.js +39 -0
- package/esm2015/lib/shared/pipes/complex/fields-filter.pipe.js +103 -0
- package/esm2015/lib/shared/pipes/complex/index.js +7 -0
- package/esm2015/lib/shared/pipes/index.js +3 -2
- package/esm2015/lib/shared/pipes/pipes.module.js +26 -9
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +22295 -4295
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/activity/activity-banner/activity-banner.component.d.ts +12 -0
- package/lib/shared/components/activity/activity-banner/activity-banner.component.d.ts.map +1 -0
- package/lib/shared/components/activity/activity-banner/index.d.ts +2 -0
- package/lib/shared/components/activity/activity-banner/index.d.ts.map +1 -0
- package/lib/shared/components/activity/activity-icon/activity-icon.component.d.ts +11 -0
- package/lib/shared/components/activity/activity-icon/activity-icon.component.d.ts.map +1 -0
- package/lib/shared/components/activity/activity-icon/index.d.ts +2 -0
- package/lib/shared/components/activity/activity-icon/index.d.ts.map +1 -0
- package/lib/shared/components/activity/activity.component.d.ts +32 -0
- package/lib/shared/components/activity/activity.component.d.ts.map +1 -0
- package/lib/shared/components/activity/activity.module.d.ts +12 -0
- package/lib/shared/components/activity/activity.module.d.ts.map +1 -0
- package/lib/shared/components/activity/index.d.ts +5 -0
- package/lib/shared/components/activity/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-create/case-create.component.d.ts +33 -0
- package/lib/shared/components/case-editor/case-create/case-create.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-create/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-create/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +50 -0
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts +26 -0
- package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-confirm/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit-confirm/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.d.ts +26 -0
- package/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-form/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit-form/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page-text.enum.d.ts +10 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page-text.enum.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +100 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-page/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit-page/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +123 -0
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-submit/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-edit-submit/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-editor.module.d.ts +27 -0
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.d.ts +31 -0
- package/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.d.ts +11 -0
- 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 -0
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts +32 -0
- 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 -0
- package/lib/shared/components/case-editor/case-event-completion/index.d.ts +4 -0
- package/lib/shared/components/case-editor/case-event-completion/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-progress/case-progress.component.d.ts +30 -0
- package/lib/shared/components/case-editor/case-progress/case-progress.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-progress/index.d.ts +2 -0
- package/lib/shared/components/case-editor/case-progress/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/event-completion-params.model.d.ts +7 -0
- package/lib/shared/components/case-editor/domain/event-completion-params.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/event-completion-portal-types.model.d.ts +5 -0
- package/lib/shared/components/case-editor/domain/event-completion-portal-types.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/editor.routing.d.ts +3 -0
- package/lib/shared/components/case-editor/editor.routing.d.ts.map +1 -0
- package/lib/shared/components/case-editor/index.d.ts +13 -0
- package/lib/shared/components/case-editor/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/case-edit-wizard.guard.d.ts +23 -0
- package/lib/shared/components/case-editor/services/case-edit-wizard.guard.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/case-worker.service.d.ts +16 -0
- package/lib/shared/components/case-editor/services/case-worker.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/convert-href-to-router.service.d.ts +14 -0
- package/lib/shared/components/case-editor/services/convert-href-to-router.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/event-completion-state-machine.service.d.ts +33 -0
- package/lib/shared/components/case-editor/services/event-completion-state-machine.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/event-trigger.service.d.ts +10 -0
- package/lib/shared/components/case-editor/services/event-trigger.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/index.d.ts +12 -0
- package/lib/shared/components/case-editor/services/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/judicial-worker.service.d.ts +16 -0
- package/lib/shared/components/case-editor/services/judicial-worker.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/page-validation.service.d.ts +17 -0
- package/lib/shared/components/case-editor/services/page-validation.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/wizard-factory.service.d.ts +6 -0
- package/lib/shared/components/case-editor/services/wizard-factory.service.d.ts.map +1 -0
- package/lib/shared/components/case-header/case-header.component.d.ts +15 -0
- package/lib/shared/components/case-header/case-header.component.d.ts.map +1 -0
- package/lib/shared/components/case-header/case-header.module.d.ts +11 -0
- package/lib/shared/components/case-header/case-header.module.d.ts.map +1 -0
- package/lib/shared/components/case-header/index.d.ts +3 -0
- package/lib/shared/components/case-header/index.d.ts.map +1 -0
- package/lib/shared/components/case-history/case-history.component.d.ts +33 -0
- package/lib/shared/components/case-history/case-history.component.d.ts.map +1 -0
- package/lib/shared/components/case-history/case-history.module.d.ts +14 -0
- package/lib/shared/components/case-history/case-history.module.d.ts.map +1 -0
- package/lib/shared/components/case-history/domain/case-history.model.d.ts +16 -0
- package/lib/shared/components/case-history/domain/case-history.model.d.ts.map +1 -0
- package/lib/shared/components/case-history/index.d.ts +3 -0
- package/lib/shared/components/case-history/index.d.ts.map +1 -0
- package/lib/shared/components/case-history/services/case-history.service.d.ts +17 -0
- package/lib/shared/components/case-history/services/case-history.service.d.ts.map +1 -0
- package/lib/shared/components/case-list/case-list.component.d.ts +47 -0
- package/lib/shared/components/case-list/case-list.component.d.ts.map +1 -0
- package/lib/shared/components/case-list/case-list.module.d.ts +13 -0
- package/lib/shared/components/case-list/case-list.module.d.ts.map +1 -0
- package/lib/shared/components/case-list/index.d.ts +3 -0
- package/lib/shared/components/case-list/index.d.ts.map +1 -0
- package/lib/shared/components/case-list-filters/case-list-filters.component.d.ts +19 -0
- package/lib/shared/components/case-list-filters/case-list-filters.component.d.ts.map +1 -0
- package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts +13 -0
- package/lib/shared/components/case-list-filters/case-list-filters.module.d.ts.map +1 -0
- package/lib/shared/components/case-list-filters/index.d.ts +3 -0
- package/lib/shared/components/case-list-filters/index.d.ts.map +1 -0
- package/lib/shared/components/case-timeline/case-timeline.component.d.ts +27 -0
- package/lib/shared/components/case-timeline/case-timeline.component.d.ts.map +1 -0
- package/lib/shared/components/case-timeline/case-timeline.module.d.ts +13 -0
- package/lib/shared/components/case-timeline/case-timeline.module.d.ts.map +1 -0
- package/lib/shared/components/case-timeline/index.d.ts +3 -0
- package/lib/shared/components/case-timeline/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.d.ts +19 -0
- package/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-basic-access-view/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-basic-access-view/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.d.ts +40 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.d.ts +17 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/models/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-challenged-access-request/models/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts +12 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-challenged-access-success/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts +41 -0
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-event-trigger/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-event-trigger/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +90 -0
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-full-access-view/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-full-access-view/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts +14 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-reject/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.d.ts +49 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.d.ts +15 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.d.ts +33 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.d.ts +9 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/models/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-specific-access-request/models/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.d.ts +12 -0
- package/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-specific-access-success/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-specific-access-success/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-view/case-view.component.d.ts +32 -0
- package/lib/shared/components/case-viewer/case-view/case-view.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-view/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/case-view/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-viewer.component.d.ts +32 -0
- package/lib/shared/components/case-viewer/case-viewer.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts +36 -0
- package/lib/shared/components/case-viewer/case-viewer.module.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/index.d.ts +14 -0
- package/lib/shared/components/case-viewer/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/printer/case-printer.component.d.ts +24 -0
- package/lib/shared/components/case-viewer/printer/case-printer.component.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/printer/index.d.ts +4 -0
- package/lib/shared/components/case-viewer/printer/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/printer/pipes/index.d.ts +2 -0
- package/lib/shared/components/case-viewer/printer/pipes/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.d.ts +24 -0
- package/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts +29 -0
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts +26 -0
- package/lib/shared/components/case-viewer/services/event-trigger.resolver.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/services/index.d.ts +3 -0
- package/lib/shared/components/case-viewer/services/index.d.ts.map +1 -0
- package/lib/shared/components/case-viewer/viewer.routing.d.ts +3 -0
- package/lib/shared/components/case-viewer/viewer.routing.d.ts.map +1 -0
- package/lib/shared/components/create-case-filters/create-case-filters-selection.model.d.ts +7 -0
- package/lib/shared/components/create-case-filters/create-case-filters-selection.model.d.ts.map +1 -0
- package/lib/shared/components/create-case-filters/create-case-filters.component.d.ts +57 -0
- package/lib/shared/components/create-case-filters/create-case-filters.component.d.ts.map +1 -0
- package/lib/shared/components/create-case-filters/create-case-filters.module.d.ts +12 -0
- package/lib/shared/components/create-case-filters/create-case-filters.module.d.ts.map +1 -0
- package/lib/shared/components/create-case-filters/index.d.ts +4 -0
- package/lib/shared/components/create-case-filters/index.d.ts.map +1 -0
- package/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.d.ts +12 -0
- package/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.d.ts.map +1 -0
- package/lib/shared/components/dialogs/delete-or-cancel-dialog/index.d.ts +2 -0
- package/lib/shared/components/dialogs/delete-or-cancel-dialog/index.d.ts.map +1 -0
- package/lib/shared/components/dialogs/dialogs.module.d.ts +13 -0
- package/lib/shared/components/dialogs/dialogs.module.d.ts.map +1 -0
- package/lib/shared/components/dialogs/document-dialog/index.d.ts +2 -0
- package/lib/shared/components/dialogs/document-dialog/index.d.ts.map +1 -0
- package/lib/shared/components/dialogs/index.d.ts +6 -0
- package/lib/shared/components/dialogs/index.d.ts.map +1 -0
- package/lib/shared/components/dialogs/remove-dialog/index.d.ts +2 -0
- package/lib/shared/components/dialogs/remove-dialog/index.d.ts.map +1 -0
- package/lib/shared/components/dialogs/save-or-discard-dialog/index.d.ts +2 -0
- package/lib/shared/components/dialogs/save-or-discard-dialog/index.d.ts.map +1 -0
- package/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.d.ts +13 -0
- package/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.d.ts.map +1 -0
- package/lib/shared/components/error/callback-errors.component.d.ts +25 -0
- package/lib/shared/components/error/callback-errors.component.d.ts.map +1 -0
- package/lib/shared/components/error/domain/error-context.d.ts +5 -0
- package/lib/shared/components/error/domain/error-context.d.ts.map +1 -0
- package/lib/shared/components/error/domain/index.d.ts +2 -0
- package/lib/shared/components/error/domain/index.d.ts.map +1 -0
- package/lib/shared/components/error/errors.module.d.ts +10 -0
- package/lib/shared/components/error/errors.module.d.ts.map +1 -0
- package/lib/shared/components/error/index.d.ts +4 -0
- package/lib/shared/components/error/index.d.ts.map +1 -0
- package/lib/shared/components/error-message/error-message.component.d.ts +8 -0
- package/lib/shared/components/error-message/error-message.component.d.ts.map +1 -0
- package/lib/shared/components/error-message/error-message.module.d.ts +12 -0
- package/lib/shared/components/error-message/error-message.module.d.ts.map +1 -0
- package/lib/shared/components/error-message/index.d.ts +3 -0
- package/lib/shared/components/error-message/index.d.ts.map +1 -0
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts +10 -0
- package/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts +10 -0
- package/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts +23 -0
- package/lib/shared/components/event-start/components/task-assigned/task-assigned.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.d.ts +7 -0
- package/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/components/task-conflict/task-conflict.component.d.ts +9 -0
- package/lib/shared/components/event-start/components/task-conflict/task-conflict.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts +10 -0
- package/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +20 -0
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -0
- package/lib/shared/components/event-start/event-start.component.d.ts +20 -0
- package/lib/shared/components/event-start/event-start.component.d.ts.map +1 -0
- package/lib/shared/components/event-start/event-start.module.d.ts +17 -0
- package/lib/shared/components/event-start/event-start.module.d.ts.map +1 -0
- package/lib/shared/components/event-start/index.d.ts +10 -0
- package/lib/shared/components/event-start/index.d.ts.map +1 -0
- package/lib/shared/components/event-start/models/event-start-state-machine-context.model.d.ts +13 -0
- package/lib/shared/components/event-start/models/event-start-state-machine-context.model.d.ts.map +1 -0
- package/lib/shared/components/event-start/models/event-start-states-enum.model.d.ts +15 -0
- package/lib/shared/components/event-start/models/event-start-states-enum.model.d.ts.map +1 -0
- package/lib/shared/components/event-start/models/index.d.ts +3 -0
- package/lib/shared/components/event-start/models/index.d.ts.map +1 -0
- package/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.d.ts +15 -0
- package/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.d.ts.map +1 -0
- package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts +40 -0
- package/lib/shared/components/event-start/services/event-start-state-machine.service.d.ts.map +1 -0
- package/lib/shared/components/event-start/services/index.d.ts +2 -0
- package/lib/shared/components/event-start/services/index.d.ts.map +1 -0
- package/lib/shared/components/event-trigger/event-trigger.component.d.ts +24 -0
- package/lib/shared/components/event-trigger/event-trigger.component.d.ts.map +1 -0
- package/lib/shared/components/event-trigger/event-trigger.module.d.ts +11 -0
- package/lib/shared/components/event-trigger/event-trigger.module.d.ts.map +1 -0
- package/lib/shared/components/event-trigger/index.d.ts +3 -0
- package/lib/shared/components/event-trigger/index.d.ts.map +1 -0
- package/lib/shared/components/index.d.ts +20 -0
- package/lib/shared/components/index.d.ts.map +1 -0
- package/lib/shared/components/loading-spinner/index.d.ts +2 -0
- package/lib/shared/components/loading-spinner/index.d.ts.map +1 -0
- package/lib/shared/components/loading-spinner/loading-spinner.component.d.ts +7 -0
- package/lib/shared/components/loading-spinner/loading-spinner.component.d.ts.map +1 -0
- package/lib/shared/components/pagination/index.d.ts +3 -0
- package/lib/shared/components/pagination/index.d.ts.map +1 -0
- package/lib/shared/components/pagination/pagination.component.d.ts +26 -0
- package/lib/shared/components/pagination/pagination.component.d.ts.map +1 -0
- package/lib/shared/components/pagination/pagination.module.d.ts +10 -0
- package/lib/shared/components/pagination/pagination.module.d.ts.map +1 -0
- package/lib/shared/components/palette/address/index.d.ts +3 -0
- package/lib/shared/components/palette/address/index.d.ts.map +1 -0
- package/lib/shared/components/palette/case-link/index.d.ts +3 -0
- package/lib/shared/components/palette/case-link/index.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/index.d.ts +0 -6
- package/lib/shared/components/palette/complex/index.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/write-complex-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +32 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.module.d.ts +87 -93
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/search-result/index.d.ts +3 -0
- package/lib/shared/components/search-result/index.d.ts.map +1 -0
- package/lib/shared/components/search-result/search-result.component.d.ts +111 -0
- package/lib/shared/components/search-result/search-result.component.d.ts.map +1 -0
- package/lib/shared/components/search-result/search-result.module.d.ts +16 -0
- package/lib/shared/components/search-result/search-result.module.d.ts.map +1 -0
- package/lib/shared/components/workbasket-filters/index.d.ts +3 -0
- package/lib/shared/components/workbasket-filters/index.d.ts.map +1 -0
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts +85 -0
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts.map +1 -0
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts +12 -0
- package/lib/shared/components/workbasket-filters/workbasket-filters.module.d.ts.map +1 -0
- package/lib/shared/domain/case-view/role-request.model.d.ts.map +1 -1
- package/lib/shared/domain/work-allocation/case-worker.model.d.ts +14 -0
- package/lib/shared/domain/work-allocation/case-worker.model.d.ts.map +1 -0
- package/lib/shared/domain/work-allocation/judicial-worker.model.d.ts +8 -0
- package/lib/shared/domain/work-allocation/judicial-worker.model.d.ts.map +1 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.d.ts.map +1 -1
- package/lib/shared/{components/palette → pipes}/complex/ccd-collection-table-value-case-fields.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.d.ts.map +1 -0
- package/lib/shared/{components/palette → pipes}/complex/ccd-cyapage-label-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.d.ts.map +1 -0
- package/lib/shared/{components/palette → pipes}/complex/ccd-read-fields-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -0
- package/lib/shared/{components/palette → pipes}/complex/ccd-tab-fields.pipe.d.ts +2 -2
- package/lib/shared/pipes/complex/ccd-tab-fields.pipe.d.ts.map +1 -0
- package/lib/shared/{components/palette → pipes}/complex/cdd-page-fields.pipe.d.ts +2 -2
- package/lib/shared/pipes/complex/cdd-page-fields.pipe.d.ts.map +1 -0
- package/lib/shared/{components/palette → pipes}/complex/fields-filter.pipe.d.ts +1 -1
- package/lib/shared/pipes/complex/fields-filter.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/complex/index.d.ts +7 -0
- package/lib/shared/pipes/complex/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 +7 -2
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.js +0 -29
- package/esm2015/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.js +0 -29
- package/esm2015/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.js +0 -154
- package/esm2015/lib/shared/components/palette/complex/ccd-tab-fields.pipe.js +0 -31
- package/esm2015/lib/shared/components/palette/complex/cdd-page-fields.pipe.js +0 -39
- package/esm2015/lib/shared/components/palette/complex/fields-filter.pipe.js +0 -103
- package/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.d.ts.map +0 -1
- package/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.d.ts.map +0 -1
- package/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.d.ts.map +0 -1
- package/lib/shared/components/palette/complex/ccd-tab-fields.pipe.d.ts.map +0 -1
- package/lib/shared/components/palette/complex/cdd-page-fields.pipe.d.ts.map +0 -1
- package/lib/shared/components/palette/complex/fields-filter.pipe.d.ts.map +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { plainToClass } from 'class-transformer';
|
|
4
|
+
import { throwError } from 'rxjs';
|
|
5
|
+
import { catchError, map } from 'rxjs/operators';
|
|
6
|
+
import { AbstractAppConfig } from '../../../../app.config';
|
|
7
|
+
import { HttpErrorService } from '../../../services/http/http-error.service';
|
|
8
|
+
import { HttpService } from '../../../services/http/http.service';
|
|
9
|
+
import { CaseHistory } from '../domain/case-history.model';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "../../../services/http/http.service";
|
|
12
|
+
import * as i2 from "../../../services/http/http-error.service";
|
|
13
|
+
import * as i3 from "../../../../app.config";
|
|
14
|
+
export class CaseHistoryService {
|
|
15
|
+
constructor(httpService, httpErrorService, appConfig) {
|
|
16
|
+
this.httpService = httpService;
|
|
17
|
+
this.httpErrorService = httpErrorService;
|
|
18
|
+
this.appConfig = appConfig;
|
|
19
|
+
}
|
|
20
|
+
get(caseId, eventId) {
|
|
21
|
+
const url = this.appConfig.getCaseHistoryUrl(caseId, eventId);
|
|
22
|
+
const headers = new HttpHeaders()
|
|
23
|
+
.set('experimental', 'true')
|
|
24
|
+
.set('Accept', CaseHistoryService.V2_MEDIATYPE_CASE_EVENT_VIEW)
|
|
25
|
+
.set('Content-Type', 'application/json');
|
|
26
|
+
return this.httpService
|
|
27
|
+
.get(url, { headers, observe: 'body' })
|
|
28
|
+
.pipe(map((caseHistory) => plainToClass(CaseHistory, caseHistory)), catchError((error) => {
|
|
29
|
+
this.httpErrorService.setError(error);
|
|
30
|
+
return throwError(error);
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
CaseHistoryService.V2_MEDIATYPE_CASE_EVENT_VIEW = 'application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-event-view.v2+json;charset=UTF-8';
|
|
35
|
+
CaseHistoryService.ɵfac = function CaseHistoryService_Factory(t) { return new (t || CaseHistoryService)(i0.ɵɵinject(i1.HttpService), i0.ɵɵinject(i2.HttpErrorService), i0.ɵɵinject(i3.AbstractAppConfig)); };
|
|
36
|
+
CaseHistoryService.ɵprov = i0.ɵɵdefineInjectable({ token: CaseHistoryService, factory: CaseHistoryService.ɵfac });
|
|
37
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryService, [{
|
|
38
|
+
type: Injectable
|
|
39
|
+
}], function () { return [{ type: i1.HttpService }, { type: i2.HttpErrorService }, { type: i3.AbstractAppConfig }]; }, null); })();
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oaXN0b3J5LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvY2FzZS1oaXN0b3J5L3NlcnZpY2VzL2Nhc2UtaGlzdG9yeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNuRCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQWMsVUFBVSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQzlDLE9BQU8sRUFBRSxVQUFVLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDakQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDN0UsT0FBTyxFQUFFLFdBQVc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XRjaEVycm9yKFxuICAgICAgICAoZXJyb3I6IGFueSk6IGFueSA9PiB7XG4gICAgICAgICAgdGhpcy5odHRwRXJyb3JTZXJ2aWNlLnNldEVycm9yKGVycm9yKTtcbiAgICAgICAgICByZXR1cm4gdGhyb3dFcnJvcihlcnJvcik7XG4gICAgICAgIH1cbiAgICAgICkpIGFzIE9ic2VydmFibGU8Q2FzZUhpc3Rvcnk+O1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import { formatDate } from '@angular/common';
|
|
2
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
3
|
+
import { BrowserService } from '../../services/browser/browser.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/browser/browser.service";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@angular/router";
|
|
8
|
+
import * as i4 from "../pagination/pagination.component";
|
|
9
|
+
import * as i5 from "ngx-pagination";
|
|
10
|
+
function CaseListComponent_th_5_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
12
|
+
i0.ɵɵelementStart(0, "th", 8);
|
|
13
|
+
i0.ɵɵelementStart(1, "div", 9);
|
|
14
|
+
i0.ɵɵelementStart(2, "input", 10);
|
|
15
|
+
i0.ɵɵlistener("change", function CaseListComponent_th_5_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.selectAll(); });
|
|
16
|
+
i0.ɵɵelementEnd();
|
|
17
|
+
i0.ɵɵelement(3, "label", 11);
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
22
|
+
i0.ɵɵadvance(2);
|
|
23
|
+
i0.ɵɵproperty("checked", ctx_r0.allOnPageSelected())("disabled", !ctx_r0.canAnyBeShared());
|
|
24
|
+
} }
|
|
25
|
+
function CaseListComponent_th_6_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵelementStart(0, "th", 8);
|
|
27
|
+
i0.ɵɵtext(1);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const h_r6 = ctx.$implicit;
|
|
31
|
+
i0.ɵɵadvance(1);
|
|
32
|
+
i0.ɵɵtextInterpolate(h_r6.header);
|
|
33
|
+
} }
|
|
34
|
+
function CaseListComponent_ng_container_8_th_2_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
36
|
+
i0.ɵɵelementStart(0, "th", 14);
|
|
37
|
+
i0.ɵɵelementStart(1, "div", 9);
|
|
38
|
+
i0.ɵɵelementStart(2, "input", 15);
|
|
39
|
+
i0.ɵɵlistener("change", function CaseListComponent_ng_container_8_th_2_Template_input_change_2_listener() { i0.ɵɵrestoreView(_r12); const c_r7 = i0.ɵɵnextContext().$implicit; const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.changeSelection(c_r7); })("keyup", function CaseListComponent_ng_container_8_th_2_Template_input_keyup_2_listener($event) { i0.ɵɵrestoreView(_r12); const c_r7 = i0.ɵɵnextContext().$implicit; const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.onKeyUp($event, c_r7); });
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
i0.ɵɵelement(3, "label", 16);
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
46
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
47
|
+
i0.ɵɵadvance(2);
|
|
48
|
+
i0.ɵɵpropertyInterpolate1("id", "select-", c_r7[ctx_r8.tableConfig.idField], "");
|
|
49
|
+
i0.ɵɵpropertyInterpolate1("name", "select-", c_r7[ctx_r8.tableConfig.idField], "");
|
|
50
|
+
i0.ɵɵproperty("checked", ctx_r8.isSelected(c_r7))("disabled", !ctx_r8.canBeShared(c_r7));
|
|
51
|
+
i0.ɵɵadvance(1);
|
|
52
|
+
i0.ɵɵpropertyInterpolate1("for", "select-", c_r7[ctx_r8.tableConfig.idField], "");
|
|
53
|
+
} }
|
|
54
|
+
function CaseListComponent_ng_container_8_ng_container_3_th_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementContainerStart(0);
|
|
56
|
+
i0.ɵɵtext(1);
|
|
57
|
+
i0.ɵɵelementContainerEnd();
|
|
58
|
+
} if (rf & 2) {
|
|
59
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
60
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
61
|
+
i0.ɵɵadvance(1);
|
|
62
|
+
i0.ɵɵtextInterpolate(c_r7[col_r16.key]);
|
|
63
|
+
} }
|
|
64
|
+
function CaseListComponent_ng_container_8_ng_container_3_th_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
+
i0.ɵɵelementContainerStart(0);
|
|
66
|
+
i0.ɵɵelementStart(1, "a", 19);
|
|
67
|
+
i0.ɵɵtext(2);
|
|
68
|
+
i0.ɵɵelementEnd();
|
|
69
|
+
i0.ɵɵelementContainerEnd();
|
|
70
|
+
} if (rf & 2) {
|
|
71
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
72
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
73
|
+
i0.ɵɵadvance(1);
|
|
74
|
+
i0.ɵɵproperty("routerLink", c_r7.routerLink);
|
|
75
|
+
i0.ɵɵadvance(1);
|
|
76
|
+
i0.ɵɵtextInterpolate(c_r7[col_r16.key]);
|
|
77
|
+
} }
|
|
78
|
+
function CaseListComponent_ng_container_8_ng_container_3_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
79
|
+
i0.ɵɵelementStart(0, "th", 14);
|
|
80
|
+
i0.ɵɵtemplate(1, CaseListComponent_ng_container_8_ng_container_3_th_1_ng_container_1_Template, 2, 1, "ng-container", 18);
|
|
81
|
+
i0.ɵɵtemplate(2, CaseListComponent_ng_container_8_ng_container_3_th_1_ng_container_2_Template, 3, 2, "ng-container", 18);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
} if (rf & 2) {
|
|
84
|
+
const col_r16 = i0.ɵɵnextContext().$implicit;
|
|
85
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
86
|
+
i0.ɵɵadvance(1);
|
|
87
|
+
i0.ɵɵproperty("ngIf", !col_r16.type || col_r16.type === "text");
|
|
88
|
+
i0.ɵɵadvance(1);
|
|
89
|
+
i0.ɵɵproperty("ngIf", col_r16.type === "link" && c_r7.routerLink);
|
|
90
|
+
} }
|
|
91
|
+
function CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵelementContainerStart(0);
|
|
93
|
+
i0.ɵɵelementStart(1, "a", 19);
|
|
94
|
+
i0.ɵɵtext(2);
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementContainerEnd();
|
|
97
|
+
} if (rf & 2) {
|
|
98
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
99
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
100
|
+
i0.ɵɵadvance(1);
|
|
101
|
+
i0.ɵɵproperty("routerLink", c_r7.routerLink);
|
|
102
|
+
i0.ɵɵadvance(1);
|
|
103
|
+
i0.ɵɵtextInterpolate(c_r7[col_r16.key]);
|
|
104
|
+
} }
|
|
105
|
+
function CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
+
i0.ɵɵelementContainerStart(0);
|
|
107
|
+
i0.ɵɵtext(1);
|
|
108
|
+
i0.ɵɵpipe(2, "currency");
|
|
109
|
+
i0.ɵɵelementContainerEnd();
|
|
110
|
+
} if (rf & 2) {
|
|
111
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
112
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
113
|
+
i0.ɵɵadvance(1);
|
|
114
|
+
i0.ɵɵtextInterpolate1("-", i0.ɵɵpipeBind2(2, 1, c_r7[col_r16.key], "GBP"), "");
|
|
115
|
+
} }
|
|
116
|
+
function CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
+
i0.ɵɵelementContainerStart(0);
|
|
118
|
+
i0.ɵɵtext(1);
|
|
119
|
+
i0.ɵɵelementContainerEnd();
|
|
120
|
+
} if (rf & 2) {
|
|
121
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
122
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
123
|
+
const ctx_r30 = i0.ɵɵnextContext();
|
|
124
|
+
i0.ɵɵadvance(1);
|
|
125
|
+
i0.ɵɵtextInterpolate(ctx_r30.formatDate(c_r7[col_r16.key]));
|
|
126
|
+
} }
|
|
127
|
+
function CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
128
|
+
i0.ɵɵelementContainerStart(0);
|
|
129
|
+
i0.ɵɵtext(1);
|
|
130
|
+
i0.ɵɵelementContainerEnd();
|
|
131
|
+
} if (rf & 2) {
|
|
132
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
133
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
134
|
+
const ctx_r31 = i0.ɵɵnextContext();
|
|
135
|
+
i0.ɵɵadvance(1);
|
|
136
|
+
i0.ɵɵtextInterpolate(ctx_r31.formatDateAtTime(c_r7[col_r16.key]));
|
|
137
|
+
} }
|
|
138
|
+
function CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
139
|
+
i0.ɵɵelementContainerStart(0);
|
|
140
|
+
i0.ɵɵtext(1);
|
|
141
|
+
i0.ɵɵelementContainerEnd();
|
|
142
|
+
} if (rf & 2) {
|
|
143
|
+
const col_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
144
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
145
|
+
i0.ɵɵadvance(1);
|
|
146
|
+
i0.ɵɵtextInterpolate(c_r7[col_r16.key]);
|
|
147
|
+
} }
|
|
148
|
+
function CaseListComponent_ng_container_8_ng_container_3_td_2_Template(rf, ctx) { if (rf & 1) {
|
|
149
|
+
i0.ɵɵelementStart(0, "td", 20);
|
|
150
|
+
i0.ɵɵtemplate(1, CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_1_Template, 3, 2, "ng-container", 18);
|
|
151
|
+
i0.ɵɵtemplate(2, CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_2_Template, 3, 4, "ng-container", 21);
|
|
152
|
+
i0.ɵɵtemplate(3, CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_3_Template, 2, 1, "ng-container", 21);
|
|
153
|
+
i0.ɵɵtemplate(4, CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_4_Template, 2, 1, "ng-container", 21);
|
|
154
|
+
i0.ɵɵtemplate(5, CaseListComponent_ng_container_8_ng_container_3_td_2_ng_container_5_Template, 2, 1, "ng-container", 22);
|
|
155
|
+
i0.ɵɵelementEnd();
|
|
156
|
+
} if (rf & 2) {
|
|
157
|
+
const col_r16 = i0.ɵɵnextContext().$implicit;
|
|
158
|
+
const c_r7 = i0.ɵɵnextContext().$implicit;
|
|
159
|
+
i0.ɵɵproperty("ngSwitch", col_r16 == null ? null : col_r16.type);
|
|
160
|
+
i0.ɵɵadvance(1);
|
|
161
|
+
i0.ɵɵproperty("ngIf", col_r16.type === "link" && c_r7.routerLink);
|
|
162
|
+
i0.ɵɵadvance(1);
|
|
163
|
+
i0.ɵɵproperty("ngSwitchCase", "money");
|
|
164
|
+
i0.ɵɵadvance(1);
|
|
165
|
+
i0.ɵɵproperty("ngSwitchCase", "date");
|
|
166
|
+
i0.ɵɵadvance(1);
|
|
167
|
+
i0.ɵɵproperty("ngSwitchCase", "dateAtTime");
|
|
168
|
+
} }
|
|
169
|
+
function CaseListComponent_ng_container_8_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
170
|
+
i0.ɵɵelementContainerStart(0);
|
|
171
|
+
i0.ɵɵtemplate(1, CaseListComponent_ng_container_8_ng_container_3_th_1_Template, 3, 2, "th", 13);
|
|
172
|
+
i0.ɵɵtemplate(2, CaseListComponent_ng_container_8_ng_container_3_td_2_Template, 6, 5, "td", 17);
|
|
173
|
+
i0.ɵɵelementContainerEnd();
|
|
174
|
+
} if (rf & 2) {
|
|
175
|
+
const isFirst_r17 = ctx.first;
|
|
176
|
+
const ctx_r9 = i0.ɵɵnextContext(2);
|
|
177
|
+
i0.ɵɵadvance(1);
|
|
178
|
+
i0.ɵɵproperty("ngIf", isFirst_r17 && ctx_r9.firstCellIsHeader);
|
|
179
|
+
i0.ɵɵadvance(1);
|
|
180
|
+
i0.ɵɵproperty("ngIf", !(isFirst_r17 && ctx_r9.firstCellIsHeader));
|
|
181
|
+
} }
|
|
182
|
+
function CaseListComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
183
|
+
i0.ɵɵelementContainerStart(0);
|
|
184
|
+
i0.ɵɵelementStart(1, "tr", 12);
|
|
185
|
+
i0.ɵɵtemplate(2, CaseListComponent_ng_container_8_th_2_Template, 4, 5, "th", 13);
|
|
186
|
+
i0.ɵɵtemplate(3, CaseListComponent_ng_container_8_ng_container_3_Template, 3, 2, "ng-container", 6);
|
|
187
|
+
i0.ɵɵelementEnd();
|
|
188
|
+
i0.ɵɵelementContainerEnd();
|
|
189
|
+
} if (rf & 2) {
|
|
190
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
191
|
+
i0.ɵɵadvance(2);
|
|
192
|
+
i0.ɵɵproperty("ngIf", ctx_r2.selectionEnabled);
|
|
193
|
+
i0.ɵɵadvance(1);
|
|
194
|
+
i0.ɵɵproperty("ngForOf", ctx_r2.tableConfig.columnConfigs);
|
|
195
|
+
} }
|
|
196
|
+
function CaseListComponent_ccd_pagination_10_Template(rf, ctx) { if (rf & 1) {
|
|
197
|
+
const _r46 = i0.ɵɵgetCurrentView();
|
|
198
|
+
i0.ɵɵelementStart(0, "ccd-pagination", 23);
|
|
199
|
+
i0.ɵɵlistener("pageChange", function CaseListComponent_ccd_pagination_10_Template_ccd_pagination_pageChange_0_listener($event) { i0.ɵɵrestoreView(_r46); const ctx_r45 = i0.ɵɵnextContext(); return ctx_r45.goToPage($event); });
|
|
200
|
+
i0.ɵɵelementEnd();
|
|
201
|
+
} }
|
|
202
|
+
const _c0 = function (a0, a1, a2) { return { itemsPerPage: a0, currentPage: a1, totalItems: a2 }; };
|
|
203
|
+
export class DateTimeFormatUtils {
|
|
204
|
+
static formatDateAtTime(date, is24Hour) {
|
|
205
|
+
return `${formatDate(date, 'dd MMM yyyy', 'en-GB')} at ${DateTimeFormatUtils.formatTime(date, is24Hour)}`;
|
|
206
|
+
}
|
|
207
|
+
static formatTime(date, is24Hour) {
|
|
208
|
+
return is24Hour ? formatDate(date, 'HH:mm', 'en-GB') : formatDate(date, 'h:mm a', 'en-GB').toLowerCase();
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
export class CaseListComponent {
|
|
212
|
+
constructor(browserService) {
|
|
213
|
+
this.browserService = browserService;
|
|
214
|
+
this.classes = '';
|
|
215
|
+
this.firstCellIsHeader = false;
|
|
216
|
+
this.tableConfig = {
|
|
217
|
+
idField: 'id',
|
|
218
|
+
columnConfigs: [
|
|
219
|
+
{ header: 'Date', key: 'date', type: 'text' },
|
|
220
|
+
{ header: 'Amount', key: 'amount' }
|
|
221
|
+
]
|
|
222
|
+
};
|
|
223
|
+
this.selectionEnabled = false;
|
|
224
|
+
this.selection = new EventEmitter();
|
|
225
|
+
this.selectedCases = [];
|
|
226
|
+
this.pageChange = new EventEmitter();
|
|
227
|
+
}
|
|
228
|
+
formatDate(date) {
|
|
229
|
+
return date ? formatDate(date, 'dd MMM yyyy', 'en-GB') : '-';
|
|
230
|
+
}
|
|
231
|
+
formatDateAtTime(date) {
|
|
232
|
+
return date ? DateTimeFormatUtils.formatDateAtTime(date, false) : '-';
|
|
233
|
+
}
|
|
234
|
+
canBeShared(c) {
|
|
235
|
+
return true;
|
|
236
|
+
}
|
|
237
|
+
canAnyBeShared() {
|
|
238
|
+
return this.cases.some(c => this.canBeShared(c));
|
|
239
|
+
}
|
|
240
|
+
selectAll() {
|
|
241
|
+
if (this.allOnPageSelected()) {
|
|
242
|
+
// All cases already selected, so unselect all on this page
|
|
243
|
+
this.selectedCases = [];
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
this.cases.forEach(aCase => {
|
|
247
|
+
if (!this.isSelected(aCase) && this.canBeShared(aCase)) {
|
|
248
|
+
this.selectedCases = [...this.selectedCases, aCase];
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
this.selection.emit(this.selectedCases);
|
|
253
|
+
}
|
|
254
|
+
changeSelection(aCase) {
|
|
255
|
+
if (this.isSelected(aCase)) {
|
|
256
|
+
this.selectedCases.forEach((aSelectedCase, i) => {
|
|
257
|
+
if (aCase.case_id === aSelectedCase.case_id) {
|
|
258
|
+
this.selectedCases = this.selectedCases.slice(0, i).concat(this.selectedCases.slice(i + 1));
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
if (this.canBeShared(aCase)) {
|
|
264
|
+
this.selectedCases = [...this.selectedCases, aCase];
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
this.selection.emit(this.selectedCases);
|
|
268
|
+
}
|
|
269
|
+
isSelected(aCase) {
|
|
270
|
+
if (this.selectedCases) {
|
|
271
|
+
for (let index = 0, length = this.selectedCases.length; index < length; index++) {
|
|
272
|
+
if (aCase.case_id === this.selectedCases[index].case_id) {
|
|
273
|
+
return true;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
return false;
|
|
278
|
+
}
|
|
279
|
+
allOnPageSelected() {
|
|
280
|
+
return !this.cases.some(aCase => !this.isSelected(aCase));
|
|
281
|
+
}
|
|
282
|
+
onKeyUp($event, aCase) {
|
|
283
|
+
if ($event.key === 'Space') {
|
|
284
|
+
if (this.browserService.isFirefox || this.browserService.isSafari || this.browserService.isIEOrEdge) {
|
|
285
|
+
this.changeSelection(aCase);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
goToPage(pageNumber) {
|
|
290
|
+
this.currentPageNo = pageNumber;
|
|
291
|
+
this.pageChange.emit(pageNumber);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
CaseListComponent.ɵfac = function CaseListComponent_Factory(t) { return new (t || CaseListComponent)(i0.ɵɵdirectiveInject(i1.BrowserService)); };
|
|
295
|
+
CaseListComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseListComponent, selectors: [["ccd-case-list"]], inputs: { classes: "classes", caption: "caption", firstCellIsHeader: "firstCellIsHeader", cases: "cases", tableConfig: "tableConfig", selectionEnabled: "selectionEnabled", selectedCases: "selectedCases", currentPageNo: "currentPageNo", totalResultsCount: "totalResultsCount", pageSize: "pageSize" }, outputs: { selection: "selection", pageChange: "pageChange" }, decls: 11, vars: 15, consts: [[1, "govuk-table__caption"], [1, "govuk-table__head"], [1, "govuk-table__row"], ["class", "govuk-table__header", "scope", "col", 4, "ngIf"], ["class", "govuk-table__header", "scope", "col", 4, "ngFor", "ngForOf"], [1, "govuk-table__body"], [4, "ngFor", "ngForOf"], [3, "pageChange", 4, "ngIf"], ["scope", "col", 1, "govuk-table__header"], [1, "govuk-checkboxes__item"], ["id", "select-all", "name", "select-all", "type", "checkbox", 1, "govuk-checkboxes__input", 3, "checked", "disabled", "change"], ["for", "select-all", 1, "govuk-label", "govuk-checkboxes__label"], ["data-selector", "table-row", 1, "govuk-table__row"], ["data-selector", "table-header", "class", "govuk-table__header", "scope", "row", 4, "ngIf"], ["data-selector", "table-header", "scope", "row", 1, "govuk-table__header"], ["type", "checkbox", 1, "govuk-checkboxes__input", 3, "id", "name", "checked", "disabled", "change", "keyup"], [1, "govuk-label", "govuk-checkboxes__label", 3, "for"], ["data-selector", "table-cell", "class", "govuk-table__cell", 3, "ngSwitch", 4, "ngIf"], [4, "ngIf"], [1, "govuk-link", 3, "routerLink"], ["data-selector", "table-cell", 1, "govuk-table__cell", 3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "pageChange"]], template: function CaseListComponent_Template(rf, ctx) { if (rf & 1) {
|
|
296
|
+
i0.ɵɵelementStart(0, "table");
|
|
297
|
+
i0.ɵɵelementStart(1, "caption", 0);
|
|
298
|
+
i0.ɵɵtext(2);
|
|
299
|
+
i0.ɵɵelementEnd();
|
|
300
|
+
i0.ɵɵelementStart(3, "thead", 1);
|
|
301
|
+
i0.ɵɵelementStart(4, "tr", 2);
|
|
302
|
+
i0.ɵɵtemplate(5, CaseListComponent_th_5_Template, 4, 2, "th", 3);
|
|
303
|
+
i0.ɵɵtemplate(6, CaseListComponent_th_6_Template, 2, 1, "th", 4);
|
|
304
|
+
i0.ɵɵelementEnd();
|
|
305
|
+
i0.ɵɵelementEnd();
|
|
306
|
+
i0.ɵɵelementStart(7, "tbody", 5);
|
|
307
|
+
i0.ɵɵtemplate(8, CaseListComponent_ng_container_8_Template, 4, 2, "ng-container", 6);
|
|
308
|
+
i0.ɵɵpipe(9, "paginate");
|
|
309
|
+
i0.ɵɵelementEnd();
|
|
310
|
+
i0.ɵɵelementEnd();
|
|
311
|
+
i0.ɵɵtemplate(10, CaseListComponent_ccd_pagination_10_Template, 1, 0, "ccd-pagination", 7);
|
|
312
|
+
} if (rf & 2) {
|
|
313
|
+
i0.ɵɵclassMap("govuk-table " + ctx.classes);
|
|
314
|
+
i0.ɵɵadvance(2);
|
|
315
|
+
i0.ɵɵtextInterpolate(ctx.caption);
|
|
316
|
+
i0.ɵɵadvance(3);
|
|
317
|
+
i0.ɵɵproperty("ngIf", ctx.selectionEnabled);
|
|
318
|
+
i0.ɵɵadvance(1);
|
|
319
|
+
i0.ɵɵproperty("ngForOf", ctx.tableConfig.columnConfigs);
|
|
320
|
+
i0.ɵɵadvance(2);
|
|
321
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(9, 8, ctx.cases, i0.ɵɵpureFunction3(11, _c0, ctx.pageSize, ctx.currentPageNo, ctx.totalResultsCount)));
|
|
322
|
+
i0.ɵɵadvance(2);
|
|
323
|
+
i0.ɵɵproperty("ngIf", ctx.totalResultsCount > ctx.pageSize);
|
|
324
|
+
} }, directives: [i2.NgIf, i2.NgForOf, i3.RouterLinkWithHref, i2.NgSwitch, i2.NgSwitchCase, i2.NgSwitchDefault, i4.PaginationComponent], pipes: [i5.PaginatePipe, i2.CurrencyPipe], styles: [""] });
|
|
325
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListComponent, [{
|
|
326
|
+
type: Component,
|
|
327
|
+
args: [{
|
|
328
|
+
selector: 'ccd-case-list',
|
|
329
|
+
templateUrl: './case-list.component.html',
|
|
330
|
+
styleUrls: ['./case-list.component.scss']
|
|
331
|
+
}]
|
|
332
|
+
}], function () { return [{ type: i1.BrowserService }]; }, { classes: [{
|
|
333
|
+
type: Input
|
|
334
|
+
}], caption: [{
|
|
335
|
+
type: Input
|
|
336
|
+
}], firstCellIsHeader: [{
|
|
337
|
+
type: Input
|
|
338
|
+
}], cases: [{
|
|
339
|
+
type: Input
|
|
340
|
+
}], tableConfig: [{
|
|
341
|
+
type: Input
|
|
342
|
+
}], selectionEnabled: [{
|
|
343
|
+
type: Input
|
|
344
|
+
}], selection: [{
|
|
345
|
+
type: Output
|
|
346
|
+
}], selectedCases: [{
|
|
347
|
+
type: Input
|
|
348
|
+
}], currentPageNo: [{
|
|
349
|
+
type: Input
|
|
350
|
+
}], totalResultsCount: [{
|
|
351
|
+
type: Input
|
|
352
|
+
}], pageSize: [{
|
|
353
|
+
type: Input
|
|
354
|
+
}], pageChange: [{
|
|
355
|
+
type: Output
|
|
356
|
+
}] }); })();
|
|
357
|
+
export class TableColumnConfig {
|
|
358
|
+
constructor() {
|
|
359
|
+
this.header = '';
|
|
360
|
+
this.key = '';
|
|
361
|
+
this.type = 'text';
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
export class TableConfig {
|
|
365
|
+
constructor() {
|
|
366
|
+
this.idField = '';
|
|
367
|
+
this.columnConfigs = [];
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWxpc3QvY2FzZS1saXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWxpc3QvY2FzZS1saXN0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3ZFLE9BQU8sR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SWY9XCJpc0ZpcnN0ICYmIGZpcnN0Q2VsbElzSGVhZGVyXCI+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiIWNvbC50eXBlIHx8IGNvbC50eXBlID09PSAndGV4dCdcIj57e2NbY29sLmtleV19fTwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbC50eXBlID09PSAnbGluaycgJiYgYy5yb3V0ZXJMaW5rXCI+XG4gICAgICAgICAgICAgIDxhIGNsYXNzPVwiZ292dWstbGlua1wiIFtyb3V0ZXJMaW5rXT1cImMucm91dGVyTGlua1wiPnt7Y1tjb2wua2V5XX19PC9hPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgPC90aD5cbiAgICAgICAgICA8dGQgZGF0YS1zZWxlY3Rvcj1cInRhYmxlLWNlbGxcIiBjbGFzcz1cImdvdnVrLXRhYmxlX19jZWxsXCIgKm5nSWY9XCIhKGlzRmlyc3QgJiYgZmlyc3RDZWxsSXNIZWFkZXIpXCIgW25nU3dpdGNoXT1cImNvbD8udHlwZVwiPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbC50eXBlID09PSAnbGluaycgJiYgYy5yb3V0ZXJMaW5rXCI+XG4gICAgICAgICAgICAgIDxhIGNsYXNzPVwiZ292dWstbGlua1wiIFtyb3V0ZXJMaW5rXT1cImMucm91dGVyTGlua1wiPnt7Y1tjb2wua2V5XX19PC9hPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaENhc2U9XCInbW9uZXknXCI+LXt7IGNbY29sLmtleV0gfCBjdXJyZW5jeTonR0JQJyB9fTwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hDYXNlPVwiJ2RhdGUnXCI+e3tmb3JtYXREYXRlKGNbY29sLmtleV0pfX08L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nU3dpdGNoQ2FzZT1cIidkYXRlQXRUaW1lJ1wiPnt7Zm9ybWF0RGF0ZUF0VGltZShjW2NvbC5rZXldKX19PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+e3tjW2NvbC5rZXldfX08L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICA8L3RkPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgIDwvdHI+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvdGJvZHk+XG48L3RhYmxlPlxuPGNjZC1wYWdpbmF0aW9uICpuZ0lmPVwidG90YWxSZXN1bHRzQ291bnQgPiBwYWdlU2l6ZVwiXG4gIChwYWdlQ2hhbmdlKT1cImdvVG9QYWdlKCRldmVudClcIiBcbj48L2NjZC1wYWdpbmF0aW9uPlxuIl19
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
import { NgxPaginationModule } from 'ngx-pagination';
|
|
6
|
+
import { BrowserService } from '../../services';
|
|
7
|
+
import { PaginationModule } from '../pagination/pagination.module';
|
|
8
|
+
import { CaseListComponent } from './case-list.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class CaseListModule {
|
|
11
|
+
}
|
|
12
|
+
CaseListModule.ɵfac = function CaseListModule_Factory(t) { return new (t || CaseListModule)(); };
|
|
13
|
+
CaseListModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseListModule });
|
|
14
|
+
CaseListModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
15
|
+
BrowserService
|
|
16
|
+
], imports: [[
|
|
17
|
+
CommonModule,
|
|
18
|
+
FormsModule,
|
|
19
|
+
RouterModule,
|
|
20
|
+
NgxPaginationModule,
|
|
21
|
+
PaginationModule
|
|
22
|
+
]] });
|
|
23
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CaseListModule, { declarations: [CaseListComponent], imports: [CommonModule,
|
|
24
|
+
FormsModule,
|
|
25
|
+
RouterModule,
|
|
26
|
+
NgxPaginationModule,
|
|
27
|
+
PaginationModule], exports: [CaseListComponent] }); })();
|
|
28
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListModule, [{
|
|
29
|
+
type: NgModule,
|
|
30
|
+
args: [{
|
|
31
|
+
imports: [
|
|
32
|
+
CommonModule,
|
|
33
|
+
FormsModule,
|
|
34
|
+
RouterModule,
|
|
35
|
+
NgxPaginationModule,
|
|
36
|
+
PaginationModule
|
|
37
|
+
],
|
|
38
|
+
declarations: [CaseListComponent],
|
|
39
|
+
exports: [CaseListComponent],
|
|
40
|
+
providers: [
|
|
41
|
+
BrowserService
|
|
42
|
+
]
|
|
43
|
+
}]
|
|
44
|
+
}], null, null); })();
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1saXN0Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWxpc3QvY2FzZS1saXN0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0F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SBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgUm91dGVyTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvcm91dGVyJztcbmltcG9ydCB7IE5neFBhZ2luYXRpb25Nb2R1bGUgfSBmcm9tICduZ3gtcGFnaW5hdGlvbic7XG5pbXBvcnQgeyBCcm93c2VyU2VydmljZSB9IGZyb20gJy4uLy4uL3NlcnZpY2VzJztcbmltcG9ydCB7IFBhZ2luYXRpb25Nb2R1bGUgfSBmcm9tICcuLi9wYWdpbmF0aW9uL3BhZ2luYXRpb24ubW9kdWxlJztcbmltcG9ydCB7IENhc2VMaXN0Q29tcG9uZW50IH0gZnJvbSAnLi9jYXNlLWxpc3QuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBGb3Jtc01vZHVsZSxcbiAgICBSb3V0ZXJNb2R1bGUsXG4gICAgTmd4UGFnaW5hdGlvbk1vZHVsZSxcbiAgICBQYWdpbmF0aW9uTW9kdWxlXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW0Nhc2VMaXN0Q29tcG9uZW50XSxcbiAgZXhwb3J0czogW0Nhc2VMaXN0Q29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbXG4gICAgQnJvd3NlclNlcnZpY2VcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBDYXNlTGlzdE1vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './case-list.component';
|
|
2
|
+
export * from './case-list.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvY2FzZS1saXN0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FzZS1saXN0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Nhc2UtbGlzdC5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { READ_ACCESS } from '../../domain/case-view/access-types.model';
|
|
3
|
+
import { DefinitionsService } from '../../services/definitions/definitions.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/definitions/definitions.service";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "../workbasket-filters/workbasket-filters.component";
|
|
8
|
+
function CaseListFiltersComponent_ccd_workbasket_filters_0_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
10
|
+
i0.ɵɵelementStart(0, "ccd-workbasket-filters", 1);
|
|
11
|
+
i0.ɵɵlistener("onApply", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_onApply_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.onWrapperApply($event); })("onReset", function CaseListFiltersComponent_ccd_workbasket_filters_0_Template_ccd_workbasket_filters_onReset_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onWrapperReset($event); });
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
15
|
+
i0.ɵɵproperty("jurisdictions", ctx_r0.jurisdictions)("defaults", ctx_r0.defaults);
|
|
16
|
+
} }
|
|
17
|
+
export class CaseListFiltersComponent {
|
|
18
|
+
constructor(definitionsService) {
|
|
19
|
+
this.definitionsService = definitionsService;
|
|
20
|
+
this.onApply = new EventEmitter();
|
|
21
|
+
this.onReset = new EventEmitter();
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this.isVisible = false;
|
|
25
|
+
this.definitionsService.getJurisdictions(READ_ACCESS)
|
|
26
|
+
.subscribe(jurisdictions => {
|
|
27
|
+
this.isVisible = jurisdictions.length > 0;
|
|
28
|
+
this.jurisdictions = jurisdictions;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
onWrapperApply(value) {
|
|
32
|
+
this.onApply.emit(value);
|
|
33
|
+
}
|
|
34
|
+
onWrapperReset(value) {
|
|
35
|
+
this.onReset.emit(value);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
CaseListFiltersComponent.ɵfac = function CaseListFiltersComponent_Factory(t) { return new (t || CaseListFiltersComponent)(i0.ɵɵdirectiveInject(i1.DefinitionsService)); };
|
|
39
|
+
CaseListFiltersComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseListFiltersComponent, selectors: [["ccd-case-list-filters"]], inputs: { defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls: 1, vars: 1, consts: [[3, "jurisdictions", "defaults", "onApply", "onReset", 4, "ngIf"], [3, "jurisdictions", "defaults", "onApply", "onReset"]], template: function CaseListFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, CaseListFiltersComponent_ccd_workbasket_filters_0_Template, 1, 2, "ccd-workbasket-filters", 0);
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx.isVisible);
|
|
43
|
+
} }, directives: [i2.NgIf, i3.WorkbasketFiltersComponent], encapsulation: 2 });
|
|
44
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListFiltersComponent, [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{
|
|
47
|
+
selector: 'ccd-case-list-filters',
|
|
48
|
+
templateUrl: './case-list-filters.component.html'
|
|
49
|
+
}]
|
|
50
|
+
}], function () { return [{ type: i1.DefinitionsService }]; }, { defaults: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], onApply: [{
|
|
53
|
+
type: Output
|
|
54
|
+
}], onReset: [{
|
|
55
|
+
type: Output
|
|
56
|
+
}] }); })();
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1saXN0LWZpbHRlcnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2Nhc2UtbGlzdC1maWx0ZXJzL2Nhc2UtbGlzdC1maWx0ZXJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWxpc3QtZmlsdGVycy9jYXNlLWxpc3QtZmlsdGVycy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUV4RSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxnREFBZ0QsQ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ular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { AlertService, DefinitionsModule, JurisdictionService, OrderService, WindowService, WorkbasketInputFilterService } from '../../services';
|
|
5
|
+
import { PaletteModule } from '../palette';
|
|
6
|
+
import { WorkbasketFiltersModule } from '../workbasket-filters';
|
|
7
|
+
import { CaseListFiltersComponent } from './case-list-filters.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class CaseListFiltersModule {
|
|
10
|
+
}
|
|
11
|
+
CaseListFiltersModule.ɵfac = function CaseListFiltersModule_Factory(t) { return new (t || CaseListFiltersModule)(); };
|
|
12
|
+
CaseListFiltersModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseListFiltersModule });
|
|
13
|
+
CaseListFiltersModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
14
|
+
WorkbasketInputFilterService,
|
|
15
|
+
OrderService,
|
|
16
|
+
JurisdictionService,
|
|
17
|
+
AlertService,
|
|
18
|
+
WindowService
|
|
19
|
+
], imports: [[
|
|
20
|
+
CommonModule,
|
|
21
|
+
FormsModule,
|
|
22
|
+
ReactiveFormsModule,
|
|
23
|
+
PaletteModule,
|
|
24
|
+
DefinitionsModule,
|
|
25
|
+
WorkbasketFiltersModule
|
|
26
|
+
]] });
|
|
27
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CaseListFiltersModule, { declarations: [CaseListFiltersComponent], imports: [CommonModule,
|
|
28
|
+
FormsModule,
|
|
29
|
+
ReactiveFormsModule,
|
|
30
|
+
PaletteModule,
|
|
31
|
+
DefinitionsModule,
|
|
32
|
+
WorkbasketFiltersModule], exports: [CaseListFiltersComponent] }); })();
|
|
33
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseListFiltersModule, [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
imports: [
|
|
37
|
+
CommonModule,
|
|
38
|
+
FormsModule,
|
|
39
|
+
ReactiveFormsModule,
|
|
40
|
+
PaletteModule,
|
|
41
|
+
DefinitionsModule,
|
|
42
|
+
WorkbasketFiltersModule
|
|
43
|
+
],
|
|
44
|
+
declarations: [
|
|
45
|
+
CaseListFiltersComponent,
|
|
46
|
+
],
|
|
47
|
+
exports: [
|
|
48
|
+
CaseListFiltersComponent,
|
|
49
|
+
],
|
|
50
|
+
providers: [
|
|
51
|
+
WorkbasketInputFilterService,
|
|
52
|
+
OrderService,
|
|
53
|
+
JurisdictionService,
|
|
54
|
+
AlertService,
|
|
55
|
+
WindowService
|
|
56
|
+
]
|
|
57
|
+
}]
|
|
58
|
+
}], null, null); })();
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1saXN0LWZpbHRlcnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2Nhc2UtbGlzdC1maWx0ZXJzL2Nhc2UtbGlzdC1maWx0ZXJzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbEUsT0FBTyxFQUFFLFlBQVksRUFBRSxpQkFBaUIsRUFBRSxtQkFBbUIsRUFBRSxZQUFZLEVBQUUsYUFBYSxFQUN0Riw0QkFBNEIsRUFBRSxNQUFNLGdCQUFnQixDQUFD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tcbiAgICAgICAgV29ya2Jhc2tldElucHV0RmlsdGVyU2VydmljZSxcbiAgICAgICAgT3JkZXJTZXJ2aWNlLFxuICAgICAgICBKdXJpc2RpY3Rpb25TZXJ2aWNlLFxuICAgICAgICBBbGVydFNlcnZpY2UsXG4gICAgICAgIFdpbmRvd1NlcnZpY2VcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIENhc2VMaXN0RmlsdGVyc01vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './case-list-filters.module';
|
|
2
|
+
export * from './case-list-filters.component';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvY2FzZS1saXN0LWZpbHRlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYXNlLWxpc3QtZmlsdGVycy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9jYXNlLWxpc3QtZmlsdGVycy5jb21wb25lbnQnO1xuIl19
|