@hmcts/ccd-case-ui-toolkit 5.0.2-angular11-upgrade → 5.0.6-angular11-upgrade
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +7239 -0
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -0
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +17 -0
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -0
- package/esm2015/hmcts-ccd-case-ui-toolkit.js +5 -0
- package/esm2015/lib/app.config.js +37 -0
- package/esm2015/lib/components/banners/alert/alert-icon-class.pipe.js +25 -0
- package/esm2015/lib/components/banners/alert/alert.component.js +101 -0
- package/esm2015/lib/components/banners/alert/alert.module.js +26 -0
- package/esm2015/lib/components/banners/alert/index.js +4 -0
- package/esm2015/lib/components/banners/banners.module.js +27 -0
- package/esm2015/lib/components/banners/index.js +2 -0
- package/esm2015/lib/components/body/body.component.js +25 -0
- package/esm2015/lib/components/body/body.module.js +20 -0
- package/esm2015/lib/components/body/index.js +2 -0
- package/esm2015/lib/components/footer/footer.component.js +105 -0
- package/esm2015/lib/components/footer/footers.module.js +19 -0
- package/esm2015/lib/components/footer/index.js +2 -0
- package/esm2015/lib/components/form/date-input/date-input.component.js +329 -0
- package/esm2015/lib/components/form/date-input/index.js +2 -0
- package/esm2015/lib/components/form/form.module.js +27 -0
- package/esm2015/lib/components/form/index.js +2 -0
- package/esm2015/lib/components/header/header-bar/header-bar.component.js +108 -0
- package/esm2015/lib/components/header/header-bar/index.js +2 -0
- package/esm2015/lib/components/header/headers.module.js +23 -0
- package/esm2015/lib/components/header/index.js +5 -0
- package/esm2015/lib/components/header/navigation/index.js +3 -0
- package/esm2015/lib/components/header/navigation/navigation-item.component.js +44 -0
- package/esm2015/lib/components/header/navigation/navigation.component.js +30 -0
- package/esm2015/lib/components/header/phase/index.js +2 -0
- package/esm2015/lib/components/header/phase/phase.component.js +42 -0
- package/esm2015/lib/components/index.js +7 -0
- package/esm2015/lib/components/tabs/index.js +4 -0
- package/esm2015/lib/components/tabs/tab.component.js +34 -0
- package/esm2015/lib/components/tabs/tabs.component.js +86 -0
- package/esm2015/lib/components/tabs/tabs.module.js +36 -0
- package/esm2015/lib/shared/commons/constants.js +12 -0
- package/esm2015/lib/shared/components/case-editor/case-access-utils/index.js +94 -0
- package/esm2015/lib/shared/components/case-editor/domain/confirmation.model.js +21 -0
- package/esm2015/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.js +7 -0
- package/esm2015/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.js +2 -0
- package/esm2015/lib/shared/components/case-editor/domain/event-completion-states.enum.model.js +14 -0
- package/esm2015/lib/shared/components/case-editor/domain/index.js +8 -0
- package/esm2015/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.js +3 -0
- package/esm2015/lib/shared/components/case-editor/domain/wizard-page-field.model.js +3 -0
- package/esm2015/lib/shared/components/case-editor/domain/wizard-page.model.js +28 -0
- package/esm2015/lib/shared/components/case-editor/domain/wizard.model.js +57 -0
- package/esm2015/lib/shared/components/case-editor/services/case.notifier.js +19 -0
- package/esm2015/lib/shared/components/case-editor/services/cases.service.js +270 -0
- package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +115 -0
- package/esm2015/lib/shared/components/case-editor/services/work-allocation.service.js +170 -0
- package/esm2015/lib/shared/components/dialogs/document-dialog/document-dialog.component.js +59 -0
- package/esm2015/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.js +57 -0
- package/esm2015/lib/shared/components/helpers/index.js +2 -0
- package/esm2015/lib/shared/components/helpers/init-dialog-helper.js +16 -0
- package/esm2015/lib/shared/components/palette/address/address-option.model.js +24 -0
- package/esm2015/lib/shared/components/palette/address/write-address-field.component.js +244 -0
- package/esm2015/lib/shared/components/palette/base-field/abstract-field-read.component.js +32 -0
- package/esm2015/lib/shared/components/palette/base-field/abstract-field-write.component.js +44 -0
- package/esm2015/lib/shared/components/palette/base-field/abstract-form-field.component.js +79 -0
- package/esm2015/lib/shared/components/palette/base-field/field-read-label.component.js +93 -0
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +85 -0
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +84 -0
- package/esm2015/lib/shared/components/palette/base-field/index.js +8 -0
- package/esm2015/lib/shared/components/palette/base-field/palette-context.enum.js +7 -0
- package/esm2015/lib/shared/components/palette/base-field/payment-field.component.js +32 -0
- package/esm2015/lib/shared/components/palette/case-link/read-case-link-field.component.js +38 -0
- package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +125 -0
- package/esm2015/lib/shared/components/palette/collection/collection-create-checker.service.js +42 -0
- package/esm2015/lib/shared/components/palette/collection/index.js +3 -0
- package/esm2015/lib/shared/components/palette/collection/read-collection-field.component.js +91 -0
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +414 -0
- package/esm2015/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.js +29 -0
- package/esm2015/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.js +29 -0
- package/esm2015/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.js +154 -0
- package/esm2015/lib/shared/components/palette/complex/ccd-tab-fields.pipe.js +31 -0
- package/esm2015/lib/shared/components/palette/complex/cdd-page-fields.pipe.js +39 -0
- package/esm2015/lib/shared/components/palette/complex/fields-filter.pipe.js +103 -0
- package/esm2015/lib/shared/components/palette/complex/index.js +12 -0
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +414 -0
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-raw.component.js +61 -0
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +97 -0
- package/esm2015/lib/shared/components/palette/complex/read-complex-field.component.js +81 -0
- package/esm2015/lib/shared/components/palette/complex/sort-order.js +7 -0
- package/esm2015/lib/shared/components/palette/complex/write-complex-field.component.js +178 -0
- package/esm2015/lib/shared/components/palette/date/index.js +4 -0
- package/esm2015/lib/shared/components/palette/date/read-date-field.component.js +29 -0
- package/esm2015/lib/shared/components/palette/date/write-date-container-field.component.js +41 -0
- package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +81 -0
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker-utils.js +12 -0
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +300 -0
- package/esm2015/lib/shared/components/palette/datetime-picker/index.js +2 -0
- package/esm2015/lib/shared/components/palette/document/document-url.pipe.js +24 -0
- package/esm2015/lib/shared/components/palette/document/file-upload-progress.guard.js +29 -0
- package/esm2015/lib/shared/components/palette/document/file-upload-state.service.js +16 -0
- package/esm2015/lib/shared/components/palette/document/index.js +4 -0
- package/esm2015/lib/shared/components/palette/document/read-document-field.component.js +80 -0
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +369 -0
- package/esm2015/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.js +18 -0
- package/esm2015/lib/shared/components/palette/dynamic-list/index.js +4 -0
- package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +35 -0
- package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +121 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.js +25 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/index.js +4 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +41 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +126 -0
- package/esm2015/lib/shared/components/palette/email/index.js +3 -0
- package/esm2015/lib/shared/components/palette/email/read-email-field.component.js +36 -0
- package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +76 -0
- package/esm2015/lib/shared/components/palette/fixed-list/fixed-list.pipe.js +23 -0
- package/esm2015/lib/shared/components/palette/fixed-list/index.js +4 -0
- package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +25 -0
- package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +110 -0
- package/esm2015/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.js +18 -0
- package/esm2015/lib/shared/components/palette/fixed-radio-list/index.js +4 -0
- package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +25 -0
- package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +101 -0
- package/esm2015/lib/shared/components/palette/history/case-history-viewer-field.component.js +21 -0
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-details.component.js +127 -0
- package/esm2015/lib/shared/components/palette/history/event-log/event-log-table.component.js +234 -0
- package/esm2015/lib/shared/components/palette/history/event-log/event-log.component.js +83 -0
- package/esm2015/lib/shared/components/palette/history/event-log/index.js +4 -0
- package/esm2015/lib/shared/components/palette/history/index.js +3 -0
- package/esm2015/lib/shared/components/palette/label/index.js +2 -0
- package/esm2015/lib/shared/components/palette/label/label-field.component.js +37 -0
- package/esm2015/lib/shared/components/palette/markdown/index.js +2 -0
- package/esm2015/lib/shared/components/palette/markdown/markdown.component.js +44 -0
- package/esm2015/lib/shared/components/palette/money-gbp/index.js +4 -0
- package/esm2015/lib/shared/components/palette/money-gbp/money-gbp-input.component.js +123 -0
- package/esm2015/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.js +48 -0
- package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +83 -0
- package/esm2015/lib/shared/components/palette/multi-select-list/index.js +3 -0
- package/esm2015/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.js +50 -0
- package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +132 -0
- package/esm2015/lib/shared/components/palette/number/index.js +3 -0
- package/esm2015/lib/shared/components/palette/number/read-number-field.component.js +25 -0
- package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +76 -0
- package/esm2015/lib/shared/components/palette/order-summary/fee-value.model.js +3 -0
- package/esm2015/lib/shared/components/palette/order-summary/fee.model.js +3 -0
- package/esm2015/lib/shared/components/palette/order-summary/index.js +7 -0
- package/esm2015/lib/shared/components/palette/order-summary/order-summary.model.js +3 -0
- package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-field.component.js +71 -0
- package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-row.component.js +51 -0
- package/esm2015/lib/shared/components/palette/order-summary/write-order-summary-field.component.js +49 -0
- package/esm2015/lib/shared/components/palette/organisation/index.js +6 -0
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-raw.component.js +90 -0
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-table.component.js +100 -0
- package/esm2015/lib/shared/components/palette/organisation/read-organisation-field.component.js +63 -0
- package/esm2015/lib/shared/components/palette/organisation/write-organisation-complex-field.component.js +37 -0
- package/esm2015/lib/shared/components/palette/organisation/write-organisation-field.component.js +394 -0
- package/esm2015/lib/shared/components/palette/palette.module.js +413 -0
- package/esm2015/lib/shared/components/palette/palette.service.js +114 -0
- package/esm2015/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.js +27 -0
- package/esm2015/lib/shared/components/palette/payment/index.js +2 -0
- package/esm2015/lib/shared/components/palette/phone-uk/index.js +3 -0
- package/esm2015/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.js +23 -0
- package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +76 -0
- package/esm2015/lib/shared/components/palette/text/index.js +3 -0
- package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +23 -0
- package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +81 -0
- package/esm2015/lib/shared/components/palette/text-area/index.js +3 -0
- package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +23 -0
- package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +91 -0
- package/esm2015/lib/shared/components/palette/unsupported-field.component.js +17 -0
- package/esm2015/lib/shared/components/palette/utils/dash.pipe.js +16 -0
- package/esm2015/lib/shared/components/palette/utils/date.pipe.js +132 -0
- package/esm2015/lib/shared/components/palette/utils/field-label.pipe.js +22 -0
- package/esm2015/lib/shared/components/palette/utils/first-error.pipe.js +41 -0
- package/esm2015/lib/shared/components/palette/utils/index.js +10 -0
- package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +31 -0
- package/esm2015/lib/shared/components/palette/utils/is-mandatory.pipe.js +21 -0
- package/esm2015/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.js +31 -0
- package/esm2015/lib/shared/components/palette/utils/is-read-only.pipe.js +21 -0
- package/esm2015/lib/shared/components/palette/utils/utils.module.js +62 -0
- package/esm2015/lib/shared/components/palette/waystopay/index.js +2 -0
- package/esm2015/lib/shared/components/palette/waystopay/waystopay-field.component.js +37 -0
- package/esm2015/lib/shared/components/palette/yes-no/index.js +4 -0
- package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +32 -0
- package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +105 -0
- package/esm2015/lib/shared/components/palette/yes-no/yes-no.service.js +48 -0
- package/esm2015/lib/shared/components/search-filters/domain/index.js +2 -0
- package/esm2015/lib/shared/components/search-filters/domain/search-input.model.js +10 -0
- package/esm2015/lib/shared/components/search-filters/index.js +5 -0
- package/esm2015/lib/shared/components/search-filters/search-filters-wrapper.component.js +61 -0
- package/esm2015/lib/shared/components/search-filters/search-filters.component.js +296 -0
- package/esm2015/lib/shared/components/search-filters/search-filters.module.js +65 -0
- package/esm2015/lib/shared/directives/conditional-show/conditional-show-form.directive.js +164 -0
- package/esm2015/lib/shared/directives/conditional-show/conditional-show.module.js +33 -0
- package/esm2015/lib/shared/directives/conditional-show/domain/conditional-show.model.js +296 -0
- package/esm2015/lib/shared/directives/conditional-show/domain/index.js +2 -0
- package/esm2015/lib/shared/directives/conditional-show/index.js +5 -0
- package/esm2015/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.js +19 -0
- package/esm2015/lib/shared/directives/conditional-show/services/grey-bar.service.js +47 -0
- package/esm2015/lib/shared/directives/conditional-show/services/index.js +3 -0
- package/esm2015/lib/shared/directives/focus-element/focus-element.directive.js +36 -0
- package/esm2015/lib/shared/directives/focus-element/focus-element.module.js +21 -0
- package/esm2015/lib/shared/directives/focus-element/index.js +3 -0
- package/esm2015/lib/shared/directives/index.js +4 -0
- package/esm2015/lib/shared/directives/substitutor/index.js +4 -0
- package/esm2015/lib/shared/directives/substitutor/label-substitutor.directive.js +78 -0
- package/esm2015/lib/shared/directives/substitutor/label-substitutor.module.js +30 -0
- package/esm2015/lib/shared/directives/substitutor/services/index.js +2 -0
- package/esm2015/lib/shared/directives/substitutor/services/placeholder.service.js +200 -0
- package/esm2015/lib/shared/domain/activity/activity.model.js +10 -0
- package/esm2015/lib/shared/domain/activity/index.js +2 -0
- package/esm2015/lib/shared/domain/addresses/address.model.js +12 -0
- package/esm2015/lib/shared/domain/addresses/index.js +2 -0
- package/esm2015/lib/shared/domain/alert/alert-level.model.js +2 -0
- package/esm2015/lib/shared/domain/alert/alert.model.js +3 -0
- package/esm2015/lib/shared/domain/alert/index.js +3 -0
- package/esm2015/lib/shared/domain/case-details.model.js +3 -0
- package/esm2015/lib/shared/domain/case-event-data.model.js +3 -0
- package/esm2015/lib/shared/domain/case-view/access-types.model.js +4 -0
- package/esm2015/lib/shared/domain/case-view/case-event-trigger.model.js +22 -0
- package/esm2015/lib/shared/domain/case-view/case-print-document.model.js +3 -0
- package/esm2015/lib/shared/domain/case-view/case-tab.model.js +11 -0
- package/esm2015/lib/shared/domain/case-view/case-view-event.model.js +3 -0
- package/esm2015/lib/shared/domain/case-view/case-view-trigger.model.js +4 -0
- package/esm2015/lib/shared/domain/case-view/case-view.model.js +16 -0
- package/esm2015/lib/shared/domain/case-view/challenged-access-request.model.js +2 -0
- package/esm2015/lib/shared/domain/case-view/index.js +12 -0
- package/esm2015/lib/shared/domain/case-view/review-specific-access-request.model.js +2 -0
- package/esm2015/lib/shared/domain/case-view/role-assignment-response.model.js +2 -0
- package/esm2015/lib/shared/domain/case-view/role-request.model.js +2 -0
- package/esm2015/lib/shared/domain/case-view/specific-access-request.model.js +2 -0
- package/esm2015/lib/shared/domain/definition/access-control-list.model.js +3 -0
- package/esm2015/lib/shared/domain/definition/banner.model.js +3 -0
- package/esm2015/lib/shared/domain/definition/case-event.model.js +3 -0
- package/esm2015/lib/shared/domain/definition/case-field.model.js +194 -0
- package/esm2015/lib/shared/domain/definition/case-state.model.js +3 -0
- package/esm2015/lib/shared/domain/definition/case-type-lite.model.js +5 -0
- package/esm2015/lib/shared/domain/definition/case-type.model.js +11 -0
- package/esm2015/lib/shared/domain/definition/event-case-field.model.js +3 -0
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +2 -0
- package/esm2015/lib/shared/domain/definition/field-type.model.js +20 -0
- package/esm2015/lib/shared/domain/definition/fixed-list-item.model.js +3 -0
- package/esm2015/lib/shared/domain/definition/index.js +12 -0
- package/esm2015/lib/shared/domain/definition/jurisdiction.model.js +3 -0
- package/esm2015/lib/shared/domain/document/document-data.model.js +13 -0
- package/esm2015/lib/shared/domain/document/index.js +2 -0
- package/esm2015/lib/shared/domain/draft.model.js +11 -0
- package/esm2015/lib/shared/domain/error-message.model.js +2 -0
- package/esm2015/lib/shared/domain/http/http-error.model.js +27 -0
- package/esm2015/lib/shared/domain/http/index.js +2 -0
- package/esm2015/lib/shared/domain/index.js +23 -0
- package/esm2015/lib/shared/domain/order/index.js +2 -0
- package/esm2015/lib/shared/domain/order/orderable.model.js +2 -0
- package/esm2015/lib/shared/domain/organisation/index.js +3 -0
- package/esm2015/lib/shared/domain/organisation/organisation-converter.js +42 -0
- package/esm2015/lib/shared/domain/organisation/simple-organisation.model.js +2 -0
- package/esm2015/lib/shared/domain/pagination-metadata.model.js +3 -0
- package/esm2015/lib/shared/domain/predicate.model.js +2 -0
- package/esm2015/lib/shared/domain/profile/index.js +2 -0
- package/esm2015/lib/shared/domain/profile/profile.model.js +29 -0
- package/esm2015/lib/shared/domain/search/field.model.js +11 -0
- package/esm2015/lib/shared/domain/search/index.js +5 -0
- package/esm2015/lib/shared/domain/search/search-result-view-column.model.js +3 -0
- package/esm2015/lib/shared/domain/search/search-result-view-item.model.js +11 -0
- package/esm2015/lib/shared/domain/search/search-result-view.model.js +22 -0
- package/esm2015/lib/shared/domain/search/sorting/search-result-view-item-comparator.js +2 -0
- package/esm2015/lib/shared/domain/search/sorting/sort-order.js +7 -0
- package/esm2015/lib/shared/domain/search/sorting/sort-parameters.js +7 -0
- package/esm2015/lib/shared/domain/user/user-details.model.js +2 -0
- package/esm2015/lib/shared/domain/user/user-info.model.js +2 -0
- package/esm2015/lib/shared/domain/work-allocation/Task.js +21 -0
- package/esm2015/lib/shared/domain/work-allocation/TaskPayload.js +2 -0
- package/esm2015/lib/shared/domain/work-allocation/index.js +2 -0
- package/esm2015/lib/shared/domain/work-allocation/task-response.model.js +2 -0
- package/esm2015/lib/shared/domain/work-allocation/task-search-parameter.model.js +2 -0
- package/esm2015/lib/shared/domain/workbasket/index.js +2 -0
- package/esm2015/lib/shared/domain/workbasket/workbasket-input.model.js +12 -0
- package/esm2015/lib/shared/fixture/case-field-builder.js +69 -0
- package/esm2015/lib/shared/fixture/shared.test.fixture.js +129 -0
- package/esm2015/lib/shared/index.js +8 -0
- package/esm2015/lib/shared/pipes/case-reference/case-reference.pipe.js +33 -0
- package/esm2015/lib/shared/pipes/case-reference/index.js +2 -0
- package/esm2015/lib/shared/pipes/case-title/ccd-case-title.pipe.js +29 -0
- package/esm2015/lib/shared/pipes/case-title/index.js +2 -0
- package/esm2015/lib/shared/pipes/index.js +5 -0
- package/esm2015/lib/shared/pipes/pipes.module.js +37 -0
- package/esm2015/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.js +24 -0
- package/esm2015/lib/shared/services/activity/activity.polling.service.js +112 -0
- package/esm2015/lib/shared/services/activity/activity.service.js +91 -0
- package/esm2015/lib/shared/services/activity/index.js +3 -0
- package/esm2015/lib/shared/services/addresses/address-parser.js +76 -0
- package/esm2015/lib/shared/services/addresses/addresses.service.js +57 -0
- package/esm2015/lib/shared/services/addresses/index.js +2 -0
- package/esm2015/lib/shared/services/alert/alert.service.js +122 -0
- package/esm2015/lib/shared/services/alert/index.js +2 -0
- package/esm2015/lib/shared/services/auth/auth.service.js +33 -0
- package/esm2015/lib/shared/services/auth/index.js +2 -0
- package/esm2015/lib/shared/services/banners/banners.service.js +33 -0
- package/esm2015/lib/shared/services/banners/index.js +2 -0
- package/esm2015/lib/shared/services/browser/browser.service.js +24 -0
- package/esm2015/lib/shared/services/browser/index.js +2 -0
- package/esm2015/lib/shared/services/case-fields/case-field.service.js +34 -0
- package/esm2015/lib/shared/services/case-fields/format-translator.service.js +242 -0
- package/esm2015/lib/shared/services/case-fields/index.js +2 -0
- package/esm2015/lib/shared/services/definitions/definitions.module.js +19 -0
- package/esm2015/lib/shared/services/definitions/definitions.service.js +35 -0
- package/esm2015/lib/shared/services/definitions/index.js +3 -0
- package/esm2015/lib/shared/services/document-management/document-management.service.js +112 -0
- package/esm2015/lib/shared/services/document-management/index.js +2 -0
- package/esm2015/lib/shared/services/draft/draft.service.js +86 -0
- package/esm2015/lib/shared/services/draft/index.js +2 -0
- package/esm2015/lib/shared/services/error/error-notifier.service.js +18 -0
- package/esm2015/lib/shared/services/error/index.js +2 -0
- package/esm2015/lib/shared/services/eventStatusService/event-status.service.js +21 -0
- package/esm2015/lib/shared/services/eventStatusService/index.js +2 -0
- package/esm2015/lib/shared/services/fields/fields.purger.js +277 -0
- package/esm2015/lib/shared/services/fields/fields.utils.js +334 -0
- package/esm2015/lib/shared/services/fields/index.js +3 -0
- package/esm2015/lib/shared/services/form/field-type-sanitiser.js +75 -0
- package/esm2015/lib/shared/services/form/form-error.service.js +46 -0
- package/esm2015/lib/shared/services/form/form-validators.service.js +56 -0
- package/esm2015/lib/shared/services/form/form-value.service.js +490 -0
- package/esm2015/lib/shared/services/form/index.js +5 -0
- package/esm2015/lib/shared/services/http/http-error.service.js +65 -0
- package/esm2015/lib/shared/services/http/http.service.js +93 -0
- package/esm2015/lib/shared/services/http/index.js +3 -0
- package/esm2015/lib/shared/services/index.js +29 -0
- package/esm2015/lib/shared/services/jurisdiction/index.js +2 -0
- package/esm2015/lib/shared/services/jurisdiction/jurisdiction.service.js +18 -0
- package/esm2015/lib/shared/services/loading/index.js +3 -0
- package/esm2015/lib/shared/services/loading/loading.module.js +22 -0
- package/esm2015/lib/shared/services/loading/loading.service.js +38 -0
- package/esm2015/lib/shared/services/navigation/index.js +3 -0
- package/esm2015/lib/shared/services/navigation/navigation-notifier.service.js +18 -0
- package/esm2015/lib/shared/services/navigation/navigation-origin.model.js +9 -0
- package/esm2015/lib/shared/services/order/index.js +2 -0
- package/esm2015/lib/shared/services/order/order.service.js +39 -0
- package/esm2015/lib/shared/services/organisation/index.js +2 -0
- package/esm2015/lib/shared/services/organisation/organisation.service.js +57 -0
- package/esm2015/lib/shared/services/profile/index.js +3 -0
- package/esm2015/lib/shared/services/profile/profile.notifier.js +19 -0
- package/esm2015/lib/shared/services/profile/profile.service.js +34 -0
- package/esm2015/lib/shared/services/request/index.js +2 -0
- package/esm2015/lib/shared/services/request/request.options.builder.js +55 -0
- package/esm2015/lib/shared/services/router/index.js +2 -0
- package/esm2015/lib/shared/services/router/router-helper.service.js +20 -0
- package/esm2015/lib/shared/services/search/index.js +2 -0
- package/esm2015/lib/shared/services/search/search.service.js +83 -0
- package/esm2015/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.js +71 -0
- package/esm2015/lib/shared/services/session/index.js +2 -0
- package/esm2015/lib/shared/services/session/session-storage.service.js +34 -0
- package/esm2015/lib/shared/services/window/index.js +2 -0
- package/esm2015/lib/shared/services/window/window.service.js +37 -0
- package/esm2015/lib/shared/services/workbasket/index.js +2 -0
- package/esm2015/lib/shared/services/workbasket/workbasket-input-filter.service.js +53 -0
- package/esm2015/lib/shared/test/test-route-snapshot-builder.js +39 -0
- package/esm2015/public-api.js +3 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +5985 -0
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -0
- package/hmcts-ccd-case-ui-toolkit.d.ts +6 -0
- package/hmcts-ccd-case-ui-toolkit.d.ts.map +1 -0
- package/lib/app.config.d.ts +125 -0
- package/lib/app.config.d.ts.map +1 -0
- package/lib/components/banners/alert/alert-icon-class.pipe.d.ts +10 -0
- package/lib/components/banners/alert/alert-icon-class.pipe.d.ts.map +1 -0
- package/lib/components/banners/alert/alert.component.d.ts +19 -0
- package/lib/components/banners/alert/alert.component.d.ts.map +1 -0
- package/lib/components/banners/alert/alert.module.d.ts +10 -0
- package/lib/components/banners/alert/alert.module.d.ts.map +1 -0
- package/lib/components/banners/alert/index.d.ts +4 -0
- package/lib/components/banners/alert/index.d.ts.map +1 -0
- package/lib/components/banners/banners.module.d.ts +9 -0
- package/lib/components/banners/banners.module.d.ts.map +1 -0
- package/lib/components/banners/index.d.ts +2 -0
- package/lib/components/banners/index.d.ts.map +1 -0
- package/lib/components/body/body.component.d.ts +6 -0
- package/lib/components/body/body.component.d.ts.map +1 -0
- package/lib/components/body/body.module.d.ts +10 -0
- package/lib/components/body/body.module.d.ts.map +1 -0
- package/lib/components/body/index.d.ts +2 -0
- package/lib/components/body/index.d.ts.map +1 -0
- package/lib/components/footer/footer.component.d.ts +10 -0
- package/lib/components/footer/footer.component.d.ts.map +1 -0
- package/lib/components/footer/footers.module.d.ts +9 -0
- package/lib/components/footer/footers.module.d.ts.map +1 -0
- package/lib/components/footer/index.d.ts +2 -0
- package/lib/components/footer/index.d.ts.map +1 -0
- package/lib/components/form/date-input/date-input.component.d.ts +54 -0
- package/lib/components/form/date-input/date-input.component.d.ts.map +1 -0
- package/lib/components/form/date-input/index.d.ts +2 -0
- package/lib/components/form/date-input/index.d.ts.map +1 -0
- package/lib/components/form/form.module.d.ts +9 -0
- package/lib/components/form/form.module.d.ts.map +1 -0
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/index.d.ts.map +1 -0
- package/lib/components/header/header-bar/header-bar.component.d.ts +11 -0
- package/lib/components/header/header-bar/header-bar.component.d.ts.map +1 -0
- package/lib/components/header/header-bar/index.d.ts +2 -0
- package/lib/components/header/header-bar/index.d.ts.map +1 -0
- package/lib/components/header/headers.module.d.ts +13 -0
- package/lib/components/header/headers.module.d.ts.map +1 -0
- package/lib/components/header/index.d.ts +5 -0
- package/lib/components/header/index.d.ts.map +1 -0
- package/lib/components/header/navigation/index.d.ts +3 -0
- package/lib/components/header/navigation/index.d.ts.map +1 -0
- package/lib/components/header/navigation/navigation-item.component.d.ts +9 -0
- package/lib/components/header/navigation/navigation-item.component.d.ts.map +1 -0
- package/lib/components/header/navigation/navigation.component.d.ts +7 -0
- package/lib/components/header/navigation/navigation.component.d.ts.map +1 -0
- package/lib/components/header/phase/index.d.ts +2 -0
- package/lib/components/header/phase/index.d.ts.map +1 -0
- package/lib/components/header/phase/phase.component.d.ts +9 -0
- package/lib/components/header/phase/phase.component.d.ts.map +1 -0
- package/lib/components/index.d.ts +7 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/tabs/index.d.ts +4 -0
- package/lib/components/tabs/index.d.ts.map +1 -0
- package/lib/components/tabs/tab.component.d.ts +9 -0
- package/lib/components/tabs/tab.component.d.ts.map +1 -0
- package/lib/components/tabs/tabs.component.d.ts +16 -0
- package/lib/components/tabs/tabs.component.d.ts.map +1 -0
- package/lib/components/tabs/tabs.module.d.ts +11 -0
- package/lib/components/tabs/tabs.module.d.ts.map +1 -0
- package/lib/shared/commons/constants.d.ts +8 -0
- package/lib/shared/commons/constants.d.ts.map +1 -0
- package/lib/shared/components/case-editor/case-access-utils/index.d.ts +25 -0
- package/lib/shared/components/case-editor/case-access-utils/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/confirmation.model.d.ts +12 -0
- package/lib/shared/components/case-editor/domain/confirmation.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.d.ts +6 -0
- package/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.d.ts +24 -0
- package/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/event-completion-states.enum.model.d.ts +13 -0
- package/lib/shared/components/case-editor/domain/event-completion-states.enum.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/index.d.ts +8 -0
- package/lib/shared/components/case-editor/domain/index.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.d.ts +8 -0
- package/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/wizard-page-field.model.d.ts +9 -0
- package/lib/shared/components/case-editor/domain/wizard-page-field.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/wizard-page.model.d.ts +17 -0
- package/lib/shared/components/case-editor/domain/wizard-page.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/domain/wizard.model.d.ts +18 -0
- package/lib/shared/components/case-editor/domain/wizard.model.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/case.notifier.d.ts +12 -0
- package/lib/shared/components/case-editor/services/case.notifier.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/cases.service.d.ts +59 -0
- package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts +17 -0
- package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -0
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts +72 -0
- package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -0
- package/lib/shared/components/dialogs/document-dialog/document-dialog.component.d.ts +14 -0
- package/lib/shared/components/dialogs/document-dialog/document-dialog.component.d.ts.map +1 -0
- package/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.d.ts +12 -0
- package/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.d.ts.map +1 -0
- package/lib/shared/components/helpers/index.d.ts +2 -0
- package/lib/shared/components/helpers/index.d.ts.map +1 -0
- package/lib/shared/components/helpers/init-dialog-helper.d.ts +3 -0
- package/lib/shared/components/helpers/init-dialog-helper.d.ts.map +1 -0
- package/lib/shared/components/palette/address/address-option.model.d.ts +10 -0
- package/lib/shared/components/palette/address/address-option.model.d.ts.map +1 -0
- package/lib/shared/components/palette/address/write-address-field.component.d.ts +36 -0
- package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/abstract-field-read.component.d.ts +17 -0
- package/lib/shared/components/palette/base-field/abstract-field-read.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/abstract-field-write.component.d.ts +17 -0
- package/lib/shared/components/palette/base-field/abstract-field-write.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts +20 -0
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/field-read-label.component.d.ts +16 -0
- package/lib/shared/components/palette/base-field/field-read-label.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/field-read.component.d.ts +20 -0
- package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/field-write.component.d.ts +19 -0
- package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/index.d.ts +8 -0
- package/lib/shared/components/palette/base-field/index.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/palette-context.enum.d.ts +6 -0
- package/lib/shared/components/palette/base-field/palette-context.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/base-field/payment-field.component.d.ts +14 -0
- package/lib/shared/components/palette/base-field/payment-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-link/read-case-link-field.component.d.ts +8 -0
- package/lib/shared/components/palette/case-link/read-case-link-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts +16 -0
- package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/collection/collection-create-checker.service.d.ts +13 -0
- package/lib/shared/components/palette/collection/collection-create-checker.service.d.ts.map +1 -0
- package/lib/shared/components/palette/collection/index.d.ts +3 -0
- package/lib/shared/components/palette/collection/index.d.ts.map +1 -0
- package/lib/shared/components/palette/collection/read-collection-field.component.d.ts +11 -0
- package/lib/shared/components/palette/collection/read-collection-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +56 -0
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.d.ts +11 -0
- package/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.d.ts +10 -0
- package/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.d.ts +27 -0
- package/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/ccd-tab-fields.pipe.d.ts +10 -0
- package/lib/shared/components/palette/complex/ccd-tab-fields.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/cdd-page-fields.pipe.d.ts +11 -0
- package/lib/shared/components/palette/complex/cdd-page-fields.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/fields-filter.pipe.d.ts +23 -0
- package/lib/shared/components/palette/complex/fields-filter.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/index.d.ts +12 -0
- package/lib/shared/components/palette/complex/index.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts +32 -0
- package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/read-complex-field-raw.component.d.ts +13 -0
- package/lib/shared/components/palette/complex/read-complex-field-raw.component.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/read-complex-field-table.component.d.ts +9 -0
- package/lib/shared/components/palette/complex/read-complex-field-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/read-complex-field.component.d.ts +13 -0
- package/lib/shared/components/palette/complex/read-complex-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/sort-order.d.ts +6 -0
- package/lib/shared/components/palette/complex/sort-order.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/write-complex-field.component.d.ts +30 -0
- package/lib/shared/components/palette/complex/write-complex-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/date/index.d.ts +4 -0
- package/lib/shared/components/palette/date/index.d.ts.map +1 -0
- package/lib/shared/components/palette/date/read-date-field.component.d.ts +8 -0
- package/lib/shared/components/palette/date/read-date-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/date/write-date-container-field.component.d.ts +7 -0
- package/lib/shared/components/palette/date/write-date-container-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/date/write-date-field.component.d.ts +12 -0
- package/lib/shared/components/palette/date/write-date-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/datetime-picker/datetime-picker-utils.d.ts +3 -0
- package/lib/shared/components/palette/datetime-picker/datetime-picker-utils.d.ts.map +1 -0
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts +53 -0
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts.map +1 -0
- package/lib/shared/components/palette/datetime-picker/index.d.ts +2 -0
- package/lib/shared/components/palette/datetime-picker/index.d.ts.map +1 -0
- package/lib/shared/components/palette/document/document-url.pipe.d.ts +11 -0
- package/lib/shared/components/palette/document/document-url.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/document/file-upload-progress.guard.d.ts +14 -0
- package/lib/shared/components/palette/document/file-upload-progress.guard.d.ts.map +1 -0
- package/lib/shared/components/palette/document/file-upload-state.service.d.ts +9 -0
- package/lib/shared/components/palette/document/file-upload-state.service.d.ts.map +1 -0
- package/lib/shared/components/palette/document/index.d.ts +4 -0
- package/lib/shared/components/palette/document/index.d.ts.map +1 -0
- package/lib/shared/components/palette/document/read-document-field.component.d.ts +24 -0
- package/lib/shared/components/palette/document/read-document-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/document/write-document-field.component.d.ts +66 -0
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.d.ts +10 -0
- package/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-list/index.d.ts +4 -0
- package/lib/shared/components/palette/dynamic-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.d.ts +9 -0
- package/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.d.ts +11 -0
- package/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.d.ts +10 -0
- package/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/index.d.ts +4 -0
- package/lib/shared/components/palette/dynamic-radio-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.d.ts +9 -0
- package/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +12 -0
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/email/index.d.ts +3 -0
- package/lib/shared/components/palette/email/index.d.ts.map +1 -0
- package/lib/shared/components/palette/email/read-email-field.component.d.ts +8 -0
- package/lib/shared/components/palette/email/read-email-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/email/write-email-field.component.d.ts +11 -0
- package/lib/shared/components/palette/email/write-email-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-list/fixed-list.pipe.d.ts +10 -0
- package/lib/shared/components/palette/fixed-list/fixed-list.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-list/index.d.ts +4 -0
- package/lib/shared/components/palette/fixed-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.d.ts +7 -0
- package/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.d.ts +12 -0
- package/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.d.ts +10 -0
- package/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-radio-list/index.d.ts +4 -0
- package/lib/shared/components/palette/fixed-radio-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.d.ts +7 -0
- package/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.d.ts +11 -0
- package/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/history/case-history-viewer-field.component.d.ts +7 -0
- package/lib/shared/components/palette/history/case-history-viewer-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/history/event-log/event-log-details.component.d.ts +8 -0
- package/lib/shared/components/palette/history/event-log/event-log-details.component.d.ts.map +1 -0
- package/lib/shared/components/palette/history/event-log/event-log-table.component.d.ts +22 -0
- package/lib/shared/components/palette/history/event-log/event-log-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/history/event-log/event-log.component.d.ts +15 -0
- package/lib/shared/components/palette/history/event-log/event-log.component.d.ts.map +1 -0
- package/lib/shared/components/palette/history/event-log/index.d.ts +4 -0
- package/lib/shared/components/palette/history/event-log/index.d.ts.map +1 -0
- package/lib/shared/components/palette/history/index.d.ts +3 -0
- package/lib/shared/components/palette/history/index.d.ts.map +1 -0
- package/lib/shared/components/palette/label/index.d.ts +2 -0
- package/lib/shared/components/palette/label/index.d.ts.map +1 -0
- package/lib/shared/components/palette/label/label-field.component.d.ts +10 -0
- package/lib/shared/components/palette/label/label-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/markdown/index.d.ts +2 -0
- package/lib/shared/components/palette/markdown/index.d.ts.map +1 -0
- package/lib/shared/components/palette/markdown/markdown.component.d.ts +12 -0
- package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -0
- package/lib/shared/components/palette/money-gbp/index.d.ts +4 -0
- package/lib/shared/components/palette/money-gbp/index.d.ts.map +1 -0
- package/lib/shared/components/palette/money-gbp/money-gbp-input.component.d.ts +23 -0
- package/lib/shared/components/palette/money-gbp/money-gbp-input.component.d.ts.map +1 -0
- package/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.d.ts +12 -0
- package/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.d.ts +11 -0
- package/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/multi-select-list/index.d.ts +3 -0
- package/lib/shared/components/palette/multi-select-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.d.ts +7 -0
- package/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.d.ts +13 -0
- package/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/number/index.d.ts +3 -0
- package/lib/shared/components/palette/number/index.d.ts.map +1 -0
- package/lib/shared/components/palette/number/read-number-field.component.d.ts +7 -0
- package/lib/shared/components/palette/number/read-number-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/number/write-number-field.component.d.ts +11 -0
- package/lib/shared/components/palette/number/write-number-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/fee-value.model.d.ts +5 -0
- package/lib/shared/components/palette/order-summary/fee-value.model.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/fee.model.d.ts +7 -0
- package/lib/shared/components/palette/order-summary/fee.model.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/index.d.ts +7 -0
- package/lib/shared/components/palette/order-summary/index.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/order-summary.model.d.ts +7 -0
- package/lib/shared/components/palette/order-summary/order-summary.model.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/read-order-summary-field.component.d.ts +10 -0
- package/lib/shared/components/palette/order-summary/read-order-summary-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/read-order-summary-row.component.d.ts +12 -0
- package/lib/shared/components/palette/order-summary/read-order-summary-row.component.d.ts.map +1 -0
- package/lib/shared/components/palette/order-summary/write-order-summary-field.component.d.ts +10 -0
- package/lib/shared/components/palette/order-summary/write-order-summary-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/organisation/index.d.ts +6 -0
- package/lib/shared/components/palette/organisation/index.d.ts.map +1 -0
- package/lib/shared/components/palette/organisation/read-organisation-field-raw.component.d.ts +20 -0
- package/lib/shared/components/palette/organisation/read-organisation-field-raw.component.d.ts.map +1 -0
- package/lib/shared/components/palette/organisation/read-organisation-field-table.component.d.ts +20 -0
- package/lib/shared/components/palette/organisation/read-organisation-field-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/organisation/read-organisation-field.component.d.ts +13 -0
- package/lib/shared/components/palette/organisation/read-organisation-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/organisation/write-organisation-complex-field.component.d.ts +11 -0
- package/lib/shared/components/palette/organisation/write-organisation-complex-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/organisation/write-organisation-field.component.d.ts +47 -0
- package/lib/shared/components/palette/organisation/write-organisation-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.module.d.ts +99 -0
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.service.d.ts +9 -0
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -0
- package/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.d.ts +10 -0
- package/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/payment/index.d.ts +2 -0
- package/lib/shared/components/palette/payment/index.d.ts.map +1 -0
- package/lib/shared/components/palette/phone-uk/index.d.ts +3 -0
- package/lib/shared/components/palette/phone-uk/index.d.ts.map +1 -0
- package/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.d.ts +7 -0
- package/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.d.ts +11 -0
- package/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/text/index.d.ts +3 -0
- package/lib/shared/components/palette/text/index.d.ts.map +1 -0
- package/lib/shared/components/palette/text/read-text-field.component.d.ts +7 -0
- package/lib/shared/components/palette/text/read-text-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/text/write-text-field.component.d.ts +12 -0
- package/lib/shared/components/palette/text/write-text-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/text-area/index.d.ts +3 -0
- package/lib/shared/components/palette/text-area/index.d.ts.map +1 -0
- package/lib/shared/components/palette/text-area/read-text-area-field.component.d.ts +7 -0
- package/lib/shared/components/palette/text-area/read-text-area-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/text-area/write-text-area-field.component.d.ts +15 -0
- package/lib/shared/components/palette/text-area/write-text-area-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/unsupported-field.component.d.ts +6 -0
- package/lib/shared/components/palette/unsupported-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/dash.pipe.d.ts +8 -0
- package/lib/shared/components/palette/utils/dash.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/date.pipe.d.ts +23 -0
- package/lib/shared/components/palette/utils/date.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/field-label.pipe.d.ts +9 -0
- package/lib/shared/components/palette/utils/field-label.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts +9 -0
- package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/index.d.ts +10 -0
- package/lib/shared/components/palette/utils/index.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/is-compound.pipe.d.ts +11 -0
- package/lib/shared/components/palette/utils/is-compound.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/is-mandatory.pipe.d.ts +12 -0
- package/lib/shared/components/palette/utils/is-mandatory.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.d.ts +13 -0
- package/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/is-read-only.pipe.d.ts +12 -0
- package/lib/shared/components/palette/utils/is-read-only.pipe.d.ts.map +1 -0
- package/lib/shared/components/palette/utils/utils.module.d.ts +16 -0
- package/lib/shared/components/palette/utils/utils.module.d.ts.map +1 -0
- package/lib/shared/components/palette/waystopay/index.d.ts +2 -0
- package/lib/shared/components/palette/waystopay/index.d.ts.map +1 -0
- package/lib/shared/components/palette/waystopay/waystopay-field.component.d.ts +11 -0
- package/lib/shared/components/palette/waystopay/waystopay-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/yes-no/index.d.ts +4 -0
- package/lib/shared/components/palette/yes-no/index.d.ts.map +1 -0
- package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts +13 -0
- package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts +15 -0
- package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/yes-no/yes-no.service.d.ts +14 -0
- package/lib/shared/components/palette/yes-no/yes-no.service.d.ts.map +1 -0
- package/lib/shared/components/search-filters/domain/index.d.ts +2 -0
- package/lib/shared/components/search-filters/domain/index.d.ts.map +1 -0
- package/lib/shared/components/search-filters/domain/search-input.model.d.ts +11 -0
- package/lib/shared/components/search-filters/domain/search-input.model.d.ts.map +1 -0
- package/lib/shared/components/search-filters/index.d.ts +5 -0
- package/lib/shared/components/search-filters/index.d.ts.map +1 -0
- package/lib/shared/components/search-filters/search-filters-wrapper.component.d.ts +21 -0
- package/lib/shared/components/search-filters/search-filters-wrapper.component.d.ts.map +1 -0
- package/lib/shared/components/search-filters/search-filters.component.d.ts +57 -0
- package/lib/shared/components/search-filters/search-filters.component.d.ts.map +1 -0
- package/lib/shared/components/search-filters/search-filters.module.d.ts +13 -0
- package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/conditional-show-form.directive.d.ts +40 -0
- package/lib/shared/directives/conditional-show/conditional-show-form.directive.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/conditional-show.module.d.ts +8 -0
- package/lib/shared/directives/conditional-show/conditional-show.module.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts +56 -0
- package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/domain/index.d.ts +2 -0
- package/lib/shared/directives/conditional-show/domain/index.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/index.d.ts +5 -0
- package/lib/shared/directives/conditional-show/index.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.d.ts +10 -0
- package/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/services/grey-bar.service.d.ts +22 -0
- package/lib/shared/directives/conditional-show/services/grey-bar.service.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/services/index.d.ts +3 -0
- package/lib/shared/directives/conditional-show/services/index.d.ts.map +1 -0
- package/lib/shared/directives/focus-element/focus-element.directive.d.ts +12 -0
- package/lib/shared/directives/focus-element/focus-element.directive.d.ts.map +1 -0
- package/lib/shared/directives/focus-element/focus-element.module.d.ts +8 -0
- package/lib/shared/directives/focus-element/focus-element.module.d.ts.map +1 -0
- package/lib/shared/directives/focus-element/index.d.ts +3 -0
- package/lib/shared/directives/focus-element/index.d.ts.map +1 -0
- package/lib/shared/directives/index.d.ts +4 -0
- package/lib/shared/directives/index.d.ts.map +1 -0
- package/lib/shared/directives/substitutor/index.d.ts +4 -0
- package/lib/shared/directives/substitutor/index.d.ts.map +1 -0
- package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts +27 -0
- package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts.map +1 -0
- package/lib/shared/directives/substitutor/label-substitutor.module.d.ts +8 -0
- package/lib/shared/directives/substitutor/label-substitutor.module.d.ts.map +1 -0
- package/lib/shared/directives/substitutor/services/index.d.ts +2 -0
- package/lib/shared/directives/substitutor/services/index.d.ts.map +1 -0
- package/lib/shared/directives/substitutor/services/placeholder.service.d.ts +64 -0
- package/lib/shared/directives/substitutor/services/placeholder.service.d.ts.map +1 -0
- package/lib/shared/domain/activity/activity.model.d.ts +16 -0
- package/lib/shared/domain/activity/activity.model.d.ts.map +1 -0
- package/lib/shared/domain/activity/index.d.ts +2 -0
- package/lib/shared/domain/activity/index.d.ts.map +1 -0
- package/lib/shared/domain/addresses/address.model.d.ts +10 -0
- package/lib/shared/domain/addresses/address.model.d.ts.map +1 -0
- package/lib/shared/domain/addresses/index.d.ts +2 -0
- package/lib/shared/domain/addresses/index.d.ts.map +1 -0
- package/lib/shared/domain/alert/alert-level.model.d.ts +2 -0
- package/lib/shared/domain/alert/alert-level.model.d.ts.map +1 -0
- package/lib/shared/domain/alert/alert.model.d.ts +6 -0
- package/lib/shared/domain/alert/alert.model.d.ts.map +1 -0
- package/lib/shared/domain/alert/index.d.ts +3 -0
- package/lib/shared/domain/alert/index.d.ts.map +1 -0
- package/lib/shared/domain/case-details.model.d.ts +12 -0
- package/lib/shared/domain/case-details.model.d.ts.map +1 -0
- package/lib/shared/domain/case-event-data.model.d.ts +14 -0
- package/lib/shared/domain/case-event-data.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/access-types.model.d.ts +5 -0
- package/lib/shared/domain/case-view/access-types.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-event-trigger.model.d.ts +18 -0
- package/lib/shared/domain/case-view/case-event-trigger.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-print-document.model.d.ts +6 -0
- package/lib/shared/domain/case-view/case-print-document.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-tab.model.d.ts +10 -0
- package/lib/shared/domain/case-view/case-tab.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-view-event.model.d.ts +19 -0
- package/lib/shared/domain/case-view/case-view-event.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-view-trigger.model.d.ts +9 -0
- package/lib/shared/domain/case-view/case-view-trigger.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/case-view.model.d.ts +36 -0
- package/lib/shared/domain/case-view/case-view.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/challenged-access-request.model.d.ts +6 -0
- package/lib/shared/domain/case-view/challenged-access-request.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/index.d.ts +12 -0
- package/lib/shared/domain/case-view/index.d.ts.map +1 -0
- package/lib/shared/domain/case-view/review-specific-access-request.model.d.ts +5 -0
- package/lib/shared/domain/case-view/review-specific-access-request.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/role-assignment-response.model.d.ts +7 -0
- package/lib/shared/domain/case-view/role-assignment-response.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/role-request.model.d.ts +35 -0
- package/lib/shared/domain/case-view/role-request.model.d.ts.map +1 -0
- package/lib/shared/domain/case-view/specific-access-request.model.d.ts +4 -0
- package/lib/shared/domain/case-view/specific-access-request.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/access-control-list.model.d.ts +8 -0
- package/lib/shared/domain/definition/access-control-list.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/banner.model.d.ts +8 -0
- package/lib/shared/domain/definition/banner.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/case-event.model.d.ts +14 -0
- package/lib/shared/domain/definition/case-event.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/case-field.model.d.ts +44 -0
- package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/case-state.model.d.ts +8 -0
- package/lib/shared/domain/definition/case-state.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/case-type-lite.model.d.ts +10 -0
- package/lib/shared/domain/definition/case-type-lite.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/case-type.model.d.ts +15 -0
- package/lib/shared/domain/definition/case-type.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/event-case-field.model.d.ts +5 -0
- package/lib/shared/domain/definition/event-case-field.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +2 -0
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/field-type.model.d.ts +14 -0
- package/lib/shared/domain/definition/field-type.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/fixed-list-item.model.d.ts +7 -0
- package/lib/shared/domain/definition/fixed-list-item.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/index.d.ts +12 -0
- package/lib/shared/domain/definition/index.d.ts.map +1 -0
- package/lib/shared/domain/definition/jurisdiction.model.d.ts +8 -0
- package/lib/shared/domain/definition/jurisdiction.model.d.ts.map +1 -0
- package/lib/shared/domain/document/document-data.model.d.ts +26 -0
- package/lib/shared/domain/document/document-data.model.d.ts.map +1 -0
- package/lib/shared/domain/document/index.d.ts +2 -0
- package/lib/shared/domain/document/index.d.ts.map +1 -0
- package/lib/shared/domain/draft.model.d.ts +13 -0
- package/lib/shared/domain/draft.model.d.ts.map +1 -0
- package/lib/shared/domain/error-message.model.d.ts +9 -0
- package/lib/shared/domain/error-message.model.d.ts.map +1 -0
- package/lib/shared/domain/http/http-error.model.d.ts +18 -0
- package/lib/shared/domain/http/http-error.model.d.ts.map +1 -0
- package/lib/shared/domain/http/index.d.ts +2 -0
- package/lib/shared/domain/http/index.d.ts.map +1 -0
- package/lib/shared/domain/index.d.ts +23 -0
- package/lib/shared/domain/index.d.ts.map +1 -0
- package/lib/shared/domain/order/index.d.ts +2 -0
- package/lib/shared/domain/order/index.d.ts.map +1 -0
- package/lib/shared/domain/order/orderable.model.d.ts +4 -0
- package/lib/shared/domain/order/orderable.model.d.ts.map +1 -0
- package/lib/shared/domain/organisation/index.d.ts +3 -0
- package/lib/shared/domain/organisation/index.d.ts.map +1 -0
- package/lib/shared/domain/organisation/organisation-converter.d.ts +10 -0
- package/lib/shared/domain/organisation/organisation-converter.d.ts.map +1 -0
- package/lib/shared/domain/organisation/simple-organisation.model.d.ts +6 -0
- package/lib/shared/domain/organisation/simple-organisation.model.d.ts.map +1 -0
- package/lib/shared/domain/pagination-metadata.model.d.ts +5 -0
- package/lib/shared/domain/pagination-metadata.model.d.ts.map +1 -0
- package/lib/shared/domain/predicate.model.d.ts +2 -0
- package/lib/shared/domain/predicate.model.d.ts.map +1 -0
- package/lib/shared/domain/profile/index.d.ts +2 -0
- package/lib/shared/domain/profile/index.d.ts.map +1 -0
- package/lib/shared/domain/profile/profile.model.d.ts +24 -0
- package/lib/shared/domain/profile/profile.model.d.ts.map +1 -0
- package/lib/shared/domain/search/field.model.d.ts +11 -0
- package/lib/shared/domain/search/field.model.d.ts.map +1 -0
- package/lib/shared/domain/search/index.d.ts +5 -0
- package/lib/shared/domain/search/index.d.ts.map +1 -0
- package/lib/shared/domain/search/search-result-view-column.model.d.ts +10 -0
- package/lib/shared/domain/search/search-result-view-column.model.d.ts.map +1 -0
- package/lib/shared/domain/search/search-result-view-item.model.d.ts +10 -0
- package/lib/shared/domain/search/search-result-view-item.model.d.ts.map +1 -0
- package/lib/shared/domain/search/search-result-view.model.d.ts +9 -0
- package/lib/shared/domain/search/search-result-view.model.d.ts.map +1 -0
- package/lib/shared/domain/search/sorting/search-result-view-item-comparator.d.ts +5 -0
- package/lib/shared/domain/search/sorting/search-result-view-item-comparator.d.ts.map +1 -0
- package/lib/shared/domain/search/sorting/sort-order.d.ts +6 -0
- package/lib/shared/domain/search/sorting/sort-order.d.ts.map +1 -0
- package/lib/shared/domain/search/sorting/sort-parameters.d.ts +8 -0
- package/lib/shared/domain/search/sorting/sort-parameters.d.ts.map +1 -0
- package/lib/shared/domain/user/user-details.model.d.ts +10 -0
- package/lib/shared/domain/user/user-details.model.d.ts.map +1 -0
- package/lib/shared/domain/user/user-info.model.d.ts +11 -0
- package/lib/shared/domain/user/user-info.model.d.ts.map +1 -0
- package/lib/shared/domain/work-allocation/Task.d.ts +50 -0
- package/lib/shared/domain/work-allocation/Task.d.ts.map +1 -0
- package/lib/shared/domain/work-allocation/TaskPayload.d.ts +6 -0
- package/lib/shared/domain/work-allocation/TaskPayload.d.ts.map +1 -0
- package/lib/shared/domain/work-allocation/index.d.ts +2 -0
- package/lib/shared/domain/work-allocation/index.d.ts.map +1 -0
- package/lib/shared/domain/work-allocation/task-response.model.d.ts +5 -0
- package/lib/shared/domain/work-allocation/task-response.model.d.ts.map +1 -0
- package/lib/shared/domain/work-allocation/task-search-parameter.model.d.ts +15 -0
- package/lib/shared/domain/work-allocation/task-search-parameter.model.d.ts.map +1 -0
- package/lib/shared/domain/workbasket/index.d.ts +2 -0
- package/lib/shared/domain/workbasket/index.d.ts.map +1 -0
- package/lib/shared/domain/workbasket/workbasket-input.model.d.ts +14 -0
- package/lib/shared/domain/workbasket/workbasket-input.model.d.ts.map +1 -0
- package/lib/shared/fixture/case-field-builder.d.ts +22 -0
- package/lib/shared/fixture/case-field-builder.d.ts.map +1 -0
- package/lib/shared/fixture/shared.test.fixture.d.ts +25 -0
- package/lib/shared/fixture/shared.test.fixture.d.ts.map +1 -0
- package/lib/shared/index.d.ts +8 -0
- package/lib/shared/index.d.ts.map +1 -0
- package/lib/shared/pipes/case-reference/case-reference.pipe.d.ts +8 -0
- package/lib/shared/pipes/case-reference/case-reference.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/case-reference/index.d.ts +2 -0
- package/lib/shared/pipes/case-reference/index.d.ts.map +1 -0
- package/lib/shared/pipes/case-title/ccd-case-title.pipe.d.ts +15 -0
- package/lib/shared/pipes/case-title/ccd-case-title.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/case-title/index.d.ts +2 -0
- package/lib/shared/pipes/case-title/index.d.ts.map +1 -0
- package/lib/shared/pipes/index.d.ts +5 -0
- package/lib/shared/pipes/index.d.ts.map +1 -0
- package/lib/shared/pipes/pipes.module.d.ts +11 -0
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -0
- package/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.d.ts +10 -0
- package/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.d.ts.map +1 -0
- package/lib/shared/services/activity/activity.polling.service.d.ts +30 -0
- package/lib/shared/services/activity/activity.polling.service.d.ts.map +1 -0
- package/lib/shared/services/activity/activity.service.d.ts +26 -0
- package/lib/shared/services/activity/activity.service.d.ts.map +1 -0
- package/lib/shared/services/activity/index.d.ts +3 -0
- package/lib/shared/services/activity/index.d.ts.map +1 -0
- package/lib/shared/services/addresses/address-parser.d.ts +18 -0
- package/lib/shared/services/addresses/address-parser.d.ts.map +1 -0
- package/lib/shared/services/addresses/addresses.service.d.ts +21 -0
- package/lib/shared/services/addresses/addresses.service.d.ts.map +1 -0
- package/lib/shared/services/addresses/index.d.ts +2 -0
- package/lib/shared/services/addresses/index.d.ts.map +1 -0
- package/lib/shared/services/alert/alert.service.d.ts +35 -0
- package/lib/shared/services/alert/alert.service.d.ts.map +1 -0
- package/lib/shared/services/alert/index.d.ts +2 -0
- package/lib/shared/services/alert/index.d.ts.map +1 -0
- package/lib/shared/services/auth/auth.service.d.ts +16 -0
- package/lib/shared/services/auth/auth.service.d.ts.map +1 -0
- package/lib/shared/services/auth/index.d.ts +2 -0
- package/lib/shared/services/auth/index.d.ts.map +1 -0
- package/lib/shared/services/banners/banners.service.d.ts +15 -0
- package/lib/shared/services/banners/banners.service.d.ts.map +1 -0
- package/lib/shared/services/banners/index.d.ts +2 -0
- package/lib/shared/services/banners/index.d.ts.map +1 -0
- package/lib/shared/services/browser/browser.service.d.ts +9 -0
- package/lib/shared/services/browser/browser.service.d.ts.map +1 -0
- package/lib/shared/services/browser/index.d.ts +2 -0
- package/lib/shared/services/browser/index.d.ts.map +1 -0
- package/lib/shared/services/case-fields/case-field.service.d.ts +11 -0
- package/lib/shared/services/case-fields/case-field.service.d.ts.map +1 -0
- package/lib/shared/services/case-fields/format-translator.service.d.ts +16 -0
- package/lib/shared/services/case-fields/format-translator.service.d.ts.map +1 -0
- package/lib/shared/services/case-fields/index.d.ts +2 -0
- package/lib/shared/services/case-fields/index.d.ts.map +1 -0
- package/lib/shared/services/definitions/definitions.module.d.ts +7 -0
- package/lib/shared/services/definitions/definitions.module.d.ts.map +1 -0
- package/lib/shared/services/definitions/definitions.service.d.ts +16 -0
- package/lib/shared/services/definitions/definitions.service.d.ts.map +1 -0
- package/lib/shared/services/definitions/index.d.ts +3 -0
- package/lib/shared/services/definitions/index.d.ts.map +1 -0
- package/lib/shared/services/document-management/document-management.service.d.ts +34 -0
- package/lib/shared/services/document-management/document-management.service.d.ts.map +1 -0
- package/lib/shared/services/document-management/index.d.ts +2 -0
- package/lib/shared/services/document-management/index.d.ts.map +1 -0
- package/lib/shared/services/draft/draft.service.d.ts +25 -0
- package/lib/shared/services/draft/draft.service.d.ts.map +1 -0
- package/lib/shared/services/draft/index.d.ts +2 -0
- package/lib/shared/services/draft/index.d.ts.map +1 -0
- package/lib/shared/services/error/error-notifier.service.d.ts +10 -0
- package/lib/shared/services/error/error-notifier.service.d.ts.map +1 -0
- package/lib/shared/services/error/index.d.ts +2 -0
- package/lib/shared/services/error/index.d.ts.map +1 -0
- package/lib/shared/services/eventStatusService/event-status.service.d.ts +11 -0
- package/lib/shared/services/eventStatusService/event-status.service.d.ts.map +1 -0
- package/lib/shared/services/eventStatusService/index.d.ts +2 -0
- package/lib/shared/services/eventStatusService/index.d.ts.map +1 -0
- package/lib/shared/services/fields/fields.purger.d.ts +39 -0
- package/lib/shared/services/fields/fields.purger.d.ts.map +1 -0
- package/lib/shared/services/fields/fields.utils.d.ts +81 -0
- package/lib/shared/services/fields/fields.utils.d.ts.map +1 -0
- package/lib/shared/services/fields/index.d.ts +3 -0
- package/lib/shared/services/fields/index.d.ts.map +1 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts +29 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -0
- package/lib/shared/services/form/form-error.service.d.ts +12 -0
- package/lib/shared/services/form/form-error.service.d.ts.map +1 -0
- package/lib/shared/services/form/form-validators.service.d.ts +12 -0
- package/lib/shared/services/form/form-validators.service.d.ts.map +1 -0
- package/lib/shared/services/form/form-value.service.d.ts +172 -0
- package/lib/shared/services/form/form-value.service.d.ts.map +1 -0
- package/lib/shared/services/form/index.d.ts +5 -0
- package/lib/shared/services/form/index.d.ts.map +1 -0
- package/lib/shared/services/http/http-error.service.d.ts +19 -0
- package/lib/shared/services/http/http-error.service.d.ts.map +1 -0
- package/lib/shared/services/http/http.service.d.ts +60 -0
- package/lib/shared/services/http/http.service.d.ts.map +1 -0
- package/lib/shared/services/http/index.d.ts +3 -0
- package/lib/shared/services/http/index.d.ts.map +1 -0
- package/lib/shared/services/index.d.ts +29 -0
- package/lib/shared/services/index.d.ts.map +1 -0
- package/lib/shared/services/jurisdiction/index.d.ts +2 -0
- package/lib/shared/services/jurisdiction/index.d.ts.map +1 -0
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts +11 -0
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -0
- package/lib/shared/services/loading/index.d.ts +3 -0
- package/lib/shared/services/loading/index.d.ts.map +1 -0
- package/lib/shared/services/loading/loading.module.d.ts +7 -0
- package/lib/shared/services/loading/loading.module.d.ts.map +1 -0
- package/lib/shared/services/loading/loading.service.d.ts +16 -0
- package/lib/shared/services/loading/loading.service.d.ts.map +1 -0
- package/lib/shared/services/navigation/index.d.ts +3 -0
- package/lib/shared/services/navigation/index.d.ts.map +1 -0
- package/lib/shared/services/navigation/navigation-notifier.service.d.ts +10 -0
- package/lib/shared/services/navigation/navigation-notifier.service.d.ts.map +1 -0
- package/lib/shared/services/navigation/navigation-origin.model.d.ts +8 -0
- package/lib/shared/services/navigation/navigation-origin.model.d.ts.map +1 -0
- package/lib/shared/services/order/index.d.ts +2 -0
- package/lib/shared/services/order/index.d.ts.map +1 -0
- package/lib/shared/services/order/order.service.d.ts +19 -0
- package/lib/shared/services/order/order.service.d.ts.map +1 -0
- package/lib/shared/services/organisation/index.d.ts +2 -0
- package/lib/shared/services/organisation/index.d.ts.map +1 -0
- package/lib/shared/services/organisation/organisation.service.d.ts +53 -0
- package/lib/shared/services/organisation/organisation.service.d.ts.map +1 -0
- package/lib/shared/services/profile/index.d.ts +3 -0
- package/lib/shared/services/profile/index.d.ts.map +1 -0
- package/lib/shared/services/profile/profile.notifier.d.ts +11 -0
- package/lib/shared/services/profile/profile.notifier.d.ts.map +1 -0
- package/lib/shared/services/profile/profile.service.d.ts +16 -0
- package/lib/shared/services/profile/profile.service.d.ts.map +1 -0
- package/lib/shared/services/request/index.d.ts +2 -0
- package/lib/shared/services/request/index.d.ts.map +1 -0
- package/lib/shared/services/request/request.options.builder.d.ts +17 -0
- package/lib/shared/services/request/request.options.builder.d.ts.map +1 -0
- package/lib/shared/services/router/index.d.ts +2 -0
- package/lib/shared/services/router/index.d.ts.map +1 -0
- package/lib/shared/services/router/router-helper.service.d.ts +8 -0
- package/lib/shared/services/router/router-helper.service.d.ts.map +1 -0
- package/lib/shared/services/search/index.d.ts +2 -0
- package/lib/shared/services/search/index.d.ts.map +1 -0
- package/lib/shared/services/search/search.service.d.ts +32 -0
- package/lib/shared/services/search/search.service.d.ts.map +1 -0
- package/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.d.ts +12 -0
- package/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.d.ts.map +1 -0
- package/lib/shared/services/session/index.d.ts +2 -0
- package/lib/shared/services/session/index.d.ts.map +1 -0
- package/lib/shared/services/session/session-storage.service.d.ts +22 -0
- package/lib/shared/services/session/session-storage.service.d.ts.map +1 -0
- package/lib/shared/services/window/index.d.ts +2 -0
- package/lib/shared/services/window/index.d.ts.map +1 -0
- package/lib/shared/services/window/window.service.d.ts +15 -0
- package/lib/shared/services/window/window.service.d.ts.map +1 -0
- package/lib/shared/services/workbasket/index.d.ts +2 -0
- package/lib/shared/services/workbasket/index.d.ts.map +1 -0
- package/lib/shared/services/workbasket/workbasket-input-filter.service.d.ts +19 -0
- package/lib/shared/services/workbasket/workbasket-input-filter.service.d.ts.map +1 -0
- package/lib/shared/test/test-route-snapshot-builder.d.ts +11 -0
- package/lib/shared/test/test-route-snapshot-builder.d.ts.map +1 -0
- package/package.json +14 -199
- package/public-api.d.ts +3 -0
- package/public-api.d.ts.map +1 -0
- package/.editorconfig +0 -14
- package/.github/CONTRIBUTING.md +0 -39
- package/.github/ISSUE_TEMPLATE.md +0 -5
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -23
- package/.github/stale.yml +0 -24
- package/.github/workflows/npmpublish.yml +0 -98
- package/.nyc_output/.gitkeep +0 -1
- package/.project +0 -4
- package/.storybook/main.js +0 -13
- package/.storybook/preview.js +0 -15
- package/.storybook/tsconfig.json +0 -21
- package/.storybook/typings.d.ts +0 -4
- package/.travis.yml +0 -54
- package/LICENSE.md +0 -9
- package/README.md +0 -191
- package/RELEASE-NOTES.md +0 -1153
- package/angular.json +0 -193
- package/bin/run-yarn-audit.sh +0 -38
- package/browserslist +0 -12
- package/documentation.json +0 -88650
- package/e2e/tsconfig.e2e.json +0 -13
- package/projects/ccd-case-ui-toolkit/ng-package.json +0 -8
- package/projects/ccd-case-ui-toolkit/package.json +0 -18
- package/projects/ccd-case-ui-toolkit/tsconfig.lib.json +0 -33
- package/projects/ccd-case-ui-toolkit/tsconfig.lib.prod.json +0 -7
- package/projects/ccd-case-ui-toolkit/tsconfig.spec.json +0 -21
- package/projects/ccd-case-ui-toolkit/tslint.json +0 -96
- package/scripts/create-release-tag.sh +0 -23
- package/sonar-project.properties +0 -12
- package/storybook/assets/fonts/bold-a2452cb66f-v1.woff2 +0 -0
- package/storybook/assets/fonts/bold-f38c792ac2-v1.woff +0 -0
- package/storybook/assets/fonts/bold-fb2676462a-v1.eot +0 -0
- package/storybook/assets/fonts/bold-tabular-357fdfbcc3-v1.eot +0 -0
- package/storybook/assets/fonts/bold-tabular-784c21afb8-v1.woff +0 -0
- package/storybook/assets/fonts/bold-tabular-b89238d840-v1.woff2 +0 -0
- package/storybook/assets/fonts/light-2c037cf7e1-v1.eot +0 -0
- package/storybook/assets/fonts/light-458f8ea81c-v1.woff +0 -0
- package/storybook/assets/fonts/light-f38ad40456-v1.woff2 +0 -0
- package/storybook/assets/fonts/light-tabular-498ea8ffe2-v1.eot +0 -0
- package/storybook/assets/fonts/light-tabular-62cc6f0a28-v1.woff +0 -0
- package/storybook/assets/fonts/light-tabular-851b10ccdd-v1.woff2 +0 -0
- package/storybook/assets/images/govuk-crest-2x.png +0 -0
- package/storybook/assets/images/govuk-crest.png +0 -0
- package/storybook/assets/img/accordion-minus.png +0 -0
- package/storybook/assets/img/accordion-plus.png +0 -0
- package/storybook/assets/img/apple-touch-icon-120x120.png +0 -0
- package/storybook/assets/img/apple-touch-icon-152x152.png +0 -0
- package/storybook/assets/img/apple-touch-icon-60x60.png +0 -0
- package/storybook/assets/img/apple-touch-icon-76x76.png +0 -0
- package/storybook/assets/img/dropdown-arrow.PNG +0 -0
- package/storybook/assets/img/editor.png +0 -0
- package/storybook/assets/img/editorBanner.png +0 -0
- package/storybook/assets/img/favicon.ico +0 -0
- package/storybook/assets/img/gov.uk_logotype_crown.svg +0 -7
- package/storybook/assets/img/gov.uk_logotype_crown_invert_trans.png +0 -0
- package/storybook/assets/img/icon-search-white.png +0 -0
- package/storybook/assets/img/viewer.png +0 -0
- package/storybook/assets/img/viewerBanner.png +0 -0
- package/storybook/assets/img/warning.png +0 -0
- package/storybook/assets/img/x.PNG +0 -0
- package/storybook/assets/sass/annotation-ui-theme.scss +0 -217
- package/storybook/assets/sass/application-ie8.scss +0 -3
- package/storybook/assets/sass/application.scss +0 -214
- package/storybook/assets/sass/components/_cookie-banner.scss +0 -24
- package/storybook/assets/sass/jui/all.scss +0 -20
- package/storybook/assets/sass/jui/objects/_manifest.scss +0 -5
- package/storybook/assets/sass/jui/objects/_objects.container.scss +0 -7
- package/storybook/assets/sass/jui/settings/_manifest.scss +0 -6
- package/storybook/assets/sass/jui/settings/_settings.aspect-ratio.scss +0 -9
- package/storybook/assets/sass/jui/settings/_settings.general.scss +0 -34
- package/storybook/assets/sass/patterns/_check-your-answers.scss +0 -86
- package/storybook/assets/sass/patterns/_pba.scss +0 -278
- package/storybook/assets/sass/patterns/_related-items.scss +0 -11
- package/storybook/assets/sass/patterns/_task-list.scss +0 -72
- package/storybook/assets/sass/unbranded.scss +0 -12
- package/storybook/storybook.component.ts +0 -11
- package/storybook/storybook.styles.scss +0 -17
- package/storybook/style/_buttons.scss +0 -19
- package/storybook/style/_forms.scss +0 -19
- package/storybook/style/_markdown.scss +0 -48
- package/storybook/style/_material.scss +0 -53
- package/storybook/style/_notifications.scss +0 -23
- package/storybook/style/_palette.scss +0 -77
- package/storybook/style/_print.scss +0 -19
- package/storybook/style/app.scss +0 -399
- package/storybook/style/vendor/prism.scss +0 -116
- package/storybook-static/0.835660aac5fb57f1c871.manager.bundle.js +0 -2
- package/storybook-static/0.835660aac5fb57f1c871.manager.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/0.8a2e5fcc.iframe.bundle.js +0 -3
- package/storybook-static/0.8a2e5fcc.iframe.bundle.js.LICENSE.txt +0 -17
- package/storybook-static/0.8a2e5fcc.iframe.bundle.js.map +0 -1
- package/storybook-static/1.2f18dfb406091ad58686.manager.bundle.js +0 -1
- package/storybook-static/1.ab9ea240.iframe.bundle.js +0 -3
- package/storybook-static/1.ab9ea240.iframe.bundle.js.LICENSE.txt +0 -8
- package/storybook-static/1.ab9ea240.iframe.bundle.js.map +0 -1
- package/storybook-static/10.fa5fcd50.iframe.bundle.js +0 -3
- package/storybook-static/10.fa5fcd50.iframe.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/10.fa5fcd50.iframe.bundle.js.map +0 -1
- package/storybook-static/2.e37e048c.iframe.bundle.js +0 -1
- package/storybook-static/3.a2afbe6b.iframe.bundle.js +0 -1
- package/storybook-static/5.472a084050c6577e437c.manager.bundle.js +0 -2
- package/storybook-static/5.472a084050c6577e437c.manager.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/6.6d8b7e0d6abfb2af3157.manager.bundle.js +0 -1
- package/storybook-static/7.33e8f7c3.iframe.bundle.js +0 -3
- package/storybook-static/7.33e8f7c3.iframe.bundle.js.LICENSE.txt +0 -31
- package/storybook-static/7.33e8f7c3.iframe.bundle.js.map +0 -1
- package/storybook-static/7.b9048b95a2d61a0d5990.manager.bundle.js +0 -1
- package/storybook-static/8.c0075f29233ef3a5f866.manager.bundle.js +0 -2
- package/storybook-static/8.c0075f29233ef3a5f866.manager.bundle.js.LICENSE.txt +0 -12
- package/storybook-static/8.c6adb04b.iframe.bundle.js +0 -1
- package/storybook-static/9.73d6cb6ada64ba200277.manager.bundle.js +0 -1
- package/storybook-static/9.eaf466b7.iframe.bundle.js +0 -1
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +0 -364
- package/storybook-static/index.html +0 -59
- package/storybook-static/main.6f2a4d7a.iframe.bundle.js +0 -1
- package/storybook-static/main.bbfce4da3ddc788a6d97.manager.bundle.js +0 -1
- package/storybook-static/project.json +0 -1
- package/storybook-static/runtime~main.17dc4af8228ff7ffc150.manager.bundle.js +0 -1
- package/storybook-static/runtime~main.da0120f3.iframe.bundle.js +0 -1
- package/storybook-static/static/media/code-brackets.2e1112d7.svg +0 -1
- package/storybook-static/static/media/colors.a4bd0486.svg +0 -1
- package/storybook-static/static/media/comments.a3859089.svg +0 -1
- package/storybook-static/static/media/direction.b770f9af.svg +0 -1
- package/storybook-static/static/media/flow.edad2ac1.svg +0 -1
- package/storybook-static/static/media/plugin.d494b228.svg +0 -1
- package/storybook-static/static/media/repo.6d496322.svg +0 -1
- package/storybook-static/static/media/stackalt.dba9fbb3.svg +0 -1
- package/storybook-static/vendors~main.ac63a4b3609bbef0abd4.manager.bundle.js +0 -2
- package/storybook-static/vendors~main.ac63a4b3609bbef0abd4.manager.bundle.js.LICENSE.txt +0 -104
- package/storybook-static/vendors~main.c4556936.iframe.bundle.js +0 -13
- package/storybook-static/vendors~main.c4556936.iframe.bundle.js.LICENSE.txt +0 -94
- package/storybook-static/vendors~main.c4556936.iframe.bundle.js.map +0 -1
- package/tsconfig.json +0 -44
- package/tslint.json +0 -96
- package/yarn-audit-known-issues +0 -28
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class FirstErrorPipe {
|
|
4
|
+
transform(value, args) {
|
|
5
|
+
if (!value) {
|
|
6
|
+
return '';
|
|
7
|
+
}
|
|
8
|
+
if (!args) {
|
|
9
|
+
args = 'Field';
|
|
10
|
+
}
|
|
11
|
+
const keys = Object.keys(value);
|
|
12
|
+
if (!keys.length) {
|
|
13
|
+
return '';
|
|
14
|
+
}
|
|
15
|
+
if (keys[0] === 'required') {
|
|
16
|
+
return `${args} is required`;
|
|
17
|
+
}
|
|
18
|
+
else if (keys[0] === 'pattern') {
|
|
19
|
+
return `The data entered is not valid for ${args}`;
|
|
20
|
+
}
|
|
21
|
+
else if (keys[0] === 'minlength') {
|
|
22
|
+
return `${args} is below the minimum length`;
|
|
23
|
+
}
|
|
24
|
+
else if (keys[0] === 'maxlength') {
|
|
25
|
+
return `${args} exceeds the maximum length`;
|
|
26
|
+
}
|
|
27
|
+
else if (value.hasOwnProperty('matDatetimePickerParse')) {
|
|
28
|
+
return 'The date entered is not valid. Please provide a valid date';
|
|
29
|
+
}
|
|
30
|
+
return value[keys[0]];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(); };
|
|
34
|
+
FirstErrorPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: true });
|
|
35
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FirstErrorPipe, [{
|
|
36
|
+
type: Pipe,
|
|
37
|
+
args: [{
|
|
38
|
+
name: 'ccdFirstError'
|
|
39
|
+
}]
|
|
40
|
+
}], null, null); })();
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyc3QtZXJyb3IucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4u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WQgZm9yICR7YXJnc31gO1xuICAgIH0gZWxzZSBpZiAoa2V5c1swXSA9PT0gJ21pbmxlbmd0aCcpIHtcbiAgICAgIHJldHVybiBgJHthcmdzfSBpcyBiZWxvdyB0aGUgbWluaW11bSBsZW5ndGhgO1xuICAgIH0gZWxzZSBpZiAoa2V5c1swXSA9PT0gJ21heGxlbmd0aCcpIHtcbiAgICAgIHJldHVybiBgJHthcmdzfSBleGNlZWRzIHRoZSBtYXhpbXVtIGxlbmd0aGA7XG4gICAgfSBlbHNlIGlmICh2YWx1ZS5oYXNPd25Qcm9wZXJ0eSgnbWF0RGF0ZXRpbWVQaWNrZXJQYXJzZScpKSB7XG4gICAgICByZXR1cm4gJ1RoZSBkYXRlIGVudGVyZWQgaXMgbm90IHZhbGlkLiBQbGVhc2UgcHJvdmlkZSBhIHZhbGlkIGRhdGUnO1xuICAgIH1cbiAgICByZXR1cm4gdmFsdWVba2V5c1swXV07XG4gIH1cblxufVxuIl19
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './dash.pipe';
|
|
2
|
+
export * from './date.pipe';
|
|
3
|
+
export * from './field-label.pipe';
|
|
4
|
+
export * from './first-error.pipe';
|
|
5
|
+
export * from './is-compound.pipe';
|
|
6
|
+
export * from './is-mandatory.pipe';
|
|
7
|
+
export * from './is-read-only.pipe';
|
|
8
|
+
export * from './utils.module';
|
|
9
|
+
export * from './is-read-only-and-not-collection.pipe';
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kYXNoLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9kYXRlLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9maWVsZC1sYWJlbC5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vZmlyc3QtZXJyb3IucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2lzLWNvbXBvdW5kLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9pcy1tYW5kYXRvcnkucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2lzLXJlYWQtb25seS5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vdXRpbHMubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlJztcbiJdfQ==
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class IsCompoundPipe {
|
|
4
|
+
transform(field) {
|
|
5
|
+
if (!field || !field.field_type || !field.field_type.type) {
|
|
6
|
+
return false;
|
|
7
|
+
}
|
|
8
|
+
if (IsCompoundPipe.COMPOUND_TYPES.indexOf(field.field_type.type) !== -1) {
|
|
9
|
+
if (IsCompoundPipe.EXCLUDE.indexOf(field.field_type.id) !== -1) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
return true;
|
|
13
|
+
}
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
IsCompoundPipe.COMPOUND_TYPES = [
|
|
18
|
+
'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
|
|
19
|
+
];
|
|
20
|
+
IsCompoundPipe.EXCLUDE = [
|
|
21
|
+
'CaseLink'
|
|
22
|
+
];
|
|
23
|
+
IsCompoundPipe.ɵfac = function IsCompoundPipe_Factory(t) { return new (t || IsCompoundPipe)(); };
|
|
24
|
+
IsCompoundPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsCompound", type: IsCompoundPipe, pure: true });
|
|
25
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsCompoundPipe, [{
|
|
26
|
+
type: Pipe,
|
|
27
|
+
args: [{
|
|
28
|
+
name: 'ccdIsCompound'
|
|
29
|
+
}]
|
|
30
|
+
}], null, null); })();
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtY29tcG91bmQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3V0aWxzL2lzLWNvbXBvdW5kLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyxjQUFjO0lBVWxCLFNBQVMsQ0FBQyxLQUFnQjtRQUMvQixJQUFJLENBQUMsS0FBSyxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsSUFBSSxDQUFDLEtBQUssQ0FBQy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|
|
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
|
+
constructor(caseFieldService) {
|
|
7
|
+
this.caseFieldService = caseFieldService;
|
|
8
|
+
}
|
|
9
|
+
transform(field) {
|
|
10
|
+
return this.caseFieldService.isMandatory(field);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
IsMandatoryPipe.ɵfac = function IsMandatoryPipe_Factory(t) { return new (t || IsMandatoryPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService)); };
|
|
14
|
+
IsMandatoryPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsMandatory", type: IsMandatoryPipe, pure: true });
|
|
15
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsMandatoryPipe, [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{
|
|
18
|
+
name: 'ccdIsMandatory'
|
|
19
|
+
}]
|
|
20
|
+
}], function () { return [{ type: i1.CaseFieldService }]; }, null); })();
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbWFuZGF0b3J5LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS91dGlscy9pcy1tYW5kYXRvcnkucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUVwRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQzs7O0FBS3BG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|
|
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
|
+
constructor(caseFieldService) {
|
|
7
|
+
this.caseFieldService = caseFieldService;
|
|
8
|
+
}
|
|
9
|
+
transform(field) {
|
|
10
|
+
if (!field || !field.field_type || !field.field_type.type) {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
if (this.isCollection(field)) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
return this.caseFieldService.isReadOnly(field);
|
|
17
|
+
}
|
|
18
|
+
// CaseField @Expose() doesn't work with the pipe in here, so leaving the manual check
|
|
19
|
+
isCollection(field) {
|
|
20
|
+
return field.field_type && field.field_type.type === 'Collection';
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
IsReadOnlyAndNotCollectionPipe.ɵfac = function IsReadOnlyAndNotCollectionPipe_Factory(t) { return new (t || IsReadOnlyAndNotCollectionPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService)); };
|
|
24
|
+
IsReadOnlyAndNotCollectionPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsReadOnlyAndNotCollection", type: IsReadOnlyAndNotCollectionPipe, pure: true });
|
|
25
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyAndNotCollectionPipe, [{
|
|
26
|
+
type: Pipe,
|
|
27
|
+
args: [{
|
|
28
|
+
name: 'ccdIsReadOnlyAndNotCollection'
|
|
29
|
+
}]
|
|
30
|
+
}], function () { return [{ type: i1.CaseFieldService }]; }, null); })();
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlLmpzI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dmF0ZSBpc0NvbGxlY3Rpb24oZmllbGQ6IENhc2VGaWVsZCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBmaWVsZC5maWVsZF90eXBlICYmIGZpZWxkLmZpZWxkX3R5cGUudHlwZSA9PT0gJ0NvbGxlY3Rpb24nO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
constructor(caseFieldService) {
|
|
7
|
+
this.caseFieldService = caseFieldService;
|
|
8
|
+
}
|
|
9
|
+
transform(field) {
|
|
10
|
+
return this.caseFieldService.isReadOnly(field);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService)); };
|
|
14
|
+
IsReadOnlyPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
|
|
15
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyPipe, [{
|
|
16
|
+
type: Pipe,
|
|
17
|
+
args: [{
|
|
18
|
+
name: 'ccdIsReadOnly'
|
|
19
|
+
}]
|
|
20
|
+
}], function () { return [{ type: i1.CaseFieldService }]; }, null); })();
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcmVhZC1vbmx5LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9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WNlOiBDYXNlRmllbGRTZXJ2aWNlKSB7fVxuXG4gIHB1YmxpYyB0cmFuc2Zvcm0oZmllbGQ6IENhc2VGaWVsZCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmNhc2VGaWVsZFNlcnZpY2UuaXNSZWFkT25seShmaWVsZCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { DashPipe } from './dash.pipe';
|
|
4
|
+
import { DatePipe } from './date.pipe';
|
|
5
|
+
import { FieldLabelPipe } from './field-label.pipe';
|
|
6
|
+
import { FirstErrorPipe } from './first-error.pipe';
|
|
7
|
+
import { IsCompoundPipe } from './is-compound.pipe';
|
|
8
|
+
import { IsMandatoryPipe } from './is-mandatory.pipe';
|
|
9
|
+
import { IsReadOnlyAndNotCollectionPipe } from './is-read-only-and-not-collection.pipe';
|
|
10
|
+
import { IsReadOnlyPipe } from './is-read-only.pipe';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export class PaletteUtilsModule {
|
|
13
|
+
}
|
|
14
|
+
PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
|
|
15
|
+
PaletteUtilsModule.ɵmod = i0.ɵɵdefineNgModule({ type: PaletteUtilsModule });
|
|
16
|
+
PaletteUtilsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
17
|
+
CommonModule
|
|
18
|
+
]] });
|
|
19
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
|
|
20
|
+
FieldLabelPipe,
|
|
21
|
+
FirstErrorPipe,
|
|
22
|
+
IsCompoundPipe,
|
|
23
|
+
IsMandatoryPipe,
|
|
24
|
+
IsReadOnlyPipe,
|
|
25
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
26
|
+
DashPipe], imports: [CommonModule], exports: [DatePipe,
|
|
27
|
+
FieldLabelPipe,
|
|
28
|
+
FirstErrorPipe,
|
|
29
|
+
IsCompoundPipe,
|
|
30
|
+
IsMandatoryPipe,
|
|
31
|
+
IsReadOnlyPipe,
|
|
32
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
33
|
+
DashPipe] }); })();
|
|
34
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteUtilsModule, [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
imports: [
|
|
38
|
+
CommonModule
|
|
39
|
+
],
|
|
40
|
+
declarations: [
|
|
41
|
+
DatePipe,
|
|
42
|
+
FieldLabelPipe,
|
|
43
|
+
FirstErrorPipe,
|
|
44
|
+
IsCompoundPipe,
|
|
45
|
+
IsMandatoryPipe,
|
|
46
|
+
IsReadOnlyPipe,
|
|
47
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
48
|
+
DashPipe
|
|
49
|
+
],
|
|
50
|
+
exports: [
|
|
51
|
+
DatePipe,
|
|
52
|
+
FieldLabelPipe,
|
|
53
|
+
FirstErrorPipe,
|
|
54
|
+
IsCompoundPipe,
|
|
55
|
+
IsMandatoryPipe,
|
|
56
|
+
IsReadOnlyPipe,
|
|
57
|
+
IsReadOnlyAndNotCollectionPipe,
|
|
58
|
+
DashPipe
|
|
59
|
+
]
|
|
60
|
+
}]
|
|
61
|
+
}], null, null); })();
|
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdXRpbHMvdXRpbHMubW9kdWxlLnR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cGUnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhdGVQaXBlLFxuICAgIEZpZWxkTGFiZWxQaXBlLFxuICAgIEZpcnN0RXJyb3JQaXBlLFxuICAgIElzQ29tcG91bmRQaXBlLFxuICAgIElzTWFuZGF0b3J5UGlwZSxcbiAgICBJc1JlYWRPbmx5UGlwZSxcbiAgICBJc1JlYWRPbmx5QW5kTm90Q29sbGVjdGlvblBpcGUsXG4gICAgRGFzaFBpcGVcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhdGVQaXBlLFxuICAgIEZpZWxkTGFiZWxQaXBlLFxuICAgIEZpcnN0RXJyb3JQaXBlLFxuICAgIElzQ29tcG91bmRQaXBlLFxuICAgIElzTWFuZGF0b3J5UGlwZSxcbiAgICBJc1JlYWRPbmx5UGlwZSxcbiAgICBJc1JlYWRPbmx5QW5kTm90Q29sbGVjdGlvblBpcGUsXG4gICAgRGFzaFBpcGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBQYWxldHRlVXRpbHNNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './waystopay-field.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS93YXlzdG9wYXkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vd2F5c3RvcGF5LWZpZWxkLmNvbXBvbmVudCc7XG4iXX0=
|
|
@@ -0,0 +1,37 @@
|
|
|
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())("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());
|
|
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
|
+
}
|
|
24
|
+
WaysToPayFieldComponent.ɵfac = function WaysToPayFieldComponent_Factory(t) { return new (t || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(i1.AbstractAppConfig), i0.ɵɵdirectiveInject(i2.SessionStorageService)); };
|
|
25
|
+
WaysToPayFieldComponent.ɵcmp = 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", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 13, "ccpay-payment-lib", 0);
|
|
27
|
+
} if (rf & 2) {
|
|
28
|
+
i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
|
|
29
|
+
} }, directives: [i3.NgIf, i4.PaymentLibComponent], encapsulation: 2 });
|
|
30
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'ccd-ways-to-pay-field',
|
|
34
|
+
templateUrl: './waystopay-field.component.html'
|
|
35
|
+
}]
|
|
36
|
+
}], function () { return [{ type: i1.AbstractAppConfig }, { type: i2.SessionStorageService }]; }, null); })();
|
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H1cblxuICBwdWJsaWMgZ2V0Q2FyZFBheW1lbnRSZXR1cm5VcmwoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5hcHBDb25maWcuZ2V0UGF5bWVudFJldHVyblVybCgpO1xuICB9XG59XG4iLCI8Y2NwYXktcGF5bWVudC1saWIgKm5nSWY9XCJnZXRVc2VyUm9sZXMoKS5sZW5ndGggPiAwXCJcbiAgICBbQVBJX1JPT1RdPVwiZ2V0QmFzZVVSTCgpXCJcbiAgICBbQlVMS1NDQU5fQVBJX1JPT1RdPVwiZ2V0UGF5QnVsa1NjYW5CYXNlVVJMKClcIlxuICAgIFtSRUZVTkRTX0FQSV9ST09UXT1cImdldFJlZnVuZHNVcmwoKVwiXG4gICAgW0NDRF9DQVNFX05VTUJFUl09XCJjYXNlUmVmZXJlbmNlXCJcbiAgICBbVklFV109XCInY2FzZS10cmFuc2FjdGlvbnMnXCJcbiAgICBbVEFLRVBBWU1FTlRdPVwiZmFsc2VcIlxuICAgIFtTRVJWSUNFUkVRVUVTVF09XCJ0cnVlXCJcbiAgICBbUEFZTUVOVF9HUk9VUF9SRUZdPVwibnVsbFwiXG4gICAgW0VYQ19SRUZFUkVOQ0VdPVwiY2FzZVJlZmVyZW5jZVwiXG4gICAgW0RDTl9OVU1CRVJdPVwibnVsbFwiXG4gICAgW1NFTEVDVEVEX09QVElPTl09XCInQ0NEb3JFeGNlcHRpb24nXCJcbiAgICBbTE9HR0VESU5VU0VSUk9MRVNdPVwiZ2V0VXNlclJvbGVzKClcIlxuICAgIFtDQVJEUEFZTUVOVFJFVFVSTlVSTF09XCJnZXRDYXJkUGF5bWVudFJldHVyblVybCgpXCJcbj48L2NjcGF5LXBheW1lbnQtbGliPiJdfQ==
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './read-yes-no-field.component';
|
|
2
|
+
export * from './write-yes-no-field.component';
|
|
3
|
+
export * from './yes-no.service';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS95ZXMtbm8vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3JlYWQteWVzLW5vLWZpZWxkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3dyaXRlLXllcy1uby1maWVsZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi95ZXMtbm8uc2VydmljZSc7XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
export class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
|
|
7
|
+
constructor(yesNoService) {
|
|
8
|
+
super();
|
|
9
|
+
this.yesNoService = yesNoService;
|
|
10
|
+
}
|
|
11
|
+
ngOnInit() {
|
|
12
|
+
super.ngOnInit();
|
|
13
|
+
this.formattedValue = this.yesNoService.format(this.caseField.value);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(i1.YesNoService)); };
|
|
17
|
+
ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵelementStart(0, "span", 0);
|
|
19
|
+
i0.ɵɵtext(1);
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
i0.ɵɵadvance(1);
|
|
23
|
+
i0.ɵɵtextInterpolate(ctx.formattedValue);
|
|
24
|
+
} }, encapsulation: 2 });
|
|
25
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: 'ccd-read-yes-no-field',
|
|
29
|
+
template: `<span class="text-16">{{formattedValue}}</span>`
|
|
30
|
+
}]
|
|
31
|
+
}], function () { return [{ type: i1.YesNoService }]; }, null); })();
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC15ZXMtbm8tZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUveWVzLW5vL3JlYWQteWVzLW5vLWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTS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UmVhZFllc05vRmllbGRDb21wb25lbnQgZXh0ZW5kcyBBYnN0cmFjdEZpZWxkUmVhZENvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG5cbiAgcHVibGljIGZvcm1hdHRlZFZhbHVlOiBzdHJpbmc7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSB5ZXNOb1NlcnZpY2U6IFllc05vU2VydmljZSkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBwdWJsaWMgbmdPbkluaXQoKSB7XG4gICAgc3VwZXIubmdPbkluaXQoKTtcbiAgICB0aGlzLmZvcm1hdHRlZFZhbHVlID0gdGhpcy55ZXNOb1NlcnZpY2UuZm9ybWF0KHRoaXMuY2FzZUZpZWxkLnZhbHVlKTtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
|
|
4
|
+
import { YesNoService } from './yes-no.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./yes-no.service";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/forms";
|
|
9
|
+
import * as i4 from "../utils/field-label.pipe";
|
|
10
|
+
import * as i5 from "../utils/first-error.pipe";
|
|
11
|
+
function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
13
|
+
i0.ɵɵtext(1);
|
|
14
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
} if (rf & 2) {
|
|
17
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
18
|
+
i0.ɵɵadvance(1);
|
|
19
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
20
|
+
} }
|
|
21
|
+
function WriteYesNoFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
22
|
+
i0.ɵɵelementStart(0, "span", 8);
|
|
23
|
+
i0.ɵɵtext(1);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
} if (rf & 2) {
|
|
26
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
27
|
+
i0.ɵɵadvance(1);
|
|
28
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
29
|
+
} }
|
|
30
|
+
function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
31
|
+
i0.ɵɵelementStart(0, "span", 9);
|
|
32
|
+
i0.ɵɵtext(1);
|
|
33
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
37
|
+
i0.ɵɵadvance(1);
|
|
38
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label));
|
|
39
|
+
} }
|
|
40
|
+
const _c0 = function (a0) { return { selected: a0 }; };
|
|
41
|
+
function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵelementStart(0, "div", 10);
|
|
43
|
+
i0.ɵɵelement(1, "input", 11);
|
|
44
|
+
i0.ɵɵelementStart(2, "label", 12);
|
|
45
|
+
i0.ɵɵtext(3);
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
const value_r4 = ctx.$implicit;
|
|
50
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
51
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0, ctx_r3.yesNoControl.value === value_r4));
|
|
52
|
+
i0.ɵɵadvance(1);
|
|
53
|
+
i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
|
|
54
|
+
i0.ɵɵattribute("name", ctx_r3.id());
|
|
55
|
+
i0.ɵɵadvance(1);
|
|
56
|
+
i0.ɵɵproperty("for", ctx_r3.createElementId(value_r4));
|
|
57
|
+
i0.ɵɵadvance(1);
|
|
58
|
+
i0.ɵɵtextInterpolate(value_r4);
|
|
59
|
+
} }
|
|
60
|
+
const _c1 = function (a0) { return { "form-group-error": a0 }; };
|
|
61
|
+
export class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
|
|
62
|
+
constructor(yesNoService) {
|
|
63
|
+
super();
|
|
64
|
+
this.yesNoService = yesNoService;
|
|
65
|
+
this.yesNoValues = ['Yes', 'No'];
|
|
66
|
+
}
|
|
67
|
+
ngOnInit() {
|
|
68
|
+
this.yesNoControl = this.registerControl(new FormControl(this.yesNoService.format(this.caseField.value)));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
WriteYesNoFieldComponent.ɵfac = function WriteYesNoFieldComponent_Factory(t) { return new (t || WriteYesNoFieldComponent)(i0.ɵɵdirectiveInject(i1.YesNoService)); };
|
|
72
|
+
WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldComponent, selectors: [["ccd-write-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 9, consts: [[1, "form-group", "bottom-30", 3, "id", "ngClass"], [1, "inline"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "id"], ["class", "multiple-choice", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice", 3, "ngClass"], ["type", "radio", 1, "form-control", 3, "id", "name", "formControl", "value"], [1, "form-label", 3, "for"]], template: function WriteYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
74
|
+
i0.ɵɵelementStart(1, "fieldset", 1);
|
|
75
|
+
i0.ɵɵelementStart(2, "legend");
|
|
76
|
+
i0.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 3, 3, "span", 2);
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 2, 1, "span", 3);
|
|
79
|
+
i0.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 3, 4, "span", 4);
|
|
80
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
81
|
+
i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 4, 10, "div", 6);
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelementEnd();
|
|
85
|
+
} if (rf & 2) {
|
|
86
|
+
i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
|
|
87
|
+
i0.ɵɵadvance(3);
|
|
88
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
89
|
+
i0.ɵɵadvance(1);
|
|
90
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
91
|
+
i0.ɵɵadvance(1);
|
|
92
|
+
i0.ɵɵproperty("ngIf", ctx.yesNoControl.errors && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched));
|
|
93
|
+
i0.ɵɵadvance(1);
|
|
94
|
+
i0.ɵɵproperty("id", ctx.createElementId("radio"));
|
|
95
|
+
i0.ɵɵadvance(1);
|
|
96
|
+
i0.ɵɵproperty("ngForOf", ctx.yesNoValues);
|
|
97
|
+
} }, directives: [i2.NgClass, i2.NgIf, i2.NgForOf, i3.RadioControlValueAccessor, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective], pipes: [i4.FieldLabelPipe, i5.FirstErrorPipe], encapsulation: 2 });
|
|
98
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteYesNoFieldComponent, [{
|
|
99
|
+
type: Component,
|
|
100
|
+
args: [{
|
|
101
|
+
selector: 'ccd-write-yes-no-field',
|
|
102
|
+
templateUrl: './write-yes-no-field.html'
|
|
103
|
+
}]
|
|
104
|
+
}], function () { return [{ type: i1.YesNoService }]; }, null); })();
|
|
105
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUteWVzLW5vLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3llcy1uby93cml0ZS15ZXMtbm8tZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUveWVzLW5vL3dyaXRlLXllcy1uby1maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDhDQUE4QyxDQUFDO0FBQzNGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7Ozs7SUNFMUMsK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XCI+e3t5ZXNOb0NvbnRyb2wuZXJyb3JzIHwgY2NkRmlyc3RFcnJvcjpjYXNlRmllbGQubGFiZWx9fTwvc3Bhbj5cblxuICAgIDxkaXYgW2lkXT1cImNyZWF0ZUVsZW1lbnRJZCgncmFkaW8nKVwiPlxuXG4gIFx0ICA8ZGl2IGNsYXNzPVwibXVsdGlwbGUtY2hvaWNlXCIgKm5nRm9yPVwibGV0IHZhbHVlIG9mIHllc05vVmFsdWVzXCIgW25nQ2xhc3NdPVwie3NlbGVjdGVkOiB5ZXNOb0NvbnRyb2wudmFsdWUgPT09IHZhbHVlfVwiPlxuICBcdCAgICA8aW5wdXQgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIiBbaWRdPVwiY3JlYXRlRWxlbWVudElkKHZhbHVlKVwiIFthdHRyLm5hbWVdPVwiaWQoKVwiIFtuYW1lXT1cImlkKClcIiB0eXBlPVwicmFkaW9cIiBbZm9ybUNvbnRyb2xdPVwieWVzTm9Db250cm9sXCIgW3ZhbHVlXT1cInZhbHVlXCI+XG4gIFx0ICAgIDxsYWJlbCBjbGFzcz1cImZvcm0tbGFiZWxcIiBbZm9yXT1cImNyZWF0ZUVsZW1lbnRJZCh2YWx1ZSlcIj57e3ZhbHVlfX08L2xhYmVsPlxuICBcdCAgPC9kaXY+XG5cbiAgICA8L2Rpdj5cblxuXHQ8L2ZpZWxkc2V0PlxuXG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class YesNoService {
|
|
4
|
+
format(value) {
|
|
5
|
+
if (this.isYes(value)) {
|
|
6
|
+
return YesNoService.YES;
|
|
7
|
+
}
|
|
8
|
+
else if (this.isNo(value)) {
|
|
9
|
+
return YesNoService.NO;
|
|
10
|
+
}
|
|
11
|
+
return YesNoService.EMPTY;
|
|
12
|
+
}
|
|
13
|
+
isYes(value) {
|
|
14
|
+
switch (typeof (value)) {
|
|
15
|
+
case 'boolean':
|
|
16
|
+
return value;
|
|
17
|
+
case 'string':
|
|
18
|
+
return YesNoService.YES_INPUTS.indexOf(value.toUpperCase()) !== -1;
|
|
19
|
+
}
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
isNo(value) {
|
|
23
|
+
switch (typeof (value)) {
|
|
24
|
+
case 'boolean':
|
|
25
|
+
return !value;
|
|
26
|
+
case 'string':
|
|
27
|
+
return YesNoService.NO_INPUTS.indexOf(value.toUpperCase()) !== -1;
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
YesNoService.YES_INPUTS = [
|
|
33
|
+
'Y',
|
|
34
|
+
'YES'
|
|
35
|
+
];
|
|
36
|
+
YesNoService.NO_INPUTS = [
|
|
37
|
+
'N',
|
|
38
|
+
'NO'
|
|
39
|
+
];
|
|
40
|
+
YesNoService.YES = 'Yes';
|
|
41
|
+
YesNoService.NO = 'No';
|
|
42
|
+
YesNoService.EMPTY = null;
|
|
43
|
+
YesNoService.ɵfac = function YesNoService_Factory(t) { return new (t || YesNoService)(); };
|
|
44
|
+
YesNoService.ɵprov = i0.ɵɵdefineInjectable({ token: YesNoService, factory: YesNoService.ɵfac });
|
|
45
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(YesNoService, [{
|
|
46
|
+
type: Injectable
|
|
47
|
+
}], null, null); })();
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVzLW5vLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS95ZXMtbm8veWVzLW5vLnNlcnZpY2UudHMiXSwibmFtZXMiO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1QVFk7XG4gIH1cblxuICBwcml2YXRlIGlzWWVzKHZhbHVlOiBhbnkpOiBib29sZWFuIHtcbiAgICBzd2l0Y2ggKHR5cGVvZih2YWx1ZSkpIHtcbiAgICAgIGNhc2UgJ2Jvb2xlYW4nOlxuICAgICAgICByZXR1cm4gdmFsdWU7XG4gICAgICBjYXNlICdzdHJpbmcnOlxuICAgICAgICByZXR1cm4gWWVzTm9TZXJ2aWNlLllFU19JTlBVVFMuaW5kZXhPZih2YWx1ZS50b1VwcGVyQ2FzZSgpKSAhPT0gLTE7XG4gICAgfVxuXG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG5cbiAgcHJpdmF0ZSBpc05vKHZhbHVlOiBhbnkpOiBib29sZWFuIHtcbiAgICBzd2l0Y2ggKHR5cGVvZih2YWx1ZSkpIHtcbiAgICAgIGNhc2UgJ2Jvb2xlYW4nOlxuICAgICAgICByZXR1cm4gIXZhbHVlO1xuICAgICAgY2FzZSAnc3RyaW5nJzpcbiAgICAgICAgcmV0dXJuIFllc05vU2VydmljZS5OT19JTlBVVFMuaW5kZXhPZih2YWx1ZS50b1VwcGVyQ2FzZSgpKSAhPT0gLTE7XG4gICAgfVxuXG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './search-input.model';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvZG9tYWluL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlYXJjaC1pbnB1dC5tb2RlbCc7XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class SearchInput {
|
|
2
|
+
constructor(label, order, field, metadata, display_context_parameter) {
|
|
3
|
+
this.label = label;
|
|
4
|
+
this.order = order;
|
|
5
|
+
this.field = field;
|
|
6
|
+
this.metadata = metadata;
|
|
7
|
+
this.display_context_parameter = display_context_parameter;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWlucHV0Lm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3NlYXJjaC1maWx0ZXJzL2RvbWFpbi9zZWFyY2gtaW5wdXQubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxPQUFPLFdBQVc7SUFDcEIsWUFDUyxLQUFhLEVBQ2IsS0FBYSxFQUNiLEtBQVksRUFDWixRQUFrQixFQUNsQix5QkFBa0M7UUFKbEMsVUFBSyxHQUFMLEtBQUssQ0FBUTtRQUNiLFVBQUssR0FBTCxLQUFLLENBQVE7UUFDYixVQUFLLEdBQUwsS0FBSyxDQUFPO1FBQ1osYUFBUSxHQUFSLFFBQVEsQ0FBVTtRQUNsQiw4QkFBeUIsR0FBekIseUJBQXlCLENBQVM7SUFDM0MsQ0FBQztDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT3JkZXJhYmxlIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL29yZGVyL29yZGVyYWJsZS5tb2RlbCc7XG5pbXBvcnQgeyBGaWVsZCB9IGZyb20gJy4uLy4uLy4uL2RvbWFpbi9zZWFyY2gvZmllbGQubW9kZWwnO1xuXG5leHBvcnQgY2xhc3MgU2VhcmNoSW5wdXQgaW1wbGVtZW50cyBPcmRlcmFibGUge1xuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgcHVibGljIGxhYmVsOiBzdHJpbmcsXG4gICAgICBwdWJsaWMgb3JkZXI6IG51bWJlcixcbiAgICAgIHB1YmxpYyBmaWVsZDogRmllbGQsXG4gICAgICBwdWJsaWMgbWV0YWRhdGE/OiBib29sZWFuLFxuICAgICAgcHVibGljIGRpc3BsYXlfY29udGV4dF9wYXJhbWV0ZXI/OiBzdHJpbmcpIHtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './domain';
|
|
2
|
+
export * from './search-filters.component';
|
|
3
|
+
export * from './search-filters-wrapper.component';
|
|
4
|
+
export * from './search-filters.module';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RvbWFpbic7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1maWx0ZXJzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1maWx0ZXJzLXdyYXBwZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLWZpbHRlcnMubW9kdWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { READ_ACCESS } from '../../domain/case-view/access-types.model';
|
|
3
|
+
import { DefinitionsService } from '../../services/definitions/definitions.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../services/definitions/definitions.service";
|
|
6
|
+
function SearchFiltersWrapperComponent_ccd_search_filters_0_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
+
const _r2 = i0.ɵɵgetCurrentView();
|
|
8
|
+
i0.ɵɵelementStart(0, "ccd-search-filters", 1);
|
|
9
|
+
i0.ɵɵlistener("onApply", function SearchFiltersWrapperComponent_ccd_search_filters_0_Template_ccd_search_filters_onApply_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.onWrapperApply($event); })("onReset", function SearchFiltersWrapperComponent_ccd_search_filters_0_Template_ccd_search_filters_onReset_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onWrapperReset($event); })("onJuridiction", function SearchFiltersWrapperComponent_ccd_search_filters_0_Template_ccd_search_filters_onJuridiction_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.onWrapperJurisdiction($event); });
|
|
10
|
+
i0.ɵɵelementEnd();
|
|
11
|
+
} if (rf & 2) {
|
|
12
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
13
|
+
i0.ɵɵproperty("jurisdictions", ctx_r0.jurisdictions)("autoApply", ctx_r0.autoApply);
|
|
14
|
+
} }
|
|
15
|
+
export class SearchFiltersWrapperComponent {
|
|
16
|
+
constructor(definitionsService) {
|
|
17
|
+
this.definitionsService = definitionsService;
|
|
18
|
+
this.onApply = new EventEmitter();
|
|
19
|
+
this.onReset = new EventEmitter();
|
|
20
|
+
this.onJurisdiction = new EventEmitter();
|
|
21
|
+
}
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
this.isVisible = false;
|
|
24
|
+
this.definitionsService.getJurisdictions(READ_ACCESS)
|
|
25
|
+
.subscribe(jurisdictions => {
|
|
26
|
+
this.isVisible = true;
|
|
27
|
+
this.jurisdictions = jurisdictions;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
onWrapperApply(value) {
|
|
31
|
+
this.onApply.emit(value);
|
|
32
|
+
}
|
|
33
|
+
onWrapperReset(value) {
|
|
34
|
+
this.onReset.emit(value);
|
|
35
|
+
}
|
|
36
|
+
onWrapperJurisdiction(value) {
|
|
37
|
+
this.onJurisdiction.emit(value);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
SearchFiltersWrapperComponent.ɵfac = function SearchFiltersWrapperComponent_Factory(t) { return new (t || SearchFiltersWrapperComponent)(i0.ɵɵdirectiveInject(i1.DefinitionsService)); };
|
|
41
|
+
SearchFiltersWrapperComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchFiltersWrapperComponent, selectors: [["ccd-search-filters-wrapper"]], inputs: { autoApply: "autoApply" }, outputs: { onApply: "onApply", onReset: "onReset", onJurisdiction: "onJurisdiction" }, decls: 1, vars: 1, consts: [[3, "jurisdictions", "autoApply", "onApply", "onReset", "onJuridiction", 4, "ngIf"], [3, "jurisdictions", "autoApply", "onApply", "onReset", "onJuridiction"]], template: function SearchFiltersWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵtemplate(0, SearchFiltersWrapperComponent_ccd_search_filters_0_Template, 1, 2, "ccd-search-filters", 0);
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
i0.ɵɵproperty("ngIf", ctx.isVisible);
|
|
45
|
+
} }, encapsulation: 2 });
|
|
46
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchFiltersWrapperComponent, [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{
|
|
49
|
+
selector: 'ccd-search-filters-wrapper',
|
|
50
|
+
templateUrl: './search-filters-wrapper.component.html',
|
|
51
|
+
}]
|
|
52
|
+
}], function () { return [{ type: i1.DefinitionsService }]; }, { autoApply: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], onApply: [{
|
|
55
|
+
type: Output
|
|
56
|
+
}], onReset: [{
|
|
57
|
+
type: Output
|
|
58
|
+
}], onJurisdiction: [{
|
|
59
|
+
type: Output
|
|
60
|
+
}] }); })();
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWZpbHRlcnMtd3JhcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvc2VhcmNoLWZpbHRlcnMtd3JhcHBlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvc2VhcmNoLWZpbHRlcnMtd3JhcHBlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUV4RSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQzs7Ozs7SUNIcEYsNkNBT0M7SUFIRyxn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