@hmcts/ccd-case-ui-toolkit 6.11.0-case-file-view-move-document → 6.11.0-rc1
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 +2751 -2037
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/app.config.js +1 -1
- package/esm2015/lib/components/form/date-input/date-input.component.js +8 -8
- package/esm2015/lib/components/header/header-bar/header-bar.component.js +2 -3
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.module.js +1 -1
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.service.js +5 -8
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-validation.model.js +1 -1
- package/esm2015/lib/shared/components/activity/activity.component.js +5 -5
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +272 -13
- package/esm2015/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.js +3 -3
- package/esm2015/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.js +80 -0
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +220 -196
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +162 -411
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +20 -17
- package/esm2015/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.js +2 -1
- package/esm2015/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.js +3 -3
- package/esm2015/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.js +2 -1
- package/esm2015/lib/shared/components/case-editor/domain/wizard-page-field.model.js +1 -1
- package/esm2015/lib/shared/components/case-editor/domain/wizard-page.model.js +2 -1
- package/esm2015/lib/shared/components/case-editor/services/cases.service.js +11 -22
- package/esm2015/lib/shared/components/case-editor/services/page-validation.service.js +2 -2
- package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +12 -12
- package/esm2015/lib/shared/components/case-editor/services/work-allocation.service.js +1 -1
- package/esm2015/lib/shared/components/case-history/domain/case-history.model.js +2 -1
- package/esm2015/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.js +5 -5
- package/esm2015/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.js +3 -5
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +71 -41
- package/esm2015/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.js +4 -4
- package/esm2015/lib/shared/components/case-viewer/case-viewer.component.js +36 -18
- package/esm2015/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.js +3 -3
- package/esm2015/lib/shared/components/case-viewer/services/case.resolver.js +2 -2
- package/esm2015/lib/shared/components/error/callback-errors.component.js +5 -10
- package/esm2015/lib/shared/components/error/domain/error-context.js +1 -1
- package/esm2015/lib/shared/components/event-start/event-guard/event-start.guard.js +2 -2
- package/esm2015/lib/shared/components/pagination/pagination.component.js +10 -10
- package/esm2015/lib/shared/components/palette/address/address-option.model.js +4 -7
- package/esm2015/lib/shared/components/palette/address/write-address-field.component.js +4 -4
- package/esm2015/lib/shared/components/palette/base-field/field-read-label.component.js +1 -1
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +2 -2
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +3 -3
- package/esm2015/lib/shared/components/palette/base-field/payment-field.component.js +4 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +88 -52
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.js +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/index.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.js +22 -17
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.js +2 -2
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +30 -19
- package/esm2015/lib/shared/components/palette/case-flag/enums/index.js +1 -1
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +35 -24
- package/esm2015/lib/shared/components/palette/collection/collection-create-checker.service.js +5 -5
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +19 -8
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +4 -3
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +2 -2
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +10 -3
- package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +1 -1
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +3 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +47 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +153 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +5 -7
- package/esm2015/lib/shared/components/palette/index.js +2 -1
- package/esm2015/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.js +45 -22
- package/esm2015/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.js +2 -4
- package/esm2015/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.js +31 -9
- package/esm2015/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.js +152 -77
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.js +21 -19
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.js +32 -8
- package/esm2015/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.js +2 -4
- package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.js +1 -1
- package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases.model.js +4 -1
- package/esm2015/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.js +3 -1
- package/esm2015/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.js +3 -5
- package/esm2015/lib/shared/components/palette/linked-cases/services/linked-cases.service.js +5 -6
- package/esm2015/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.js +43 -90
- package/esm2015/lib/shared/components/palette/order-summary/fee.model.js +2 -1
- package/esm2015/lib/shared/components/palette/order-summary/order-summary.model.js +1 -1
- package/esm2015/lib/shared/components/palette/palette.module.js +35 -11
- package/esm2015/lib/shared/components/palette/palette.service.js +5 -3
- package/esm2015/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.js +3 -3
- package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +2 -2
- package/esm2015/lib/shared/components/palette/utils/date.pipe.js +4 -4
- package/esm2015/lib/shared/components/palette/waystopay/waystopay-field.component.js +4 -4
- package/esm2015/lib/shared/components/palette/yes-no/yes-no.service.js +3 -1
- package/esm2015/lib/shared/components/search-filters/domain/search-input.model.js +1 -1
- package/esm2015/lib/shared/components/search-filters/search-filters.component.js +2 -2
- package/esm2015/lib/shared/components/search-result/search-result.component.js +14 -18
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +3 -3
- package/esm2015/lib/shared/directives/conditional-show/conditional-show-form.directive.js +2 -2
- package/esm2015/lib/shared/directives/conditional-show/domain/conditional-show.model.js +104 -200
- package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +197 -0
- package/esm2015/lib/shared/directives/conditional-show/services/condition.peg.js +103 -0
- package/esm2015/lib/shared/domain/addresses/address.model.js +2 -1
- package/esm2015/lib/shared/domain/case-details.model.js +2 -1
- package/esm2015/lib/shared/domain/case-edit/case-edit.model.js +2 -0
- package/esm2015/lib/shared/domain/case-edit/index.js +2 -0
- package/esm2015/lib/shared/domain/case-event-data.model.js +2 -1
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-category.model.js +1 -1
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-document.model.js +2 -1
- package/esm2015/lib/shared/domain/case-file-view/categories-and-documents.model.js +1 -1
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +2 -1
- package/esm2015/lib/shared/domain/case-flag/flag-type.model.js +2 -1
- package/esm2015/lib/shared/domain/case-flag/hmcts-service-detail.model.js +2 -1
- package/esm2015/lib/shared/domain/case-view/case-event-trigger.model.js +2 -1
- package/esm2015/lib/shared/domain/case-view/case-tab.model.js +2 -1
- package/esm2015/lib/shared/domain/case-view/case-view-event.model.js +2 -1
- package/esm2015/lib/shared/domain/case-view/case-view.model.js +2 -1
- package/esm2015/lib/shared/domain/case-view/role-assignment-response.model.js +1 -1
- package/esm2015/lib/shared/domain/case-view/role-request.model.js +1 -1
- package/esm2015/lib/shared/domain/definition/case-event.model.js +1 -1
- package/esm2015/lib/shared/domain/definition/case-field.model.js +7 -3
- package/esm2015/lib/shared/domain/definition/case-type.model.js +2 -1
- package/esm2015/lib/shared/domain/definition/event-case-field.model.js +2 -1
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
- package/esm2015/lib/shared/domain/definition/field-type.model.js +2 -1
- package/esm2015/lib/shared/domain/document/document-data.model.js +2 -1
- package/esm2015/lib/shared/domain/index.js +2 -1
- package/esm2015/lib/shared/domain/organisation/organisation-converter.js +8 -8
- package/esm2015/lib/shared/domain/pagination-metadata.model.js +1 -1
- package/esm2015/lib/shared/domain/search/field.model.js +1 -1
- package/esm2015/lib/shared/domain/search/search-result-view-column.model.js +1 -1
- package/esm2015/lib/shared/domain/search/search-result-view-item.model.js +2 -1
- package/esm2015/lib/shared/domain/search/search-result-view.model.js +2 -1
- package/esm2015/lib/shared/domain/user/user-info.model.js +1 -1
- package/esm2015/lib/shared/domain/workbasket/workbasket-input.model.js +1 -8
- package/esm2015/lib/shared/fixture/case-field-builder.js +13 -13
- package/esm2015/lib/shared/fixture/shared.test.fixture.js +27 -27
- package/esm2015/lib/shared/pipes/complex/{cdd-page-fields.pipe.js → ccd-page-fields.pipe.js} +3 -3
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +14 -11
- package/esm2015/lib/shared/pipes/complex/index.js +2 -2
- package/esm2015/lib/shared/pipes/index.js +2 -1
- package/esm2015/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.js +28 -0
- package/esm2015/lib/shared/pipes/link-cases-from-reason-code/index.js +2 -0
- package/esm2015/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.js +10 -5
- package/esm2015/lib/shared/pipes/pipes.module.js +8 -4
- package/esm2015/lib/shared/services/activity/activity.polling.service.js +2 -2
- package/esm2015/lib/shared/services/activity/activity.service.js +9 -18
- package/esm2015/lib/shared/services/addresses/address-parser.js +5 -5
- package/esm2015/lib/shared/services/case-fields/format-translator.service.js +2 -2
- package/esm2015/lib/shared/services/case-flag/case-flag-refdata.service.js +26 -5
- package/esm2015/lib/shared/services/common-data-service/common-data-service.js +2 -2
- package/esm2015/lib/shared/services/definitions/definitions.service.js +3 -8
- package/esm2015/lib/shared/services/fields/fields.purger.js +15 -15
- package/esm2015/lib/shared/services/fields/fields.utils.js +12 -4
- package/esm2015/lib/shared/services/form/field-type-sanitiser.js +17 -1
- package/esm2015/lib/shared/services/form/form-value.service.js +1 -2
- package/esm2015/lib/shared/services/loading/loading.service.js +2 -7
- package/esm2015/lib/shared/services/search/search.service.js +5 -10
- package/esm2015/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.js +5 -5
- package/esm2015/lib/shared/services/window/window.service.js +1 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +2807 -2100
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/app.config.d.ts +2 -0
- package/lib/app.config.d.ts.map +1 -1
- package/lib/components/header/header-bar/header-bar.component.d.ts.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-data.module.d.ts.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts +3 -5
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +65 -10
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts +0 -1
- package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.d.ts +8 -0
- package/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +12 -9
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +6 -56
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts +14 -13
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts +2 -2
- package/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.d.ts.map +1 -1
- package/lib/shared/components/case-editor/domain/wizard-page-field.model.d.ts.map +1 -1
- package/lib/shared/components/case-editor/domain/wizard-page.model.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/cases.service.d.ts +1 -3
- package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -1
- package/lib/shared/components/case-history/domain/case-history.model.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +7 -2
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-viewer.component.d.ts +6 -3
- package/lib/shared/components/case-viewer/case-viewer.component.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/services/case.resolver.d.ts.map +1 -1
- package/lib/shared/components/error/callback-errors.component.d.ts +2 -3
- package/lib/shared/components/error/callback-errors.component.d.ts.map +1 -1
- package/lib/shared/components/error/domain/error-context.d.ts +2 -2
- package/lib/shared/components/error/domain/error-context.d.ts.map +1 -1
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts +1 -1
- package/lib/shared/components/event-start/event-guard/event-start.guard.d.ts.map +1 -1
- package/lib/shared/components/pagination/pagination.component.d.ts +3 -3
- package/lib/shared/components/palette/address/address-option.model.d.ts.map +1 -1
- package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/payment-field.component.d.ts +1 -0
- package/lib/shared/components/palette/base-field/payment-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +14 -10
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +4 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts +0 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +3 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/enums/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +2 -0
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/collection-create-checker.service.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -0
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts +1 -1
- package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts.map +1 -1
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +3 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +9 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +17 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +1 -0
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts +10 -9
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.d.ts +4 -0
- package/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts +4 -4
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts +2 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts +0 -4
- package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/domain/linked-cases.model.d.ts +6 -3
- package/lib/shared/components/palette/linked-cases/domain/linked-cases.model.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.d.ts +3 -1
- package/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/services/linked-cases.service.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts +0 -4
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/order-summary/fee.model.d.ts.map +1 -1
- package/lib/shared/components/palette/order-summary/order-summary.model.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +60 -59
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/components/palette/text-area/write-text-area-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/utils/date.pipe.d.ts.map +1 -1
- package/lib/shared/components/palette/yes-no/yes-no.service.d.ts.map +1 -1
- package/lib/shared/components/search-filters/domain/search-input.model.d.ts.map +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts.map +1 -1
- package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts +13 -30
- package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts.map +1 -1
- package/lib/shared/directives/conditional-show/services/condition-parser.service.d.ts +30 -0
- package/lib/shared/directives/conditional-show/services/condition-parser.service.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/services/condition.peg.d.ts +3 -0
- package/lib/shared/directives/conditional-show/services/condition.peg.d.ts.map +1 -0
- package/lib/shared/domain/addresses/address.model.d.ts.map +1 -1
- package/lib/shared/domain/case-details.model.d.ts.map +1 -1
- package/lib/shared/domain/case-edit/case-edit.model.d.ts +26 -0
- package/lib/shared/domain/case-edit/case-edit.model.d.ts.map +1 -0
- package/lib/shared/domain/case-edit/index.d.ts +2 -0
- package/lib/shared/domain/case-edit/index.d.ts.map +1 -0
- package/lib/shared/domain/case-event-data.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/case-file-view-category.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts +1 -0
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/categories-and-documents.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
- package/lib/shared/domain/case-flag/flag-type.model.d.ts.map +1 -1
- package/lib/shared/domain/case-flag/hmcts-service-detail.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/case-event-trigger.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/case-tab.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/case-view-event.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/case-view.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/role-assignment-response.model.d.ts +1 -2
- package/lib/shared/domain/case-view/role-assignment-response.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/role-request.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/case-event.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/case-type.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/event-case-field.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/field-type.model.d.ts.map +1 -1
- package/lib/shared/domain/document/document-data.model.d.ts.map +1 -1
- package/lib/shared/domain/index.d.ts +1 -0
- package/lib/shared/domain/index.d.ts.map +1 -1
- package/lib/shared/domain/organisation/organisation-converter.d.ts.map +1 -1
- package/lib/shared/domain/pagination-metadata.model.d.ts +2 -2
- package/lib/shared/domain/pagination-metadata.model.d.ts.map +1 -1
- package/lib/shared/domain/search/field.model.d.ts.map +1 -1
- package/lib/shared/domain/search/search-result-view-column.model.d.ts.map +1 -1
- package/lib/shared/domain/search/search-result-view-item.model.d.ts.map +1 -1
- package/lib/shared/domain/search/search-result-view.model.d.ts.map +1 -1
- package/lib/shared/domain/user/user-info.model.d.ts.map +1 -1
- package/lib/shared/domain/workbasket/workbasket-input.model.d.ts +0 -1
- package/lib/shared/domain/workbasket/workbasket-input.model.d.ts.map +1 -1
- package/lib/shared/fixture/case-field-builder.d.ts +6 -6
- package/lib/shared/fixture/case-field-builder.d.ts.map +1 -1
- package/lib/shared/fixture/shared.test.fixture.d.ts +6 -6
- package/lib/shared/fixture/shared.test.fixture.d.ts.map +1 -1
- package/lib/shared/pipes/complex/{cdd-page-fields.pipe.d.ts → ccd-page-fields.pipe.d.ts} +1 -1
- package/lib/shared/pipes/complex/ccd-page-fields.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/pipes/complex/index.d.ts +1 -1
- package/lib/shared/pipes/index.d.ts +1 -0
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts +12 -0
- package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/link-cases-from-reason-code/index.d.ts +2 -0
- package/lib/shared/pipes/link-cases-from-reason-code/index.d.ts.map +1 -0
- package/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.d.ts +2 -1
- package/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.d.ts.map +1 -1
- package/lib/shared/pipes/pipes.module.d.ts +4 -3
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/lib/shared/services/activity/activity.polling.service.d.ts.map +1 -1
- package/lib/shared/services/activity/activity.service.d.ts.map +1 -1
- package/lib/shared/services/addresses/address-parser.d.ts.map +1 -1
- package/lib/shared/services/case-flag/case-flag-refdata.service.d.ts +14 -3
- package/lib/shared/services/case-flag/case-flag-refdata.service.d.ts.map +1 -1
- package/lib/shared/services/common-data-service/common-data-service.d.ts.map +1 -1
- package/lib/shared/services/definitions/definitions.service.d.ts.map +1 -1
- package/lib/shared/services/fields/fields.purger.d.ts.map +1 -1
- package/lib/shared/services/fields/fields.utils.d.ts +2 -1
- package/lib/shared/services/fields/fields.utils.d.ts.map +1 -1
- package/lib/shared/services/form/field-type-sanitiser.d.ts +2 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
- package/lib/shared/services/loading/loading.service.d.ts +1 -4
- package/lib/shared/services/loading/loading.service.d.ts.map +1 -1
- package/lib/shared/services/search/search.service.d.ts +0 -2
- package/lib/shared/services/search/search.service.d.ts.map +1 -1
- package/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.d.ts.map +1 -1
- package/lib/shared/services/window/window.service.d.ts.map +1 -1
- package/package.json +2 -2
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +0 -85
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts +0 -8
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts.map +0 -1
- package/lib/shared/pipes/complex/cdd-page-fields.pipe.d.ts.map +0 -1
package/lib/app.config.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export declare abstract class AbstractAppConfig {
|
|
|
62
62
|
getAccessManagementRequestReviewMockModel(): AccessManagementRequestReviewMockModel;
|
|
63
63
|
getLocationRefApiUrl(): string;
|
|
64
64
|
abstract getRefundsUrl(): string;
|
|
65
|
+
abstract getNotificationUrl(): string;
|
|
65
66
|
abstract getPaymentReturnUrl(): string;
|
|
66
67
|
abstract getCategoriesAndDocumentsUrl(): string;
|
|
67
68
|
abstract getDocumentDataUrl(): string;
|
|
@@ -127,6 +128,7 @@ export declare class CaseEditorConfig {
|
|
|
127
128
|
location_ref_api_url?: string;
|
|
128
129
|
cam_role_assignments_api_url?: string;
|
|
129
130
|
refunds_url: string;
|
|
131
|
+
notification_url: string;
|
|
130
132
|
payment_return_url: string;
|
|
131
133
|
categories_and_documents_url: string;
|
|
132
134
|
document_data_url: string;
|
package/lib/app.config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.config.d.ts","sourceRoot":"","sources":["../../../projects/ccd-case-ui-toolkit/src/lib/app.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.config.d.ts","sourceRoot":"","sources":["../../../projects/ccd-case-ui-toolkit/src/lib/app.config.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,kCAAkC;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE;QACZ,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,sBAAsB,CAAC,EAAE;YACvB,YAAY,CAAC,EAAE,MAAM,CAAA;SACtB,CAAA;KACF,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,sCAAsC;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,aAAa,EAAE,MAAM,CAAC;QACtB,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,8BAAsB,iBAAiB;aACrB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;aACrB,WAAW,IAAI,MAAM;aACrB,SAAS,IAAI,MAAM;aACnB,cAAc,IAAI,MAAM;aACxB,wBAAwB,IAAI,MAAM;IAC3C,0BAA0B,IAAI,MAAM;IAGpC,qBAAqB,IAAI,OAAO;aAGvB,8BAA8B,IAAI,MAAM;aACxC,SAAS,IAAI,MAAM;aACnB,eAAe,IAAI,MAAM;aACzB,mBAAmB,IAAI,MAAM;aAC7B,oBAAoB,IAAI,MAAM;aAC9B,iBAAiB,IAAI,MAAM;aAC3B,cAAc,IAAI,MAAM;aACxB,qBAAqB,IAAI,MAAM;aAC/B,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;aAChD,wBAAwB,CAAC,GAAG,EAAE,M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gB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,4BAA4B,EAAE,MAAM,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0BAA0B,EAAE,MAAM,CAAC;IACnC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,uBAAuB,EAAE,MAAM,CAAC;CACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"header-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/components/header/header-bar/header-bar.component.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"header-bar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/components/header/header-bar/header-bar.component.ts"],"names":[],"mappings":";AAEA,qBAKa,kBAAkB;IAGtB,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,EAAE,OAAO,CAAC;IAGrB,QAAQ,EAAE,MAAM,CAAC;IAGxB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAyC;IAEjE,OAAO;iCAdH,kBAAkB;2CAAlB,kBAAkB;CAiB9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-edit-data.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/commons/case-edit-data/case-edit-data.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;;AAG9D,qBACa,kBAAkB;
|
|
1
|
+
{"version":3,"file":"case-edit-data.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/commons/case-edit-data/case-edit-data.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;;AAG9D,qBACa,kBAAkB;WACf,OAAO,IAAI,mBAAmB,CAAC,kBAAkB,CAAC;iCADrD,kBAAkB;0CAAlB,kBAAkB;kCAAlB,kBAAkB;CAO9B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { LinkedCasesError } from '../../components/palette/linked-cases/domain/linked-cases-state.model';
|
|
3
2
|
import { CaseView } from '../../domain';
|
|
4
3
|
import { CaseEditValidationError } from './case-edit-validation.model';
|
|
5
4
|
export declare class CaseEditDataService {
|
|
@@ -7,25 +6,24 @@ export declare class CaseEditDataService {
|
|
|
7
6
|
private title$;
|
|
8
7
|
private formValidationErrors$;
|
|
9
8
|
private editForm$;
|
|
10
|
-
private
|
|
9
|
+
private isLinkedCasesJourneyAtFinalStep$;
|
|
11
10
|
private eventTriggerName$;
|
|
12
11
|
private triggerSubmitEvent$;
|
|
13
12
|
caseDetails$: import("rxjs").Observable<CaseView>;
|
|
14
13
|
caseTitle$: import("rxjs").Observable<string>;
|
|
15
14
|
caseEditForm$: import("rxjs").Observable<FormGroup>;
|
|
16
15
|
caseFormValidationErrors$: import("rxjs").Observable<CaseEditValidationError[]>;
|
|
17
|
-
|
|
16
|
+
caseIsLinkedCasesJourneyAtFinalStep$: import("rxjs").Observable<boolean>;
|
|
18
17
|
caseEventTriggerName$: import("rxjs").Observable<string>;
|
|
19
18
|
caseTriggerSubmitEvent$: import("rxjs").Observable<boolean>;
|
|
20
19
|
constructor();
|
|
21
20
|
setCaseDetails(caseDetails: CaseView): void;
|
|
22
21
|
setCaseTitle(caseTitle: string): void;
|
|
23
22
|
setCaseEventTriggerName(triggerName: string): void;
|
|
24
|
-
setCaseLinkError(error: LinkedCasesError): void;
|
|
25
23
|
setFormValidationErrors(validationErrors: any[]): void;
|
|
26
24
|
setCaseEditForm(editForm: FormGroup): void;
|
|
27
25
|
clearFormValidationErrors(): void;
|
|
28
|
-
|
|
26
|
+
setLinkedCasesJourneyAtFinalStep(isAtFinalStep: boolean): void;
|
|
29
27
|
addFormValidationError(validationError: CaseEditValidationError): void;
|
|
30
28
|
setTriggerSubmitEvent(state: boolean): void;
|
|
31
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-edit-data.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/commons/case-edit-data/case-edit-data.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"case-edit-data.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/commons/case-edit-data/case-edit-data.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAuC;IACvD,OAAO,CAAC,MAAM,CAAqC;IACnD,OAAO,CAAC,qBAAqB,CAAsD;IACnF,OAAO,CAAC,SAAS,CAAwC;IACzD,OAAO,CAAC,gCAAgC,CAAsC;IAC9E,OAAO,CAAC,iBAAiB,CAAqC;IAC9D,OAAO,CAAC,mBAAmB,CAAsC;IAE1D,YAAY,sCAAgC;IAC5C,UAAU,oCAA8B;IACxC,aAAa,uCAAiC;IAC9C,yBAAyB,uDAA6C;IACtE,oCAAoC,qCAAwD;IAC5F,qBAAqB,oCAAyC;IAC9D,uBAAuB,qCAA2C;;IAIlE,cAAc,CAAC,WAAW,EAAE,QAAQ,GAAG,IAAI;IAI3C,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAIrC,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAIlD,uBAAuB,CAAC,gBAAgB,EAAE,GAAG,EAAE,GAAG,IAAI;IAItD,eAAe,CAAC,QAAQ,EAAE,SAAS,GAAG,IAAI;IAI1C,yBAAyB,IAAI,IAAI;IAIjC,gCAAgC,CAAC,aAAa,EAAE,OAAO,GAAG,IAAI;IAI9D,sBAAsB,CAAC,eAAe,EAAE,uBAAuB,GAAG,IAAI;IAMtE,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;CAGnD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-edit-validation.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/commons/case-edit-data/case-edit-validation.model.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAA;CAClB,
|
|
1
|
+
{"version":3,"file":"case-edit-validation.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/commons/case-edit-data/case-edit-validation.model.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAA;CAClB,CAAC"}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
5
|
import { ConditionalShowRegistrarService } from '../../../directives';
|
|
6
|
-
import { CaseEventTrigger, CaseView, Draft, Profile } from '../../../domain';
|
|
7
|
-
import { FieldsPurger, FieldsUtils, SessionStorageService, WindowService } from '../../../services';
|
|
6
|
+
import { CaseEditGetNextPage, CaseEditSubmitForm, CaseEditonEventCanBeCompleted, CaseEventData, CaseEventTrigger, CaseView, Draft, HttpError, Profile } from '../../../domain';
|
|
7
|
+
import { FieldsPurger, FieldsUtils, FormErrorService, FormValueService, LoadingService, SessionStorageService, WindowService } from '../../../services';
|
|
8
8
|
import { Confirmation, Wizard, WizardPage } from '../domain';
|
|
9
|
-
import {
|
|
9
|
+
import { EventCompletionParams } from '../domain/event-completion-params.model';
|
|
10
|
+
import { CaseNotifier, WizardFactoryService } from '../services';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class CaseEditComponent implements OnInit {
|
|
12
|
+
export declare class CaseEditComponent implements OnInit, OnDestroy {
|
|
12
13
|
private readonly fb;
|
|
14
|
+
private readonly caseNotifier;
|
|
13
15
|
private readonly router;
|
|
14
16
|
private readonly route;
|
|
15
17
|
private readonly fieldsUtils;
|
|
@@ -18,12 +20,15 @@ export declare class CaseEditComponent implements OnInit {
|
|
|
18
20
|
private readonly wizardFactory;
|
|
19
21
|
private readonly sessionStorageService;
|
|
20
22
|
private readonly windowsService;
|
|
23
|
+
private readonly formValueService;
|
|
24
|
+
private readonly formErrorService;
|
|
25
|
+
private readonly loadingService;
|
|
21
26
|
static readonly ORIGIN_QUERY_PARAM = "origin";
|
|
22
27
|
static readonly ALERT_MESSAGE = "Page is being refreshed so you will be redirected to the first page of this event.";
|
|
23
28
|
eventTrigger: CaseEventTrigger;
|
|
24
|
-
submit: (
|
|
25
|
-
validate: (
|
|
26
|
-
saveDraft: (
|
|
29
|
+
submit: (caseEventData: CaseEventData, profile?: Profile) => Observable<object>;
|
|
30
|
+
validate: (caseEventData: CaseEventData, pageId: string) => Observable<object>;
|
|
31
|
+
saveDraft: (caseEventData: CaseEventData) => Observable<Draft>;
|
|
27
32
|
caseDetails: CaseView;
|
|
28
33
|
cancelled: EventEmitter<any>;
|
|
29
34
|
submitted: EventEmitter<any>;
|
|
@@ -33,8 +38,18 @@ export declare class CaseEditComponent implements OnInit {
|
|
|
33
38
|
navigationOrigin: any;
|
|
34
39
|
initialUrl: string;
|
|
35
40
|
isPageRefreshed: boolean;
|
|
36
|
-
|
|
41
|
+
isSubmitting: boolean;
|
|
42
|
+
eventCompletionParams: EventCompletionParams;
|
|
43
|
+
submitResponse: Record<string, any>;
|
|
44
|
+
isEventCompletionChecksRequired: boolean;
|
|
45
|
+
isCaseFlagSubmission: boolean;
|
|
46
|
+
ignoreWarning: boolean;
|
|
47
|
+
isLinkedCasesSubmission: boolean;
|
|
48
|
+
error: HttpError;
|
|
49
|
+
callbackErrorsSubject: Subject<any>;
|
|
50
|
+
constructor(fb: FormBuilder, caseNotifier: CaseNotifier, router: Router, route: ActivatedRoute, fieldsUtils: FieldsUtils, fieldsPurger: FieldsPurger, registrarService: ConditionalShowRegistrarService, wizardFactory: WizardFactoryService, sessionStorageService: SessionStorageService, windowsService: WindowService, formValueService: FormValueService, formErrorService: FormErrorService, loadingService: LoadingService);
|
|
37
51
|
ngOnInit(): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
38
53
|
checkPageRefresh(): boolean;
|
|
39
54
|
getPage(pageId: string): WizardPage;
|
|
40
55
|
first(): Promise<boolean>;
|
|
@@ -43,7 +58,47 @@ export declare class CaseEditComponent implements OnInit {
|
|
|
43
58
|
previous(currentPageId: string): Promise<boolean>;
|
|
44
59
|
hasPrevious(currentPageId: string): boolean;
|
|
45
60
|
cancel(): void;
|
|
61
|
+
emitSubmitted(response: Record<string, any>): void;
|
|
62
|
+
getNextPage({ wizard, currentPageId, eventTrigger, form }: CaseEditGetNextPage): WizardPage;
|
|
46
63
|
confirm(confirmation: Confirmation): Promise<boolean>;
|
|
64
|
+
submitForm({ eventTrigger, form, caseDetails, submit }: CaseEditSubmitForm): void;
|
|
65
|
+
getCaseId(caseDetails: CaseView): string;
|
|
66
|
+
private getEventId;
|
|
67
|
+
private generateCaseEventData;
|
|
68
|
+
/**
|
|
69
|
+
* Replaces non-array value objects with `null` for any Complex-type fields whose value is effectively empty, i.e.
|
|
70
|
+
* all its sub-fields and descendants are `null` or `undefined`.
|
|
71
|
+
*
|
|
72
|
+
* @param data The object tree representing all the form field data
|
|
73
|
+
* @returns The form field data modified accordingly
|
|
74
|
+
*/
|
|
75
|
+
private replaceEmptyComplexFieldValues;
|
|
76
|
+
/**
|
|
77
|
+
* Traverse *all* values of a {@link FormGroup}, including those for disabled fields (i.e. hidden ones), replacing the
|
|
78
|
+
* value of any that are hidden AND have `retain_hidden_value` set to `true` in the corresponding `CaseField`, with
|
|
79
|
+
* the *original* value held in the `CaseField` object.
|
|
80
|
+
*
|
|
81
|
+
* This is as per design in EUI-3622, where any user-driven updates to hidden fields with `retain_hidden_value` =
|
|
82
|
+
* `true` are ignored (thus retaining the value displayed originally).
|
|
83
|
+
*
|
|
84
|
+
* * For Complex field types, the replacement above is performed recursively for all hidden sub-fields with
|
|
85
|
+
* `retain_hidden_value` = `true`.
|
|
86
|
+
*
|
|
87
|
+
* * For Collection field types, including collections of Complex and Document field types, the replacement is
|
|
88
|
+
* performed for all fields in the collection.
|
|
89
|
+
*
|
|
90
|
+
* @param formGroup The `FormGroup` instance whose raw values are to be traversed
|
|
91
|
+
* @param caseFields The array of {@link CaseField} domain model objects corresponding to fields in `formGroup`
|
|
92
|
+
* @param parentField Reference to the parent `CaseField`. Used for retrieving the sub-field values of a Complex field
|
|
93
|
+
* to perform recursive replacement - the sub-field `CaseField`s themselves do *not* contain any values
|
|
94
|
+
* @returns An object with the *raw* form value data (as key-value pairs), with any value replacements as necessary
|
|
95
|
+
*/
|
|
96
|
+
private replaceHiddenFormValuesWithOriginalCaseData;
|
|
97
|
+
private caseSubmit;
|
|
98
|
+
private buildConfirmation;
|
|
99
|
+
onEventCanBeCompleted({ eventTrigger, eventCanBeCompleted, caseDetails, form, submit }: CaseEditonEventCanBeCompleted): void;
|
|
100
|
+
getStatus(response: object): any;
|
|
101
|
+
private hasCallbackFailed;
|
|
47
102
|
static ɵfac: i0.ɵɵFactoryDef<CaseEditComponent, never>;
|
|
48
103
|
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
104
|
}
|
|
@@ -1 +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;
|
|
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,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAe,SAAS,EAAc,MAAM,gBAAgB,CAAC;AACjF,OAAO,EAAE,cAAc,EAAU,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAG3C,OAAO,EAAE,+BAA+B,EAAkB,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAC8C,mBAAmB,EACtE,kBAAkB,EAClB,6BAA6B,EAC7B,aAAa,EAAE,gBAAgB,EAC/B,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EACpC,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,EAC7E,qBAAqB,EAAE,aAAa,EACrC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM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AM,EAAE,aAAa,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,mBAAmB,GAAG,UAAU;IAO3F,OAAO,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC;IAKrD,UAAU,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,EAAE,kBAAkB,GAAI,IAAI;IA+BlF,SAAS,CAAC,WAAW,EAAE,QAAQ,GAAG,MAAM;IAI/C,OAAO,CAAC,UAAU;IAInB,OAAO,CAAC,qBAAqB;IAmC9B;;;;;;OAMG;IACH,OAAO,CAAC,8BAA8B;IAUtC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,2CAA2C;IAoEjD,OAAO,CAAC,UAAU;IAgClB,OAAO,CAAC,iBAAiB;IAalB,qBAAqB,CAAC,EAAE,YAAY,EAAE,mBAAmB,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,6BAA6B,GAAI,IAAI;IAY7H,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG;IAIvC,OAAO,CAAC,iBAAiB;iCAtbd,iBAAiB;2CAAjB,iBAAiB;CA0b7B"}
|
package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export declare class CaseEditConfirmComponent {
|
|
|
14
14
|
confirmation: Confirmation;
|
|
15
15
|
caseFields: CaseField[];
|
|
16
16
|
editForm: FormGroup;
|
|
17
|
-
private readonly caseId;
|
|
18
17
|
constructor(caseEdit: CaseEditComponent, router: Router);
|
|
19
18
|
submit(): void;
|
|
20
19
|
getCaseId(): string;
|
package/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
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;IAQvB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAAqB,OAAO,CAAC,QAAQ,CAAC,MAAM;IAP1E,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;gBAEE,QAAQ,EAAE,iBAAiB,EAAmB,MAAM,EAAE,MAAM;IAWlF,MAAM,IAAI,IAAI;IAId,SAAS,IAAI,MAAM;IAInB,YAAY,IAAI,MAAM;IAK7B,OAAO,CAAC,aAAa;iCAhCV,wBAAwB;2CAAxB,wBAAwB;CAuCpC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpError } from '../../../domain';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CaseEditGenericErrorsComponent {
|
|
4
|
+
error: HttpError;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDef<CaseEditGenericErrorsComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditGenericErrorsComponent, "ccd-case-edit-generic-errors", never, { "error": "error"; }, {}, never, never>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=case-edit-generic-errors.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"case-edit-generic-errors.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;;AAE5C,qBAMa,8BAA8B;IACzB,KAAK,EAAE,SAAS,CAAC;iCADtB,8BAA8B;2CAA9B,8BAA8B;CAE1C"}
|
|
@@ -7,7 +7,7 @@ import { CaseEditDataService } from '../../../commons/case-edit-data';
|
|
|
7
7
|
import { CaseEventData } from '../../../domain/case-event-data.model';
|
|
8
8
|
import { CaseEventTrigger } from '../../../domain/case-view/case-event-trigger.model';
|
|
9
9
|
import { CaseField } from '../../../domain/definition';
|
|
10
|
-
import {
|
|
10
|
+
import { LoadingService } from '../../../services';
|
|
11
11
|
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
|
|
12
12
|
import { FormErrorService } from '../../../services/form/form-error.service';
|
|
13
13
|
import { FormValueService } from '../../../services/form/form-value.service';
|
|
@@ -18,7 +18,7 @@ import { Wizard } from '../domain/wizard.model';
|
|
|
18
18
|
import { PageValidationService } from '../services/page-validation.service';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
21
|
-
|
|
21
|
+
readonly caseEdit: CaseEditComponent;
|
|
22
22
|
private readonly route;
|
|
23
23
|
private readonly formValueService;
|
|
24
24
|
private readonly formErrorService;
|
|
@@ -27,6 +27,7 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
27
27
|
private readonly dialog;
|
|
28
28
|
private readonly caseFieldService;
|
|
29
29
|
private readonly caseEditDataService;
|
|
30
|
+
private readonly loadingService;
|
|
30
31
|
static readonly RESUMED_FORM_DISCARD = "RESUMED_FORM_DISCARD";
|
|
31
32
|
static readonly NEW_FORM_DISCARD = "NEW_FORM_DISCARD";
|
|
32
33
|
static readonly NEW_FORM_SAVE = "NEW_FORM_CHANGED_SAVE";
|
|
@@ -39,13 +40,9 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
39
40
|
wizard: Wizard;
|
|
40
41
|
currentPage: WizardPage;
|
|
41
42
|
dialogConfig: MatDialogConfig;
|
|
42
|
-
error: HttpError;
|
|
43
|
-
callbackErrorsSubject: Subject<any>;
|
|
44
|
-
ignoreWarning: boolean;
|
|
45
43
|
triggerTextStart: string;
|
|
46
44
|
triggerTextIgnoreWarnings: string;
|
|
47
45
|
triggerText: string;
|
|
48
|
-
isSubmitting: boolean;
|
|
49
46
|
formValuesChanged: boolean;
|
|
50
47
|
pageChangeSubject: Subject<boolean>;
|
|
51
48
|
caseFields: CaseField[];
|
|
@@ -53,16 +50,18 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
53
50
|
id: string;
|
|
54
51
|
message: string;
|
|
55
52
|
}[];
|
|
56
|
-
showSpinner: boolean;
|
|
57
53
|
hasPreviousPage$: BehaviorSubject<boolean>;
|
|
54
|
+
callbackErrorsSubject: Subject<any>;
|
|
55
|
+
isLinkedCasesJourneyAtFinalStep: boolean;
|
|
58
56
|
private static scrollToTop;
|
|
59
57
|
private static setFocusToTop;
|
|
60
|
-
constructor(caseEdit: CaseEditComponent, route: ActivatedRoute, formValueService: FormValueService, formErrorService: FormErrorService, cdRef: ChangeDetectorRef, pageValidationService: PageValidationService, dialog: MatDialog, caseFieldService: CaseFieldService, caseEditDataService: CaseEditDataService);
|
|
58
|
+
constructor(caseEdit: CaseEditComponent, route: ActivatedRoute, formValueService: FormValueService, formErrorService: FormErrorService, cdRef: ChangeDetectorRef, pageValidationService: PageValidationService, dialog: MatDialog, caseFieldService: CaseFieldService, caseEditDataService: CaseEditDataService, loadingService: LoadingService);
|
|
61
59
|
ngOnInit(): void;
|
|
62
60
|
ngAfterViewChecked(): void;
|
|
63
61
|
applyValuesChanged(valuesChanged: boolean): void;
|
|
64
62
|
first(): Promise<boolean>;
|
|
65
63
|
currentPageIsNotValid(): boolean;
|
|
64
|
+
isLinkedCasesJourney(): boolean;
|
|
66
65
|
/**
|
|
67
66
|
* caseEventData.event_data contains all the values from the previous pages so we set caseEventData.data = caseEventData.event_data
|
|
68
67
|
* This builds the form with data from the previous pages
|
|
@@ -75,6 +74,8 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
75
74
|
updateFormData(jsonData: CaseEventData): void;
|
|
76
75
|
pageWithFieldExists(caseFieldId: string): WizardPage;
|
|
77
76
|
updateEventTriggerCaseFields(caseFieldId: string, jsonData: CaseEventData, eventTrigger: CaseEventTrigger): void;
|
|
77
|
+
private updateJsonDataObject;
|
|
78
|
+
private isAnObject;
|
|
78
79
|
updateFormControlsValue(formGroup: FormGroup, caseFieldId: string, value: any): void;
|
|
79
80
|
callbackErrorsNotify(errorContext: CallbackErrorsContext): void;
|
|
80
81
|
next(): Promise<boolean>;
|
|
@@ -85,6 +86,7 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
85
86
|
getCaseId(): string;
|
|
86
87
|
getCaseTitle(): string;
|
|
87
88
|
getCancelText(): string;
|
|
89
|
+
private canNavigateToSummaryPage;
|
|
88
90
|
private getTriggerText;
|
|
89
91
|
private discard;
|
|
90
92
|
private handleError;
|
|
@@ -92,7 +94,7 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
92
94
|
private saveDraft;
|
|
93
95
|
private getCaseFields;
|
|
94
96
|
private getCaseFieldsFromCurrentAndPreviousPages;
|
|
95
|
-
|
|
97
|
+
buildCaseEventData(fromPreviousPage?: boolean): CaseEventData;
|
|
96
98
|
/**
|
|
97
99
|
* Abstracted this method from buildCaseEventData to remove duplication.
|
|
98
100
|
* @param caseFields The fields to filter the data by.
|
|
@@ -103,6 +105,7 @@ export declare class CaseEditPageComponent implements OnInit, AfterViewChecked {
|
|
|
103
105
|
*/
|
|
104
106
|
private getFilteredCaseEventData;
|
|
105
107
|
private syncCaseEditDataService;
|
|
108
|
+
onEventCanBeCompleted(eventCanBeCompleted: boolean): void;
|
|
106
109
|
static ɵfac: i0.ɵɵFactoryDef<CaseEditPageComponent, never>;
|
|
107
110
|
static ɵcmp: i0.ɵɵComponentDefWithMeta<CaseEditPageComponent, "ccd-case-edit-page", never, {}, {}, never, never>;
|
|
108
111
|
}
|
|
@@ -1 +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;
|
|
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;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,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,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,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,EAAE,MAAM,kCAAkC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;;AAE5E,qBAKa,qBAAsB,YAAW,MAAM,EAAE,gBAAgB;aAqClD,QAAQ,EAAE,iBAAiB;IAC3C,OAAO,CAAC,QAAQ,CAAC,KA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M;IAInB,YAAY,IAAI,MAAM;IAKtB,aAAa,IAAI,MAAM;IAI9B,OAAO,CAAC,wBAAwB;IAWhC,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,SAAS;IAWjB,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,wCAAwC;IAUzC,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,OAAO,GAAG,aAAa;IA4BpE;;;;;;;OAOG;IACH,OAAO,CAAC,wBAAwB;IAkBhC,OAAO,CAAC,uBAAuB;IAUxB,qBAAqB,CAAC,mBAAmB,EAAE,OAAO,GAAG,IAAI;iCA7gBrD,qBAAqB;2CAArB,qBAAqB;CAshBjC"}
|
|
@@ -1,88 +1,40 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute
|
|
4
|
-
import {
|
|
5
|
-
import { CaseEventTrigger, CaseField,
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import { CaseEventTrigger, CaseField, Profile } from '../../../domain';
|
|
6
6
|
import { Task } from '../../../domain/work-allocation/Task';
|
|
7
|
-
import { CaseFieldService, FieldsUtils,
|
|
7
|
+
import { CaseFieldService, FieldsUtils, OrderService, ProfileNotifier } from '../../../services';
|
|
8
8
|
import { CallbackErrorsContext } from '../../error';
|
|
9
9
|
import { PaletteContext } from '../../palette';
|
|
10
10
|
import { CaseEditComponent } from '../case-edit/case-edit.component';
|
|
11
11
|
import { Wizard, WizardPage } from '../domain';
|
|
12
|
-
import { EventCompletionParams } from '../domain/event-completion-params.model';
|
|
13
|
-
import { CaseNotifier } from '../services';
|
|
14
12
|
import * as i0 from "@angular/core";
|
|
15
13
|
export declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
|
|
16
|
-
|
|
17
|
-
private readonly formValueService;
|
|
18
|
-
private readonly formErrorService;
|
|
14
|
+
readonly caseEdit: CaseEditComponent;
|
|
19
15
|
private readonly fieldsUtils;
|
|
20
16
|
private readonly caseFieldService;
|
|
21
17
|
private readonly route;
|
|
22
|
-
private readonly router;
|
|
23
18
|
private readonly orderService;
|
|
24
19
|
private readonly profileNotifier;
|
|
25
|
-
private readonly sessionStorageService;
|
|
26
|
-
private readonly caseNotifier;
|
|
27
20
|
eventTrigger: CaseEventTrigger;
|
|
28
21
|
editForm: FormGroup;
|
|
29
|
-
error: HttpError;
|
|
30
|
-
callbackErrorsSubject: Subject<any>;
|
|
31
|
-
ignoreWarning: boolean;
|
|
32
22
|
triggerText: string;
|
|
33
23
|
wizard: Wizard;
|
|
34
24
|
profile: Profile;
|
|
35
25
|
showSummaryFields: CaseField[];
|
|
36
26
|
paletteContext: PaletteContext;
|
|
37
|
-
isSubmitting: boolean;
|
|
38
27
|
profileSubscription: Subscription;
|
|
39
28
|
contextFields: CaseField[];
|
|
40
29
|
task: Task;
|
|
41
|
-
eventCompletionParams: EventCompletionParams;
|
|
42
|
-
eventCompletionChecksRequired: boolean;
|
|
43
|
-
isCaseFlagSubmission: boolean;
|
|
44
30
|
pageTitle: string;
|
|
45
|
-
isLinkedCasesSubmission: boolean;
|
|
46
31
|
static readonly SHOW_SUMMARY_CONTENT_COMPARE_FUNCTION: (a: CaseField, b: CaseField) => number;
|
|
47
32
|
get isDisabled(): boolean;
|
|
48
|
-
constructor(caseEdit: CaseEditComponent,
|
|
33
|
+
constructor(caseEdit: CaseEditComponent, fieldsUtils: FieldsUtils, caseFieldService: CaseFieldService, route: ActivatedRoute, orderService: OrderService, profileNotifier: ProfileNotifier);
|
|
49
34
|
ngOnInit(): void;
|
|
50
35
|
ngOnDestroy(): void;
|
|
51
36
|
submit(): void;
|
|
52
37
|
onEventCanBeCompleted(eventCanBeCompleted: boolean): void;
|
|
53
|
-
private generateCaseEventData;
|
|
54
|
-
private caseSubmit;
|
|
55
|
-
/**
|
|
56
|
-
* Traverse *all* values of a {@link FormGroup}, including those for disabled fields (i.e. hidden ones), replacing the
|
|
57
|
-
* value of any that are hidden AND have `retain_hidden_value` set to `true` in the corresponding `CaseField`, with
|
|
58
|
-
* the *original* value held in the `CaseField` object.
|
|
59
|
-
*
|
|
60
|
-
* This is as per design in EUI-3622, where any user-driven updates to hidden fields with `retain_hidden_value` =
|
|
61
|
-
* `true` are ignored (thus retaining the value displayed originally).
|
|
62
|
-
*
|
|
63
|
-
* * For Complex field types, the replacement above is performed recursively for all hidden sub-fields with
|
|
64
|
-
* `retain_hidden_value` = `true`.
|
|
65
|
-
*
|
|
66
|
-
* * For Collection field types, including collections of Complex and Document field types, the replacement is
|
|
67
|
-
* performed for all fields in the collection.
|
|
68
|
-
*
|
|
69
|
-
* @param formGroup The `FormGroup` instance whose raw values are to be traversed
|
|
70
|
-
* @param caseFields The array of {@link CaseField} domain model objects corresponding to fields in `formGroup`
|
|
71
|
-
* @param parentField Reference to the parent `CaseField`. Used for retrieving the sub-field values of a Complex field
|
|
72
|
-
* to perform recursive replacement - the sub-field `CaseField`s themselves do *not* contain any values
|
|
73
|
-
* @returns An object with the *raw* form value data (as key-value pairs), with any value replacements as necessary
|
|
74
|
-
*/
|
|
75
|
-
private replaceHiddenFormValuesWithOriginalCaseData;
|
|
76
|
-
/**
|
|
77
|
-
* Replaces non-array value objects with `null` for any Complex-type fields whose value is effectively empty, i.e.
|
|
78
|
-
* all its sub-fields and descendants are `null` or `undefined`.
|
|
79
|
-
*
|
|
80
|
-
* @param data The object tree representing all the form field data
|
|
81
|
-
* @returns The form field data modified accordingly
|
|
82
|
-
*/
|
|
83
|
-
private replaceEmptyComplexFieldValues;
|
|
84
|
-
private getStatus;
|
|
85
|
-
private hasCallbackFailed;
|
|
86
38
|
private get hasErrors();
|
|
87
39
|
navigateToPage(pageId: string): void;
|
|
88
40
|
callbackErrorsNotify(errorContext: CallbackErrorsContext): void;
|
|
@@ -99,11 +51,9 @@ export declare class CaseEditSubmitComponent implements OnInit, OnDestroy {
|
|
|
99
51
|
isShown(page: WizardPage): boolean;
|
|
100
52
|
canShowFieldInCYA(field: CaseField): boolean;
|
|
101
53
|
isSolicitor(): boolean;
|
|
102
|
-
private buildConfirmation;
|
|
103
54
|
private sortFieldsByShowSummaryContent;
|
|
104
55
|
private getCaseFields;
|
|
105
56
|
getCaseId(): string;
|
|
106
|
-
getEventId(): string;
|
|
107
57
|
getCaseTitle(): string;
|
|
108
58
|
getCancelText(): string;
|
|
109
59
|
static ɵfac: i0.ɵɵFactoryDef<CaseEditSubmitComponent, never>;
|
package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-edit-submit.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"case-edit-submit.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAC5D,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,eAAe,E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mB,EAAE,OAAO,GAAG,IAAI;IAUhE,OAAO,KAAK,SAAS,GAEpB;IAEM,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAIpC,oBAAoB,CAAC,YAAY,EAAE,qBAAqB,GAAG,IAAI;IAK/D,gBAAgB,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS;IAa7C,MAAM,IAAI,IAAI;IAYd,OAAO,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO;IAIlC,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO;IAI1C,oCAAoC,IAAI,OAAO;IAuB/C,oCAAoC,IAAI,OAAO;IAI/C,cAAc,IAAI,OAAO;IAIhC,OAAO,CAAC,gBAAgB;IAWjB,QAAQ,IAAI,IAAI;IAOhB,WAAW,IAAI,OAAO;IAItB,OAAO,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO;IAMlC,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO;IAI5C,WAAW,IAAI,OAAO;IAI7B,OAAO,CAAC,8BAA8B;IAMtC,OAAO,CAAC,aAAa;IAQd,SAAS,IAAI,MAAM;IAInB,YAAY,IAAI,MAAM;IAKtB,aAAa,IAAI,MAAM;iCAhOnB,uBAAuB;2CAAvB,uBAAuB;CAuOnC"}
|
|
@@ -9,21 +9,22 @@ import * as i7 from "./case-event-completion/components/case-event-completion-ta
|
|
|
9
9
|
import * as i8 from "./case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component";
|
|
10
10
|
import * as i9 from "./case-create/case-create.component";
|
|
11
11
|
import * as i10 from "./case-progress/case-progress.component";
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "@angular/
|
|
14
|
-
import * as i13 from "@angular/
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "../../directives/
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
12
|
+
import * as i11 from "./case-edit-generic-errors/case-edit-generic-errors.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 "../../commons/case-edit-data/case-edit-data.module";
|
|
17
|
+
import * as i16 from "../palette/palette.module";
|
|
18
|
+
import * as i17 from "../../directives/substitutor/label-substitutor.module";
|
|
19
|
+
import * as i18 from "../../directives/conditional-show/conditional-show.module";
|
|
20
|
+
import * as i19 from "../error/errors.module";
|
|
21
|
+
import * as i20 from "@angular/cdk/portal";
|
|
22
|
+
import * as i21 from "../loading-spinner/loading-spinner.module";
|
|
23
|
+
import * as i22 from "../../../components/banners/banners.module";
|
|
24
|
+
import * as i23 from "../error/callback-errors.component";
|
|
24
25
|
export declare class CaseEditorModule {
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDef<CaseEditorModule, never>;
|
|
26
|
-
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
|
|
27
|
+
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.CaseEditGenericErrorsComponent], [typeof i12.CommonModule, typeof i13.RouterModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.CaseEditDataModule, typeof i16.PaletteModule, typeof i17.LabelSubstitutorModule, typeof i18.ConditionalShowModule, typeof i19.ErrorsModule, typeof i20.PortalModule, typeof i21.LoadingSpinnerModule, typeof i22.BannersModule], [typeof i1.CaseEditConfirmComponent, typeof i2.CaseEditComponent, typeof i3.CaseEditPageComponent, typeof i4.CaseEditFormComponent, typeof i5.CaseEditSubmitComponent, typeof i9.CaseCreateComponent, typeof i10.CaseProgressComponent, typeof i23.CallbackErrorsComponent]>;
|
|
27
28
|
static ɵinj: i0.ɵɵInjectorDef<CaseEditorModule>;
|
|
28
29
|
}
|
|
29
30
|
//# sourceMappingURL=case-editor.module.d.ts.map
|
|
@@ -1 +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":"
|
|
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":";;;;;;;;;;;;;;;;;;;;;;;;AAwDA,qBAoEa,gBAAgB;iCAAhB,gBAAgB;0CAAhB,gBAAgB;kCAAhB,gBAAgB;CAAI"}
|
|
@@ -1 +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;
|
|
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;IAWjF,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;iCA9ChC,4BAA4B;2CAA5B,4BAA4B;CA8DxC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { AlertService } from '../../../../../services/alert/alert.service';
|
|
4
3
|
import { Subscription } from 'rxjs';
|
|
4
|
+
import { AlertService } from '../../../../../services/alert/alert.service';
|
|
5
|
+
import { SessionStorageService } from '../../../../../services/session/session-storage.service';
|
|
5
6
|
import { CaseworkerService } from '../../../services/case-worker.service';
|
|
6
7
|
import { JudicialworkerService } from '../../../services/judicial-worker.service';
|
|
7
8
|
import { WorkAllocationService } from '../../../services/work-allocation.service';
|
|
8
9
|
import { CaseEventCompletionComponent } from '../../case-event-completion.component';
|
|
9
|
-
import { SessionStorageService } from '../../../../../services/session/session-storage.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class CaseEventCompletionTaskReassignedComponent implements OnInit, OnDestroy {
|
|
12
12
|
private readonly parentComponent;
|
|
@@ -1 +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,
|
|
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,EAAc,MAAM,MAAM,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAChG,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;;AAEvH,qBAIa,0CAA2C,YAAW,MAAM,EAAE,SAAS;IAQ5B,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;iCA9Dd,0CAA0C;2CAA1C,0CAA0C;CAsFtD"}
|
package/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-page-field-complex-override.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wizard-page-field-complex-override.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.ts"],"names":[],"mappings":"AACA,qBAAa,oBAAoB;IACxB,wBAAwB,EAAE,MAAM,CAAC;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wizard-page-field.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/domain/wizard-page-field.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wizard-page-field.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/case-editor/domain/wizard-page-field.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,qBAAa,eAAgB,YAAW,SAAS;IACxC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uBAAuB,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACzD"}
|