@hmcts/ccd-case-ui-toolkit 5.0.7-angular11-upgrade → 5.0.8-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 +21811 -14307
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +2 -2
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- 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/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/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-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-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/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 +5 -5
- 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/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/domain/case-view/role-request.model.js +1 -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 +19417 -12703
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- 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/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/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-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-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/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 +4 -0
- package/lib/shared/components/index.d.ts.map +1 -1
- 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/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/domain/case-view/role-request.model.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,33 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CaseEventData } from '../../../domain/case-event-data.model';
|
|
4
|
+
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
|
|
5
|
+
import { Draft } from '../../../domain/draft.model';
|
|
6
|
+
import { AlertService } from '../../../services/alert/alert.service';
|
|
7
|
+
import { DraftService } from '../../../services/draft/draft.service';
|
|
8
|
+
import { CasesService } from '../services/cases.service';
|
|
9
|
+
import { EventTriggerService } from '../services/event-trigger.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class CaseCreateComponent implements OnInit {
|
|
12
|
+
private readonly casesService;
|
|
13
|
+
private readonly alertService;
|
|
14
|
+
private readonly draftService;
|
|
15
|
+
private readonly eventTriggerService;
|
|
16
|
+
jurisdiction: string;
|
|
17
|
+
caseType: string;
|
|
18
|
+
event: string;
|
|
19
|
+
cancelled: EventEmitter<any>;
|
|
20
|
+
submitted: EventEmitter<any>;
|
|
21
|
+
eventTrigger: CaseEventTrigger;
|
|
22
|
+
constructor(casesService: CasesService, alertService: AlertService, draftService: DraftService, eventTriggerService: EventTriggerService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
submit(): (sanitizedEditForm: CaseEventData) => Observable<object>;
|
|
25
|
+
validate(): (sanitizedEditForm: CaseEventData, pageId: string) => Observable<object>;
|
|
26
|
+
saveDraft(): (caseEventData: CaseEventData) => Observable<Draft>;
|
|
27
|
+
emitCancelled(event: any): void;
|
|
28
|
+
emitSubmitted(event: any): void;
|
|
29
|
+
isDataLoaded(): boolean;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseCreateComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseCreateComponent, "ccd-case-create", never, { "jurisdiction": "jurisdiction"; "caseType": "caseType"; "event": "event"; }, { "cancelled": "cancelled"; "submitted": "submitted"; }, never, never>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=case-create.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-create.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-create/case-create.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAc,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AAEtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;;AAExE,qBAIa,mBAAoB,YAAW,MAAM;IAiB9C,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAjB/B,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAElD,SAAS,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAElD,YAAY,EAAE,gBAAgB,CAAC;gBAGnB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,mBAAmB,EAAE,mBAAmB;IAGpD,QAAQ,IAAI,IAAI;IAYhB,MAAM,IAAI,CAAC,iBAAiB,EAAE,aAAa,KAAK,UAAU,CAAC,MAAM,CAAC;IAOlE,QAAQ,IAAI,CAAC,iBAAiB,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,KAAK,UAAU,CAAC,MAAM,CAAC;IAKpF,SAAS,IAAI,CAAC,aAAa,EAAE,aAAa,KAAK,UAAU,CAAC,KAAK,CAAC;IAUhE,aAAa,CAAC,KAAK,KAAA,GAAG,IAAI;IAI1B,aAAa,CAAC,KAAK,KAAA,GAAG,IAAI;IAI1B,YAAY,IAAI,OAAO;iCAjEnB,mBAAmB;2CAAnB,mBAAmB;CAoE/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-create/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ConditionalShowRegistrarService } from '../../../directives/conditional-show/services/conditional-show-registrar.service';
|
|
6
|
+
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
|
|
7
|
+
import { CaseView } from '../../../domain/case-view/case-view.model';
|
|
8
|
+
import { Draft } from '../../../domain/draft.model';
|
|
9
|
+
import { Profile } from '../../../domain/profile/profile.model';
|
|
10
|
+
import { FieldsPurger } from '../../../services/fields/fields.purger';
|
|
11
|
+
import { FieldsUtils } from '../../../services/fields/fields.utils';
|
|
12
|
+
import { Confirmation } from '../domain/confirmation.model';
|
|
13
|
+
import { WizardPage } from '../domain/wizard-page.model';
|
|
14
|
+
import { Wizard } from '../domain/wizard.model';
|
|
15
|
+
import { WizardFactoryService } from '../services/wizard-factory.service';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class CaseEditComponent implements OnInit {
|
|
18
|
+
private readonly fb;
|
|
19
|
+
private readonly router;
|
|
20
|
+
private readonly route;
|
|
21
|
+
private readonly fieldsUtils;
|
|
22
|
+
private readonly fieldsPurger;
|
|
23
|
+
private readonly registrarService;
|
|
24
|
+
private readonly wizardFactory;
|
|
25
|
+
static readonly ORIGIN_QUERY_PARAM = "origin";
|
|
26
|
+
eventTrigger: CaseEventTrigger;
|
|
27
|
+
submit: (CaseEventData: any, profile?: Profile) => Observable<object>;
|
|
28
|
+
validate: (CaseEventData: any, pageId: string) => Observable<object>;
|
|
29
|
+
saveDraft: (CaseEventData: any) => Observable<Draft>;
|
|
30
|
+
caseDetails: CaseView;
|
|
31
|
+
cancelled: EventEmitter<any>;
|
|
32
|
+
submitted: EventEmitter<any>;
|
|
33
|
+
wizard: Wizard;
|
|
34
|
+
form: FormGroup;
|
|
35
|
+
confirmation: Confirmation;
|
|
36
|
+
navigationOrigin: any;
|
|
37
|
+
constructor(fb: FormBuilder, router: Router, route: ActivatedRoute, fieldsUtils: FieldsUtils, fieldsPurger: FieldsPurger, registrarService: ConditionalShowRegistrarService, wizardFactory: WizardFactoryService);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
getPage(pageId: string): WizardPage;
|
|
40
|
+
first(): Promise<boolean>;
|
|
41
|
+
navigateToPage(pageId: string): Promise<boolean>;
|
|
42
|
+
next(currentPageId: string): Promise<boolean>;
|
|
43
|
+
previous(currentPageId: string): Promise<boolean>;
|
|
44
|
+
hasPrevious(currentPageId: string): boolean;
|
|
45
|
+
cancel(): void;
|
|
46
|
+
confirm(confirmation: Confirmation): Promise<boolean>;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditComponent, "ccd-case-edit", never, { "eventTrigger": "eventTrigger"; "submit": "submit"; "validate": "validate"; "saveDraft": "saveDraft"; "caseDetails": "caseDetails"; }, { "cancelled": "cancelled"; "submitted": "submitted"; }, never, never>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=case-edit.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit/case-edit.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,SAAS,EAAc,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,cAAc,EAAU,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EAAE,+BAA+B,EAAE,MAAM,kFAAkF,CAAC;AAEnI,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;;AAE1E,qBAMa,iBAAkB,YAAW,MAAM;IAiC5C,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAA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IAAI;IAId,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;iCAzGjD,iBAAiB;2CAAjB,iBAAiB;CA8G7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
|
|
4
|
+
import { CaseField } from '../../../domain/definition/case-field.model';
|
|
5
|
+
import { CaseEditComponent } from '../case-edit/case-edit.component';
|
|
6
|
+
import { Confirmation } from '../domain/confirmation.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CaseEditConfirmComponent {
|
|
9
|
+
private readonly caseEdit;
|
|
10
|
+
private readonly router;
|
|
11
|
+
eventTrigger: CaseEventTrigger;
|
|
12
|
+
triggerText: string;
|
|
13
|
+
formGroup: FormControl;
|
|
14
|
+
confirmation: Confirmation;
|
|
15
|
+
caseFields: CaseField[];
|
|
16
|
+
editForm: FormGroup;
|
|
17
|
+
private readonly caseId;
|
|
18
|
+
constructor(caseEdit: CaseEditComponent, router: Router);
|
|
19
|
+
submit(): void;
|
|
20
|
+
getCaseId(): string;
|
|
21
|
+
getCaseTitle(): string;
|
|
22
|
+
private getCaseFields;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditConfirmComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditConfirmComponent, "ng-component", never, {}, {}, never, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=case-edit-confirm.component.d.ts.map
|
package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit-confirm.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;;AAE5D,qBAIa,wBAAwB;IAUvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAAqB,OAAO,CAAC,QAAQ,CAAC,MAAM;IAT1E,YAAY,EAAE,gBAAgB,CAAC;IAC/B,WAAW,SAAsC;IACjD,SAAS,cAAqB;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,QAAQ,EAAE,SAAS,CAAC;IAE3B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;gBAEH,QAAQ,EAAE,iBAAiB,EAAmB,MAAM,EAAE,MAAM;IAYlF,MAAM,IAAI,IAAI;IAId,SAAS,IAAI,MAAM;IAInB,YAAY,IAAI,MAAM;IAK7B,OAAO,CAAC,aAAa;iCAnCV,wBAAwB;2CAAxB,wBAAwB;CA0CpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-confirm/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { Subject, Subscription } from 'rxjs';
|
|
4
|
+
import { CaseField } from '../../../domain/definition/case-field.model';
|
|
5
|
+
import { FormValueService } from '../../../services/form/form-value.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CaseEditFormComponent implements OnDestroy, AfterViewInit {
|
|
8
|
+
private readonly formValueService;
|
|
9
|
+
fields: CaseField[];
|
|
10
|
+
formGroup: FormGroup;
|
|
11
|
+
caseFields: CaseField[];
|
|
12
|
+
pageChangeSubject: Subject<boolean>;
|
|
13
|
+
valuesChanged: EventEmitter<any>;
|
|
14
|
+
initial: any;
|
|
15
|
+
pageChangeSubscription: Subscription;
|
|
16
|
+
formGroupChangeSubscription: Subscription;
|
|
17
|
+
constructor(formValueService: FormValueService);
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
subscribeToFormChanges(): void;
|
|
21
|
+
retrieveInitialFormValues(): void;
|
|
22
|
+
detectChangesAndEmit(changes: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditFormComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditFormComponent, "ccd-case-edit-form", never, { "fields": "fields"; "formGroup": "formGroup"; "caseFields": "caseFields"; "pageChangeSubject": "pageChangeSubject"; }, { "valuesChanged": "valuesChanged"; }, never, never>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=case-edit-form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,YAAY,EAAS,SAAS,EAAU,MAAM,eAAe,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAE7C,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;;AAE7E,qBAIa,qBAAsB,YAAW,SAAS,EAAE,aAAa;IAiBxD,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAdtC,MAAM,EAAE,SAAS,EAAE,CAAM;IAEzB,SAAS,EAAE,SAAS,CAAC;IAErB,UAAU,EAAE,SAAS,EAAE,CAAM;IAE7B,iBAAiB,EAAE,OAAO,CAAC,OAAO,CAAC,CAAiB;IAEpD,aAAa,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAEtD,OAAO,EAAE,GAAG,CAAC;IACb,sBAAsB,EAAE,YAAY,CAAC;IACrC,2BAA2B,EAAE,YAAY,CAAC;gBAEpB,gBAAgB,EAAE,gBAAgB;IAExD,WAAW,IAAI,IAAI;IAWnB,eAAe,IAAI,IAAI;IAevB,sBAAsB;IAQtB,yBAAyB;IAIzB,oBAAoB,CAAC,OAAO,KAAA;iCAzDxB,qBAAqB;2CAArB,qBAAqB;CA6DjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-form/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum CaseEditPageText {
|
|
2
|
+
RESUMED_FORM_DISCARD = "RESUMED_FORM_DISCARD",
|
|
3
|
+
NEW_FORM_DISCARD = "NEW_FORM_DISCARD",
|
|
4
|
+
NEW_FORM_SAVE = "NEW_FORM_CHANGED_SAVE",
|
|
5
|
+
RESUMED_FORM_SAVE = "RESUMED_FORM_SAVE",
|
|
6
|
+
TRIGGER_TEXT_START = "Continue",
|
|
7
|
+
TRIGGER_TEXT_SAVE = "Save and continue",
|
|
8
|
+
TRIGGER_TEXT_CONTINUE = "Ignore Warning and Continue"
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=case-edit-page-text.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit-page-text.enum.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-page/case-edit-page-text.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,oBAAoB,yBAAyB;IAC7C,gBAAgB,qBAAqB;IACrC,aAAa,0BAA0B;IACvC,iBAAiB,sBAAsB;IACvC,kBAAkB,aAAa;IAC/B,iBAAiB,sBAAsB;IACvC,qBAAqB,gCAAgC;CACtD"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import { BehaviorSubject, Subject } from 'rxjs';
|
|
6
|
+
import { CaseEventData } from '../../../domain/case-event-data.model';
|
|
7
|
+
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
|
|
8
|
+
import { CaseField } from '../../../domain/definition';
|
|
9
|
+
import { HttpError } from '../../../domain/http/http-error.model';
|
|
10
|
+
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
|
|
11
|
+
import { FormErrorService } from '../../../services/form/form-error.service';
|
|
12
|
+
import { FormValueService } from '../../../services/form/form-value.service';
|
|
13
|
+
import { CallbackErrorsContext } from '../../error/domain/error-context';
|
|
14
|
+
import { CaseEditComponent } from '../case-edit/case-edit.component';
|
|
15
|
+
import { WizardPage } from '../domain/wizard-page.model';
|
|
16
|
+
import { Wizard } from '../domain/wizard.model';
|
|
17
|
+
import { PageValidationService } from '../services/page-validation.service';
|
|
18
|
+
import { CaseEditPageText } from './case-edit-page-text.enum';
|
|
19
|
+
import * as i0 from "@angular/core";
|
|
20
|
+
export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
21
|
+
private readonly caseEdit;
|
|
22
|
+
private readonly route;
|
|
23
|
+
private readonly formValueService;
|
|
24
|
+
private readonly formErrorService;
|
|
25
|
+
private readonly cdRef;
|
|
26
|
+
private readonly pageValidationService;
|
|
27
|
+
private readonly dialog;
|
|
28
|
+
private readonly caseFieldService;
|
|
29
|
+
constructor(caseEdit: CaseEditComponent, route: ActivatedRoute, formValueService: FormValueService, formErrorService: FormErrorService, cdRef: ChangeDetectorRef, pageValidationService: PageValidationService, dialog: MatDialog, caseFieldService: CaseFieldService);
|
|
30
|
+
eventTrigger: CaseEventTrigger;
|
|
31
|
+
editForm: FormGroup;
|
|
32
|
+
wizard: Wizard;
|
|
33
|
+
currentPage: WizardPage;
|
|
34
|
+
dialogConfig: MatDialogConfig;
|
|
35
|
+
error: HttpError;
|
|
36
|
+
callbackErrorsSubject: Subject<any>;
|
|
37
|
+
ignoreWarning: boolean;
|
|
38
|
+
triggerTextStart: CaseEditPageText;
|
|
39
|
+
triggerTextIgnoreWarnings: CaseEditPageText;
|
|
40
|
+
triggerText: string;
|
|
41
|
+
isSubmitting: boolean;
|
|
42
|
+
formValuesChanged: boolean;
|
|
43
|
+
pageChangeSubject: Subject<boolean>;
|
|
44
|
+
caseFields: CaseField[];
|
|
45
|
+
validationErrors: {
|
|
46
|
+
id: string;
|
|
47
|
+
message: string;
|
|
48
|
+
}[];
|
|
49
|
+
showSpinner: boolean;
|
|
50
|
+
hasPreviousPage$: BehaviorSubject<boolean>;
|
|
51
|
+
private static scrollToTop;
|
|
52
|
+
private static setFocusToTop;
|
|
53
|
+
ngOnInit(): void;
|
|
54
|
+
ngAfterViewChecked(): void;
|
|
55
|
+
applyValuesChanged(valuesChanged: boolean): void;
|
|
56
|
+
first(): Promise<boolean>;
|
|
57
|
+
currentPageIsNotValid(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* caseEventData.event_data contains all the values from the previous pages so we set caseEventData.data = caseEventData.event_data
|
|
60
|
+
* This builds the form with data from the previous pages
|
|
61
|
+
* EUI-3732 - Breathing space data not persisted on Previous button click with ExpUI Demo
|
|
62
|
+
*/
|
|
63
|
+
toPreviousPage(): void;
|
|
64
|
+
generateErrorMessage(fields?: CaseField[], container?: AbstractControl, path?: string): void;
|
|
65
|
+
navigateToErrorElement(elementId: string): void;
|
|
66
|
+
submit(): void;
|
|
67
|
+
updateFormData(jsonData: CaseEventData): void;
|
|
68
|
+
pageWithFieldExists(caseFieldId: string): WizardPage;
|
|
69
|
+
updateEventTriggerCaseFields(caseFieldId: string, jsonData: CaseEventData, eventTrigger: CaseEventTrigger): void;
|
|
70
|
+
updateFormControlsValue(formGroup: FormGroup, caseFieldId: string, value: any): void;
|
|
71
|
+
callbackErrorsNotify(errorContext: CallbackErrorsContext): void;
|
|
72
|
+
next(): Promise<boolean>;
|
|
73
|
+
previous(): Promise<boolean>;
|
|
74
|
+
hasPrevious(): boolean;
|
|
75
|
+
cancel(): void;
|
|
76
|
+
submitting(): boolean;
|
|
77
|
+
getCaseId(): string;
|
|
78
|
+
getCaseTitle(): string;
|
|
79
|
+
getCancelText(): string;
|
|
80
|
+
private getTriggerText;
|
|
81
|
+
private discard;
|
|
82
|
+
private handleError;
|
|
83
|
+
private resetErrors;
|
|
84
|
+
private saveDraft;
|
|
85
|
+
private getCaseFields;
|
|
86
|
+
private getCaseFieldsFromCurrentAndPreviousPages;
|
|
87
|
+
private buildCaseEventData;
|
|
88
|
+
/**
|
|
89
|
+
* Abstracted this method from buildCaseEventData to remove duplication.
|
|
90
|
+
* @param caseFields The fields to filter the data by.
|
|
91
|
+
* @param formValue The original value of the form.
|
|
92
|
+
* @param clearEmpty Whether or not to clear out empty values.
|
|
93
|
+
* @param clearNonCase Whether or not to clear out fields that are not part of the case.
|
|
94
|
+
* @returns CaseEventData for the specified parameters.
|
|
95
|
+
*/
|
|
96
|
+
private getFilteredCaseEventData;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditPageComponent, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditPageComponent, "ccd-case-edit-page", never, {}, {}, never, never>;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=case-edit-page.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit-page.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,eAAe,EAAa,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAEpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE7E,OAAO,EAAE,qBAAqB,E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wBd,UAAU,IAAI,OAAO;IAIrB,SAAS,IAAI,MAAM;IAInB,YAAY,IAAI,MAAM;IAKtB,aAAa,IAAI,MAAM;IAI9B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,wCAAwC;IAUhD,OAAO,CAAC,kBAAkB;IA4B1B;;;;;;;OAOG;IACH,OAAO,CAAC,wBAAwB;iCAtYrB,qBAAqB;2CAArB,qBAAqB;CAqZjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-page/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { Subject, Subscription } from 'rxjs';
|
|
5
|
+
import { PaletteContext } from '../../../components/palette/base-field/palette-context.enum';
|
|
6
|
+
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
|
|
7
|
+
import { CaseField } from '../../../domain/definition/case-field.model';
|
|
8
|
+
import { HttpError } from '../../../domain/http/http-error.model';
|
|
9
|
+
import { Profile } from '../../../domain/profile/profile.model';
|
|
10
|
+
import { Task } from '../../../domain/work-allocation/Task';
|
|
11
|
+
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
|
|
12
|
+
import { FieldsUtils } from '../../../services/fields/fields.utils';
|
|
13
|
+
import { FormErrorService } from '../../../services/form/form-error.service';
|
|
14
|
+
import { FormValueService } from '../../../services/form/form-value.service';
|
|
15
|
+
import { OrderService } from '../../../services/order/order.service';
|
|
16
|
+
import { ProfileNotifier } from '../../../services/profile/profile.notifier';
|
|
17
|
+
import { SessionStorageService } from '../../../services/session/session-storage.service';
|
|
18
|
+
import { CallbackErrorsContext } from '../../error';
|
|
19
|
+
import { CaseEditComponent } from '../case-edit/case-edit.component';
|
|
20
|
+
import { EventCompletionParams } from '../domain/event-completion-params.model';
|
|
21
|
+
import { WizardPage } from '../domain/wizard-page.model';
|
|
22
|
+
import { Wizard } from '../domain/wizard.model';
|
|
23
|
+
import { CaseNotifier } from '../services/case.notifier';
|
|
24
|
+
import * as i0 from "@angular/core";
|
|
25
|
+
export declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
|
|
26
|
+
private readonly caseEdit;
|
|
27
|
+
private readonly formValueService;
|
|
28
|
+
private readonly formErrorService;
|
|
29
|
+
private readonly fieldsUtils;
|
|
30
|
+
private readonly caseFieldService;
|
|
31
|
+
private readonly route;
|
|
32
|
+
private readonly router;
|
|
33
|
+
private readonly orderService;
|
|
34
|
+
private readonly profileNotifier;
|
|
35
|
+
private readonly sessionStorageService;
|
|
36
|
+
private readonly caseNotifier;
|
|
37
|
+
constructor(caseEdit: CaseEditComponent, formValueService: FormValueService, formErrorService: FormErrorService, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, router: Router, orderService: OrderService, profileNotifier: ProfileNotifier, sessionStorageService: SessionStorageService, caseNotifier: CaseNotifier);
|
|
38
|
+
get isDisabled(): boolean;
|
|
39
|
+
private get hasErrors();
|
|
40
|
+
eventTrigger: CaseEventTrigger;
|
|
41
|
+
editForm: FormGroup;
|
|
42
|
+
error: HttpError;
|
|
43
|
+
callbackErrorsSubject: Subject<any>;
|
|
44
|
+
ignoreWarning: boolean;
|
|
45
|
+
triggerText: string;
|
|
46
|
+
wizard: Wizard;
|
|
47
|
+
profile: Profile;
|
|
48
|
+
showSummaryFields: CaseField[];
|
|
49
|
+
paletteContext: PaletteContext;
|
|
50
|
+
isSubmitting: boolean;
|
|
51
|
+
profileSubscription: Subscription;
|
|
52
|
+
contextFields: CaseField[];
|
|
53
|
+
task: Task;
|
|
54
|
+
eventCompletionParams: EventCompletionParams;
|
|
55
|
+
eventCompletionChecksRequired: boolean;
|
|
56
|
+
static readonly SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION: (a: CaseField, b: CaseField) => number;
|
|
57
|
+
ngOnInit(): void;
|
|
58
|
+
ngOnDestroy(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Handler function for event completion
|
|
61
|
+
*/
|
|
62
|
+
submit(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Handler function for event emitted from case event completion component
|
|
65
|
+
*/
|
|
66
|
+
onEventCanBeCompleted(eventCanBeCompleted: boolean): void;
|
|
67
|
+
navigateToPage(pageId: string): void;
|
|
68
|
+
callbackErrorsNotify(errorContext: CallbackErrorsContext): void;
|
|
69
|
+
summaryCaseField(field: CaseField): CaseField;
|
|
70
|
+
cancel(): void;
|
|
71
|
+
isLabel(field: CaseField): boolean;
|
|
72
|
+
isChangeAllowed(field: CaseField): boolean;
|
|
73
|
+
checkYourAnswerFieldsToDisplayExists(): boolean;
|
|
74
|
+
readOnlySummaryFieldsToDisplayExists(): boolean;
|
|
75
|
+
showEventNotes(): boolean;
|
|
76
|
+
previous(): void;
|
|
77
|
+
hasPrevious(): boolean;
|
|
78
|
+
isShown(page: WizardPage): boolean;
|
|
79
|
+
canShowFieldInCYA(field: CaseField): boolean;
|
|
80
|
+
isSolicitor(): boolean;
|
|
81
|
+
getCaseId(): string;
|
|
82
|
+
getEventId(): string;
|
|
83
|
+
getCaseTitle(): string;
|
|
84
|
+
getCancelText(): string;
|
|
85
|
+
/**
|
|
86
|
+
* Function to generate and return case event data for completing the event
|
|
87
|
+
*/
|
|
88
|
+
private generateCaseEventData;
|
|
89
|
+
/**
|
|
90
|
+
* Function to complete the event
|
|
91
|
+
*/
|
|
92
|
+
private caseSubmit;
|
|
93
|
+
/**
|
|
94
|
+
* Traverse *all* values of a FormGroup, including those for disabled fields (i.e. hidden ones), replacing the
|
|
95
|
+
* value of any that are hidden AND have `retain_hidden_value` set to `true` in the corresponding `CaseField`, with
|
|
96
|
+
* the *original* value held in the `CaseField` object.
|
|
97
|
+
*
|
|
98
|
+
* This is as per design in EUI-3622, where any user-driven updates to hidden fields with `retain_hidden_value` =
|
|
99
|
+
* `true` are ignored (thus retaining the value displayed originally).
|
|
100
|
+
*
|
|
101
|
+
* * For Complex field types, the replacement above is performed recursively for all hidden sub-fields with
|
|
102
|
+
* `retain_hidden_value` = `true`.
|
|
103
|
+
*
|
|
104
|
+
* * For Collection field types, including collections of Complex and Document field types, the replacement is
|
|
105
|
+
* performed for all fields in the collection.
|
|
106
|
+
* returns An object with the *raw* form value data (as key-value pairs), with any value replacements as necessary
|
|
107
|
+
*/
|
|
108
|
+
private replaceHiddenFormValuesWithOriginalCaseData;
|
|
109
|
+
/**
|
|
110
|
+
* Replaces non-array value objects with `null` for any Complex-type fields whose value is effectively empty, i.e.
|
|
111
|
+
* all its sub-fields and descendants are `null` or `undefined`.
|
|
112
|
+
*/
|
|
113
|
+
private replaceEmptyComplexFieldValues;
|
|
114
|
+
private getStatus;
|
|
115
|
+
private hasCallbackFailed;
|
|
116
|
+
private getLastPageShown;
|
|
117
|
+
private buildConfirmation;
|
|
118
|
+
private sortFieldsByShowSummaryContent;
|
|
119
|
+
private getCaseFields;
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditSubmitComponent, never>;
|
|
121
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditSubmitComponent, "ccd-case-edit-submit", never, {}, {}, never, never>;
|
|
122
|
+
}
|
|
123
|
+
//# sourceMappingURL=case-edit-submit.component.d.ts.map
|
package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit-submit.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/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iB;IAIzB,OAAO,CAAC,gBAAgB;IAWxB,OAAO,CAAC,iBAAiB;IAazB,OAAO,CAAC,8BAA8B;IAMtC,OAAO,CAAC,aAAa;iCAnaV,uBAAuB;2CAAvB,uBAAuB;CA0anC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-submit/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./case-edit-confirm/case-edit-confirm.component";
|
|
3
|
+
import * as i2 from "./case-edit/case-edit.component";
|
|
4
|
+
import * as i3 from "./case-edit-page/case-edit-page.component";
|
|
5
|
+
import * as i4 from "./case-edit-form/case-edit-form.component";
|
|
6
|
+
import * as i5 from "./case-edit-submit/case-edit-submit.component";
|
|
7
|
+
import * as i6 from "./case-event-completion/case-event-completion.component";
|
|
8
|
+
import * as i7 from "./case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component";
|
|
9
|
+
import * as i8 from "./case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component";
|
|
10
|
+
import * as i9 from "./case-create/case-create.component";
|
|
11
|
+
import * as i10 from "./case-progress/case-progress.component";
|
|
12
|
+
import * as i11 from "../loading-spinner/loading-spinner.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "@angular/router";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "../palette/palette.module";
|
|
17
|
+
import * as i16 from "../../directives/substitutor/label-substitutor.module";
|
|
18
|
+
import * as i17 from "../../directives/conditional-show/conditional-show.module";
|
|
19
|
+
import * as i18 from "../error/errors.module";
|
|
20
|
+
import * as i19 from "@angular/cdk/portal";
|
|
21
|
+
import * as i20 from "../error/callback-errors.component";
|
|
22
|
+
export declare class CaseEditorModule {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditorModule, never>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDefWithMeta<CaseEditorModule, [typeof i1.CaseEditConfirmComponent, typeof i2.CaseEditComponent, typeof i3.CaseEditPageComponent, typeof i4.CaseEditFormComponent, typeof i5.CaseEditSubmitComponent, typeof i6.CaseEventCompletionComponent, typeof i7.CaseEventCompletionTaskCancelledComponent, typeof i8.CaseEventCompletionTaskReassignedComponent, typeof i9.CaseCreateComponent, typeof i10.CaseProgressComponent, typeof i11.LoadingSpinnerComponent], [typeof i12.CommonModule, typeof i13.RouterModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.PaletteModule, typeof i16.LabelSubstitutorModule, typeof i17.ConditionalShowModule, typeof i18.ErrorsModule, typeof i19.PortalModule], [typeof i1.CaseEditConfirmComponent, typeof i2.CaseEditComponent, typeof i3.CaseEditPageComponent, typeof i4.CaseEditFormComponent, typeof i5.CaseEditSubmitComponent, typeof i9.CaseCreateComponent, typeof i10.CaseProgressComponent, typeof i20.CallbackErrorsComponent, typeof i11.LoadingSpinnerComponent]>;
|
|
25
|
+
static ɵinj: i0.ɵɵInjectorDef<CaseEditorModule>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=case-editor.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-editor.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmDA,qBA+Da,gBAAgB;iCAAhB,gBAAgB;0CAAhB,gBAAgB;kCAAhB,gBAAgB;CAAG"}
|
package/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ComponentPortal } from '@angular/cdk/portal';
|
|
2
|
+
import { EventEmitter, InjectionToken, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { StateMachine } from '@edium/fsm';
|
|
5
|
+
import { AlertService } from '../../../services/alert/alert.service';
|
|
6
|
+
import { SessionStorageService } from '../../../services/session/session-storage.service';
|
|
7
|
+
import { EventCompletionParams } from '../domain/event-completion-params.model';
|
|
8
|
+
import { EventCompletionComponentEmitter, EventCompletionStateMachineContext } from '../domain/event-completion-state-machine-context.model';
|
|
9
|
+
import { EventCompletionStateMachineService } from '../services/event-completion-state-machine.service';
|
|
10
|
+
import { WorkAllocationService } from '../services/work-allocation.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare const COMPONENT_PORTAL_INJECTION_TOKEN: InjectionToken<CaseEventCompletionComponent>;
|
|
13
|
+
export declare class CaseEventCompletionComponent implements OnChanges, EventCompletionComponentEmitter {
|
|
14
|
+
private readonly service;
|
|
15
|
+
private readonly router;
|
|
16
|
+
private readonly route;
|
|
17
|
+
private readonly sessionStorageService;
|
|
18
|
+
private readonly workAllocationService;
|
|
19
|
+
private readonly alertService;
|
|
20
|
+
eventCompletionParams: EventCompletionParams;
|
|
21
|
+
eventCanBeCompleted: EventEmitter<boolean>;
|
|
22
|
+
stateMachine: StateMachine;
|
|
23
|
+
context: EventCompletionStateMachineContext;
|
|
24
|
+
selectedComponentPortal: ComponentPortal<any>;
|
|
25
|
+
constructor(service: EventCompletionStateMachineService, router: Router, route: ActivatedRoute, sessionStorageService: SessionStorageService, workAllocationService: WorkAllocationService, alertService: AlertService);
|
|
26
|
+
ngOnChanges(changes?: SimpleChanges): void;
|
|
27
|
+
showPortal(portalType: number): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEventCompletionComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEventCompletionComponent, "ccd-case-event-completion", never, { "eventCompletionParams": "eventCompletionParams"; }, { "eventCanBeCompleted": "eventCanBeCompleted"; }, never, never>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=case-event-completion.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-event-completion.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAa,YAAY,EAAE,cAAc,EAAmB,SAAS,EAAU,aAAa,EAAE,MAAM,eAAe,CAAC;AAC3H,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAEhF,OAAO,EAAE,+BAA+B,EAAE,kCAAkC,EAAE,MAAM,wDAAwD,CAAC;AAC7I,OAAO,EAAE,kCAAkC,EAAE,MAAM,oDAAoD,CAAC;AACxG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;;AAI5E,eAAO,MAAM,gCAAgC,8CAAuD,CAAC;AAErG,qBAIa,4BAA6B,YAAW,SAAS,EAAE,+BAA+B;IAYjF,OAAO,CAAC,QAAQ,CAAC,OAAO;IAClC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAdxB,qBAAqB,EAAE,qBAAqB,CAAC;IAG7C,mBAAmB,EAAE,YAAY,CAAC,OAAO,CAAC,CAAsB;IAEhE,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,kCAAkC,CAAC;IAC5C,uBAAuB,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC;gBAExB,OAAO,EAAE,kCAAkC,EACrD,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,qBAAqB,EAAE,qBAAqB,EAC5C,qBAAqB,EAAE,qBAAqB,EAC5C,YAAY,EAAE,YAAY;IAGtC,WAAW,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IA2B1C,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;iCA/ChC,4BAA4B;2CAA5B,4BAA4B;CA8DxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CaseEventCompletionComponent } from '../../case-event-completion.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CaseEventCompletionTaskCancelledComponent {
|
|
4
|
+
private readonly parentComponent;
|
|
5
|
+
caseId: string;
|
|
6
|
+
constructor(parentComponent: CaseEventCompletionComponent);
|
|
7
|
+
onContinue(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEventCompletionTaskCancelledComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEventCompletionTaskCancelledComponent, "app-case-event-completion-task-cancelled", never, {}, {}, never, never>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=case-event-completion-task-cancelled.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-event-completion-task-cancelled.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAoC,MAAM,uCAAuC,CAAC;;AAEvH,qBAIa,yCAAyC;IAGE,OAAO,CAAC,QAAQ,CAAC,eAAe;IAF/E,MAAM,EAAE,MAAM,CAAC;gBAEiD,eAAe,EAAE,4BAA4B;IAI7G,UAAU,IAAI,IAAI;iCAPd,yCAAyC;2CAAzC,yCAAyC;CAWrD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { AlertService } from '../../../../../services/alert/alert.service';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { CaseworkerService } from '../../../services/case-worker.service';
|
|
6
|
+
import { JudicialworkerService } from '../../../services/judicial-worker.service';
|
|
7
|
+
import { WorkAllocationService } from '../../../services/work-allocation.service';
|
|
8
|
+
import { CaseEventCompletionComponent } from '../../case-event-completion.component';
|
|
9
|
+
import { SessionStorageService } from '../../../../../services/session/session-storage.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class CaseEventCompletionTaskReassignedComponent implements OnInit, OnDestroy {
|
|
12
|
+
private readonly parentComponent;
|
|
13
|
+
private readonly route;
|
|
14
|
+
private readonly workAllocationService;
|
|
15
|
+
private readonly sessionStorageService;
|
|
16
|
+
private readonly judicialworkerService;
|
|
17
|
+
private readonly caseworkerService;
|
|
18
|
+
private readonly alertService;
|
|
19
|
+
caseId: string;
|
|
20
|
+
assignedUserId: string;
|
|
21
|
+
assignedUserName: string;
|
|
22
|
+
subscription: Subscription;
|
|
23
|
+
caseworkerSubscription: Subscription;
|
|
24
|
+
judicialworkerSubscription: Subscription;
|
|
25
|
+
constructor(parentComponent: CaseEventCompletionComponent, route: ActivatedRoute, workAllocationService: WorkAllocationService, sessionStorageService: SessionStorageService, judicialworkerService: JudicialworkerService, caseworkerService: CaseworkerService, alertService: AlertService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
onContinue(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEventCompletionTaskReassignedComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEventCompletionTaskReassignedComponent, "app-case-event-completion-task-reassigned", never, {}, {}, never, never>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=case-event-completion-task-reassigned.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-event-completion-task-reassigned.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAc,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAoC,MAAM,uCAAuC,CAAC;AACvH,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;;AAEhG,qBAIa,0CAA2C,YAAW,MAAM,EAAE,SAAS;IAS5B,OAAO,CAAC,QAAQ,CAAC,eAAe;IACpF,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,qBAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAbxB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,sBAAsB,EAAE,YAAY,CAAC;IACrC,0BAA0B,EAAE,YAAY,CAAC;gBAEuB,eAAe,EAAE,4BAA4B,EACjG,KAAK,EAAE,cAAc,EACrB,qBAAqB,EAAE,qBAAqB,EAC5C,qBAAqB,EAAE,qBAAqB,EAC5C,qBAAqB,EAAE,qBAAqB,EAC5C,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,YAAY;IAGtC,QAAQ,IAAI,IAAI;IAiChB,WAAW,IAAI,IAAI;IAYnB,UAAU,IAAI,IAAI;iCA/Dd,0CAA0C;2CAA1C,0CAA0C;CAuFtD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './case-event-completion.component';
|
|
2
|
+
export * from './components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component';
|
|
3
|
+
export * from './components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-event-completion/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,kGAAkG,CAAC;AACjH,cAAc,oGAAoG,CAAC"}
|