@hmcts/ccd-case-ui-toolkit 7.0.39-angular-upgrade-rc → 7.0.39-case-consolidated-link
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/esm2020/lib/app.config.mjs +45 -0
- package/esm2020/lib/components/banners/alert/alert-icon-class.pipe.mjs +25 -0
- package/esm2020/lib/components/banners/alert/alert.component.mjs +95 -0
- package/esm2020/lib/components/banners/alert/alert.module.mjs +32 -0
- package/esm2020/lib/components/banners/banners.module.mjs +32 -0
- package/esm2020/lib/components/banners/notification-banner/notification-banner.component.mjs +120 -0
- package/esm2020/lib/components/banners/notification-banner/notification-banner.module.mjs +19 -0
- package/esm2020/lib/components/body/body.component.mjs +20 -0
- package/esm2020/lib/components/body/body.module.mjs +20 -0
- package/esm2020/lib/components/footer/footer.component.mjs +105 -0
- package/esm2020/lib/components/footer/footers.module.mjs +25 -0
- package/esm2020/lib/components/form/date-input/date-input.component.mjs +331 -0
- package/esm2020/lib/components/form/form.module.mjs +29 -0
- package/esm2020/lib/components/header/header-bar/header-bar.component.mjs +97 -0
- package/esm2020/lib/components/header/headers.module.mjs +25 -0
- package/esm2020/lib/components/header/navigation/navigation-item.component.mjs +41 -0
- package/esm2020/lib/components/header/navigation/navigation.component.mjs +24 -0
- package/esm2020/lib/components/header/phase/phase.component.mjs +45 -0
- package/esm2020/lib/components/tabs/tab.component.mjs +28 -0
- package/esm2020/lib/components/tabs/tabs.component.mjs +79 -0
- package/esm2020/lib/components/tabs/tabs.module.mjs +38 -0
- package/esm2020/lib/shared/commons/address-validation-constants.mjs +13 -0
- package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +19 -0
- package/esm2020/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +47 -0
- package/esm2020/lib/shared/commons/constants.mjs +13 -0
- package/esm2020/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +39 -0
- package/esm2020/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +33 -0
- package/esm2020/lib/shared/components/activity/activity.component.mjs +151 -0
- package/esm2020/lib/shared/components/activity/activity.module.mjs +55 -0
- package/esm2020/lib/shared/components/case-editor/case-access-utils/index.mjs +105 -0
- package/esm2020/lib/shared/components/case-editor/case-create/case-create.component.mjs +87 -0
- package/esm2020/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +432 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +125 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +135 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +69 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +779 -0
- package/esm2020/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +587 -0
- package/esm2020/lib/shared/components/case-editor/case-editor.module.mjs +214 -0
- package/esm2020/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +86 -0
- package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +80 -0
- package/esm2020/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +153 -0
- package/esm2020/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +77 -0
- package/esm2020/lib/shared/components/case-editor/domain/confirmation.model.mjs +21 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +4 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +3 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard-page.model.mjs +26 -0
- package/esm2020/lib/shared/components/case-editor/domain/wizard.model.mjs +54 -0
- package/esm2020/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +93 -0
- package/esm2020/lib/shared/components/case-editor/services/case-flag-state.service.mjs +19 -0
- package/esm2020/lib/shared/components/case-editor/services/case-worker.service.mjs +32 -0
- package/esm2020/lib/shared/components/case-editor/services/case.notifier.mjs +51 -0
- package/esm2020/lib/shared/components/case-editor/services/cases.service.mjs +292 -0
- package/esm2020/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +41 -0
- package/esm2020/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +143 -0
- package/esm2020/lib/shared/components/case-editor/services/event-trigger.service.mjs +20 -0
- package/esm2020/lib/shared/components/case-editor/services/judicial-worker.service.mjs +32 -0
- package/esm2020/lib/shared/components/case-editor/services/page-validation.service.mjs +58 -0
- package/esm2020/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +39 -0
- package/esm2020/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +117 -0
- package/esm2020/lib/shared/components/case-editor/services/work-allocation.service.mjs +214 -0
- package/esm2020/lib/shared/components/case-header/case-header.component.mjs +61 -0
- package/esm2020/lib/shared/components/case-header/case-header.module.mjs +33 -0
- package/esm2020/lib/shared/components/case-history/case-history.component.mjs +242 -0
- package/esm2020/lib/shared/components/case-history/case-history.module.mjs +64 -0
- package/esm2020/lib/shared/components/case-history/domain/case-history.model.mjs +29 -0
- package/esm2020/lib/shared/components/case-history/services/case-history.service.mjs +40 -0
- package/esm2020/lib/shared/components/case-list/case-list.component.mjs +362 -0
- package/esm2020/lib/shared/components/case-list/case-list.module.mjs +47 -0
- package/esm2020/lib/shared/components/case-list-filters/case-list-filters.component.mjs +52 -0
- package/esm2020/lib/shared/components/case-list-filters/case-list-filters.module.mjs +64 -0
- package/esm2020/lib/shared/components/case-timeline/case-timeline.component.mjs +109 -0
- package/esm2020/lib/shared/components/case-timeline/case-timeline.module.mjs +52 -0
- package/esm2020/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +247 -0
- package/esm2020/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +298 -0
- package/esm2020/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +72 -0
- package/esm2020/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +141 -0
- package/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +670 -0
- package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +58 -0
- package/esm2020/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +241 -0
- package/esm2020/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +199 -0
- package/esm2020/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +47 -0
- package/esm2020/lib/shared/components/case-viewer/case-view/case-view.component.mjs +98 -0
- package/esm2020/lib/shared/components/case-viewer/case-viewer.component.mjs +125 -0
- package/esm2020/lib/shared/components/case-viewer/case-viewer.module.mjs +191 -0
- package/esm2020/lib/shared/components/case-viewer/printer/case-printer.component.mjs +110 -0
- package/esm2020/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +60 -0
- package/esm2020/lib/shared/components/case-viewer/services/case.resolver.mjs +128 -0
- package/esm2020/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +77 -0
- package/esm2020/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +8 -0
- package/esm2020/lib/shared/components/create-case-filters/create-case-filters.component.mjs +275 -0
- package/esm2020/lib/shared/components/create-case-filters/create-case-filters.module.mjs +44 -0
- package/esm2020/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +57 -0
- package/esm2020/lib/shared/components/dialogs/dialogs.module.mjs +51 -0
- package/esm2020/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +59 -0
- package/esm2020/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +57 -0
- package/esm2020/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +61 -0
- package/esm2020/lib/shared/components/error/callback-errors.component.mjs +149 -0
- package/esm2020/lib/shared/components/error/domain/error-context.mjs +3 -0
- package/esm2020/lib/shared/components/error/errors.module.mjs +33 -0
- package/esm2020/lib/shared/components/error-message/error-message.component.mjs +43 -0
- package/esm2020/lib/shared/components/error-message/error-message.module.mjs +41 -0
- package/esm2020/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +59 -0
- package/esm2020/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +53 -0
- package/esm2020/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +104 -0
- package/esm2020/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +68 -0
- package/esm2020/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +58 -0
- package/esm2020/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +53 -0
- package/esm2020/lib/shared/components/event-start/event-guard/event-start.guard.mjs +101 -0
- package/esm2020/lib/shared/components/event-start/event-start.component.mjs +49 -0
- package/esm2020/lib/shared/components/event-start/event-start.module.mjs +71 -0
- package/esm2020/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +29 -0
- package/esm2020/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +170 -0
- package/esm2020/lib/shared/components/event-trigger/event-trigger.component.mjs +123 -0
- package/esm2020/lib/shared/components/event-trigger/event-trigger.module.mjs +37 -0
- package/esm2020/lib/shared/components/loading-spinner/loading-spinner.component.mjs +27 -0
- package/esm2020/lib/shared/components/loading-spinner/loading-spinner.module.mjs +29 -0
- package/esm2020/lib/shared/components/pagination/pagination.component.mjs +262 -0
- package/esm2020/lib/shared/components/pagination/pagination.module.mjs +35 -0
- package/esm2020/lib/shared/components/palette/address/address-option.model.mjs +21 -0
- package/esm2020/lib/shared/components/palette/address/write-address-field.component.mjs +280 -0
- package/esm2020/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +31 -0
- package/esm2020/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +44 -0
- package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +83 -0
- package/esm2020/lib/shared/components/palette/base-field/field-read-label.component.mjs +86 -0
- package/esm2020/lib/shared/components/palette/base-field/field-read.component.mjs +85 -0
- package/esm2020/lib/shared/components/palette/base-field/field-write.component.mjs +74 -0
- package/esm2020/lib/shared/components/palette/base-field/payment-field.component.mjs +35 -0
- package/esm2020/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +171 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +48 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +48 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +342 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +154 -0
- package/esm2020/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +94 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +190 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +288 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +207 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +165 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +219 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +306 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +200 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +343 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +267 -0
- package/esm2020/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +510 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +41 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +41 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +109 -0
- package/esm2020/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +77 -0
- package/esm2020/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +246 -0
- package/esm2020/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +686 -0
- package/esm2020/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +32 -0
- package/esm2020/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +122 -0
- package/esm2020/lib/shared/components/palette/collection/collection-create-checker.service.mjs +42 -0
- package/esm2020/lib/shared/components/palette/collection/read-collection-field.component.mjs +81 -0
- package/esm2020/lib/shared/components/palette/collection/write-collection-field.component.mjs +441 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +379 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +53 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +78 -0
- package/esm2020/lib/shared/components/palette/complex/read-complex-field.component.mjs +75 -0
- package/esm2020/lib/shared/components/palette/complex/write-complex-field.component.mjs +169 -0
- package/esm2020/lib/shared/components/palette/date/read-date-field.component.mjs +28 -0
- package/esm2020/lib/shared/components/palette/date/write-date-container-field.component.mjs +33 -0
- package/esm2020/lib/shared/components/palette/date/write-date-field.component.mjs +76 -0
- package/esm2020/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +309 -0
- package/esm2020/lib/shared/components/palette/document/document-url.pipe.mjs +24 -0
- package/esm2020/lib/shared/components/palette/document/file-upload-progress.guard.mjs +29 -0
- package/esm2020/lib/shared/components/palette/document/file-upload-state.service.mjs +16 -0
- package/esm2020/lib/shared/components/palette/document/read-document-field.component.mjs +81 -0
- package/esm2020/lib/shared/components/palette/document/write-document-field.component.mjs +408 -0
- package/esm2020/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +18 -0
- package/esm2020/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +36 -0
- package/esm2020/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +124 -0
- package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +43 -0
- package/esm2020/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +145 -0
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +25 -0
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +42 -0
- package/esm2020/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +124 -0
- package/esm2020/lib/shared/components/palette/email/read-email-field.component.mjs +35 -0
- package/esm2020/lib/shared/components/palette/email/write-email-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +23 -0
- package/esm2020/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +26 -0
- package/esm2020/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +106 -0
- package/esm2020/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +18 -0
- package/esm2020/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +26 -0
- package/esm2020/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +95 -0
- package/esm2020/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +16 -0
- package/esm2020/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +97 -0
- package/esm2020/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +225 -0
- package/esm2020/lib/shared/components/palette/history/event-log/event-log.component.mjs +72 -0
- package/esm2020/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +45 -0
- package/esm2020/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +242 -0
- package/esm2020/lib/shared/components/palette/label/label-field.component.mjs +50 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +108 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +189 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +530 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +236 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +280 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +66 -0
- package/esm2020/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +201 -0
- package/esm2020/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +22 -0
- package/esm2020/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +163 -0
- package/esm2020/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +132 -0
- package/esm2020/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +27 -0
- package/esm2020/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +229 -0
- package/esm2020/lib/shared/components/palette/markdown/markdown-component.module.mjs +49 -0
- package/esm2020/lib/shared/components/palette/markdown/markdown.component.mjs +78 -0
- package/esm2020/lib/shared/components/palette/markdown/routerlink.component.mjs +23 -0
- package/esm2020/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +123 -0
- package/esm2020/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +47 -0
- package/esm2020/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +78 -0
- package/esm2020/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +45 -0
- package/esm2020/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +126 -0
- package/esm2020/lib/shared/components/palette/number/read-number-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/number/write-number-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/order-summary/fee-value.model.mjs +3 -0
- package/esm2020/lib/shared/components/palette/order-summary/fee.model.mjs +4 -0
- package/esm2020/lib/shared/components/palette/order-summary/order-summary.model.mjs +3 -0
- package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +43 -0
- package/esm2020/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +44 -0
- package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +83 -0
- package/esm2020/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +87 -0
- package/esm2020/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +56 -0
- package/esm2020/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +33 -0
- package/esm2020/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +384 -0
- package/esm2020/lib/shared/components/palette/palette.module.mjs +738 -0
- package/esm2020/lib/shared/components/palette/palette.service.mjs +155 -0
- package/esm2020/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +22 -0
- package/esm2020/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +73 -0
- package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +42 -0
- package/esm2020/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +144 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +64 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +60 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +281 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +327 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +22 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +164 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +74 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +107 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +201 -0
- package/esm2020/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +101 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +21 -0
- package/esm2020/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +38 -0
- package/esm2020/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +121 -0
- package/esm2020/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +22 -0
- package/esm2020/lib/shared/components/palette/text/read-text-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/text/write-text-field.component.mjs +77 -0
- package/esm2020/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +24 -0
- package/esm2020/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +87 -0
- package/esm2020/lib/shared/components/palette/unsupported-field.component.mjs +17 -0
- package/esm2020/lib/shared/components/palette/utils/dash.pipe.mjs +16 -0
- package/esm2020/lib/shared/components/palette/utils/date.pipe.mjs +132 -0
- package/esm2020/lib/shared/components/palette/utils/field-label.pipe.mjs +29 -0
- package/esm2020/lib/shared/components/palette/utils/first-error.pipe.mjs +62 -0
- package/esm2020/lib/shared/components/palette/utils/is-compound.pipe.mjs +43 -0
- package/esm2020/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +21 -0
- package/esm2020/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +31 -0
- package/esm2020/lib/shared/components/palette/utils/is-read-only.pipe.mjs +21 -0
- package/esm2020/lib/shared/components/palette/utils/utils.module.mjs +71 -0
- package/esm2020/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +34 -0
- package/esm2020/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +34 -0
- package/esm2020/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +100 -0
- package/esm2020/lib/shared/components/palette/yes-no/yes-no.service.mjs +50 -0
- package/esm2020/lib/shared/components/search-filters/domain/search-input.model.mjs +10 -0
- package/esm2020/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +58 -0
- package/esm2020/lib/shared/components/search-filters/search-filters.component.mjs +326 -0
- package/esm2020/lib/shared/components/search-filters/search-filters.module.mjs +71 -0
- package/esm2020/lib/shared/components/search-result/search-result.component.mjs +815 -0
- package/esm2020/lib/shared/components/search-result/search-result.module.mjs +82 -0
- package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +479 -0
- package/esm2020/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +67 -0
- package/esm2020/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +164 -0
- package/esm2020/lib/shared/directives/conditional-show/conditional-show.module.mjs +33 -0
- package/esm2020/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +200 -0
- package/esm2020/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +200 -0
- package/esm2020/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +19 -0
- package/esm2020/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +47 -0
- package/esm2020/lib/shared/directives/focus-element/focus-element.directive.mjs +36 -0
- package/esm2020/lib/shared/directives/focus-element/focus-element.module.mjs +21 -0
- package/esm2020/lib/shared/directives/substitutor/label-substitutor.directive.mjs +82 -0
- package/esm2020/lib/shared/directives/substitutor/label-substitutor.module.mjs +30 -0
- package/esm2020/lib/shared/directives/substitutor/services/placeholder.service.mjs +200 -0
- package/esm2020/lib/shared/domain/activity/activity.model.mjs +10 -0
- package/esm2020/lib/shared/domain/addresses/address.model.mjs +13 -0
- package/esm2020/lib/shared/domain/alert/alert.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-details.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-event-data.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +7 -0
- package/esm2020/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +117 -0
- package/esm2020/lib/shared/domain/case-flag/flag-type.model.mjs +28 -0
- package/esm2020/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +10 -0
- package/esm2020/lib/shared/domain/case-view/case-event-trigger.model.mjs +23 -0
- package/esm2020/lib/shared/domain/case-view/case-print-document.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-view/case-tab.model.mjs +12 -0
- package/esm2020/lib/shared/domain/case-view/case-view-event.model.mjs +4 -0
- package/esm2020/lib/shared/domain/case-view/case-view-trigger.model.mjs +3 -0
- package/esm2020/lib/shared/domain/case-view/case-view.model.mjs +17 -0
- package/esm2020/lib/shared/domain/definition/access-control-list.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/banner.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/case-event.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/case-field.model.mjs +200 -0
- package/esm2020/lib/shared/domain/definition/case-state.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/case-type-lite.model.mjs +5 -0
- package/esm2020/lib/shared/domain/definition/case-type.model.mjs +12 -0
- package/esm2020/lib/shared/domain/definition/event-case-field.model.mjs +4 -0
- package/esm2020/lib/shared/domain/definition/field-type.model.mjs +22 -0
- package/esm2020/lib/shared/domain/definition/fixed-list-item.model.mjs +3 -0
- package/esm2020/lib/shared/domain/definition/jurisdiction.model.mjs +3 -0
- package/esm2020/lib/shared/domain/document/document-data.model.mjs +14 -0
- package/esm2020/lib/shared/domain/draft.model.mjs +11 -0
- package/esm2020/lib/shared/domain/http/http-error.model.mjs +40 -0
- package/esm2020/lib/shared/domain/organisation/organisation-converter.mjs +42 -0
- package/esm2020/lib/shared/domain/pagination-metadata.model.mjs +3 -0
- package/esm2020/lib/shared/domain/profile/profile.model.mjs +29 -0
- package/esm2020/lib/shared/domain/search/field.model.mjs +11 -0
- package/esm2020/lib/shared/domain/search/search-result-view-column.model.mjs +3 -0
- package/esm2020/lib/shared/domain/search/search-result-view-item.model.mjs +12 -0
- package/esm2020/lib/shared/domain/search/search-result-view.model.mjs +23 -0
- package/esm2020/lib/shared/domain/search/sorting/sort-parameters.mjs +7 -0
- package/esm2020/lib/shared/domain/workbasket/workbasket-input.model.mjs +5 -0
- package/esm2020/lib/shared/fixture/case-field-builder.mjs +69 -0
- package/esm2020/lib/shared/pipes/case-reference/case-reference.pipe.mjs +33 -0
- package/esm2020/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +29 -0
- package/esm2020/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +32 -0
- package/esm2020/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +29 -0
- package/esm2020/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +39 -0
- package/esm2020/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +173 -0
- package/esm2020/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +31 -0
- package/esm2020/lib/shared/pipes/complex/fields-filter.pipe.mjs +105 -0
- package/esm2020/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +16 -0
- package/esm2020/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +27 -0
- package/esm2020/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +27 -0
- package/esm2020/lib/shared/pipes/pipes.module.mjs +64 -0
- package/esm2020/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +24 -0
- package/esm2020/lib/shared/services/activity/activity.polling.service.mjs +114 -0
- package/esm2020/lib/shared/services/activity/activity.service.mjs +82 -0
- package/esm2020/lib/shared/services/addresses/address-parser.mjs +76 -0
- package/esm2020/lib/shared/services/addresses/addresses.service.mjs +63 -0
- package/esm2020/lib/shared/services/alert/alert.service.mjs +142 -0
- package/esm2020/lib/shared/services/auth/auth.service.mjs +33 -0
- package/esm2020/lib/shared/services/banners/banners.service.mjs +33 -0
- package/esm2020/lib/shared/services/browser/browser.service.mjs +24 -0
- package/esm2020/lib/shared/services/case-fields/case-field.service.mjs +34 -0
- package/esm2020/lib/shared/services/case-fields/format-translator.service.mjs +242 -0
- package/esm2020/lib/shared/services/case-file-view/case-file-view.service.mjs +46 -0
- package/esm2020/lib/shared/services/case-flag/case-flag-refdata.service.mjs +102 -0
- package/esm2020/lib/shared/services/common-data-service/common-data-service.mjs +28 -0
- package/esm2020/lib/shared/services/definitions/definitions.module.mjs +19 -0
- package/esm2020/lib/shared/services/definitions/definitions.service.mjs +30 -0
- package/esm2020/lib/shared/services/document-management/document-management.service.mjs +112 -0
- package/esm2020/lib/shared/services/draft/draft.service.mjs +86 -0
- package/esm2020/lib/shared/services/error/error-notifier.service.mjs +18 -0
- package/esm2020/lib/shared/services/eventStatusService/event-status.service.mjs +21 -0
- package/esm2020/lib/shared/services/fields/fields.purger.mjs +304 -0
- package/esm2020/lib/shared/services/fields/fields.utils.mjs +615 -0
- package/esm2020/lib/shared/services/form/field-type-sanitiser.mjs +102 -0
- package/esm2020/lib/shared/services/form/form-error.service.mjs +46 -0
- package/esm2020/lib/shared/services/form/form-validators.service.mjs +82 -0
- package/esm2020/lib/shared/services/form/form-value.service.mjs +551 -0
- package/esm2020/lib/shared/services/http/http-error.service.mjs +65 -0
- package/esm2020/lib/shared/services/http/http.service.mjs +93 -0
- package/esm2020/lib/shared/services/jurisdiction/jurisdiction.service.mjs +33 -0
- package/esm2020/lib/shared/services/loading/loading.module.mjs +22 -0
- package/esm2020/lib/shared/services/loading/loading.service.mjs +33 -0
- package/esm2020/lib/shared/services/navigation/navigation-notifier.service.mjs +18 -0
- package/esm2020/lib/shared/services/order/order.service.mjs +39 -0
- package/esm2020/lib/shared/services/organisation/organisation.service.mjs +54 -0
- package/esm2020/lib/shared/services/profile/profile.notifier.mjs +19 -0
- package/esm2020/lib/shared/services/profile/profile.service.mjs +34 -0
- package/esm2020/lib/shared/services/request/request.options.builder.mjs +61 -0
- package/esm2020/lib/shared/services/router/router-helper.service.mjs +20 -0
- package/esm2020/lib/shared/services/search/search.service.mjs +89 -0
- package/esm2020/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +71 -0
- package/esm2020/lib/shared/services/session/session-storage.service.mjs +34 -0
- package/esm2020/lib/shared/services/utils/retry/retry.service.mjs +86 -0
- package/esm2020/lib/shared/services/window/window.service.mjs +40 -0
- package/esm2020/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +53 -0
- package/esm2020/lib/shared/test/test-route-snapshot-builder.mjs +40 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +38818 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +35831 -0
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -0
- package/lib/components/banners/alert/alert.component.d.ts +1 -1
- package/lib/components/banners/notification-banner/notification-banner.component.d.ts +1 -1
- package/lib/components/footer/footer.component.d.ts +1 -1
- package/lib/components/form/date-input/date-input.component.d.ts +1 -1
- package/lib/components/header/header-bar/header-bar.component.d.ts +1 -1
- package/lib/components/header/navigation/navigation-item.component.d.ts +1 -1
- package/lib/components/header/navigation/navigation.component.d.ts +1 -1
- package/lib/components/header/phase/phase.component.d.ts +1 -1
- package/lib/components/tabs/tab.component.d.ts +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-validation.model.d.ts.map +1 -1
- package/lib/shared/components/activity/activity-banner/activity-banner.component.d.ts +1 -1
- package/lib/shared/components/activity/activity-icon/activity-icon.component.d.ts +1 -1
- package/lib/shared/components/activity/activity.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-create/case-create.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.d.ts +1 -1
- package/lib/shared/components/case-editor/case-progress/case-progress.component.d.ts +1 -1
- package/lib/shared/components/case-header/case-header.component.d.ts +1 -1
- package/lib/shared/components/case-history/case-history.component.d.ts +1 -1
- package/lib/shared/components/case-list/case-list.component.d.ts +1 -1
- package/lib/shared/components/case-list-filters/case-list-filters.component.d.ts +1 -1
- package/lib/shared/components/case-timeline/case-timeline.component.d.ts +1 -1
- package/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.d.ts +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +1 -1
- package/lib/shared/components/case-viewer/case-view/case-view.component.d.ts +1 -1
- package/lib/shared/components/case-viewer/case-viewer.component.d.ts +1 -1
- package/lib/shared/components/create-case-filters/create-case-filters.component.d.ts +1 -1
- package/lib/shared/components/error/callback-errors.component.d.ts +1 -1
- package/lib/shared/components/error-message/error-message.component.d.ts +1 -1
- package/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.d.ts +1 -1
- package/lib/shared/components/event-start/components/task-conflict/task-conflict.component.d.ts +1 -1
- package/lib/shared/components/event-trigger/event-trigger.component.d.ts +1 -1
- package/lib/shared/components/loading-spinner/loading-spinner.component.d.ts +1 -1
- package/lib/shared/components/pagination/pagination.component.d.ts +1 -1
- package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/abstract-field-read.component.d.ts +1 -1
- package/lib/shared/components/palette/base-field/abstract-field-write.component.d.ts +1 -1
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts +2 -2
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/base-field/field-read-label.component.d.ts +1 -1
- package/lib/shared/components/palette/base-field/field-read.component.d.ts +1 -1
- package/lib/shared/components/palette/base-field/field-write.component.d.ts +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.d.ts +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +1 -1
- package/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.d.ts +1 -1
- package/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.d.ts +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +2 -2
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/complex/read-complex-field-raw.component.d.ts +1 -1
- package/lib/shared/components/palette/complex/read-complex-field-table.component.d.ts +1 -1
- package/lib/shared/components/palette/complex/read-complex-field.component.d.ts +1 -1
- package/lib/shared/components/palette/complex/write-complex-field.component.d.ts +1 -1
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts +1 -1
- package/lib/shared/components/palette/history/event-log/event-log-details.component.d.ts +1 -1
- package/lib/shared/components/palette/history/event-log/event-log-table.component.d.ts +1 -1
- package/lib/shared/components/palette/history/event-log/event-log.component.d.ts +1 -1
- package/lib/shared/components/palette/label/label-field.component.d.ts +1 -1
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts +5 -1
- 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 +1 -1
- package/lib/shared/components/palette/markdown/markdown-component.module.d.ts +2 -2
- package/lib/shared/components/palette/markdown/markdown.component.d.ts +4 -2
- package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -1
- package/lib/shared/components/palette/money-gbp/money-gbp-input.component.d.ts +1 -1
- package/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.d.ts +1 -1
- package/lib/shared/components/palette/order-summary/read-order-summary-row.component.d.ts +1 -1
- package/lib/shared/components/palette/organisation/read-organisation-field-raw.component.d.ts +1 -1
- package/lib/shared/components/palette/organisation/read-organisation-field-table.component.d.ts +1 -1
- package/lib/shared/components/palette/organisation/read-organisation-field.component.d.ts +1 -1
- package/lib/shared/components/palette/organisation/write-organisation-complex-field.component.d.ts +1 -1
- package/lib/shared/components/palette/palette.module.d.ts +2 -2
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-details/query-details.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-list/query-list.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.d.ts +1 -1
- package/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.d.ts +1 -1
- package/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.d.ts.map +1 -1
- package/lib/shared/components/search-filters/search-filters-wrapper.component.d.ts +1 -1
- package/lib/shared/components/search-filters/search-filters.component.d.ts +1 -1
- package/lib/shared/components/search-result/search-result.component.d.ts +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts +1 -1
- package/lib/shared/directives/conditional-show/conditional-show-form.directive.d.ts +1 -1
- package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts +1 -1
- package/lib/shared/domain/alert/alert-level.model.d.ts +1 -1
- package/lib/shared/domain/alert/alert-level.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/access-types.model.d.ts +1 -1
- package/lib/shared/domain/case-view/access-types.model.d.ts.map +1 -1
- package/lib/shared/domain/case-view/role-request.model.d.ts +4 -4
- package/lib/shared/domain/case-view/role-request.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/predicate.model.d.ts +1 -1
- package/lib/shared/domain/predicate.model.d.ts.map +1 -1
- package/lib/shared/pipes/complex/fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/services/order/order.service.d.ts +2 -2
- package/lib/shared/services/order/order.service.d.ts.map +1 -1
- package/lib/shared/services/request/request.options.builder.d.ts +1 -1
- package/lib/shared/services/request/request.options.builder.d.ts.map +1 -1
- package/package.json +12 -6
- package/esm2022/lib/app.config.mjs +0 -93
- package/esm2022/lib/components/banners/alert/alert-icon-class.pipe.mjs +0 -25
- package/esm2022/lib/components/banners/alert/alert.component.mjs +0 -92
- package/esm2022/lib/components/banners/alert/alert.module.mjs +0 -32
- package/esm2022/lib/components/banners/banners.module.mjs +0 -32
- package/esm2022/lib/components/banners/notification-banner/notification-banner.component.mjs +0 -116
- package/esm2022/lib/components/banners/notification-banner/notification-banner.module.mjs +0 -19
- package/esm2022/lib/components/body/body.component.mjs +0 -21
- package/esm2022/lib/components/body/body.module.mjs +0 -20
- package/esm2022/lib/components/footer/footer.component.mjs +0 -109
- package/esm2022/lib/components/footer/footers.module.mjs +0 -25
- package/esm2022/lib/components/form/date-input/date-input.component.mjs +0 -341
- package/esm2022/lib/components/form/form.module.mjs +0 -29
- package/esm2022/lib/components/header/header-bar/header-bar.component.mjs +0 -98
- package/esm2022/lib/components/header/headers.module.mjs +0 -25
- package/esm2022/lib/components/header/navigation/navigation-item.component.mjs +0 -45
- package/esm2022/lib/components/header/navigation/navigation.component.mjs +0 -26
- package/esm2022/lib/components/header/phase/phase.component.mjs +0 -49
- package/esm2022/lib/components/tabs/tab.component.mjs +0 -32
- package/esm2022/lib/components/tabs/tabs.component.mjs +0 -83
- package/esm2022/lib/components/tabs/tabs.module.mjs +0 -38
- package/esm2022/lib/shared/commons/address-validation-constants.mjs +0 -13
- package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.module.mjs +0 -19
- package/esm2022/lib/shared/commons/case-edit-data/case-edit-data.service.mjs +0 -46
- package/esm2022/lib/shared/commons/constants.mjs +0 -13
- package/esm2022/lib/shared/components/activity/activity-banner/activity-banner.component.mjs +0 -43
- package/esm2022/lib/shared/components/activity/activity-icon/activity-icon.component.mjs +0 -36
- package/esm2022/lib/shared/components/activity/activity.component.mjs +0 -156
- package/esm2022/lib/shared/components/activity/activity.module.mjs +0 -55
- package/esm2022/lib/shared/components/case-editor/case-access-utils/index.mjs +0 -105
- package/esm2022/lib/shared/components/case-editor/case-create/case-create.component.mjs +0 -96
- package/esm2022/lib/shared/components/case-editor/case-edit/case-edit.component.mjs +0 -464
- package/esm2022/lib/shared/components/case-editor/case-edit-confirm/case-edit-confirm.component.mjs +0 -130
- package/esm2022/lib/shared/components/case-editor/case-edit-form/case-edit-form.component.mjs +0 -140
- package/esm2022/lib/shared/components/case-editor/case-edit-generic-errors/case-edit-generic-errors.component.mjs +0 -70
- package/esm2022/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.mjs +0 -806
- package/esm2022/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.mjs +0 -603
- package/esm2022/lib/shared/components/case-editor/case-editor.module.mjs +0 -214
- package/esm2022/lib/shared/components/case-editor/case-event-completion/case-event-completion.component.mjs +0 -97
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-cancelled/case-event-completion-task-cancelled.component.mjs +0 -83
- package/esm2022/lib/shared/components/case-editor/case-event-completion/components/case-event-completion-task-reassigned/case-event-completion-task-reassigned.component.mjs +0 -167
- package/esm2022/lib/shared/components/case-editor/case-progress/case-progress.component.mjs +0 -85
- package/esm2022/lib/shared/components/case-editor/domain/confirmation.model.mjs +0 -25
- package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.mjs +0 -9
- package/esm2022/lib/shared/components/case-editor/domain/wizard-page-field.model.mjs +0 -7
- package/esm2022/lib/shared/components/case-editor/domain/wizard-page.model.mjs +0 -33
- package/esm2022/lib/shared/components/case-editor/domain/wizard.model.mjs +0 -55
- package/esm2022/lib/shared/components/case-editor/services/case-edit-wizard.guard.mjs +0 -98
- package/esm2022/lib/shared/components/case-editor/services/case-flag-state.service.mjs +0 -19
- package/esm2022/lib/shared/components/case-editor/services/case-worker.service.mjs +0 -35
- package/esm2022/lib/shared/components/case-editor/services/case.notifier.mjs +0 -53
- package/esm2022/lib/shared/components/case-editor/services/cases.service.mjs +0 -300
- package/esm2022/lib/shared/components/case-editor/services/convert-href-to-router.service.mjs +0 -42
- package/esm2022/lib/shared/components/case-editor/services/event-completion-state-machine.service.mjs +0 -153
- package/esm2022/lib/shared/components/case-editor/services/event-trigger.service.mjs +0 -18
- package/esm2022/lib/shared/components/case-editor/services/judicial-worker.service.mjs +0 -35
- package/esm2022/lib/shared/components/case-editor/services/page-validation.service.mjs +0 -59
- package/esm2022/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.mjs +0 -40
- package/esm2022/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.mjs +0 -117
- package/esm2022/lib/shared/components/case-editor/services/work-allocation.service.mjs +0 -220
- package/esm2022/lib/shared/components/case-header/case-header.component.mjs +0 -64
- package/esm2022/lib/shared/components/case-header/case-header.module.mjs +0 -33
- package/esm2022/lib/shared/components/case-history/case-history.component.mjs +0 -252
- package/esm2022/lib/shared/components/case-history/case-history.module.mjs +0 -64
- package/esm2022/lib/shared/components/case-history/domain/case-history.model.mjs +0 -37
- package/esm2022/lib/shared/components/case-history/services/case-history.service.mjs +0 -43
- package/esm2022/lib/shared/components/case-list/case-list.component.mjs +0 -368
- package/esm2022/lib/shared/components/case-list/case-list.module.mjs +0 -47
- package/esm2022/lib/shared/components/case-list-filters/case-list-filters.component.mjs +0 -57
- package/esm2022/lib/shared/components/case-list-filters/case-list-filters.module.mjs +0 -64
- package/esm2022/lib/shared/components/case-timeline/case-timeline.component.mjs +0 -115
- package/esm2022/lib/shared/components/case-timeline/case-timeline.module.mjs +0 -52
- package/esm2022/lib/shared/components/case-viewer/case-basic-access-view/case-basic-access-view.component.mjs +0 -246
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-request/case-challenged-access-request.component.mjs +0 -311
- package/esm2022/lib/shared/components/case-viewer/case-challenged-access-success/case-challenged-access-success.component.mjs +0 -75
- package/esm2022/lib/shared/components/case-viewer/case-event-trigger/case-event-trigger.component.mjs +0 -156
- package/esm2022/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +0 -698
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-reject/case-review-specific-access-reject.component.mjs +0 -61
- package/esm2022/lib/shared/components/case-viewer/case-review-specific-access-request/case-review-specific-access-request.component.mjs +0 -256
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-request/case-specific-access-request.component.mjs +0 -211
- package/esm2022/lib/shared/components/case-viewer/case-specific-access-success/case-specific-access-success.component.mjs +0 -50
- package/esm2022/lib/shared/components/case-viewer/case-view/case-view.component.mjs +0 -107
- package/esm2022/lib/shared/components/case-viewer/case-viewer.component.mjs +0 -133
- package/esm2022/lib/shared/components/case-viewer/case-viewer.module.mjs +0 -191
- package/esm2022/lib/shared/components/case-viewer/printer/case-printer.component.mjs +0 -117
- package/esm2022/lib/shared/components/case-viewer/printer/pipes/print-url.pipe.mjs +0 -61
- package/esm2022/lib/shared/components/case-viewer/services/case.resolver.mjs +0 -138
- package/esm2022/lib/shared/components/case-viewer/services/event-trigger.resolver.mjs +0 -86
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters-selection.model.mjs +0 -11
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters.component.mjs +0 -289
- package/esm2022/lib/shared/components/create-case-filters/create-case-filters.module.mjs +0 -44
- package/esm2022/lib/shared/components/dialogs/delete-or-cancel-dialog/delete-or-cancel-dialog.component.mjs +0 -60
- package/esm2022/lib/shared/components/dialogs/dialogs.module.mjs +0 -51
- package/esm2022/lib/shared/components/dialogs/document-dialog/document-dialog.component.mjs +0 -62
- package/esm2022/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.mjs +0 -60
- package/esm2022/lib/shared/components/dialogs/save-or-discard-dialog/save-or-discard-dialog.component.mjs +0 -64
- package/esm2022/lib/shared/components/error/callback-errors.component.mjs +0 -147
- package/esm2022/lib/shared/components/error/domain/error-context.mjs +0 -6
- package/esm2022/lib/shared/components/error/errors.module.mjs +0 -33
- package/esm2022/lib/shared/components/error-message/error-message.component.mjs +0 -45
- package/esm2022/lib/shared/components/error-message/error-message.module.mjs +0 -41
- package/esm2022/lib/shared/components/event-start/components/multiple-tasks-exist/multiple-tasks-exist.component.mjs +0 -62
- package/esm2022/lib/shared/components/event-start/components/no-tasks-available/no-tasks-available.component.mjs +0 -56
- package/esm2022/lib/shared/components/event-start/components/task-assigned/task-assigned.component.mjs +0 -112
- package/esm2022/lib/shared/components/event-start/components/task-cancelled/task-cancelled.component.mjs +0 -70
- package/esm2022/lib/shared/components/event-start/components/task-conflict/task-conflict.component.mjs +0 -61
- package/esm2022/lib/shared/components/event-start/components/task-unassigned/task-unassigned.component.mjs +0 -56
- package/esm2022/lib/shared/components/event-start/event-guard/event-start.guard.mjs +0 -104
- package/esm2022/lib/shared/components/event-start/event-start.component.mjs +0 -56
- package/esm2022/lib/shared/components/event-start/event-start.module.mjs +0 -71
- package/esm2022/lib/shared/components/event-start/resolvers/event-tasks-resolver.service.mjs +0 -31
- package/esm2022/lib/shared/components/event-start/services/event-start-state-machine.service.mjs +0 -179
- package/esm2022/lib/shared/components/event-trigger/event-trigger.component.mjs +0 -129
- package/esm2022/lib/shared/components/event-trigger/event-trigger.module.mjs +0 -37
- package/esm2022/lib/shared/components/loading-spinner/loading-spinner.component.mjs +0 -26
- package/esm2022/lib/shared/components/loading-spinner/loading-spinner.module.mjs +0 -29
- package/esm2022/lib/shared/components/pagination/pagination.component.mjs +0 -260
- package/esm2022/lib/shared/components/pagination/pagination.module.mjs +0 -35
- package/esm2022/lib/shared/components/palette/address/address-option.model.mjs +0 -23
- package/esm2022/lib/shared/components/palette/address/write-address-field.component.mjs +0 -286
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-read.component.mjs +0 -30
- package/esm2022/lib/shared/components/palette/base-field/abstract-field-write.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +0 -84
- package/esm2022/lib/shared/components/palette/base-field/field-read-label.component.mjs +0 -85
- package/esm2022/lib/shared/components/palette/base-field/field-read.component.mjs +0 -90
- package/esm2022/lib/shared/components/palette/base-field/field-write.component.mjs +0 -78
- package/esm2022/lib/shared/components/palette/base-field/payment-field.component.mjs +0 -37
- package/esm2022/lib/shared/components/palette/case-file-view/case-file-view-field.component.mjs +0 -181
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component.mjs +0 -50
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.mjs +0 -51
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.mjs +0 -358
- package/esm2022/lib/shared/components/palette/case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component.mjs +0 -158
- package/esm2022/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component.mjs +0 -94
- package/esm2022/lib/shared/components/palette/case-flag/components/add-comments/add-comments.component.mjs +0 -190
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-summary-list/case-flag-summary-list.component.mjs +0 -301
- package/esm2022/lib/shared/components/palette/case-flag/components/case-flag-table/case-flag-table.component.mjs +0 -206
- package/esm2022/lib/shared/components/palette/case-flag/components/confirm-flag-status/confirm-flag-status.component.mjs +0 -169
- package/esm2022/lib/shared/components/palette/case-flag/components/manage-case-flags/manage-case-flags.component.mjs +0 -225
- package/esm2022/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter.component.mjs +0 -311
- package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-location/select-flag-location.component.mjs +0 -202
- package/esm2022/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.mjs +0 -353
- package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag-add-translation-form/update-flag-add-translation-form.component.mjs +0 -269
- package/esm2022/lib/shared/components/palette/case-flag/components/update-flag/update-flag.component.mjs +0 -510
- package/esm2022/lib/shared/components/palette/case-flag/pipes/flag-field-display.pipe.mjs +0 -43
- package/esm2022/lib/shared/components/palette/case-flag/pipes/language-interpreter-display.pipe.mjs +0 -43
- package/esm2022/lib/shared/components/palette/case-flag/pipes/manage-case-flags-label-display.pipe.mjs +0 -111
- package/esm2022/lib/shared/components/palette/case-flag/pipes/update-flag-title-display.pipe.mjs +0 -79
- package/esm2022/lib/shared/components/palette/case-flag/read-case-flag-field.component.mjs +0 -253
- package/esm2022/lib/shared/components/palette/case-flag/write-case-flag-field.component.mjs +0 -697
- package/esm2022/lib/shared/components/palette/case-link/read-case-link-field.component.mjs +0 -33
- package/esm2022/lib/shared/components/palette/case-link/write-case-link-field.component.mjs +0 -125
- package/esm2022/lib/shared/components/palette/collection/collection-create-checker.service.mjs +0 -42
- package/esm2022/lib/shared/components/palette/collection/read-collection-field.component.mjs +0 -78
- package/esm2022/lib/shared/components/palette/collection/write-collection-field.component.mjs +0 -447
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-collection-table.component.mjs +0 -378
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-raw.component.mjs +0 -51
- package/esm2022/lib/shared/components/palette/complex/read-complex-field-table.component.mjs +0 -76
- package/esm2022/lib/shared/components/palette/complex/read-complex-field.component.mjs +0 -71
- package/esm2022/lib/shared/components/palette/complex/write-complex-field.component.mjs +0 -173
- package/esm2022/lib/shared/components/palette/date/read-date-field.component.mjs +0 -26
- package/esm2022/lib/shared/components/palette/date/write-date-container-field.component.mjs +0 -33
- package/esm2022/lib/shared/components/palette/date/write-date-field.component.mjs +0 -77
- package/esm2022/lib/shared/components/palette/datetime-picker/datetime-picker.component.mjs +0 -312
- package/esm2022/lib/shared/components/palette/document/document-url.pipe.mjs +0 -25
- package/esm2022/lib/shared/components/palette/document/file-upload-progress.guard.mjs +0 -31
- package/esm2022/lib/shared/components/palette/document/file-upload-state.service.mjs +0 -17
- package/esm2022/lib/shared/components/palette/document/read-document-field.component.mjs +0 -88
- package/esm2022/lib/shared/components/palette/document/write-document-field.component.mjs +0 -430
- package/esm2022/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.mjs +0 -18
- package/esm2022/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.mjs +0 -37
- package/esm2022/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.mjs +0 -124
- package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.mjs +0 -146
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.mjs +0 -25
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.mjs +0 -43
- package/esm2022/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.mjs +0 -123
- package/esm2022/lib/shared/components/palette/email/read-email-field.component.mjs +0 -36
- package/esm2022/lib/shared/components/palette/email/write-email-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/fixed-list/fixed-list.pipe.mjs +0 -23
- package/esm2022/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.mjs +0 -27
- package/esm2022/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.mjs +0 -107
- package/esm2022/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.mjs +0 -18
- package/esm2022/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.mjs +0 -27
- package/esm2022/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.mjs +0 -96
- package/esm2022/lib/shared/components/palette/history/case-history-viewer-field.component.mjs +0 -17
- package/esm2022/lib/shared/components/palette/history/event-log/event-log-details.component.mjs +0 -99
- package/esm2022/lib/shared/components/palette/history/event-log/event-log-table.component.mjs +0 -224
- package/esm2022/lib/shared/components/palette/history/event-log/event-log.component.mjs +0 -72
- package/esm2022/lib/shared/components/palette/judicial-user/read-judicial-user-field.component.mjs +0 -49
- package/esm2022/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.mjs +0 -253
- package/esm2022/lib/shared/components/palette/label/label-field.component.mjs +0 -50
- package/esm2022/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.mjs +0 -111
- package/esm2022/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.mjs +0 -191
- package/esm2022/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.mjs +0 -543
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.mjs +0 -213
- package/esm2022/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.mjs +0 -287
- package/esm2022/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.mjs +0 -69
- package/esm2022/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.mjs +0 -209
- package/esm2022/lib/shared/components/palette/linked-cases/domain/linked-cases.model.mjs +0 -67
- package/esm2022/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.mjs +0 -168
- package/esm2022/lib/shared/components/palette/linked-cases/services/linked-cases.service.mjs +0 -138
- package/esm2022/lib/shared/components/palette/linked-cases/utils/validators.utils.mjs +0 -27
- package/esm2022/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.mjs +0 -234
- package/esm2022/lib/shared/components/palette/markdown/markdown-component.module.mjs +0 -48
- package/esm2022/lib/shared/components/palette/markdown/markdown.component.mjs +0 -81
- package/esm2022/lib/shared/components/palette/markdown/routerlink.component.mjs +0 -25
- package/esm2022/lib/shared/components/palette/money-gbp/money-gbp-input.component.mjs +0 -128
- package/esm2022/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.mjs +0 -50
- package/esm2022/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.mjs +0 -79
- package/esm2022/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.mjs +0 -46
- package/esm2022/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.mjs +0 -126
- package/esm2022/lib/shared/components/palette/number/read-number-field.component.mjs +0 -25
- package/esm2022/lib/shared/components/palette/number/write-number-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/order-summary/fee-value.model.mjs +0 -4
- package/esm2022/lib/shared/components/palette/order-summary/fee.model.mjs +0 -8
- package/esm2022/lib/shared/components/palette/order-summary/order-summary.model.mjs +0 -6
- package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/order-summary/read-order-summary-row.component.mjs +0 -45
- package/esm2022/lib/shared/components/palette/order-summary/write-order-summary-field.component.mjs +0 -45
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-raw.component.mjs +0 -88
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field-table.component.mjs +0 -92
- package/esm2022/lib/shared/components/palette/organisation/read-organisation-field.component.mjs +0 -52
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-complex-field.component.mjs +0 -35
- package/esm2022/lib/shared/components/palette/organisation/write-organisation-field.component.mjs +0 -397
- package/esm2022/lib/shared/components/palette/palette.module.mjs +0 -736
- package/esm2022/lib/shared/components/palette/palette.service.mjs +0 -153
- package/esm2022/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.mjs +0 -25
- package/esm2022/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.mjs +0 -23
- package/esm2022/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.mjs +0 -74
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-detail/qualifying-question-detail.component.mjs +0 -44
- package/esm2022/lib/shared/components/palette/query-management/components/qualifying-questions/qualifying-question-options/qualifying-question-options.component.mjs +0 -150
- package/esm2022/lib/shared/components/palette/query-management/components/query-attachments-read/query-attachments-read.component.mjs +0 -67
- package/esm2022/lib/shared/components/palette/query-management/components/query-case-details-header/query-case-details-header.component.mjs +0 -61
- package/esm2022/lib/shared/components/palette/query-management/components/query-check-your-answers/query-check-your-answers.component.mjs +0 -292
- package/esm2022/lib/shared/components/palette/query-management/components/query-details/query-details.component.mjs +0 -330
- package/esm2022/lib/shared/components/palette/query-management/components/query-event-completion/query-event-completion.component.mjs +0 -24
- package/esm2022/lib/shared/components/palette/query-management/components/query-list/query-list.component.mjs +0 -165
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-add-documents/query-write-add-documents.component.mjs +0 -78
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-date-input/query-write-date-input.component.mjs +0 -121
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-raise-query/query-write-raise-query.component.mjs +0 -202
- package/esm2022/lib/shared/components/palette/query-management/components/query-write/query-write-respond-to-query/query-write-respond-to-query.component.mjs +0 -107
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-data/query-list-data.model.mjs +0 -24
- package/esm2022/lib/shared/components/palette/query-management/models/query-list/query-list-item/query-list-item.model.mjs +0 -45
- package/esm2022/lib/shared/components/palette/query-management/read-query-management-field.component.mjs +0 -124
- package/esm2022/lib/shared/components/palette/query-management/utils/query-management.utils.mjs +0 -22
- package/esm2022/lib/shared/components/palette/text/read-text-field.component.mjs +0 -25
- package/esm2022/lib/shared/components/palette/text/write-text-field.component.mjs +0 -78
- package/esm2022/lib/shared/components/palette/text-area/read-text-area-field.component.mjs +0 -25
- package/esm2022/lib/shared/components/palette/text-area/write-text-area-field.component.mjs +0 -89
- package/esm2022/lib/shared/components/palette/unsupported-field.component.mjs +0 -18
- package/esm2022/lib/shared/components/palette/utils/dash.pipe.mjs +0 -16
- package/esm2022/lib/shared/components/palette/utils/date.pipe.mjs +0 -133
- package/esm2022/lib/shared/components/palette/utils/field-label.pipe.mjs +0 -30
- package/esm2022/lib/shared/components/palette/utils/first-error.pipe.mjs +0 -65
- package/esm2022/lib/shared/components/palette/utils/is-compound.pipe.mjs +0 -43
- package/esm2022/lib/shared/components/palette/utils/is-mandatory.pipe.mjs +0 -22
- package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs +0 -32
- package/esm2022/lib/shared/components/palette/utils/is-read-only.pipe.mjs +0 -22
- package/esm2022/lib/shared/components/palette/utils/utils.module.mjs +0 -71
- package/esm2022/lib/shared/components/palette/waystopay/waystopay-field.component.mjs +0 -35
- package/esm2022/lib/shared/components/palette/yes-no/read-yes-no-field.component.mjs +0 -37
- package/esm2022/lib/shared/components/palette/yes-no/write-yes-no-field.component.mjs +0 -102
- package/esm2022/lib/shared/components/palette/yes-no/yes-no.service.mjs +0 -50
- package/esm2022/lib/shared/components/search-filters/domain/search-input.model.mjs +0 -15
- package/esm2022/lib/shared/components/search-filters/search-filters-wrapper.component.mjs +0 -63
- package/esm2022/lib/shared/components/search-filters/search-filters.component.mjs +0 -341
- package/esm2022/lib/shared/components/search-filters/search-filters.module.mjs +0 -71
- package/esm2022/lib/shared/components/search-result/search-result.component.mjs +0 -822
- package/esm2022/lib/shared/components/search-result/search-result.module.mjs +0 -82
- package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +0 -497
- package/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.module.mjs +0 -67
- package/esm2022/lib/shared/directives/conditional-show/conditional-show-form.directive.mjs +0 -169
- package/esm2022/lib/shared/directives/conditional-show/conditional-show.module.mjs +0 -33
- package/esm2022/lib/shared/directives/conditional-show/domain/conditional-show.model.mjs +0 -201
- package/esm2022/lib/shared/directives/conditional-show/services/condition-parser.service.mjs +0 -200
- package/esm2022/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.mjs +0 -17
- package/esm2022/lib/shared/directives/conditional-show/services/grey-bar.service.mjs +0 -48
- package/esm2022/lib/shared/directives/focus-element/focus-element.directive.mjs +0 -38
- package/esm2022/lib/shared/directives/focus-element/focus-element.module.mjs +0 -21
- package/esm2022/lib/shared/directives/substitutor/label-substitutor.directive.mjs +0 -88
- package/esm2022/lib/shared/directives/substitutor/label-substitutor.module.mjs +0 -30
- package/esm2022/lib/shared/directives/substitutor/services/placeholder.service.mjs +0 -209
- package/esm2022/lib/shared/domain/activity/activity.model.mjs +0 -17
- package/esm2022/lib/shared/domain/addresses/address.model.mjs +0 -11
- package/esm2022/lib/shared/domain/alert/alert.model.mjs +0 -5
- package/esm2022/lib/shared/domain/case-details.model.mjs +0 -13
- package/esm2022/lib/shared/domain/case-event-data.model.mjs +0 -11
- package/esm2022/lib/shared/domain/case-file-view/case-file-view-category.model.mjs +0 -8
- package/esm2022/lib/shared/domain/case-file-view/case-file-view-document.model.mjs +0 -10
- package/esm2022/lib/shared/domain/case-file-view/categories-and-documents.model.mjs +0 -10
- package/esm2022/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.mjs +0 -125
- package/esm2022/lib/shared/domain/case-flag/flag-type.model.mjs +0 -37
- package/esm2022/lib/shared/domain/case-flag/hmcts-service-detail.model.mjs +0 -18
- package/esm2022/lib/shared/domain/case-view/case-event-trigger.model.mjs +0 -34
- package/esm2022/lib/shared/domain/case-view/case-print-document.model.mjs +0 -6
- package/esm2022/lib/shared/domain/case-view/case-tab.model.mjs +0 -17
- package/esm2022/lib/shared/domain/case-view/case-view-event.model.mjs +0 -16
- package/esm2022/lib/shared/domain/case-view/case-view-trigger.model.mjs +0 -7
- package/esm2022/lib/shared/domain/case-view/case-view.model.mjs +0 -27
- package/esm2022/lib/shared/domain/definition/access-control-list.model.mjs +0 -8
- package/esm2022/lib/shared/domain/definition/banner.model.mjs +0 -8
- package/esm2022/lib/shared/domain/definition/case-event.model.mjs +0 -11
- package/esm2022/lib/shared/domain/definition/case-field.model.mjs +0 -218
- package/esm2022/lib/shared/domain/definition/case-state.model.mjs +0 -7
- package/esm2022/lib/shared/domain/definition/case-type-lite.model.mjs +0 -10
- package/esm2022/lib/shared/domain/definition/case-type.model.mjs +0 -20
- package/esm2022/lib/shared/domain/definition/event-case-field.model.mjs +0 -6
- package/esm2022/lib/shared/domain/definition/field-type.model.mjs +0 -30
- package/esm2022/lib/shared/domain/definition/fixed-list-item.model.mjs +0 -6
- package/esm2022/lib/shared/domain/definition/jurisdiction.model.mjs +0 -8
- package/esm2022/lib/shared/domain/document/document-data.model.mjs +0 -28
- package/esm2022/lib/shared/domain/draft.model.mjs +0 -16
- package/esm2022/lib/shared/domain/http/http-error.model.mjs +0 -49
- package/esm2022/lib/shared/domain/organisation/organisation-converter.mjs +0 -42
- package/esm2022/lib/shared/domain/pagination-metadata.model.mjs +0 -5
- package/esm2022/lib/shared/domain/profile/profile.model.mjs +0 -33
- package/esm2022/lib/shared/domain/search/field.model.mjs +0 -17
- package/esm2022/lib/shared/domain/search/search-result-view-column.model.mjs +0 -9
- package/esm2022/lib/shared/domain/search/search-result-view-item.model.mjs +0 -18
- package/esm2022/lib/shared/domain/search/search-result-view.model.mjs +0 -26
- package/esm2022/lib/shared/domain/search/sorting/sort-parameters.mjs +0 -9
- package/esm2022/lib/shared/domain/workbasket/workbasket-input.model.mjs +0 -11
- package/esm2022/lib/shared/fixture/case-field-builder.mjs +0 -67
- package/esm2022/lib/shared/pipes/case-reference/case-reference.pipe.mjs +0 -33
- package/esm2022/lib/shared/pipes/case-title/ccd-case-title.pipe.mjs +0 -31
- package/esm2022/lib/shared/pipes/complex/ccd-collection-table-value-case-fields.pipe.mjs +0 -32
- package/esm2022/lib/shared/pipes/complex/ccd-cyapage-label-filter.pipe.mjs +0 -27
- package/esm2022/lib/shared/pipes/complex/ccd-page-fields.pipe.mjs +0 -39
- package/esm2022/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.mjs +0 -173
- package/esm2022/lib/shared/pipes/complex/ccd-tab-fields.pipe.mjs +0 -31
- package/esm2022/lib/shared/pipes/complex/fields-filter.pipe.mjs +0 -105
- package/esm2022/lib/shared/pipes/generic/enum-display-description/enum-display-description.pipe.mjs +0 -16
- package/esm2022/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.mjs +0 -28
- package/esm2022/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.mjs +0 -28
- package/esm2022/lib/shared/pipes/pipes.module.mjs +0 -64
- package/esm2022/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.mjs +0 -24
- package/esm2022/lib/shared/services/activity/activity.polling.service.mjs +0 -122
- package/esm2022/lib/shared/services/activity/activity.service.mjs +0 -85
- package/esm2022/lib/shared/services/addresses/address-parser.mjs +0 -76
- package/esm2022/lib/shared/services/addresses/addresses.service.mjs +0 -65
- package/esm2022/lib/shared/services/alert/alert.service.mjs +0 -157
- package/esm2022/lib/shared/services/auth/auth.service.mjs +0 -35
- package/esm2022/lib/shared/services/banners/banners.service.mjs +0 -35
- package/esm2022/lib/shared/services/browser/browser.service.mjs +0 -24
- package/esm2022/lib/shared/services/case-fields/case-field.service.mjs +0 -34
- package/esm2022/lib/shared/services/case-fields/format-translator.service.mjs +0 -242
- package/esm2022/lib/shared/services/case-file-view/case-file-view.service.mjs +0 -48
- package/esm2022/lib/shared/services/case-flag/case-flag-refdata.service.mjs +0 -104
- package/esm2022/lib/shared/services/common-data-service/common-data-service.mjs +0 -29
- package/esm2022/lib/shared/services/definitions/definitions.module.mjs +0 -19
- package/esm2022/lib/shared/services/definitions/definitions.service.mjs +0 -32
- package/esm2022/lib/shared/services/document-management/document-management.service.mjs +0 -114
- package/esm2022/lib/shared/services/draft/draft.service.mjs +0 -89
- package/esm2022/lib/shared/services/error/error-notifier.service.mjs +0 -16
- package/esm2022/lib/shared/services/eventStatusService/event-status.service.mjs +0 -21
- package/esm2022/lib/shared/services/fields/fields.purger.mjs +0 -305
- package/esm2022/lib/shared/services/fields/fields.utils.mjs +0 -615
- package/esm2022/lib/shared/services/form/field-type-sanitiser.mjs +0 -102
- package/esm2022/lib/shared/services/form/form-error.service.mjs +0 -46
- package/esm2022/lib/shared/services/form/form-validators.service.mjs +0 -82
- package/esm2022/lib/shared/services/form/form-value.service.mjs +0 -552
- package/esm2022/lib/shared/services/http/http-error.service.mjs +0 -67
- package/esm2022/lib/shared/services/http/http.service.mjs +0 -95
- package/esm2022/lib/shared/services/jurisdiction/jurisdiction.service.mjs +0 -35
- package/esm2022/lib/shared/services/loading/loading.module.mjs +0 -22
- package/esm2022/lib/shared/services/loading/loading.service.mjs +0 -31
- package/esm2022/lib/shared/services/navigation/navigation-notifier.service.mjs +0 -16
- package/esm2022/lib/shared/services/order/order.service.mjs +0 -37
- package/esm2022/lib/shared/services/organisation/organisation.service.mjs +0 -57
- package/esm2022/lib/shared/services/profile/profile.notifier.mjs +0 -17
- package/esm2022/lib/shared/services/profile/profile.service.mjs +0 -36
- package/esm2022/lib/shared/services/request/request.options.builder.mjs +0 -61
- package/esm2022/lib/shared/services/router/router-helper.service.mjs +0 -20
- package/esm2022/lib/shared/services/search/search.service.mjs +0 -96
- package/esm2022/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.mjs +0 -71
- package/esm2022/lib/shared/services/session/session-storage.service.mjs +0 -34
- package/esm2022/lib/shared/services/utils/retry/retry.service.mjs +0 -87
- package/esm2022/lib/shared/services/window/window.service.mjs +0 -40
- package/esm2022/lib/shared/services/workbasket/workbasket-input-filter.service.mjs +0 -57
- package/esm2022/lib/shared/test/test-route-snapshot-builder.mjs +0 -38
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +0 -37117
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +0 -1
- /package/{esm2022 → esm2020}/hmcts-ccd-case-ui-toolkit.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/domain/notification-banner-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/notification-banner-style.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/enums/notification-banner-type.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/banners/notification-banner/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/body/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/footer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/form/date-input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/header-bar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/navigation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/header/phase/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/components/tabs/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/commons/case-edit-data/case-edit-validation.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/commons/case-edit-data/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/activity/activity-banner/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/activity/activity-icon/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/activity/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-create/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-confirm/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-page/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-submit/case-edit-submit-titles.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-edit-submit/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-event-completion/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/case-progress/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-params.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-portal-types.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/event-completion-states.enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/editor.routing.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-editor/services/wizard-factory.service.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-header/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-history/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-list-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-timeline/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-basic-access-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/models/case-challenged-access-request.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-request/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-challenged-access-success/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-event-trigger/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-full-access-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-reject/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/models/case-review-specific-access-request.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-review-specific-access-request/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/models/case-specific-access-request.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-request/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-specific-access-success/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/case-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/printer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/printer/pipes/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/case-viewer/viewer.routing.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/create-case-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/delete-or-cancel-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/document-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/remove-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/dialogs/save-or-discard-dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/error/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/error/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/error-message/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/event-start-state-machine-context.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/event-start-states-enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-start/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/event-trigger/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/helpers/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/helpers/init-dialog-helper.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/loading-spinner/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/pagination/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/address/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/base-field/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/base-field/palette-context.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu-item.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/components/shared/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/components/search-language-interpreter/search-language-interpreter-control-names.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/case-flag-state.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/case-flag.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/domain/language.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/add-comments-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/add-comments-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-check-your-answers-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-display-context-parameter.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-form-fields.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-status.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-summary-list-display-mode.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/case-flag-wizard-step-title.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/confirm-status-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/confirm-status-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/search-language-interpreter-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-location-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/select-flag-type-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-add-translation-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/update-flag-step.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/enums/write-case-flag-field.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-flag/pipes/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/case-link/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/collection/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/complex/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/complex/sort-order.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/date/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/datetime-picker/datetime-picker-utils.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/datetime-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/document/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-multi-select-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/dynamic-radio-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/email/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/fixed-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/fixed-radio-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/history/event-log/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/history/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/judicial-user/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/label/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/linked-cases/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/markdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/money-gbp/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/multi-select-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/number/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/order-summary/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/organisation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/payment/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/phone-uk/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/__mocks__/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/components/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/qualifying-questions-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/query-item-response-status.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/raise-query-error-message.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/enums/respond-to-query-error-messages.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/case-queries-collection.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/qualifying-questions/casetype-qualifying-questions.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/qualifying-questions/qualifying-question.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/query-create-context.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/query-management/models/query-list/query-list-column/query-list-column.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/text/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/text-area/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/waystopay/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/palette/yes-no/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/search-filters/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/search-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/search-result/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/components/workbasket-filters/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/condition.peg.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/conditional-show/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/focus-element/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/substitutor/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/directives/substitutor/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/activity/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/addresses/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/alert/alert-level.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/alert/alert-status-params.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-edit/case-edit.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-edit/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/document-tree-node/document-tree-node-type.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-file-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-flag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/access-types.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/case-view-event-ids.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/challenged-access-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/review-specific-access-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/role-assignment-response.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/role-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/service-org-response.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/case-view/specific-access-request.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/definition/display-context-enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/definition/field-type-enum.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/definition/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/document/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/error-message.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/http/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/jurisdiction/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/jurisdiction/judicial-user.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/order/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/order/orderable.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/organisation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/organisation/simple-organisation.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/predicate.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/profile/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/search/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/search/sorting/search-result-view-item-comparator.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/sort-order.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/user/user-details.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/user/user-info.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/Task.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/TaskPayload.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/case-worker.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/judicial-worker.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/task-response.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/task-search-parameter.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/work-allocation/wa-service-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/domain/workbasket/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/fixture/shared.test.fixture.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/case-reference/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/case-title/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/complex/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/generic/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/link-cases-from-reason-code/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/pipes/link-cases-reason-code/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/activity/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/addresses/address-type.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/addresses/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/auth/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/banners/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/browser/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-fields/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-file-view/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-flag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/case-flag/refdata-case-flag-type.enum.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/definitions/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/document-management/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/draft/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/error/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/eventStatusService/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/fields/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/http/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/jurisdiction/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/loading/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/navigation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/navigation/navigation-origin.model.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/order/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/organisation/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/profile/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/request/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/router/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/search/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/session/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/utils/retry/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/window/index.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/shared/services/workbasket/index.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import moment from 'moment';
|
|
3
|
-
import { FormatTranslatorService } from '../../../services/case-fields/format-translator.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../services/case-fields/format-translator.service";
|
|
6
|
-
export class DatePipe {
|
|
7
|
-
formatTrans;
|
|
8
|
-
static DATE_FORMAT_REGEXP = new RegExp('^(\\d{4})-?(\\d\\d)-?(\\d\\d)(?:T(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:\\.(\\d+))?)?)?(Z|([+-])(\\d\\d):?(\\d\\d))?|Z)?$');
|
|
9
|
-
// 1 2 3 4 5 6 7 8 9 10 11
|
|
10
|
-
static MONTHS = [
|
|
11
|
-
['Jan'], ['Feb'], ['Mar'], ['Apr'], ['May'], ['Jun'], ['Jul'], ['Aug'], ['Sep'], ['Oct'], ['Nov'], ['Dec'],
|
|
12
|
-
];
|
|
13
|
-
/**
|
|
14
|
-
* constructor to allow format translator to be injected
|
|
15
|
-
* @param formatTrans format translator
|
|
16
|
-
*/
|
|
17
|
-
constructor(formatTrans) {
|
|
18
|
-
this.formatTrans = formatTrans;
|
|
19
|
-
}
|
|
20
|
-
transform(value, zone, format) {
|
|
21
|
-
let resultDate = null;
|
|
22
|
-
const ISO_FORMAT = 'YYYY-MM-DDTHH:mm:ss.SSSZ';
|
|
23
|
-
if (value) {
|
|
24
|
-
// included to avoid editing the hour twice on second pass through
|
|
25
|
-
// this occurs on case details when datepipe is applied twice
|
|
26
|
-
if (!value.includes('T')) {
|
|
27
|
-
zone = 'utc';
|
|
28
|
-
}
|
|
29
|
-
const match = value.match(DatePipe.DATE_FORMAT_REGEXP);
|
|
30
|
-
// Make sure we actually have a match.
|
|
31
|
-
if (match) {
|
|
32
|
-
let offsetDate = null;
|
|
33
|
-
const date = this.getDate(match);
|
|
34
|
-
if (zone === 'local') {
|
|
35
|
-
offsetDate = this.getOffsetDate(date);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
offsetDate = this.getDate(match);
|
|
39
|
-
}
|
|
40
|
-
// 'short' format is meaningful to formatDate, but not the same meaning as in the unit tests
|
|
41
|
-
if (this.formatTrans && format && format !== 'short') {
|
|
42
|
-
// support for java style formatting strings for dates
|
|
43
|
-
format = this.translateDateFormat(format);
|
|
44
|
-
resultDate = moment(date).format(format);
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
// RDM-1149 changed the pipe logic so that it doesn't add an hour to 'Summer Time' dates on DateTime field type
|
|
48
|
-
resultDate = `${offsetDate.getDate()} ${DatePipe.MONTHS[offsetDate.getMonth()]} ${offsetDate.getFullYear()}`;
|
|
49
|
-
if (match[4] && match[5] && match[6] && format !== 'short') {
|
|
50
|
-
resultDate += ', ';
|
|
51
|
-
resultDate += `${this.getHour(offsetDate.getHours().toString())}:`;
|
|
52
|
-
resultDate += `${this.pad(offsetDate.getMinutes())}:`;
|
|
53
|
-
resultDate += `${this.pad(offsetDate.getSeconds())} `;
|
|
54
|
-
resultDate += (this.toInt(offsetDate.getHours().toString()) >= 12) ? 'PM' : 'AM';
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
// EUI-2667. See if what we've been given is actually a formatted date that
|
|
60
|
-
// we could attempt to do something with.
|
|
61
|
-
const parsedDate = Date.parse(value);
|
|
62
|
-
// We successfully parsed it so let's use it.
|
|
63
|
-
if (!isNaN(parsedDate)) {
|
|
64
|
-
const d = new Date(parsedDate);
|
|
65
|
-
// If what we received didn't include time, don't include it here either.
|
|
66
|
-
if (value.indexOf(':') < 0) {
|
|
67
|
-
const shortDate = d.toLocaleDateString('en-GB');
|
|
68
|
-
const shortISO = shortDate.split('/').reverse().join('-');
|
|
69
|
-
return this.transform(shortISO, zone, format);
|
|
70
|
-
}
|
|
71
|
-
// If it did include time, we want a full ISO string.
|
|
72
|
-
const thisMoment = moment(d).format(ISO_FORMAT);
|
|
73
|
-
return this.transform(thisMoment, zone, format);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return resultDate;
|
|
78
|
-
}
|
|
79
|
-
translateDateFormat(format) {
|
|
80
|
-
if (this.formatTrans) {
|
|
81
|
-
return this.formatTrans.translate(format);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return format;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
getOffsetDate(date) {
|
|
88
|
-
const localOffset = -date.getTimezoneOffset() / 60;
|
|
89
|
-
return new Date(date.getTime() + localOffset * 3600 * 1000);
|
|
90
|
-
}
|
|
91
|
-
getDate(match) {
|
|
92
|
-
const year = this.toInt(match[1]);
|
|
93
|
-
const month = this.toInt(match[2]) - 1;
|
|
94
|
-
const day = this.toInt(match[3]);
|
|
95
|
-
let resultDate;
|
|
96
|
-
if (match[4] && match[5] && match[6]) {
|
|
97
|
-
const hour = this.toInt(match[4]);
|
|
98
|
-
const minutes = this.toInt(match[5]);
|
|
99
|
-
const seconds = this.toInt(match[6]);
|
|
100
|
-
resultDate = new Date(year, month, day, hour, minutes, seconds, 0);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
resultDate = new Date(year, month, day);
|
|
104
|
-
}
|
|
105
|
-
return resultDate;
|
|
106
|
-
}
|
|
107
|
-
getHour(hourStr) {
|
|
108
|
-
let hourNum = this.toInt(hourStr);
|
|
109
|
-
if (hourNum > 12) {
|
|
110
|
-
hourNum = hourNum - 12;
|
|
111
|
-
}
|
|
112
|
-
else if (hourNum === 0) {
|
|
113
|
-
hourNum = 12;
|
|
114
|
-
}
|
|
115
|
-
return hourNum;
|
|
116
|
-
}
|
|
117
|
-
toInt(str) {
|
|
118
|
-
return parseInt(str, 10);
|
|
119
|
-
}
|
|
120
|
-
pad(num, padNum = 2) {
|
|
121
|
-
const val = num !== undefined ? num.toString() : '';
|
|
122
|
-
return val.length >= padNum ? val : new Array(padNum - val.length + 1).join('0') + val;
|
|
123
|
-
}
|
|
124
|
-
static ɵfac = function DatePipe_Factory(t) { return new (t || DatePipe)(i0.ɵɵdirectiveInject(i1.FormatTranslatorService, 16)); };
|
|
125
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdDate", type: DatePipe, pure: true });
|
|
126
|
-
}
|
|
127
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatePipe, [{
|
|
128
|
-
type: Pipe,
|
|
129
|
-
args: [{
|
|
130
|
-
name: 'ccdDate'
|
|
131
|
-
}]
|
|
132
|
-
}], () => [{ type: i1.FormatTranslatorService }], null); })();
|
|
133
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdXRpbHMvZGF0ZS5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBQ3BELE9BQU8sTUFBTSxNQUFNLFFBQVEsQ0FBQztBQUU1QixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSx5REFBeUQsQ0FBQzs7O0FBS2xHLE1BQU0sT0FBTyxRQUFRO0lBWVU7SUFYckIsTUFBTSxDQUFVLGtCQUFrQixHQUN4QyxJQUFJLE1BQU0sQ0FBQyx5SEFBeUgsQ0FBQyxDQUFDO0lBQy9ILGdHQUFnRztJQUNqRyxNQUFNLENBQVUsTUFBTSxHQUFHO1FBQy9CLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQU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VhciwgbW9udGgsIGRheSwgaG91ciwgbWludXRlcywgc2Vjb25kcywgMCk7XG4gICAgfSBlbHNlIHtcbiAgICAgIHJlc3VsdERhdGUgPSBuZXcgRGF0ZSh5ZWFyLCBtb250aCwgZGF5KTtcbiAgICB9XG4gICAgcmV0dXJuIHJlc3VsdERhdGU7XG4gIH1cblxuICBwcml2YXRlIGdldEhvdXIoaG91clN0cjogc3RyaW5nKTogbnVtYmVyIHtcbiAgICBsZXQgaG91ck51bSA9IHRoaXMudG9JbnQoaG91clN0cik7XG4gICAgaWYgKGhvdXJOdW0gPiAxMikge1xuICAgICAgaG91ck51bSA9IGhvdXJOdW0gLSAxMjtcbiAgICB9IGVsc2UgaWYgKGhvdXJOdW0gPT09IDApIHtcbiAgICAgIGhvdXJOdW0gPSAxMjtcbiAgICB9XG4gICAgcmV0dXJuIGhvdXJOdW07XG4gIH1cblxuICBwcml2YXRlIHRvSW50KHN0cjogc3RyaW5nKTogbnVtYmVyIHtcbiAgICByZXR1cm4gcGFyc2VJbnQoc3RyLCAxMCk7XG4gIH1cblxuICBwcml2YXRlIHBhZChudW06IGFueSwgcGFkTnVtID0gMik6IHN0cmluZyB7XG4gICAgY29uc3QgdmFsID0gbnVtICE9PSB1bmRlZmluZWQgPyBudW0udG9TdHJpbmcoKSA6ICcnO1xuICAgIHJldHVybiB2YWwubGVuZ3RoID49IHBhZE51bSA/IHZhbCA6IG5ldyBBcnJheShwYWROdW0gLSB2YWwubGVuZ3RoICsgMSkuam9pbignMCcpICsgdmFsO1xuICB9XG59XG4iXX0=
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { RpxTranslatePipe } from 'rpx-xui-translation';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "rpx-xui-translation";
|
|
5
|
-
export class FieldLabelPipe {
|
|
6
|
-
rpxTranslationPipe;
|
|
7
|
-
constructor(rpxTranslationPipe) {
|
|
8
|
-
this.rpxTranslationPipe = rpxTranslationPipe;
|
|
9
|
-
}
|
|
10
|
-
transform(field) {
|
|
11
|
-
if (!field || !field.label) {
|
|
12
|
-
return '';
|
|
13
|
-
}
|
|
14
|
-
else if (!field.display_context) {
|
|
15
|
-
return this.rpxTranslationPipe.transform(field.label);
|
|
16
|
-
}
|
|
17
|
-
return this.rpxTranslationPipe.transform(field.label) + (field.display_context.toUpperCase() === 'OPTIONAL' ?
|
|
18
|
-
' (' + this.rpxTranslationPipe.transform('Optional') + ')' : '');
|
|
19
|
-
}
|
|
20
|
-
static ɵfac = function FieldLabelPipe_Factory(t) { return new (t || FieldLabelPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslatePipe, 16)); };
|
|
21
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFieldLabel", type: FieldLabelPipe, pure: false });
|
|
22
|
-
}
|
|
23
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldLabelPipe, [{
|
|
24
|
-
type: Pipe,
|
|
25
|
-
args: [{
|
|
26
|
-
name: 'ccdFieldLabel',
|
|
27
|
-
pure: false
|
|
28
|
-
}]
|
|
29
|
-
}], () => [{ type: i1.RpxTranslatePipe }], null); })();
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtbGFiZWwucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3V0aWxzL2ZpZWxkLWxhYmVsLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxFQUFFLGdCQ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dHJhbnNsYXRpb24nO1xuaW1wb3J0IHsgQ2FzZUZpZWxkIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL2RlZmluaXRpb24vY2FzZS1maWVsZC5tb2RlbCc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ2NjZEZpZWxkTGFiZWwnLFxuICBwdXJlOiBmYWxzZVxufSlcbmV4cG9ydCBjbGFzcyBGaWVsZExhYmVsUGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgcmVhZG9ubHkgcnB4VHJhbnNsYXRpb25QaXBlOiBScHhUcmFuc2xhdGVQaXBlXG4gICkge31cbiAgXG4gIHB1YmxpYyB0cmFuc2Zvcm0gKGZpZWxkOiBDYXNlRmllbGQpOiBzdHJpbmcge1xuICAgIGlmICghZmllbGQgfHwgIWZpZWxkLmxhYmVsKSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfSBlbHNlIGlmICghZmllbGQuZGlzcGxheV9jb250ZXh0KSB7XG4gICAgICByZXR1cm4gdGhpcy5ycHhUcmFuc2xhdGlvblBpcGUudHJhbnNmb3JtKGZpZWxkLmxhYmVsKTtcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMucnB4VHJhbnNsYXRpb25QaXBlLnRyYW5zZm9ybShmaWVsZC5sYWJlbCkgKyAoZmllbGQuZGlzcGxheV9jb250ZXh0LnRvVXBwZXJDYXNlKCkgPT09ICdPUFRJT05BTCcgPyBcbiAgICAgICcgKCcgKyB0aGlzLnJweFRyYW5zbGF0aW9uUGlwZS50cmFuc2Zvcm0oJ09wdGlvbmFsJykgKyAnKScgOiAnJyk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { AsyncPipe } from '@angular/common';
|
|
2
|
-
import { ChangeDetectorRef, Injector, Pipe } from '@angular/core';
|
|
3
|
-
import { RpxTranslationService } from 'rpx-xui-translation';
|
|
4
|
-
import { switchMap } from 'rxjs/operators';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "rpx-xui-translation";
|
|
7
|
-
export class FirstErrorPipe {
|
|
8
|
-
rpxTranslationService;
|
|
9
|
-
injector;
|
|
10
|
-
asyncPipe;
|
|
11
|
-
constructor(rpxTranslationService, injector) {
|
|
12
|
-
this.rpxTranslationService = rpxTranslationService;
|
|
13
|
-
this.injector = injector;
|
|
14
|
-
this.asyncPipe = new AsyncPipe(this.injector.get(ChangeDetectorRef));
|
|
15
|
-
}
|
|
16
|
-
transform(value, args) {
|
|
17
|
-
if (!value) {
|
|
18
|
-
return '';
|
|
19
|
-
}
|
|
20
|
-
if (!args) {
|
|
21
|
-
args = 'Field';
|
|
22
|
-
}
|
|
23
|
-
const keys = Object.keys(value);
|
|
24
|
-
if (!keys.length) {
|
|
25
|
-
return '';
|
|
26
|
-
}
|
|
27
|
-
let errorMessage;
|
|
28
|
-
if (keys[0] === 'required') {
|
|
29
|
-
errorMessage = '%FIELDLABEL% is required';
|
|
30
|
-
}
|
|
31
|
-
else if (keys[0] === 'pattern') {
|
|
32
|
-
errorMessage = 'The data entered is not valid for %FIELDLABEL%';
|
|
33
|
-
}
|
|
34
|
-
else if (keys[0] === 'markDownPattern') {
|
|
35
|
-
errorMessage = 'The data entered is not valid for %FIELDLABEL%. Link mark up characters are not allowed in this field';
|
|
36
|
-
}
|
|
37
|
-
else if (keys[0] === 'minlength') {
|
|
38
|
-
errorMessage = '%FIELDLABEL% is below the minimum length';
|
|
39
|
-
}
|
|
40
|
-
else if (keys[0] === 'maxlength') {
|
|
41
|
-
errorMessage = '%FIELDLABEL% exceeds the maximum length';
|
|
42
|
-
}
|
|
43
|
-
else if (value.hasOwnProperty('matDatetimePickerParse')) {
|
|
44
|
-
errorMessage = 'The date entered is not valid. Please provide a valid date';
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
errorMessage = value[keys[0]];
|
|
48
|
-
}
|
|
49
|
-
const o = this.rpxTranslationService.getTranslation$(args).pipe(switchMap(fieldLabel => this.rpxTranslationService.getTranslationWithReplacements$(errorMessage, { FIELDLABEL: fieldLabel })));
|
|
50
|
-
return this.asyncPipe.transform(o);
|
|
51
|
-
}
|
|
52
|
-
ngOnDestroy() {
|
|
53
|
-
this.asyncPipe.ngOnDestroy();
|
|
54
|
-
}
|
|
55
|
-
static ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(i0.ɵɵdirectiveInject(i1.RpxTranslationService, 16), i0.ɵɵdirectiveInject(i0.Injector, 16)); };
|
|
56
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: false });
|
|
57
|
-
}
|
|
58
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FirstErrorPipe, [{
|
|
59
|
-
type: Pipe,
|
|
60
|
-
args: [{
|
|
61
|
-
name: 'ccdFirstError',
|
|
62
|
-
pure: false
|
|
63
|
-
}]
|
|
64
|
-
}], () => [{ type: i1.RpxTranslationService }, { type: i0.Injector }], null); })();
|
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyc3QtZXJyb3IucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3V0aWxzL2ZpcnN0LWVycm9yLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQzVDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxRQUFRLEVBQWEsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0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RExBQkVMJSBleGNlZWRzIHRoZSBtYXhpbXVtIGxlbmd0aCc7XG4gICAgfSBlbHNlIGlmICh2YWx1ZS5oYXNPd25Qcm9wZXJ0eSgnbWF0RGF0ZXRpbWVQaWNrZXJQYXJzZScpKSB7XG4gICAgICBlcnJvck1lc3NhZ2UgPSAnVGhlIGRhdGUgZW50ZXJlZCBpcyBub3QgdmFsaWQuIFBsZWFzZSBwcm92aWRlIGEgdmFsaWQgZGF0ZSc7XG4gICAgfSBlbHNlIHtcbiAgICAgIGVycm9yTWVzc2FnZSA9IHZhbHVlW2tleXNbMF1dO1xuICAgIH1cblxuICAgIGNvbnN0IG8gPSB0aGlzLnJweFRyYW5zbGF0aW9uU2VydmljZS5nZXRUcmFuc2xhdGlvbiQoYXJncykucGlwZShcbiAgICAgIHN3aXRjaE1hcChmaWVsZExhYmVsID0+IHRoaXMucnB4VHJhbnNsYXRpb25TZXJ2aWNlLmdldFRyYW5zbGF0aW9uV2l0aFJlcGxhY2VtZW50cyQoZXJyb3JNZXNzYWdlLCB7IEZJRUxETEFCRUw6IGZpZWxkTGFiZWwgfSkpXG4gICAgKTtcblxuICAgIHJldHVybiB0aGlzLmFzeW5jUGlwZS50cmFuc2Zvcm0obyk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5hc3luY1BpcGUubmdPbkRlc3Ryb3koKTtcbiAgfVxufVxuIl19
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class IsCompoundPipe {
|
|
4
|
-
static COMPOUND_TYPES = [
|
|
5
|
-
'Complex',
|
|
6
|
-
'Label',
|
|
7
|
-
'AddressGlobal',
|
|
8
|
-
'AddressUK',
|
|
9
|
-
'AddressGlobalUK',
|
|
10
|
-
'CasePaymentHistoryViewer',
|
|
11
|
-
'CaseHistoryViewer',
|
|
12
|
-
'Organisation',
|
|
13
|
-
'WaysToPay',
|
|
14
|
-
'ComponentLauncher',
|
|
15
|
-
'FlagLauncher',
|
|
16
|
-
'CaseFlag'
|
|
17
|
-
];
|
|
18
|
-
static EXCLUDE = [
|
|
19
|
-
'CaseLink',
|
|
20
|
-
'JudicialUser'
|
|
21
|
-
];
|
|
22
|
-
transform(field) {
|
|
23
|
-
if (!field || !field.field_type || !field.field_type.type) {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
if (IsCompoundPipe.COMPOUND_TYPES.indexOf(field.field_type.type) !== -1) {
|
|
27
|
-
if (IsCompoundPipe.EXCLUDE.indexOf(field.field_type.id) !== -1) {
|
|
28
|
-
return false;
|
|
29
|
-
}
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
static ɵfac = function IsCompoundPipe_Factory(t) { return new (t || IsCompoundPipe)(); };
|
|
35
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsCompound", type: IsCompoundPipe, pure: true });
|
|
36
|
-
}
|
|
37
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsCompoundPipe, [{
|
|
38
|
-
type: Pipe,
|
|
39
|
-
args: [{
|
|
40
|
-
name: 'ccdIsCompound'
|
|
41
|
-
}]
|
|
42
|
-
}], null, null); })();
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtY29tcG91bmQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3V0aWxzL2lzLWNvbXBvdW5kLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyx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WVsZCB8fCAhZmllbGQuZmllbGRfdHlwZSB8fCAhZmllbGQuZmllbGRfdHlwZS50eXBlKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuXG4gICAgaWYgKElzQ29tcG91bmRQaXBlLkNPTVBPVU5EX1RZUEVTLmluZGV4T2YoZmllbGQuZmllbGRfdHlwZS50eXBlKSAhPT0gLTEpIHtcbiAgICAgIGlmIChJc0NvbXBvdW5kUGlwZS5FWENMVURFLmluZGV4T2YoZmllbGQuZmllbGRfdHlwZS5pZCkgIT09IC0xKSB7XG4gICAgICAgIHJldHVybiBmYWxzZTtcbiAgICAgIH1cbiAgICAgIHJldHVybiB0cnVlO1xuICAgIH1cblxuICAgIHJldHVybiBmYWxzZTtcbiAgfVxufVxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services/case-fields/case-field.service";
|
|
5
|
-
export class IsMandatoryPipe {
|
|
6
|
-
caseFieldService;
|
|
7
|
-
constructor(caseFieldService) {
|
|
8
|
-
this.caseFieldService = caseFieldService;
|
|
9
|
-
}
|
|
10
|
-
transform(field) {
|
|
11
|
-
return this.caseFieldService.isMandatory(field);
|
|
12
|
-
}
|
|
13
|
-
static ɵfac = function IsMandatoryPipe_Factory(t) { return new (t || IsMandatoryPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService, 16)); };
|
|
14
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsMandatory", type: IsMandatoryPipe, pure: true });
|
|
15
|
-
}
|
|
16
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsMandatoryPipe, [{
|
|
17
|
-
type: Pipe,
|
|
18
|
-
args: [{
|
|
19
|
-
name: 'ccdIsMandatory'
|
|
20
|
-
}]
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cuLi8uLi8uLi9zZXJ2aWNlcy9jYXNlLWZpZWxkcy9jYXNlLWZpZWxkLnNlcnZpY2UnO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICdjY2RJc01hbmRhdG9yeSdcbn0pXG5leHBvcnQgY2xhc3MgSXNNYW5kYXRvcnlQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSAgY2FzZUZpZWxkU2VydmljZTogQ2FzZUZpZWxkU2VydmljZSkge31cblxuICBwdWJsaWMgdHJhbnNmb3JtKGZpZWxkOiBDYXNlRmllbGQpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdGhpcy5jYXNlRmllbGRTZXJ2aWNlLmlzTWFuZGF0b3J5KGZpZWxkKTtcbiAgfVxufVxuIl19
|
package/esm2022/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.mjs
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { CaseFieldService } from '../../../services/case-fields';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services/case-fields";
|
|
5
|
-
export class IsReadOnlyAndNotCollectionPipe {
|
|
6
|
-
caseFieldService;
|
|
7
|
-
constructor(caseFieldService) {
|
|
8
|
-
this.caseFieldService = caseFieldService;
|
|
9
|
-
}
|
|
10
|
-
transform(field) {
|
|
11
|
-
if (!field || !field.field_type || !field.field_type.type) {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
if (this.isCollection(field)) {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
return this.caseFieldService.isReadOnly(field);
|
|
18
|
-
}
|
|
19
|
-
// CaseField @Expose() doesn't work with the pipe in here, so leaving the manual check
|
|
20
|
-
isCollection(field) {
|
|
21
|
-
return field.field_type && field.field_type.type === 'Collection';
|
|
22
|
-
}
|
|
23
|
-
static ɵfac = function IsReadOnlyAndNotCollectionPipe_Factory(t) { return new (t || IsReadOnlyAndNotCollectionPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService, 16)); };
|
|
24
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsReadOnlyAndNotCollection", type: IsReadOnlyAndNotCollectionPipe, pure: true });
|
|
25
|
-
}
|
|
26
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyAndNotCollectionPipe, [{
|
|
27
|
-
type: Pipe,
|
|
28
|
-
args: [{
|
|
29
|
-
name: 'ccdIsReadOnlyAndNotCollection'
|
|
30
|
-
}]
|
|
31
|
-
}], () => [{ type: i1.CaseFieldService }], null); })();
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdXRpbHMvaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBRXBELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLCtCQUErQixDQUFDOzs7QUFLakUsTUFBTSxPQUFPLDhCQUE4QjtJQUVYO0lBQTlCLFlBQThCLGdCQUFrQztRQUFsQyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO0lBQUcsQ0FBQztJQUU3RCxTQUFTLENBQUMsS0FBZ0I7UUFDL0IsSUFBSSxDQUFDLEtBQUssSUFBSSxD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HByaXZhdGUgcmVhZG9ubHkgIGNhc2VGaWVsZFNlcnZpY2U6IENhc2VGaWVsZFNlcnZpY2UpIHt9XG5cbiAgcHVibGljIHRyYW5zZm9ybShmaWVsZDogQ2FzZUZpZWxkKTogYm9vbGVhbiB7XG4gICAgaWYgKCFmaWVsZCB8fCAhZmllbGQuZmllbGRfdHlwZSB8fCAhZmllbGQuZmllbGRfdHlwZS50eXBlKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuICAgIGlmICh0aGlzLmlzQ29sbGVjdGlvbihmaWVsZCkpIHtcbiAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMuY2FzZUZpZWxkU2VydmljZS5pc1JlYWRPbmx5KGZpZWxkKTtcbiAgfVxuXG4gIC8vIENhc2VGaWVsZCBARXhwb3NlKCkgZG9lc24ndCB3b3JrIHdpdGggdGhlIHBpcGUgaW4gaGVyZSwgc28gbGVhdmluZyB0aGUgbWFudWFsIGNoZWNrXG4gIHByaXZhdGUgaXNDb2xsZWN0aW9uKGZpZWxkOiBDYXNlRmllbGQpOiBib29sZWFuIHtcbiAgICByZXR1cm4gZmllbGQuZmllbGRfdHlwZSAmJiBmaWVsZC5maWVsZF90eXBlLnR5cGUgPT09ICdDb2xsZWN0aW9uJztcbiAgfVxufVxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@angular/core';
|
|
2
|
-
import { CaseFieldService } from '../../../services/case-fields/case-field.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../../services/case-fields/case-field.service";
|
|
5
|
-
export class IsReadOnlyPipe {
|
|
6
|
-
caseFieldService;
|
|
7
|
-
constructor(caseFieldService) {
|
|
8
|
-
this.caseFieldService = caseFieldService;
|
|
9
|
-
}
|
|
10
|
-
transform(field) {
|
|
11
|
-
return this.caseFieldService.isReadOnly(field);
|
|
12
|
-
}
|
|
13
|
-
static ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService, 16)); };
|
|
14
|
-
static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
|
|
15
|
-
}
|
|
16
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyPipe, [{
|
|
17
|
-
type: Pipe,
|
|
18
|
-
args: [{
|
|
19
|
-
name: 'ccdIsReadOnly'
|
|
20
|
-
}]
|
|
21
|
-
}], () => [{ type: i1.CaseFieldService }], null); })();
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcmVhZC1vbmx5LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS91dGlscy9pcy1yZWFkLW9ubHkucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUVwRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQzs7O0FBS3BGLE1BQU0sT0FBTyxjQUFjO0lBRUk7SUFBN0IsWUFBNkIsZ0JBQWtDO1FBQWxDLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7SUFBRyxDQUFDO0lBRTVELFNBQVMsQ0FBQyxLQUFnQjtRQUMvQixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDakQsQ0FBQzt3RUFOVSxjQUFjO2dGQUFkLGNBQWM7O2lGQUFkLGNBQWM7Y0FIMUIsSUFBSTtlQUFDO2dCQUNKLElBQUksRUFBRSxlQUFlO2FBQ3RCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ2FzZUZpZWxkIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL2RlZmluaXRpb24vY2FzZS1maWVsZC5tb2RlbCc7XG5pbXBvcnQgeyBDYXNlRmllbGRTZXJ2aWNlIH0gZnJvbSAnLi4vLi4vLi4vc2VydmljZXMvY2FzZS1maWVsZHMvY2FzZS1maWVsZC5zZXJ2aWNlJztcblxuQFBpcGUoe1xuICBuYW1lOiAnY2NkSXNSZWFkT25seSdcbn0pXG5leHBvcnQgY2xhc3MgSXNSZWFkT25seVBpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IGNhc2VGaWVsZFNlcnZpY2U6IENhc2VGaWVsZFNlcnZpY2UpIHt9XG5cbiAgcHVibGljIHRyYW5zZm9ybShmaWVsZDogQ2FzZUZpZWxkKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuY2FzZUZpZWxkU2VydmljZS5pc1JlYWRPbmx5KGZpZWxkKTtcbiAgfVxufVxuIl19
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { RpxTranslatePipe, RpxTranslationModule } from 'rpx-xui-translation';
|
|
4
|
-
import { DashPipe } from './dash.pipe';
|
|
5
|
-
import { DatePipe } from './date.pipe';
|
|
6
|
-
import { FieldLabelPipe } from './field-label.pipe';
|
|
7
|
-
import { FirstErrorPipe } from './first-error.pipe';
|
|
8
|
-
import { IsCompoundPipe } from './is-compound.pipe';
|
|
9
|
-
import { IsMandatoryPipe } from './is-mandatory.pipe';
|
|
10
|
-
import { IsReadOnlyAndNotCollectionPipe } from './is-read-only-and-not-collection.pipe';
|
|
11
|
-
import { IsReadOnlyPipe } from './is-read-only.pipe';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "rpx-xui-translation";
|
|
14
|
-
export class PaletteUtilsModule {
|
|
15
|
-
static ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
16
|
-
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
17
|
-
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
|
|
18
|
-
IsCompoundPipe,
|
|
19
|
-
RpxTranslatePipe
|
|
20
|
-
], imports: [CommonModule,
|
|
21
|
-
RpxTranslationModule.forChild()] });
|
|
22
|
-
}
|
|
23
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteUtilsModule, [{
|
|
24
|
-
type: NgModule,
|
|
25
|
-
args: [{
|
|
26
|
-
imports: [
|
|
27
|
-
CommonModule,
|
|
28
|
-
RpxTranslationModule.forChild()
|
|
29
|
-
],
|
|
30
|
-
declarations: [
|
|
31
|
-
DatePipe,
|
|
32
|
-
FieldLabelPipe,
|
|
33
|
-
FirstErrorPipe,
|
|
34
|
-
IsCompoundPipe,
|
|
35
|
-
IsMandatoryPipe,
|
|
36
|
-
IsReadOnlyPipe,
|
|
37
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
38
|
-
DashPipe
|
|
39
|
-
],
|
|
40
|
-
exports: [
|
|
41
|
-
DatePipe,
|
|
42
|
-
FieldLabelPipe,
|
|
43
|
-
FirstErrorPipe,
|
|
44
|
-
IsCompoundPipe,
|
|
45
|
-
IsMandatoryPipe,
|
|
46
|
-
IsReadOnlyPipe,
|
|
47
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
48
|
-
DashPipe
|
|
49
|
-
],
|
|
50
|
-
providers: [
|
|
51
|
-
IsCompoundPipe,
|
|
52
|
-
RpxTranslatePipe
|
|
53
|
-
]
|
|
54
|
-
}]
|
|
55
|
-
}], null, null); })();
|
|
56
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
57
|
-
FieldLabelPipe,
|
|
58
|
-
FirstErrorPipe,
|
|
59
|
-
IsCompoundPipe,
|
|
60
|
-
IsMandatoryPipe,
|
|
61
|
-
IsReadOnlyPipe,
|
|
62
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
63
|
-
DashPipe], imports: [CommonModule, i1.RpxTranslationModule], exports: [DatePipe,
|
|
64
|
-
FieldLabelPipe,
|
|
65
|
-
FirstErrorPipe,
|
|
66
|
-
IsCompoundPipe,
|
|
67
|
-
IsMandatoryPipe,
|
|
68
|
-
IsReadOnlyPipe,
|
|
69
|
-
IsReadOnlyAndNotCollectionPipe,
|
|
70
|
-
DashPipe] }); })();
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdXRpbHMvdXRpbHMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQzdFLE9BQU8sRUFBRSxRQU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bmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlJztcbmltcG9ydCB7IElzUmVhZE9ubHlQaXBlIH0gZnJvbSAnLi9pcy1yZWFkLW9ubHkucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgUnB4VHJhbnNsYXRpb25Nb2R1bGUuZm9yQ2hpbGQoKVxuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBEYXRlUGlwZSxcbiAgICBGaWVsZExhYmVsUGlwZSxcbiAgICBGaXJzdEVycm9yUGlwZSxcbiAgICBJc0NvbXBvdW5kUGlwZSxcbiAgICBJc01hbmRhdG9yeVBpcGUsXG4gICAgSXNSZWFkT25seVBpcGUsXG4gICAgSXNSZWFkT25seUFuZE5vdENvbGxlY3Rpb25QaXBlLFxuICAgIERhc2hQaXBlXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBEYXRlUGlwZSxcbiAgICBGaWVsZExhYmVsUGlwZSxcbiAgICBGaXJzdEVycm9yUGlwZSxcbiAgICBJc0NvbXBvdW5kUGlwZSxcbiAgICBJc01hbmRhdG9yeVBpcGUsXG4gICAgSXNSZWFkT25seVBpcGUsXG4gICAgSXNSZWFkT25seUFuZE5vdENvbGxlY3Rpb25QaXBlLFxuICAgIERhc2hQaXBlXG4gIF0sXG4gIHByb3ZpZGVyczpbXG4gICAgSXNDb21wb3VuZFBpcGUsXG4gICAgUnB4VHJhbnNsYXRlUGlwZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIFBhbGV0dGVVdGlsc01vZHVsZSB7fVxuIl19
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractAppConfig } from '../../../../app.config';
|
|
3
|
-
import { SessionStorageService } from '../../../services/session/session-storage.service';
|
|
4
|
-
import { PaymentField } from '../base-field/payment-field.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "../../../../app.config";
|
|
7
|
-
import * as i2 from "../../../services/session/session-storage.service";
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
import * as i4 from "@hmcts/ccpay-web-component";
|
|
10
|
-
function WaysToPayFieldComponent_ccpay_payment_lib_0_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
-
i0.ɵɵelement(0, "ccpay-payment-lib", 1);
|
|
12
|
-
} if (rf & 2) {
|
|
13
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
14
|
-
i0.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("NOTIFICATION_API_ROOT", ctx_r0.getNotificationUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl())("ISPAYMENTSTATUSENABLED", "Enable");
|
|
15
|
-
} }
|
|
16
|
-
export class WaysToPayFieldComponent extends PaymentField {
|
|
17
|
-
constructor(appConfig, sessionStorage) {
|
|
18
|
-
super(appConfig, sessionStorage);
|
|
19
|
-
}
|
|
20
|
-
getCardPaymentReturnUrl() {
|
|
21
|
-
return this.appConfig.getPaymentReturnUrl();
|
|
22
|
-
}
|
|
23
|
-
static ɵfac = function WaysToPayFieldComponent_Factory(t) { return new (t || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(i1.AbstractAppConfig), i0.ɵɵdirectiveInject(i2.SessionStorageService)); };
|
|
24
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "NOTIFICATION_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", "ISPAYMENTSTATUSENABLED"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 15, "ccpay-payment-lib", 0);
|
|
26
|
-
} if (rf & 2) {
|
|
27
|
-
i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
|
|
28
|
-
} }, dependencies: [i3.NgIf, i4.PaymentLibComponent], encapsulation: 2 });
|
|
29
|
-
}
|
|
30
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{ selector: 'ccd-ways-to-pay-field', template: "<ccpay-payment-lib *ngIf=\"getUserRoles().length > 0\"\n [API_ROOT]=\"getBaseURL()\"\n [BULKSCAN_API_ROOT]=\"getPayBulkScanBaseURL()\"\n [REFUNDS_API_ROOT]=\"getRefundsUrl()\"\n [NOTIFICATION_API_ROOT]=\"getNotificationUrl()\"\n [CCD_CASE_NUMBER]=\"caseReference\"\n [VIEW]=\"'case-transactions'\"\n [TAKEPAYMENT]=\"false\"\n [SERVICEREQUEST]=\"true\"\n [PAYMENT_GROUP_REF]=\"null\"\n [EXC_REFERENCE]=\"caseReference\"\n [DCN_NUMBER]=\"null\"\n [SELECTED_OPTION]=\"'CCDorException'\"\n [LOGGEDINUSERROLES]=\"getUserRoles()\"\n [CARDPAYMENTRETURNURL]=\"getCardPaymentReturnUrl()\"\n [ISPAYMENTSTATUSENABLED]=\"'Enable'\"\n></ccpay-payment-lib>" }]
|
|
33
|
-
}], () => [{ type: i1.AbstractAppConfig }, { type: i2.SessionStorageService }], null); })();
|
|
34
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(WaysToPayFieldComponent, { className: "WaysToPayFieldComponent", filePath: "lib/shared/components/palette/waystopay/waystopay-field.component.ts", lineNumber: 10 }); })();
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2F5c3RvcGF5LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3dheXN0b3BheS93YXlzdG9wYXktZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvd2F5c3RvcGF5L3dheXN0b3BheS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHdCQUF3Q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c2FjdGlvbnMnXCJcbiAgICBbVEFLRVBBWU1FTlRdPVwiZmFsc2VcIlxuICAgIFtTRVJWSUNFUkVRVUVTVF09XCJ0cnVlXCJcbiAgICBbUEFZTUVOVF9HUk9VUF9SRUZdPVwibnVsbFwiXG4gICAgW0VYQ19SRUZFUkVOQ0VdPVwiY2FzZVJlZmVyZW5jZVwiXG4gICAgW0RDTl9OVU1CRVJdPVwibnVsbFwiXG4gICAgW1NFTEVDVEVEX09QVElPTl09XCInQ0NEb3JFeGNlcHRpb24nXCJcbiAgICBbTE9HR0VESU5VU0VSUk9MRVNdPVwiZ2V0VXNlclJvbGVzKClcIlxuICAgIFtDQVJEUEFZTUVOVFJFVFVSTlVSTF09XCJnZXRDYXJkUGF5bWVudFJldHVyblVybCgpXCJcbiAgICBbSVNQQVlNRU5UU1RBVFVTRU5BQkxFRF09XCInRW5hYmxlJ1wiXG4+PC9jY3BheS1wYXltZW50LWxpYj4iXX0=
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
3
|
-
import { YesNoService } from './yes-no.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./yes-no.service";
|
|
6
|
-
import * as i2 from "rpx-xui-translation";
|
|
7
|
-
export class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
8
|
-
yesNoService;
|
|
9
|
-
formattedValue;
|
|
10
|
-
constructor(yesNoService) {
|
|
11
|
-
super();
|
|
12
|
-
this.yesNoService = yesNoService;
|
|
13
|
-
}
|
|
14
|
-
ngOnInit() {
|
|
15
|
-
super.ngOnInit();
|
|
16
|
-
this.formattedValue = this.yesNoService.format(this.caseField.value);
|
|
17
|
-
}
|
|
18
|
-
static ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(i1.YesNoService)); };
|
|
19
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 5, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵelementStart(0, "span", 0);
|
|
21
|
-
i0.ɵɵtext(1);
|
|
22
|
-
i0.ɵɵpipe(2, "rpxTranslate");
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
} if (rf & 2) {
|
|
25
|
-
i0.ɵɵadvance();
|
|
26
|
-
i0.ɵɵtextInterpolate(ctx.formattedValue ? i0.ɵɵpipeBind3(2, 1, ctx.formattedValue, null, ctx.formattedValue) : null);
|
|
27
|
-
} }, dependencies: [i2.RpxTranslatePipe], encapsulation: 2 });
|
|
28
|
-
}
|
|
29
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{
|
|
32
|
-
selector: 'ccd-read-yes-no-field',
|
|
33
|
-
template: `<span class="text-16">{{formattedValue ? (formattedValue | rpxTranslate : null : formattedValue) : null}}</span>`
|
|
34
|
-
}]
|
|
35
|
-
}], () => [{ type: i1.YesNoService }], null); })();
|
|
36
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ReadYesNoFieldComponent, { className: "ReadYesNoFieldComponent", filePath: "lib/shared/components/palette/yes-no/read-yes-no-field.component.ts", lineNumber: 9 }); })();
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC15ZXMtbm8tZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9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