@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,32 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { throwError } from 'rxjs';
|
|
3
|
+
import { catchError } from 'rxjs/operators';
|
|
4
|
+
import { AbstractAppConfig } from '../../../../app.config';
|
|
5
|
+
import { HttpErrorService } from '../../../services/http/http-error.service';
|
|
6
|
+
import { HttpService } from '../../../services/http/http.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../../services/http/http.service";
|
|
9
|
+
import * as i2 from "../../../../app.config";
|
|
10
|
+
import * as i3 from "../../../services/http/http-error.service";
|
|
11
|
+
export class JudicialworkerService {
|
|
12
|
+
constructor(http, appConfig, errorService) {
|
|
13
|
+
this.http = http;
|
|
14
|
+
this.appConfig = appConfig;
|
|
15
|
+
this.errorService = errorService;
|
|
16
|
+
}
|
|
17
|
+
getJudicialworkers(userIds, serviceId) {
|
|
18
|
+
const url = `${this.appConfig.getWorkAllocationApiUrl()}/getJudicialUsers`;
|
|
19
|
+
return this.http
|
|
20
|
+
.post(url, { userIds, services: [serviceId] })
|
|
21
|
+
.pipe(catchError(error => {
|
|
22
|
+
this.errorService.setError(error);
|
|
23
|
+
return throwError(error);
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
JudicialworkerService.ɵfac = function JudicialworkerService_Factory(t) { return new (t || JudicialworkerService)(i0.ɵɵinject(i1.HttpService), i0.ɵɵinject(i2.AbstractAppConfig), i0.ɵɵinject(i3.HttpErrorService)); };
|
|
28
|
+
JudicialworkerService.ɵprov = i0.ɵɵdefineInjectable({ token: JudicialworkerService, factory: JudicialworkerService.ɵfac });
|
|
29
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JudicialworkerService, [{
|
|
30
|
+
type: Injectable
|
|
31
|
+
}], function () { return [{ type: i1.HttpService }, { type: i2.AbstractAppConfig }, { type: i3.HttpErrorService }]; }, null); })();
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianVkaWNpYWwtd29ya2VyL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XRlIHJlYWRvbmx5IGh0dHA6IEh0dHBTZXJ2aWNlLFxuICAgIHByaXZhdGUgcmVhZG9ubHkgYXBwQ29uZmlnOiBBYnN0cmFjdEFwcENvbmZpZyxcbiAgICBwcml2YXRlIHJlYWRvbmx5IGVycm9yU2VydmljZTogSHR0cEVycm9yU2VydmljZVxuICApIHtcbiAgfVxuXG4gIHB1YmxpYyBnZXRKdWRpY2lhbHdvcmtlcnModXNlcklkczogc3RyaW5nW10sIHNlcnZpY2VJZDogc3RyaW5nKTogT2JzZXJ2YWJsZTxKdWRpY2lhbHdvcmtlcltdPiB7XG4gICAgY29uc3QgdXJsID0gYCR7dGhpcy5hcHBDb25maWcuZ2V0V29ya0FsbG9jYXRpb25BcGlVcmwoKX0vZ2V0SnVkaWNpYWxVc2Vyc2A7XG4gICAgcmV0dXJuIHRoaXMuaHR0cFxuICAgICAgLnBvc3QodXJsLCB7dXNlcklkcywgc2VydmljZXM6IFtzZXJ2aWNlSWRdfSlcbiAgICAgIC5waXBlKFxuICAgICAgICBjYXRjaEVycm9yKGVycm9yID0+IHtcbiAgICAgICAgICB0aGlzLmVycm9yU2VydmljZS5zZXRFcnJvcihlcnJvcik7XG4gICAgICAgICAgcmV0dXJuIHRocm93RXJyb3IoZXJyb3IpO1xuICAgICAgICB9KVxuICAgICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { ShowCondition } from '../../../directives/conditional-show/domain/conditional-show.model';
|
|
3
|
+
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../../services/case-fields/case-field.service";
|
|
6
|
+
export class PageValidationService {
|
|
7
|
+
constructor(caseFieldService) {
|
|
8
|
+
this.caseFieldService = caseFieldService;
|
|
9
|
+
}
|
|
10
|
+
isPageValid(page, editForm) {
|
|
11
|
+
return page.case_fields
|
|
12
|
+
.filter(caseField => !this.caseFieldService.isReadOnly(caseField))
|
|
13
|
+
.filter(caseField => !this.isHidden(caseField, editForm))
|
|
14
|
+
.every(caseField => {
|
|
15
|
+
const theControl = editForm.controls['data'].get(caseField.id);
|
|
16
|
+
return this.checkDocumentField(caseField, theControl) && this.checkOptionalField(caseField, theControl);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
isHidden(caseField, editForm, path) {
|
|
20
|
+
const formFields = editForm.getRawValue();
|
|
21
|
+
const condition = ShowCondition.getInstance(caseField.show_condition);
|
|
22
|
+
if (path && path.indexOf('_' + caseField.id + '_') === -1) {
|
|
23
|
+
path = `${path}${caseField.id}`;
|
|
24
|
+
}
|
|
25
|
+
return !condition.match(formFields.data, path);
|
|
26
|
+
}
|
|
27
|
+
checkDocumentField(caseField, theControl) {
|
|
28
|
+
if (caseField.field_type.id !== 'Document') {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
return !(this.checkMandatoryField(caseField, theControl));
|
|
32
|
+
}
|
|
33
|
+
checkOptionalField(caseField, theControl) {
|
|
34
|
+
if (!theControl) {
|
|
35
|
+
return this.caseFieldService.isOptional(caseField);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
return theControl.valid || theControl.disabled;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
checkMandatoryField(caseField, theControl) {
|
|
42
|
+
return this.caseFieldService.isMandatory(caseField) && theControl === null;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
PageValidationService.ɵfac = function PageValidationService_Factory(t) { return new (t || PageValidationService)(i0.ɵɵinject(i1.CaseFieldService)); };
|
|
46
|
+
PageValidationService.ɵprov = i0.ɵɵdefineInjectable({ token: PageValidationService, factory: PageValidationService.ɵfac });
|
|
47
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageValidationService, [{
|
|
48
|
+
type: Injectable
|
|
49
|
+
}], function () { return [{ type: i1.CaseFieldService }]; }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YXNlRmllbGQpICYmIHRoZUNvbnRyb2wgPT09IG51bGw7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Wizard } from '../domain/wizard.model';
|
|
2
|
+
export class WizardFactoryService {
|
|
3
|
+
create(eventTrigger) {
|
|
4
|
+
return new Wizard(eventTrigger.wizard_pages);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l6YXJkLWZhY3Rvcnkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWVkaXRvci9zZXJ2aWNlcy93aXphcmQtZmFjdG9yeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxNQUFNLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUVoRCxNQUFNLE9BQU8sb0JBQW9CO0lBQ3hCLE1BQU0sQ0FBQyxZQUE4QjtRQUMxQyxPQUFPLElBQUksTUFBTSxDQUFDLFlBQVksQ0FBQyxZQUFZLENBQUMsQ0FBQztJQUMvQyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDYXNlRXZlbnRUcmlnZ2VyIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL2Nhc2Utdmlldy9jYXNlLWV2ZW50LXRyaWdnZXIubW9kZWwnO1xuaW1wb3J0IHsgV2l6YXJkIH0gZnJvbSAnLi4vZG9tYWluL3dpemFyZC5tb2RlbCc7XG5cbmV4cG9ydCBjbGFzcyBXaXphcmRGYWN0b3J5U2VydmljZSB7XG4gIHB1YmxpYyBjcmVhdGUoZXZlbnRUcmlnZ2VyOiBDYXNlRXZlbnRUcmlnZ2VyKTogV2l6YXJkIHtcbiAgICByZXR1cm4gbmV3IFdpemFyZChldmVudFRyaWdnZXIud2l6YXJkX3BhZ2VzKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { CaseView } from '../../domain/case-view/case-view.model';
|
|
3
|
+
import { CaseField } from '../../domain/definition/case-field.model';
|
|
4
|
+
import { Draft } from '../../domain/draft.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "../palette/label/label-field.component";
|
|
8
|
+
import * as i3 from "../../pipes/case-reference/case-reference.pipe";
|
|
9
|
+
function CaseHeaderComponent_h1_0_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "h1", 2);
|
|
11
|
+
i0.ɵɵtext(1);
|
|
12
|
+
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
13
|
+
i0.ɵɵelementEnd();
|
|
14
|
+
} if (rf & 2) {
|
|
15
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
|
+
i0.ɵɵadvance(1);
|
|
17
|
+
i0.ɵɵtextInterpolate1("#", i0.ɵɵpipeBind1(2, 1, ctx_r0.caseDetails.case_id), "");
|
|
18
|
+
} }
|
|
19
|
+
function CaseHeaderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
21
|
+
i0.ɵɵelement(1, "ccd-label-field", 4);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
} if (rf & 2) {
|
|
24
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
25
|
+
i0.ɵɵadvance(1);
|
|
26
|
+
i0.ɵɵproperty("caseField", ctx_r1.caseTitle)("caseFields", ctx_r1.caseFields);
|
|
27
|
+
} }
|
|
28
|
+
export class CaseHeaderComponent {
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.caseTitle = new CaseField();
|
|
31
|
+
if (!this.isDraft() && this.caseDetails.state.title_display) {
|
|
32
|
+
this.caseTitle.label = this.caseDetails.state.title_display;
|
|
33
|
+
this.caseFields = this.getCaseFields();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
isDraft() {
|
|
37
|
+
return Draft.isDraft(this.caseDetails.case_id);
|
|
38
|
+
}
|
|
39
|
+
getCaseFields() {
|
|
40
|
+
const caseDataFields = this.caseDetails.tabs.reduce((acc, tab) => {
|
|
41
|
+
return acc.concat(tab.fields);
|
|
42
|
+
}, []);
|
|
43
|
+
return caseDataFields.concat(this.caseDetails.metadataFields);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
CaseHeaderComponent.ɵfac = function CaseHeaderComponent_Factory(t) { return new (t || CaseHeaderComponent)(); };
|
|
47
|
+
CaseHeaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseHeaderComponent, selectors: [["ccd-case-header"]], inputs: { caseDetails: "caseDetails" }, decls: 2, vars: 2, consts: [["class", "heading-h1", 4, "ngIf"], ["class", "case-title", 4, "ngIf"], [1, "heading-h1"], [1, "case-title"], [3, "caseField", "caseFields"]], template: function CaseHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵtemplate(0, CaseHeaderComponent_h1_0_Template, 3, 3, "h1", 0);
|
|
49
|
+
i0.ɵɵtemplate(1, CaseHeaderComponent_div_1_Template, 2, 2, "div", 1);
|
|
50
|
+
} if (rf & 2) {
|
|
51
|
+
i0.ɵɵproperty("ngIf", !ctx.caseTitle.label);
|
|
52
|
+
i0.ɵɵadvance(1);
|
|
53
|
+
i0.ɵɵproperty("ngIf", ctx.caseTitle.label);
|
|
54
|
+
} }, directives: [i1.NgIf, i2.LabelFieldComponent], pipes: [i3.CaseReferencePipe], styles: [".case-title[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:10px}.heading-h1[_ngcontent-%COMP%]{margin-top:40px}"] });
|
|
55
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHeaderComponent, [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{
|
|
58
|
+
selector: 'ccd-case-header',
|
|
59
|
+
templateUrl: './case-header.html',
|
|
60
|
+
styleUrls: ['./case-header.scss']
|
|
61
|
+
}]
|
|
62
|
+
}], null, { caseDetails: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}] }); })();
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL2Nhc2UtaGVhZGVyL2Nhc2UtaGVhZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWhlYWRlci9jYXNlLWhlYWRlci5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUNsRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sMENBQTBDLENBQUM7QUFDckUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7Ozs7SUNIakQsNkJBQWdEO0lBQUEsWUFBNEM7O0lBQUEsaUJBQUs7OztJQUFqRCxlQUE0QztJQU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Y2QtbGFiZWwtZmllbGQ+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { RouterModule } from '@angular/router';
|
|
4
|
+
import { PaletteModule } from '../palette';
|
|
5
|
+
import { CaseHeaderComponent } from './case-header.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class CaseHeaderModule {
|
|
8
|
+
}
|
|
9
|
+
CaseHeaderModule.ɵfac = function CaseHeaderModule_Factory(t) { return new (t || CaseHeaderModule)(); };
|
|
10
|
+
CaseHeaderModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseHeaderModule });
|
|
11
|
+
CaseHeaderModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
12
|
+
CommonModule,
|
|
13
|
+
RouterModule,
|
|
14
|
+
PaletteModule
|
|
15
|
+
]] });
|
|
16
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CaseHeaderModule, { declarations: [CaseHeaderComponent], imports: [CommonModule,
|
|
17
|
+
RouterModule,
|
|
18
|
+
PaletteModule], exports: [CaseHeaderComponent] }); })();
|
|
19
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHeaderModule, [{
|
|
20
|
+
type: NgModule,
|
|
21
|
+
args: [{
|
|
22
|
+
imports: [
|
|
23
|
+
CommonModule,
|
|
24
|
+
RouterModule,
|
|
25
|
+
PaletteModule
|
|
26
|
+
],
|
|
27
|
+
declarations: [
|
|
28
|
+
CaseHeaderComponent,
|
|
29
|
+
],
|
|
30
|
+
exports: [
|
|
31
|
+
CaseHeaderComponent,
|
|
32
|
+
]
|
|
33
|
+
}]
|
|
34
|
+
}], null, null); })();
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oZWFkZX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W1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFJvdXRlck1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL3JvdXRlcic7XG5pbXBvcnQgeyBQYWxldHRlTW9kdWxlIH0gZnJvbSAnLi4vcGFsZXR0ZSc7XG5pbXBvcnQgeyBDYXNlSGVhZGVyQ29tcG9uZW50IH0gZnJvbSAnLi9jYXNlLWhlYWRlci5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBSb3V0ZXJNb2R1bGUsXG4gICAgICAgIFBhbGV0dGVNb2R1bGVcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW1xuICAgICAgICBDYXNlSGVhZGVyQ29tcG9uZW50LFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBDYXNlSGVhZGVyQ29tcG9uZW50LFxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgQ2FzZUhlYWRlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './case-header.component';
|
|
2
|
+
export * from './case-header.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvY2FzZS1oZWFkZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYXNlLWhlYWRlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9jYXNlLWhlYWRlci5tb2R1bGUnO1xuIl19
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { throwError } from 'rxjs';
|
|
4
|
+
import { catchError, map } from 'rxjs/operators';
|
|
5
|
+
import { ShowCondition } from '../../directives/conditional-show/domain/conditional-show.model';
|
|
6
|
+
import { HttpError } from '../../domain/http/http-error.model';
|
|
7
|
+
import { AlertService } from '../../services/alert/alert.service';
|
|
8
|
+
import { OrderService } from '../../services/order/order.service';
|
|
9
|
+
import { CaseNotifier } from '../case-editor/services/case.notifier';
|
|
10
|
+
import { CaseHistoryService } from './services/case-history.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/router";
|
|
13
|
+
import * as i2 from "../../services/alert/alert.service";
|
|
14
|
+
import * as i3 from "../../services/order/order.service";
|
|
15
|
+
import * as i4 from "../case-editor/services/case.notifier";
|
|
16
|
+
import * as i5 from "./services/case-history.service";
|
|
17
|
+
import * as i6 from "@angular/common";
|
|
18
|
+
import * as i7 from "../case-header/case-header.component";
|
|
19
|
+
import * as i8 from "../../directives/substitutor/label-substitutor.directive";
|
|
20
|
+
import * as i9 from "../palette/base-field/field-read.component";
|
|
21
|
+
import * as i10 from "../palette/utils/date.pipe";
|
|
22
|
+
import * as i11 from "../palette/utils/dash.pipe";
|
|
23
|
+
import * as i12 from "../../pipes/complex/ccd-read-fields-filter.pipe";
|
|
24
|
+
import * as i13 from "../../pipes/complex/ccd-tab-fields.pipe";
|
|
25
|
+
import * as i14 from "../palette/utils/is-compound.pipe";
|
|
26
|
+
function CaseHistoryComponent_div_0_ng_container_49_ng_container_5_tr_4_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵelementStart(0, "tr");
|
|
28
|
+
i0.ɵɵelementStart(1, "th", 14);
|
|
29
|
+
i0.ɵɵelementStart(2, "div", 15);
|
|
30
|
+
i0.ɵɵtext(3);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(4, "td");
|
|
34
|
+
i0.ɵɵelement(5, "ccd-field-read", 16);
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const field_r4 = i0.ɵɵnextContext().$implicit;
|
|
39
|
+
const ctx_r5 = i0.ɵɵnextContext(3);
|
|
40
|
+
i0.ɵɵadvance(3);
|
|
41
|
+
i0.ɵɵtextInterpolate(field_r4.label);
|
|
42
|
+
i0.ɵɵadvance(2);
|
|
43
|
+
i0.ɵɵproperty("caseField", field_r4)("caseReference", ctx_r5.caseHistory.case_id);
|
|
44
|
+
} }
|
|
45
|
+
function CaseHistoryComponent_div_0_ng_container_49_ng_container_5_tr_5_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
+
i0.ɵɵelementStart(0, "tr", 17);
|
|
47
|
+
i0.ɵɵelementStart(1, "td", 18);
|
|
48
|
+
i0.ɵɵelement(2, "ccd-field-read", 16);
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
const field_r4 = i0.ɵɵnextContext().$implicit;
|
|
53
|
+
const ctx_r6 = i0.ɵɵnextContext(3);
|
|
54
|
+
i0.ɵɵadvance(2);
|
|
55
|
+
i0.ɵɵproperty("caseField", field_r4)("caseReference", ctx_r6.caseHistory.case_id);
|
|
56
|
+
} }
|
|
57
|
+
function CaseHistoryComponent_div_0_ng_container_49_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
i0.ɵɵelementContainerStart(0);
|
|
59
|
+
i0.ɵɵelementStart(1, "div", 10);
|
|
60
|
+
i0.ɵɵelementContainerStart(2, 11);
|
|
61
|
+
i0.ɵɵpipe(3, "ccdIsCompound");
|
|
62
|
+
i0.ɵɵtemplate(4, CaseHistoryComponent_div_0_ng_container_49_ng_container_5_tr_4_Template, 6, 3, "tr", 12);
|
|
63
|
+
i0.ɵɵtemplate(5, CaseHistoryComponent_div_0_ng_container_49_ng_container_5_tr_5_Template, 3, 2, "tr", 13);
|
|
64
|
+
i0.ɵɵelementContainerEnd();
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
i0.ɵɵelementContainerEnd();
|
|
67
|
+
} if (rf & 2) {
|
|
68
|
+
const field_r4 = ctx.$implicit;
|
|
69
|
+
const tab_r2 = i0.ɵɵnextContext().$implicit;
|
|
70
|
+
i0.ɵɵadvance(1);
|
|
71
|
+
i0.ɵɵproperty("caseField", field_r4)("contextFields", tab_r2.fields)("hidden", field_r4.hidden);
|
|
72
|
+
i0.ɵɵadvance(1);
|
|
73
|
+
i0.ɵɵproperty("ngSwitch", !i0.ɵɵpipeBind1(3, 6, field_r4));
|
|
74
|
+
i0.ɵɵadvance(2);
|
|
75
|
+
i0.ɵɵproperty("ngSwitchCase", true);
|
|
76
|
+
i0.ɵɵadvance(1);
|
|
77
|
+
i0.ɵɵproperty("ngSwitchCase", false);
|
|
78
|
+
} }
|
|
79
|
+
function CaseHistoryComponent_div_0_ng_container_49_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
i0.ɵɵelementContainerStart(0);
|
|
81
|
+
i0.ɵɵelementStart(1, "div", 7);
|
|
82
|
+
i0.ɵɵelementStart(2, "h3", 8);
|
|
83
|
+
i0.ɵɵtext(3);
|
|
84
|
+
i0.ɵɵelementEnd();
|
|
85
|
+
i0.ɵɵelementStart(4, "table", 9);
|
|
86
|
+
i0.ɵɵtemplate(5, CaseHistoryComponent_div_0_ng_container_49_ng_container_5_Template, 6, 8, "ng-container", 6);
|
|
87
|
+
i0.ɵɵpipe(6, "ccdReadFieldsFilter");
|
|
88
|
+
i0.ɵɵpipe(7, "ccdTabFields");
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
i0.ɵɵelementEnd();
|
|
91
|
+
i0.ɵɵelementContainerEnd();
|
|
92
|
+
} if (rf & 2) {
|
|
93
|
+
const tab_r2 = ctx.$implicit;
|
|
94
|
+
i0.ɵɵadvance(3);
|
|
95
|
+
i0.ɵɵtextInterpolate(tab_r2.label);
|
|
96
|
+
i0.ɵɵadvance(1);
|
|
97
|
+
i0.ɵɵpropertyInterpolate("id", tab_r2.id);
|
|
98
|
+
i0.ɵɵadvance(1);
|
|
99
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind4(6, 3, i0.ɵɵpipeBind1(7, 8, tab_r2), false, undefined, true));
|
|
100
|
+
} }
|
|
101
|
+
function CaseHistoryComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
102
|
+
i0.ɵɵelementStart(0, "div");
|
|
103
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
104
|
+
i0.ɵɵelementStart(2, "div", 2);
|
|
105
|
+
i0.ɵɵelement(3, "ccd-case-header", 3);
|
|
106
|
+
i0.ɵɵelementEnd();
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
i0.ɵɵelementStart(4, "div", 1);
|
|
109
|
+
i0.ɵɵelementStart(5, "div", 2);
|
|
110
|
+
i0.ɵɵelementStart(6, "div");
|
|
111
|
+
i0.ɵɵelementStart(7, "h2", 4);
|
|
112
|
+
i0.ɵɵtext(8, "Event Details");
|
|
113
|
+
i0.ɵɵelementEnd();
|
|
114
|
+
i0.ɵɵelementStart(9, "table", 5);
|
|
115
|
+
i0.ɵɵelementStart(10, "tbody");
|
|
116
|
+
i0.ɵɵelementStart(11, "tr");
|
|
117
|
+
i0.ɵɵelementStart(12, "th");
|
|
118
|
+
i0.ɵɵtext(13, "Date");
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
i0.ɵɵelementStart(14, "td");
|
|
121
|
+
i0.ɵɵtext(15);
|
|
122
|
+
i0.ɵɵpipe(16, "ccdDate");
|
|
123
|
+
i0.ɵɵelementEnd();
|
|
124
|
+
i0.ɵɵelementEnd();
|
|
125
|
+
i0.ɵɵelementStart(17, "tr");
|
|
126
|
+
i0.ɵɵelementStart(18, "th");
|
|
127
|
+
i0.ɵɵtext(19, "Author");
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
i0.ɵɵelementStart(20, "td");
|
|
130
|
+
i0.ɵɵtext(21);
|
|
131
|
+
i0.ɵɵpipe(22, "titlecase");
|
|
132
|
+
i0.ɵɵpipe(23, "uppercase");
|
|
133
|
+
i0.ɵɵelementEnd();
|
|
134
|
+
i0.ɵɵelementEnd();
|
|
135
|
+
i0.ɵɵelementStart(24, "tr");
|
|
136
|
+
i0.ɵɵelementStart(25, "th");
|
|
137
|
+
i0.ɵɵtext(26, "End state");
|
|
138
|
+
i0.ɵɵelementEnd();
|
|
139
|
+
i0.ɵɵelementStart(27, "td");
|
|
140
|
+
i0.ɵɵtext(28);
|
|
141
|
+
i0.ɵɵelementEnd();
|
|
142
|
+
i0.ɵɵelementEnd();
|
|
143
|
+
i0.ɵɵelementStart(29, "tr");
|
|
144
|
+
i0.ɵɵelementStart(30, "th");
|
|
145
|
+
i0.ɵɵtext(31, "Event");
|
|
146
|
+
i0.ɵɵelementEnd();
|
|
147
|
+
i0.ɵɵelementStart(32, "td");
|
|
148
|
+
i0.ɵɵtext(33);
|
|
149
|
+
i0.ɵɵelementEnd();
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
i0.ɵɵelementStart(34, "tr");
|
|
152
|
+
i0.ɵɵelementStart(35, "th");
|
|
153
|
+
i0.ɵɵtext(36, "Summary");
|
|
154
|
+
i0.ɵɵelementEnd();
|
|
155
|
+
i0.ɵɵelementStart(37, "td");
|
|
156
|
+
i0.ɵɵtext(38);
|
|
157
|
+
i0.ɵɵpipe(39, "ccdDash");
|
|
158
|
+
i0.ɵɵelementEnd();
|
|
159
|
+
i0.ɵɵelementEnd();
|
|
160
|
+
i0.ɵɵelementStart(40, "tr");
|
|
161
|
+
i0.ɵɵelementStart(41, "th");
|
|
162
|
+
i0.ɵɵtext(42, "Comment");
|
|
163
|
+
i0.ɵɵelementEnd();
|
|
164
|
+
i0.ɵɵelementStart(43, "td");
|
|
165
|
+
i0.ɵɵtext(44);
|
|
166
|
+
i0.ɵɵpipe(45, "ccdDash");
|
|
167
|
+
i0.ɵɵelementEnd();
|
|
168
|
+
i0.ɵɵelementEnd();
|
|
169
|
+
i0.ɵɵelementEnd();
|
|
170
|
+
i0.ɵɵelementEnd();
|
|
171
|
+
i0.ɵɵelementEnd();
|
|
172
|
+
i0.ɵɵelementStart(46, "div");
|
|
173
|
+
i0.ɵɵelementStart(47, "h2", 4);
|
|
174
|
+
i0.ɵɵtext(48, "Case Details");
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
i0.ɵɵtemplate(49, CaseHistoryComponent_div_0_ng_container_49_Template, 8, 10, "ng-container", 6);
|
|
177
|
+
i0.ɵɵelementEnd();
|
|
178
|
+
i0.ɵɵelementEnd();
|
|
179
|
+
i0.ɵɵelementEnd();
|
|
180
|
+
i0.ɵɵelementEnd();
|
|
181
|
+
} if (rf & 2) {
|
|
182
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
183
|
+
i0.ɵɵadvance(3);
|
|
184
|
+
i0.ɵɵproperty("caseDetails", ctx_r0.caseDetails);
|
|
185
|
+
i0.ɵɵadvance(12);
|
|
186
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(16, 9, ctx_r0.caseHistory.event.timestamp));
|
|
187
|
+
i0.ɵɵadvance(6);
|
|
188
|
+
i0.ɵɵtextInterpolate2("", i0.ɵɵpipeBind1(22, 11, ctx_r0.caseHistory.event.user_first_name), " ", i0.ɵɵpipeBind1(23, 13, ctx_r0.caseHistory.event.user_last_name), "");
|
|
189
|
+
i0.ɵɵadvance(7);
|
|
190
|
+
i0.ɵɵtextInterpolate(ctx_r0.caseHistory.event.state_name);
|
|
191
|
+
i0.ɵɵadvance(5);
|
|
192
|
+
i0.ɵɵtextInterpolate(ctx_r0.caseHistory.event.event_name);
|
|
193
|
+
i0.ɵɵadvance(5);
|
|
194
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(39, 15, ctx_r0.caseHistory.event.summary));
|
|
195
|
+
i0.ɵɵadvance(6);
|
|
196
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 17, ctx_r0.caseHistory.event.comment));
|
|
197
|
+
i0.ɵɵadvance(5);
|
|
198
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.tabs);
|
|
199
|
+
} }
|
|
200
|
+
export class CaseHistoryComponent {
|
|
201
|
+
constructor(route, alertService, orderService, caseNotifier, caseHistoryService) {
|
|
202
|
+
this.route = route;
|
|
203
|
+
this.alertService = alertService;
|
|
204
|
+
this.orderService = orderService;
|
|
205
|
+
this.caseNotifier = caseNotifier;
|
|
206
|
+
this.caseHistoryService = caseHistoryService;
|
|
207
|
+
}
|
|
208
|
+
ngOnInit() {
|
|
209
|
+
this.caseSubscription = this.caseNotifier.caseView.subscribe(caseDetails => {
|
|
210
|
+
this.caseDetails = caseDetails;
|
|
211
|
+
const eventId = this.route.snapshot.paramMap.get(CaseHistoryComponent.PARAM_EVENT_ID) || this.event;
|
|
212
|
+
this.caseHistoryService
|
|
213
|
+
.get(this.caseDetails.case_id, eventId)
|
|
214
|
+
.pipe(map(caseHistory => {
|
|
215
|
+
if (!caseHistory) {
|
|
216
|
+
const error = new HttpError();
|
|
217
|
+
error.message = CaseHistoryComponent.ERROR_MESSAGE;
|
|
218
|
+
throw error;
|
|
219
|
+
}
|
|
220
|
+
this.caseHistory = caseHistory;
|
|
221
|
+
this.tabs = this.orderService.sort(this.caseHistory.tabs);
|
|
222
|
+
this.tabs = this.sortTabFieldsAndFilterTabs(this.tabs);
|
|
223
|
+
}), catchError(error => {
|
|
224
|
+
console.error(error);
|
|
225
|
+
if (error.status !== 401 && error.status !== 403) {
|
|
226
|
+
this.alertService.error(error.message);
|
|
227
|
+
}
|
|
228
|
+
return throwError(error);
|
|
229
|
+
})).toPromise();
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
ngOnDestroy() {
|
|
233
|
+
if (this.caseSubscription) {
|
|
234
|
+
this.caseSubscription.unsubscribe();
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
isDataLoaded() {
|
|
238
|
+
return !!(this.caseDetails && this.caseHistory);
|
|
239
|
+
}
|
|
240
|
+
sortTabFieldsAndFilterTabs(tabs) {
|
|
241
|
+
return tabs
|
|
242
|
+
.map(tab => Object.assign({}, tab, { fields: this.orderService.sort(tab.fields) }))
|
|
243
|
+
.filter(tab => ShowCondition.getInstance(tab.show_condition).matchByContextFields(tab.fields));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
CaseHistoryComponent.PARAM_EVENT_ID = 'eid';
|
|
247
|
+
CaseHistoryComponent.ERROR_MESSAGE = 'No case history to show';
|
|
248
|
+
CaseHistoryComponent.ɵfac = function CaseHistoryComponent_Factory(t) { return new (t || CaseHistoryComponent)(i0.ɵɵdirectiveInject(i1.ActivatedRoute), i0.ɵɵdirectiveInject(i2.AlertService), i0.ɵɵdirectiveInject(i3.OrderService), i0.ɵɵdirectiveInject(i4.CaseNotifier), i0.ɵɵdirectiveInject(i5.CaseHistoryService)); };
|
|
249
|
+
CaseHistoryComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseHistoryComponent, selectors: [["ccd-case-history"]], inputs: { event: "event" }, decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "grid-row"], [1, "column-full"], [3, "caseDetails"], [1, "heading-h2"], ["aria-describedby", "event details table", 1, "EventDetails"], [4, "ngFor", "ngForOf"], [1, "caseHistorySection"], [1, "heading-h3"], ["aria-describedby", "case history table", 1, "CaseHistory", 3, "id"], ["ccdLabelSubstitutor", "", 3, "caseField", "contextFields", "hidden"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["class", "compound-field", 4, "ngSwitchCase"], ["id", "case-viewer-label-header"], [1, "case-viewer-label"], [3, "caseField", "caseReference"], [1, "compound-field"], ["colspan", "2"]], template: function CaseHistoryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
250
|
+
i0.ɵɵtemplate(0, CaseHistoryComponent_div_0_Template, 50, 19, "div", 0);
|
|
251
|
+
} if (rf & 2) {
|
|
252
|
+
i0.ɵɵproperty("ngIf", ctx.isDataLoaded());
|
|
253
|
+
} }, directives: [i6.NgIf, i7.CaseHeaderComponent, i6.NgForOf, i8.LabelSubstitutorDirective, i6.NgSwitch, i6.NgSwitchCase, i9.FieldReadComponent], pipes: [i10.DatePipe, i6.TitleCasePipe, i6.UpperCasePipe, i11.DashPipe, i12.ReadFieldsFilterPipe, i13.CcdTabFieldsPipe, i14.IsCompoundPipe], styles: [".CaseHistory[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .CaseHistory[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:none}.caseHistorySection[_ngcontent-%COMP%]{margin-top:40px}.EventDetails[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .EventDetails[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:none}th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}.case-viewer-controls[_ngcontent-%COMP%]{margin-top:47px;margin-bottom:20px}ccd-case-header[_ngcontent-%COMP%]{float:left;margin-right:10px}ccd-event-trigger[_ngcontent-%COMP%]{float:right}.case-viewer-label[_ngcontent-%COMP%]{min-width:300px;white-space:normal}"] });
|
|
254
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryComponent, [{
|
|
255
|
+
type: Component,
|
|
256
|
+
args: [{
|
|
257
|
+
selector: 'ccd-case-history',
|
|
258
|
+
templateUrl: './case-history.component.html',
|
|
259
|
+
styleUrls: ['./case-history.component.scss']
|
|
260
|
+
}]
|
|
261
|
+
}], function () { return [{ type: i1.ActivatedRoute }, { type: i2.AlertService }, { type: i3.OrderService }, { type: i4.CaseNotifier }, { type: i5.CaseHistoryService }]; }, { event: [{
|
|
262
|
+
type: Input
|
|
263
|
+
}] }); })();
|
|
264
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oaXN0b3J5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWhpc3RvcnkvY2FzZS1oaXN0b3J5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWhpc3RvcnkvY2FzZS1oaXN0b3J5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDakQsT0FBTyxFQUFnQixVQUFVLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDaEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNqRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUVBQWlFLENBQUM7QUFHaEcsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLG9DQUFvQyxDQUFDO0FBQy9ELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQU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W5lciAqbmdGb3I9XCJsZXQgZmllbGQgb2YgdGFiIHwgY2NkVGFiRmllbGRzIHwgY2NkUmVhZEZpZWxkc0ZpbHRlcjpmYWxzZSA6dW5kZWZpbmVkIDp0cnVlXCI+XG4gICAgICAgICAgICAgICAgPGRpdiBjY2RMYWJlbFN1YnN0aXR1dG9yIFtjYXNlRmllbGRdPVwiZmllbGRcIiBbY29udGV4dEZpZWxkc109XCJ0YWIuZmllbGRzXCIgW2hpZGRlbl09XCJmaWVsZC5oaWRkZW5cIj5cbiAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgW25nU3dpdGNoXT1cIiEoZmllbGQgfCBjY2RJc0NvbXBvdW5kKVwiPlxuICAgICAgICAgICAgICAgICAgICA8dHIgKm5nU3dpdGNoQ2FzZT1cInRydWVcIj5cbiAgICAgICAgICAgICAgICAgICAgICA8dGggaWQ9XCJjYXNlLXZpZXdlci1sYWJlbC1oZWFkZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjYXNlLXZpZXdlci1sYWJlbFwiPnt7ZmllbGQubGFiZWx9fTwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICAgICAgPHRkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGNjZC1maWVsZC1yZWFkIFtjYXNlRmllbGRdPVwiZmllbGRcIiBbY2FzZVJlZmVyZW5jZV09XCJjYXNlSGlzdG9yeS5jYXNlX2lkXCI+PC9jY2QtZmllbGQtcmVhZD5cbiAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICA8L3RyPlxuICAgICAgICAgICAgICAgICAgICA8dHIgKm5nU3dpdGNoQ2FzZT1cImZhbHNlXCIgY2xhc3M9XCJjb21wb3VuZC1maWVsZFwiPlxuICAgICAgICAgICAgICAgICAgICAgIDx0ZCBjb2xzcGFuPVwiMlwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGNjZC1maWVsZC1yZWFkIFtjYXNlRmllbGRdPVwiZmllbGRcIiBbY2FzZVJlZmVyZW5jZV09XCJjYXNlSGlzdG9yeS5jYXNlX2lkXCI+PC9jY2QtZmllbGQtcmVhZD5cbiAgICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgICA8L3RyPlxuICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC90YWJsZT5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { RouterModule } from '@angular/router';
|
|
4
|
+
import { ConditionalShowModule, LabelSubstitutorModule } from '../../directives';
|
|
5
|
+
import { CaseHeaderModule } from '../case-header/case-header.module';
|
|
6
|
+
import { PaletteModule } from '../palette';
|
|
7
|
+
import { CaseHistoryComponent } from './case-history.component';
|
|
8
|
+
import { CaseHistoryService } from './services/case-history.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class CaseHistoryModule {
|
|
11
|
+
}
|
|
12
|
+
CaseHistoryModule.ɵfac = function CaseHistoryModule_Factory(t) { return new (t || CaseHistoryModule)(); };
|
|
13
|
+
CaseHistoryModule.ɵmod = i0.ɵɵdefineNgModule({ type: CaseHistoryModule });
|
|
14
|
+
CaseHistoryModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
15
|
+
CaseHistoryService,
|
|
16
|
+
], imports: [[
|
|
17
|
+
CommonModule,
|
|
18
|
+
RouterModule,
|
|
19
|
+
CaseHeaderModule,
|
|
20
|
+
ConditionalShowModule,
|
|
21
|
+
PaletteModule,
|
|
22
|
+
LabelSubstitutorModule
|
|
23
|
+
]] });
|
|
24
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CaseHistoryModule, { declarations: [CaseHistoryComponent], imports: [CommonModule,
|
|
25
|
+
RouterModule,
|
|
26
|
+
CaseHeaderModule,
|
|
27
|
+
ConditionalShowModule,
|
|
28
|
+
PaletteModule,
|
|
29
|
+
LabelSubstitutorModule], exports: [CaseHistoryComponent] }); })();
|
|
30
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseHistoryModule, [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
imports: [
|
|
34
|
+
CommonModule,
|
|
35
|
+
RouterModule,
|
|
36
|
+
CaseHeaderModule,
|
|
37
|
+
ConditionalShowModule,
|
|
38
|
+
PaletteModule,
|
|
39
|
+
LabelSubstitutorModule
|
|
40
|
+
],
|
|
41
|
+
declarations: [
|
|
42
|
+
CaseHistoryComponent
|
|
43
|
+
],
|
|
44
|
+
providers: [
|
|
45
|
+
CaseHistoryService,
|
|
46
|
+
],
|
|
47
|
+
exports: [
|
|
48
|
+
CaseHistoryComponent,
|
|
49
|
+
]
|
|
50
|
+
}]
|
|
51
|
+
}], null, null); })();
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oaXN0b3J5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9jYXNlLWhpc3RvcnkvY2FzZS1oaXN0b3J5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUU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0b3J5Q29tcG9uZW50XG4gICAgXSxcbiAgICBwcm92aWRlcnM6IFtcbiAgICAgICAgQ2FzZUhpc3RvcnlTZXJ2aWNlLFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBDYXNlSGlzdG9yeUNvbXBvbmVudCxcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIENhc2VIaXN0b3J5TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Type } from 'class-transformer';
|
|
3
|
+
import { CaseTab } from '../../../domain/case-view/case-tab.model';
|
|
4
|
+
import { CaseViewEvent } from '../../../domain/case-view/case-view-event.model';
|
|
5
|
+
import { Jurisdiction } from '../../../domain/definition/jurisdiction.model';
|
|
6
|
+
// @dynamic
|
|
7
|
+
export class CaseHistoryCaseType {
|
|
8
|
+
}
|
|
9
|
+
__decorate([
|
|
10
|
+
Type(() => Jurisdiction),
|
|
11
|
+
__metadata("design:type", Jurisdiction)
|
|
12
|
+
], CaseHistoryCaseType.prototype, "jurisdiction", void 0);
|
|
13
|
+
// @dynamic
|
|
14
|
+
export class CaseHistory {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
Type(() => CaseHistoryCaseType),
|
|
18
|
+
__metadata("design:type", CaseHistoryCaseType)
|
|
19
|
+
], CaseHistory.prototype, "caseType", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
Type(() => CaseTab),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], CaseHistory.prototype, "tabs", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
Type(() => CaseViewEvent),
|
|
26
|
+
__metadata("design:type", CaseViewEvent)
|
|
27
|
+
], CaseHistory.prototype, "event", void 0);
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1oaXN0b3J5Lm1vZGVsLmpzIiwic291cmN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5pbXBvcnQgeyBDYXNlVmlld0V2ZW50IH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL2Nhc2Utdmlldy9jYXNlLXZpZXctZXZlbnQubW9kZWwnO1xuaW1wb3J0IHsgSnVyaXNkaWN0aW9uIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL2RlZmluaXRpb24vanVyaXNkaWN0aW9uLm1vZGVsJztcblxuLy8gQGR5bmFtaWNcbmV4cG9ydCBjbGFzcyBDYXNlSGlzdG9yeUNhc2VUeXBlIHtcbiAgcHVibGljIGlkOiBzdHJpbmc7XG4gIHB1YmxpYyBuYW1lOiBzdHJpbmc7XG4gIHB1YmxpYyBkZXNjcmlwdGlvbj86IHN0cmluZztcblxuICBAVHlwZSgoKSA9PiBKdXJpc2RpY3Rpb24pXG4gIHB1YmxpYyBqdXJpc2RpY3Rpb246IEp1cmlzZGljdGlvbjtcbn1cblxuLy8gQGR5bmFtaWNcbmV4cG9ydCBjbGFzcyBDYXNlSGlzdG9yeSB7XG4gIHB1YmxpYyBjYXNlX2lkPzogc3RyaW5nO1xuXG4gIEBUeXBlKCgpID0+IENhc2VIaXN0b3J5Q2FzZVR5cGUpXG4gIHB1YmxpYyBjYXNlVHlwZTogQ2FzZUhpc3RvcnlDYXNlVHlwZTtcblxuICBAVHlwZSgoKSA9PiBDYXNlVGFiKVxuICBwdWJsaWMgdGFiczogQ2FzZVRhYltdO1xuXG4gIEBUeXBlKCgpID0+IENhc2VWaWV3RXZlbnQpXG4gIHB1YmxpYyBldmVudDogQ2FzZVZpZXdFdmVudDtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './case-history.component';
|
|
2
|
+
export * from './case-history.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvY2FzZS1oaXN0b3J5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY2FzZS1oaXN0b3J5LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Nhc2UtaGlzdG9yeS5tb2R1bGUnO1xuIl19
|