@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,25 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../pipes/case-reference/case-reference.pipe";
|
|
5
|
+
export class ReadNumberFieldComponent extends AbstractFieldReadComponent {
|
|
6
|
+
}
|
|
7
|
+
ReadNumberFieldComponent.ɵfac = function ReadNumberFieldComponent_Factory(t) { return ɵReadNumberFieldComponent_BaseFactory(t || ReadNumberFieldComponent); };
|
|
8
|
+
ReadNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadNumberFieldComponent, selectors: [["ccd-read-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[1, "text-16"]], template: function ReadNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelementStart(0, "span", 0);
|
|
10
|
+
i0.ɵɵtext(1);
|
|
11
|
+
i0.ɵɵpipe(2, "ccdCaseReference");
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
i0.ɵɵadvance(1);
|
|
15
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx.caseField.value));
|
|
16
|
+
} }, pipes: [i1.CaseReferencePipe], encapsulation: 2 });
|
|
17
|
+
const ɵReadNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadNumberFieldComponent);
|
|
18
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadNumberFieldComponent, [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{
|
|
21
|
+
selector: 'ccd-read-number-field',
|
|
22
|
+
template: `<span class="text-16">{{caseField.value | ccdCaseReference}}</span>`
|
|
23
|
+
}]
|
|
24
|
+
}], null, null); })();
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1udW1iZXItZmllbGQuY29tcG9uZW50LmpzIiw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XNzIFJlYWROdW1iZXJGaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0RmllbGRSZWFkQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
3
|
+
import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../utils/field-label.pipe";
|
|
8
|
+
import * as i4 from "../utils/first-error.pipe";
|
|
9
|
+
function WriteNumberFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
11
|
+
i0.ɵɵtext(1);
|
|
12
|
+
i0.ɵɵpipe(2, "ccdFieldLabel");
|
|
13
|
+
i0.ɵɵelementEnd();
|
|
14
|
+
} if (rf & 2) {
|
|
15
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
|
+
i0.ɵɵadvance(1);
|
|
17
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
|
|
18
|
+
} }
|
|
19
|
+
function WriteNumberFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
21
|
+
i0.ɵɵtext(1);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
} if (rf & 2) {
|
|
24
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
25
|
+
i0.ɵɵadvance(1);
|
|
26
|
+
i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
|
|
27
|
+
} }
|
|
28
|
+
function WriteNumberFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
29
|
+
i0.ɵɵelementStart(0, "span", 8);
|
|
30
|
+
i0.ɵɵtext(1);
|
|
31
|
+
i0.ɵɵpipe(2, "ccdFirstError");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
} if (rf & 2) {
|
|
34
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
35
|
+
i0.ɵɵadvance(1);
|
|
36
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.numberControl.errors, ctx_r2.caseField.label));
|
|
37
|
+
} }
|
|
38
|
+
const _c0 = function (a0) { return { "form-group-error": a0 }; };
|
|
39
|
+
const _c1 = function (a0) { return { "govuk-input--error": a0 }; };
|
|
40
|
+
export class WriteNumberFieldComponent extends AbstractFieldWriteComponent {
|
|
41
|
+
ngOnInit() {
|
|
42
|
+
this.numberControl = this.registerControl(new FormControl(this.caseField.value));
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
WriteNumberFieldComponent.ɵfac = function WriteNumberFieldComponent_Factory(t) { return ɵWriteNumberFieldComponent_BaseFactory(t || WriteNumberFieldComponent); };
|
|
46
|
+
WriteNumberFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteNumberFieldComponent, selectors: [["ccd-write-number-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 12, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "number", 1, "form-control", "bottom-30", 3, "ngClass", "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteNumberFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
48
|
+
i0.ɵɵelementStart(1, "label", 1);
|
|
49
|
+
i0.ɵɵtemplate(2, WriteNumberFieldComponent_span_2_Template, 3, 3, "span", 2);
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
i0.ɵɵtemplate(3, WriteNumberFieldComponent_span_3_Template, 2, 1, "span", 3);
|
|
52
|
+
i0.ɵɵtemplate(4, WriteNumberFieldComponent_span_4_Template, 3, 4, "span", 4);
|
|
53
|
+
i0.ɵɵelement(5, "input", 5);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0, !ctx.numberControl.valid && ctx.numberControl.dirty));
|
|
57
|
+
i0.ɵɵadvance(1);
|
|
58
|
+
i0.ɵɵproperty("for", ctx.id());
|
|
59
|
+
i0.ɵɵadvance(1);
|
|
60
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.label);
|
|
61
|
+
i0.ɵɵadvance(1);
|
|
62
|
+
i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
|
|
63
|
+
i0.ɵɵadvance(1);
|
|
64
|
+
i0.ɵɵproperty("ngIf", ctx.numberControl.errors && ctx.numberControl.dirty);
|
|
65
|
+
i0.ɵɵadvance(1);
|
|
66
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.numberControl.errors && ctx.numberControl.dirty))("id", ctx.id())("formControl", ctx.numberControl);
|
|
67
|
+
} }, directives: [i1.NgClass, i1.NgIf, i2.NumberValueAccessor, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.FieldLabelPipe, i4.FirstErrorPipe], encapsulation: 2 });
|
|
68
|
+
const ɵWriteNumberFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteNumberFieldComponent);
|
|
69
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteNumberFieldComponent, [{
|
|
70
|
+
type: Component,
|
|
71
|
+
args: [{
|
|
72
|
+
selector: 'ccd-write-number-field',
|
|
73
|
+
templateUrl: './write-number-field.html'
|
|
74
|
+
}]
|
|
75
|
+
}], null, null); })();
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,ey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Db250cm9sLmRpcnR5fVwiXG4gICBbaWRdPVwiaWQoKVwiIHR5cGU9XCJudW1iZXJcIiBbZm9ybUNvbnRyb2xdPVwibnVtYmVyQ29udHJvbFwiPlxuXG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export class FeeValue {
|
|
2
|
+
}
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlLXZhbHVlLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvb3JkZXItc3VtbWFyeS9mZWUtdmFsdWUubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLFFBQVE7Q0FFcEIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGZWUgfSBmcm9tICcuL2ZlZS5tb2RlbCc7XG5cbmV4cG9ydCBjbGFzcyBGZWVWYWx1ZSB7XG4gICAgcHVibGljIHZhbHVlOiBGZWU7XG59XG4iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export class Fee {
|
|
2
|
+
}
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvb3JkZXItc3VtbWFyeS9mZWUubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLEdBQUc7Q0FLZiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBGZWUge1xuICAgIHB1YmxpYyBGZWVDb2RlOiBzdHJpbmc7XG4gICAgcHVibGljIEZlZUFtb3VudDogc3RyaW5nO1xuICAgIHB1YmxpYyBGZWVEZXNjcmlwdGlvbj86IHN0cmluZztcbiAgICBwdWJsaWMgRmVlVmVyc2lvbjogc3RyaW5nO1xufVxuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './fee-value.model';
|
|
2
|
+
export * from './fee.model';
|
|
3
|
+
export * from './order-summary.model';
|
|
4
|
+
export * from './read-order-summary-field.component';
|
|
5
|
+
export * from './read-order-summary-row.component';
|
|
6
|
+
export * from './write-order-summary-field.component';
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9vcmRlci1zdW1tYXJ5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZmVlLXZhbHVlLm1vZGVsJztcbmV4cG9ydCAqIGZyb20gJy4vZmVlLm1vZGVsJztcbmV4cG9ydCAqIGZyb20gJy4vb3JkZXItc3VtbWFyeS5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL3JlYWQtb3JkZXItc3VtbWFyeS1maWVsZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yZWFkLW9yZGVyLXN1bW1hcnktcm93LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3dyaXRlLW9yZGVyLXN1bW1hcnktZmllbGQuY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export class OrderSummary {
|
|
2
|
+
}
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXItc3VtbWFyeS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL29yZGVyLXN1bW1hcnkvb3JkZXItc3VtbWFyeS5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sWUFBWTtDQUl4QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEZlZVZhbHVlIH0gZnJvbSAnLi9mZWUtdmFsdWUubW9kZWwnO1xuXG5leHBvcnQgY2xhc3MgT3JkZXJTdW1tYXJ5IHtcbiAgICBwdWJsaWMgUGF5bWVudFJlZmVyZW5jZTogc3RyaW5nO1xuICAgIHB1YmxpYyBGZWVzOiBGZWVWYWx1ZVtdO1xuICAgIHB1YmxpYyBQYXltZW50VG90YWw6IHN0cmluZztcbn1cbiJdfQ==
|
package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-field.component.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../money-gbp/read-money-gbp-field.component";
|
|
6
|
+
import * as i3 from "./read-order-summary-row.component";
|
|
7
|
+
function ReadOrderSummaryFieldComponent_tr_13_Template(rf, ctx) { if (rf & 1) {
|
|
8
|
+
i0.ɵɵelement(0, "tr", 6);
|
|
9
|
+
} if (rf & 2) {
|
|
10
|
+
const feeValue_r1 = ctx.$implicit;
|
|
11
|
+
i0.ɵɵproperty("feeValue", feeValue_r1);
|
|
12
|
+
} }
|
|
13
|
+
export class ReadOrderSummaryFieldComponent extends AbstractFieldReadComponent {
|
|
14
|
+
getFees() {
|
|
15
|
+
return this.caseField.value ? this.caseField.value.Fees : [];
|
|
16
|
+
}
|
|
17
|
+
getPaymentTotal() {
|
|
18
|
+
return this.caseField.value ? this.caseField.value.PaymentTotal : '';
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
ReadOrderSummaryFieldComponent.ɵfac = function ReadOrderSummaryFieldComponent_Factory(t) { return ɵReadOrderSummaryFieldComponent_BaseFactory(t || ReadOrderSummaryFieldComponent); };
|
|
22
|
+
ReadOrderSummaryFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadOrderSummaryFieldComponent, selectors: [["ccd-read-order-summary-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 20, vars: 2, consts: [[1, "order-summary-title"], ["aria-describedby", "order summary table"], ["id", "hiddenHeader", 2, "display", "none"], ["ccdReadOrderSummaryRow", "", 3, "feeValue", 4, "ngFor", "ngForOf"], [1, "payment-total"], [3, "amount"], ["ccdReadOrderSummaryRow", "", 3, "feeValue"]], template: function ReadOrderSummaryFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
24
|
+
i0.ɵɵtext(1, "Order Summary");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(2, "table", 1);
|
|
27
|
+
i0.ɵɵelementStart(3, "thead");
|
|
28
|
+
i0.ɵɵelementStart(4, "tr");
|
|
29
|
+
i0.ɵɵelement(5, "th", 2);
|
|
30
|
+
i0.ɵɵelementStart(6, "td");
|
|
31
|
+
i0.ɵɵtext(7, "Code");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(8, "td");
|
|
34
|
+
i0.ɵɵtext(9, "Description");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementStart(10, "td");
|
|
37
|
+
i0.ɵɵtext(11, "Amount");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
i0.ɵɵelementStart(12, "tbody");
|
|
42
|
+
i0.ɵɵtemplate(13, ReadOrderSummaryFieldComponent_tr_13_Template, 1, 1, "tr", 3);
|
|
43
|
+
i0.ɵɵelementStart(14, "tr");
|
|
44
|
+
i0.ɵɵelement(15, "td");
|
|
45
|
+
i0.ɵɵelementStart(16, "td", 4);
|
|
46
|
+
i0.ɵɵtext(17, "Total");
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
i0.ɵɵelementStart(18, "td");
|
|
49
|
+
i0.ɵɵelement(19, "ccd-read-money-gbp-field", 5);
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵelementEnd();
|
|
53
|
+
i0.ɵɵelementEnd();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
i0.ɵɵadvance(13);
|
|
56
|
+
i0.ɵɵproperty("ngForOf", ctx.getFees());
|
|
57
|
+
i0.ɵɵadvance(6);
|
|
58
|
+
i0.ɵɵproperty("amount", ctx.getPaymentTotal());
|
|
59
|
+
} }, directives: [i1.NgForOf, i2.ReadMoneyGbpFieldComponent, i3.ReadOrderSummaryRowComponent], styles: [".order-summary-title[_ngcontent-%COMP%]{border:0;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:18px;line-height:1.2}@media (min-width:641px){.order-summary-title[_ngcontent-%COMP%]{font-size:24px;line-height:1.25}}table[_ngcontent-%COMP%]{margin-bottom:23px}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{margin:0;border-bottom:1px solid #0b0c0c;padding-top:41px;padding-bottom:36px;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:14px;line-height:1.1428571429}@media (min-width:641px){table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;line-height:1.25}}table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){text-align:right}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px;margin:0;border-bottom:1px solid #0b0c0c;font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:14px;line-height:1.1428571429}@media (min-width:641px){table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:16px;line-height:1.25}}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{width:20px}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(2){width:70%}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(3){text-align:right;width:10%}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]:first-child{border-bottom:0}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]:nth-child(2){font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:14px;line-height:1.1428571429;text-align:right;border-bottom:0}@media (min-width:641px){table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child td[_ngcontent-%COMP%]:nth-child(2){font-size:16px;line-height:1.25}}"] });
|
|
60
|
+
const ɵReadOrderSummaryFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadOrderSummaryFieldComponent);
|
|
61
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrderSummaryFieldComponent, [{
|
|
62
|
+
type: Component,
|
|
63
|
+
args: [{
|
|
64
|
+
selector: 'ccd-read-order-summary-field',
|
|
65
|
+
templateUrl: './read-order-summary-field.html',
|
|
66
|
+
styleUrls: [
|
|
67
|
+
'./read-order-summary-field.scss'
|
|
68
|
+
],
|
|
69
|
+
}]
|
|
70
|
+
}], null, null); })();
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1vcmRlci1zdW1tYXJ5LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL29yZGVyLXN1bW1hcnkvcmVhZC1vcmRlci1zdW1tYXJ5LWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL29yZGVyLXN1bW1hcnkvcmVhZC1vcmRlci1zdW1tYXJ5LWZpZWxkLm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ICB9XG5cbiAgcHVibGljIGdldFBheW1lbnRUb3RhbCgpOiBzdHJpbmcge1xuICAgIHJldHVybiB0aGlzLmNhc2VGaWVsZC52YWx1ZSA/IHRoaXMuY2FzZUZpZWxkLnZhbHVlLlBheW1lbnRUb3RhbCA6ICcnO1xuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwib3JkZXItc3VtbWFyeS10aXRsZVwiPk9yZGVyIFN1bW1hcnk8L2Rpdj5cbjx0YWJsZSBhcmlhLWRlc2NyaWJlZGJ5PVwib3JkZXIgc3VtbWFyeSB0YWJsZVwiPlxuICAgIDx0aGVhZD5cbiAgICAgIDx0cj48dGggaWQ9XCJoaWRkZW5IZWFkZXJcIiBzdHlsZT1cImRpc3BsYXk6IG5vbmU7XCI+PC90aD48dGQ+Q29kZTwvdGQ+PHRkPkRlc2NyaXB0aW9uPC90ZD48dGQ+QW1vdW50PC90ZD48L3RyPlxuICAgIDwvdGhlYWQ+XG4gICAgPHRib2R5PlxuICAgICAgICA8dHIgY2NkUmVhZE9yZGVyU3VtbWFyeVJvdyAqbmdGb3I9XCJsZXQgZmVlVmFsdWUgb2YgZ2V0RmVlcygpXCIgW2ZlZVZhbHVlXT1cImZlZVZhbHVlXCI+PC90cj5cbiAgICAgICAgPHRyPlxuICAgICAgICAgICAgPHRkPjwvdGQ+XG4gICAgICAgICAgICA8dGQgY2xhc3M9XCJwYXltZW50LXRvdGFsXCI+VG90YWw8L3RkPlxuICAgICAgICAgICAgPHRkPjxjY2QtcmVhZC1tb25leS1nYnAtZmllbGQgW2Ftb3VudF09XCJnZXRQYXltZW50VG90YWwoKVwiPjwvY2NkLXJlYWQtbW9uZXktZ2JwLWZpZWxkPjwvdGQ+XG4gICAgICAgIDwvdHI+XG4gICAgPC90Ym9keT5cbjwvdGFibGU+XG4iXX0=
|
package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-row.component.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
3
|
+
import { FeeValue } from './fee-value.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../money-gbp/read-money-gbp-field.component";
|
|
6
|
+
const _c0 = ["ccdReadOrderSummaryRow", ""];
|
|
7
|
+
export class ReadOrderSummaryRowComponent extends AbstractFieldReadComponent {
|
|
8
|
+
ngOnInit() {
|
|
9
|
+
// We don't want to register this if we don't have a caseField
|
|
10
|
+
if (this.caseField) {
|
|
11
|
+
super.ngOnInit();
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
getFeeAmount() {
|
|
15
|
+
return this.feeValue.value ? this.feeValue.value.FeeAmount : '';
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
ReadOrderSummaryRowComponent.ɵfac = function ReadOrderSummaryRowComponent_Factory(t) { return ɵReadOrderSummaryRowComponent_BaseFactory(t || ReadOrderSummaryRowComponent); };
|
|
19
|
+
ReadOrderSummaryRowComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadOrderSummaryRowComponent, selectors: [["", "ccdReadOrderSummaryRow", ""]], inputs: { feeValue: "feeValue" }, features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 6, vars: 3, consts: [[3, "amount"]], template: function ReadOrderSummaryRowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelementStart(0, "td");
|
|
21
|
+
i0.ɵɵtext(1);
|
|
22
|
+
i0.ɵɵelementEnd();
|
|
23
|
+
i0.ɵɵelementStart(2, "td");
|
|
24
|
+
i0.ɵɵtext(3);
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(4, "td");
|
|
27
|
+
i0.ɵɵelement(5, "ccd-read-money-gbp-field", 0);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
i0.ɵɵadvance(1);
|
|
31
|
+
i0.ɵɵtextInterpolate(ctx.feeValue.value.FeeCode);
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵtextInterpolate(ctx.feeValue.value.FeeDescription);
|
|
34
|
+
i0.ɵɵadvance(2);
|
|
35
|
+
i0.ɵɵproperty("amount", ctx.getFeeAmount());
|
|
36
|
+
} }, directives: [i1.ReadMoneyGbpFieldComponent], styles: ["td[_ngcontent-%COMP%]{padding-top:12px;padding-bottom:12px;margin:0;border-bottom:1px solid #0b0c0c;font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:14px;line-height:1.1428571429}@media (min-width:641px){td[_ngcontent-%COMP%]{font-size:16px;line-height:1.25}}td[_ngcontent-%COMP%]:first-child{width:20px}td[_ngcontent-%COMP%]:nth-child(2){width:70%}td[_ngcontent-%COMP%]:nth-child(3){text-align:right;width:10%}"] });
|
|
37
|
+
const ɵReadOrderSummaryRowComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadOrderSummaryRowComponent);
|
|
38
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrderSummaryRowComponent, [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{
|
|
41
|
+
// tslint:disable-next-line
|
|
42
|
+
selector: '[ccdReadOrderSummaryRow]',
|
|
43
|
+
templateUrl: './read-order-summary-row.html',
|
|
44
|
+
styleUrls: [
|
|
45
|
+
'./read-order-summary-row.scss'
|
|
46
|
+
],
|
|
47
|
+
}]
|
|
48
|
+
}], null, { feeValue: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}] }); })();
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1vcmRlci1zdW1tYXJ5LXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9j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1ZTtcblxuICBwdWJsaWMgbmdPbkluaXQoKSB7XG4gICAgLy8gV2UgZG9uJ3Qgd2FudCB0byByZWdpc3RlciB0aGlzIGlmIHdlIGRvbid0IGhhdmUgYSBjYXNlRmllbGRcbiAgICBpZiAodGhpcy5jYXNlRmllbGQpIHtcbiAgICAgIHN1cGVyLm5nT25Jbml0KCk7XG4gICAgfVxuICB9XG5cbiAgcHVibGljIGdldEZlZUFtb3VudCgpOiBzdHJpbmcge1xuICAgIHJldHVybiB0aGlzLmZlZVZhbHVlLnZhbHVlID8gdGhpcy5mZWVWYWx1ZS52YWx1ZS5GZWVBbW91bnQgOiAnJztcbiAgfVxufVxuIiwiPHRkPnt7ZmVlVmFsdWUudmFsdWUuRmVlQ29kZX19PC90ZD5cbjx0ZD57e2ZlZVZhbHVlLnZhbHVlLkZlZURlc2NyaXB0aW9ufX08L3RkPlxuPHRkPjxjY2QtcmVhZC1tb25leS1nYnAtZmllbGQgW2Ftb3VudF09XCJnZXRGZWVBbW91bnQoKVwiPjwvY2NkLXJlYWQtbW9uZXktZ2JwLWZpZWxkPjwvdGQ+Il19
|
package/esm2015/lib/shared/components/palette/order-summary/write-order-summary-field.component.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { FormArray, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./read-order-summary-field.component";
|
|
6
|
+
export class WriteOrderSummaryFieldComponent extends AbstractFieldWriteComponent {
|
|
7
|
+
/*
|
|
8
|
+
These are implemented manually rather than using WriteComplexFieldComponent. The reason
|
|
9
|
+
is because the view is readonly the tree of form controls is not being built automatically
|
|
10
|
+
and has to be built manually.
|
|
11
|
+
*/
|
|
12
|
+
ngOnInit() {
|
|
13
|
+
const orderSummaryGroup = this.registerControl(new FormGroup({}), true);
|
|
14
|
+
const paymentReference = new FormControl(this.caseField.value.PaymentReference);
|
|
15
|
+
orderSummaryGroup.addControl('PaymentReference', paymentReference);
|
|
16
|
+
const paymentTotal = new FormControl(this.caseField.value.PaymentTotal);
|
|
17
|
+
orderSummaryGroup.addControl('PaymentTotal', paymentTotal);
|
|
18
|
+
const feesArray = new FormArray([]);
|
|
19
|
+
this.caseField.value.Fees.forEach((fee) => {
|
|
20
|
+
feesArray.push(this.getFeeValue(fee.value));
|
|
21
|
+
});
|
|
22
|
+
orderSummaryGroup.addControl('Fees', feesArray);
|
|
23
|
+
}
|
|
24
|
+
getFeeValue(feeValue) {
|
|
25
|
+
const feeGroup = new FormGroup({});
|
|
26
|
+
feeGroup.addControl('FeeCode', new FormControl(feeValue.FeeCode));
|
|
27
|
+
feeGroup.addControl('FeeAmount', new FormControl(feeValue.FeeAmount));
|
|
28
|
+
feeGroup.addControl('FeeDescription', new FormControl(feeValue.FeeDescription));
|
|
29
|
+
feeGroup.addControl('FeeVersion', new FormControl(feeValue.FeeVersion));
|
|
30
|
+
const feeValueGroup = new FormGroup({});
|
|
31
|
+
feeValueGroup.addControl('value', feeGroup);
|
|
32
|
+
return feeValueGroup;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
WriteOrderSummaryFieldComponent.ɵfac = function WriteOrderSummaryFieldComponent_Factory(t) { return ɵWriteOrderSummaryFieldComponent_BaseFactory(t || WriteOrderSummaryFieldComponent); };
|
|
36
|
+
WriteOrderSummaryFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteOrderSummaryFieldComponent, selectors: [["ccd-write-order-summary-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "caseField"]], template: function WriteOrderSummaryFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
+
i0.ɵɵelement(0, "ccd-read-order-summary-field", 0);
|
|
38
|
+
} if (rf & 2) {
|
|
39
|
+
i0.ɵɵproperty("caseField", ctx.caseField);
|
|
40
|
+
} }, directives: [i1.ReadOrderSummaryFieldComponent], encapsulation: 2 });
|
|
41
|
+
const ɵWriteOrderSummaryFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteOrderSummaryFieldComponent);
|
|
42
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteOrderSummaryFieldComponent, [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: 'ccd-write-order-summary-field',
|
|
46
|
+
templateUrl: './write-order-summary-field.html'
|
|
47
|
+
}]
|
|
48
|
+
}], null, null); })();
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtb3JkZXItc3VtbWFyeS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9vcmRlci1zdW1tYXJ5L3dyaXRlLW9yZGVyLXN1bW1hcnktZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvb3JkZXItc3VtbWFyeS93cml0ZS1vcmRlci1zdW1tYXJ5LWZpZWxkLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNuRSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBT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xuICAgIGNvbnN0IGZlZVZhbHVlR3JvdXAgPSBuZXcgRm9ybUdyb3VwKHt9KTtcbiAgICBmZWVWYWx1ZUdyb3VwLmFkZENvbnRyb2woJ3ZhbHVlJywgZmVlR3JvdXApO1xuICAgIHJldHVybiBmZWVWYWx1ZUdyb3VwO1xuICB9XG5cbn1cbiIsIjxjY2QtcmVhZC1vcmRlci1zdW1tYXJ5LWZpZWxkIFtjYXNlRmllbGRdPVwiY2FzZUZpZWxkXCI+PC9jY2QtcmVhZC1vcmRlci1zdW1tYXJ5LWZpZWxkPlxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './read-organisation-field.component';
|
|
2
|
+
export * from './read-organisation-field-raw.component';
|
|
3
|
+
export * from './read-organisation-field-table.component';
|
|
4
|
+
export * from './write-organisation-field.component';
|
|
5
|
+
export * from './write-organisation-complex-field.component';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9vcmdhbmlzYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLDhDQUE4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZWFkLW9yZ2FuaXNhdGlvbi1maWVsZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9yZWFkLW9yZ2FuaXNhdGlvbi1maWVsZC1yYXcuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmVhZC1vcmdhbmlzYXRpb24tZmllbGQtdGFibGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vd3JpdGUtb3JnYW5pc2F0aW9uLWZpZWxkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3dyaXRlLW9yZ2FuaXNhdGlvbi1jb21wbGV4LWZpZWxkLmNvbXBvbmVudCc7XG4iXX0=
|
package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-raw.component.js
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { of } from 'rxjs';
|
|
3
|
+
import { switchMap } from 'rxjs/operators';
|
|
4
|
+
import { OrganisationConverter } from '../../../domain/organisation/organisation-converter';
|
|
5
|
+
import { OrganisationService } from '../../../services/organisation/organisation.service';
|
|
6
|
+
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../../services/organisation/organisation.service";
|
|
9
|
+
import * as i2 from "../../../domain/organisation/organisation-converter";
|
|
10
|
+
import * as i3 from "@angular/common";
|
|
11
|
+
import * as i4 from "../markdown/markdown.component";
|
|
12
|
+
function ReadOrganisationFieldRawComponent_table_6_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "table", 4);
|
|
14
|
+
i0.ɵɵelementStart(1, "tr", 5);
|
|
15
|
+
i0.ɵɵelement(2, "th", 2);
|
|
16
|
+
i0.ɵɵelementStart(3, "td", 6);
|
|
17
|
+
i0.ɵɵelementStart(4, "span", 7);
|
|
18
|
+
i0.ɵɵtext(5, "Name:");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelementStart(6, "td");
|
|
22
|
+
i0.ɵɵelementStart(7, "span", 7);
|
|
23
|
+
i0.ɵɵtext(8);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(9, "tr", 5);
|
|
28
|
+
i0.ɵɵelement(10, "th", 2);
|
|
29
|
+
i0.ɵɵelementStart(11, "td", 6);
|
|
30
|
+
i0.ɵɵelementStart(12, "span", 7);
|
|
31
|
+
i0.ɵɵtext(13, "Address:");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(14, "td");
|
|
35
|
+
i0.ɵɵelement(15, "ccd-markdown", 8);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
const selectedOrg_r1 = ctx.ngIf;
|
|
41
|
+
i0.ɵɵadvance(8);
|
|
42
|
+
i0.ɵɵtextInterpolate(selectedOrg_r1.name);
|
|
43
|
+
i0.ɵɵadvance(7);
|
|
44
|
+
i0.ɵɵproperty("content", selectedOrg_r1.address);
|
|
45
|
+
} }
|
|
46
|
+
export class ReadOrganisationFieldRawComponent extends AbstractFieldReadComponent {
|
|
47
|
+
constructor(organisationService, organisationConverter) {
|
|
48
|
+
super();
|
|
49
|
+
this.organisationService = organisationService;
|
|
50
|
+
this.organisationConverter = organisationConverter;
|
|
51
|
+
this.caseFields = [];
|
|
52
|
+
}
|
|
53
|
+
ngOnInit() {
|
|
54
|
+
super.ngOnInit();
|
|
55
|
+
if (this.caseField.value && this.caseField.value.OrganisationID) {
|
|
56
|
+
this.organisations$ = this.organisationService.getActiveOrganisations();
|
|
57
|
+
this.selectedOrg$ = this.organisations$.pipe(switchMap((organisations) => of(this.organisationConverter.toSimpleOrganisationModel(organisations.find(findOrg => findOrg.organisationIdentifier === this.caseField.value.OrganisationID)))));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
ReadOrganisationFieldRawComponent.ɵfac = function ReadOrganisationFieldRawComponent_Factory(t) { return new (t || ReadOrganisationFieldRawComponent)(i0.ɵɵdirectiveInject(i1.OrganisationService), i0.ɵɵdirectiveInject(i2.OrganisationConverter)); };
|
|
62
|
+
ReadOrganisationFieldRawComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadOrganisationFieldRawComponent, selectors: [["ccd-read-organisation-field-raw"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 3, consts: [[1, "complex-panel"], ["aria-describedby", "complex organisation field table", 1, "complex-field-table"], [2, "display", "none"], ["class", "complex-field-table", "aria-describedby", "complex selected organisation field table", 4, "ngIf"], ["aria-describedby", "complex selected organisation field table", 1, "complex-field-table"], [1, "complex-panel-compound-field"], [1, "label-width-small"], [1, "text-16"], [3, "content"]], template: function ReadOrganisationFieldRawComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵelementStart(1, "table", 1);
|
|
65
|
+
i0.ɵɵelementStart(2, "tbody");
|
|
66
|
+
i0.ɵɵelementStart(3, "tr");
|
|
67
|
+
i0.ɵɵelement(4, "th", 2);
|
|
68
|
+
i0.ɵɵelementStart(5, "td");
|
|
69
|
+
i0.ɵɵtemplate(6, ReadOrganisationFieldRawComponent_table_6_Template, 16, 2, "table", 3);
|
|
70
|
+
i0.ɵɵpipe(7, "async");
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
i0.ɵɵadvance(6);
|
|
78
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(7, 1, ctx.selectedOrg$));
|
|
79
|
+
} }, directives: [i3.NgIf, i4.MarkdownComponent], pipes: [i3.AsyncPipe], styles: [".hmcts-banner[_ngcontent-%COMP%]{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{font-weight:700}.govuk-hint[_ngcontent-%COMP%]{font-size:1.1rem}.name-header[_ngcontent-%COMP%]{font-weight:700;margin-top:10px;font-size:18px}.td-address[_ngcontent-%COMP%]{width:90%;padding-top:2px}.td-select[_ngcontent-%COMP%]{width:10%}.warning-panel[_ngcontent-%COMP%]{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{padding-left:15px}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{border:none}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%], .complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%]{border-bottom:none}.complex-field-title[_ngcontent-%COMP%]{width:300px}.label-width-small[_ngcontent-%COMP%]{width:100px}.label-width-medium[_ngcontent-%COMP%]{width:150px}.scroll-container[_ngcontent-%COMP%]{height:600px;overflow-y:scroll}.no-result-message[_ngcontent-%COMP%]{margin-top:15px}"] });
|
|
80
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrganisationFieldRawComponent, [{
|
|
81
|
+
type: Component,
|
|
82
|
+
args: [{
|
|
83
|
+
selector: 'ccd-read-organisation-field-raw',
|
|
84
|
+
templateUrl: './read-organisation-field-raw.component.html',
|
|
85
|
+
styleUrls: ['./organisation-field.scss']
|
|
86
|
+
}]
|
|
87
|
+
}], function () { return [{ type: i1.OrganisationService }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gICAgIDxjY2QtbWFya2Rvd24gW2NvbnRlbnRdPVwic2VsZWN0ZWRPcmcuYWRkcmVzc1wiPjwvY2NkLW1hcmtkb3duPlxuICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICA8L3RhYmxlPlxuICAgICAgICA8L3RkPlxuICAgICAgPC90cj5cbiAgICA8L3Rib2R5PlxuICA8L3RhYmxlPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { of } from 'rxjs';
|
|
3
|
+
import { switchMap } from 'rxjs/operators';
|
|
4
|
+
import { OrganisationConverter } from '../../../domain/organisation/organisation-converter';
|
|
5
|
+
import { OrganisationService } from '../../../services/organisation/organisation.service';
|
|
6
|
+
import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "../../../services/organisation/organisation.service";
|
|
9
|
+
import * as i2 from "../../../domain/organisation/organisation-converter";
|
|
10
|
+
import * as i3 from "@angular/common";
|
|
11
|
+
import * as i4 from "../markdown/markdown.component";
|
|
12
|
+
function ReadOrganisationFieldTableComponent_table_10_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
+
i0.ɵɵelementStart(0, "table", 6);
|
|
14
|
+
i0.ɵɵelementStart(1, "tr", 7);
|
|
15
|
+
i0.ɵɵelement(2, "th", 8);
|
|
16
|
+
i0.ɵɵelementStart(3, "td", 9);
|
|
17
|
+
i0.ɵɵelementStart(4, "span", 4);
|
|
18
|
+
i0.ɵɵtext(5, "Name:");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelementStart(6, "td");
|
|
22
|
+
i0.ɵɵelementStart(7, "span", 4);
|
|
23
|
+
i0.ɵɵtext(8);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(9, "tr", 7);
|
|
28
|
+
i0.ɵɵelement(10, "th", 8);
|
|
29
|
+
i0.ɵɵelementStart(11, "td", 9);
|
|
30
|
+
i0.ɵɵelementStart(12, "span", 4);
|
|
31
|
+
i0.ɵɵtext(13, "Address:");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(14, "td");
|
|
35
|
+
i0.ɵɵelement(15, "ccd-markdown", 10);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
} if (rf & 2) {
|
|
40
|
+
const selectedOrg_r1 = ctx.ngIf;
|
|
41
|
+
i0.ɵɵadvance(8);
|
|
42
|
+
i0.ɵɵtextInterpolate(selectedOrg_r1.name);
|
|
43
|
+
i0.ɵɵadvance(7);
|
|
44
|
+
i0.ɵɵproperty("content", selectedOrg_r1.address);
|
|
45
|
+
} }
|
|
46
|
+
export class ReadOrganisationFieldTableComponent extends AbstractFieldReadComponent {
|
|
47
|
+
constructor(organisationService, organisationConverter) {
|
|
48
|
+
super();
|
|
49
|
+
this.organisationService = organisationService;
|
|
50
|
+
this.organisationConverter = organisationConverter;
|
|
51
|
+
this.caseFields = [];
|
|
52
|
+
}
|
|
53
|
+
ngOnInit() {
|
|
54
|
+
super.ngOnInit();
|
|
55
|
+
if (this.caseField.value && this.caseField.value.OrganisationID) {
|
|
56
|
+
this.organisations$ = this.organisationService.getActiveOrganisations();
|
|
57
|
+
this.selectedOrg$ = this.organisations$.pipe(switchMap((organisations) => of(this.organisationConverter.toSimpleOrganisationModel(organisations.find(findOrg => findOrg.organisationIdentifier === this.caseField.value.OrganisationID)))));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
ReadOrganisationFieldTableComponent.ɵfac = function ReadOrganisationFieldTableComponent_Factory(t) { return new (t || ReadOrganisationFieldTableComponent)(i0.ɵɵdirectiveInject(i1.OrganisationService), i0.ɵɵdirectiveInject(i2.OrganisationConverter)); };
|
|
62
|
+
ReadOrganisationFieldTableComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadOrganisationFieldTableComponent, selectors: [["ccd-read-organisation-field-table"]], inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 4, consts: [[1, "complex-panel"], ["aria-describedby", "complex organisation field table", 1, "complex-field-table"], [1, "complex-field-title"], [1, "complex-panel-title"], [1, "text-16"], ["class", "complex-field-table", "aria-describedby", "complex selected organisation field table", 4, "ngIf"], ["aria-describedby", "complex selected organisation field table", 1, "complex-field-table"], [1, "complex-panel-compound-field"], [2, "display", "none"], [1, "label-width-medium"], [3, "content"]], template: function ReadOrganisationFieldTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵelementStart(1, "table", 1);
|
|
65
|
+
i0.ɵɵelementStart(2, "tbody");
|
|
66
|
+
i0.ɵɵelementStart(3, "tr");
|
|
67
|
+
i0.ɵɵelementStart(4, "th", 2);
|
|
68
|
+
i0.ɵɵelementStart(5, "dl", 3);
|
|
69
|
+
i0.ɵɵelementStart(6, "dt");
|
|
70
|
+
i0.ɵɵelementStart(7, "span", 4);
|
|
71
|
+
i0.ɵɵtext(8);
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
i0.ɵɵelementStart(9, "td");
|
|
77
|
+
i0.ɵɵtemplate(10, ReadOrganisationFieldTableComponent_table_10_Template, 16, 2, "table", 5);
|
|
78
|
+
i0.ɵɵpipe(11, "async");
|
|
79
|
+
i0.ɵɵelementEnd();
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementEnd();
|
|
82
|
+
i0.ɵɵelementEnd();
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
} if (rf & 2) {
|
|
85
|
+
i0.ɵɵadvance(8);
|
|
86
|
+
i0.ɵɵtextInterpolate(ctx.caseField.label);
|
|
87
|
+
i0.ɵɵadvance(2);
|
|
88
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(11, 2, ctx.selectedOrg$));
|
|
89
|
+
} }, directives: [i3.NgIf, i4.MarkdownComponent], pipes: [i3.AsyncPipe], styles: [".hmcts-banner[_ngcontent-%COMP%]{border:0 solid;margin-bottom:10px;color:#000}.hmcts-banner[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{font-weight:700}.govuk-hint[_ngcontent-%COMP%]{font-size:1.1rem}.name-header[_ngcontent-%COMP%]{font-weight:700;margin-top:10px;font-size:18px}.td-address[_ngcontent-%COMP%]{width:90%;padding-top:2px}.td-select[_ngcontent-%COMP%]{width:10%}.warning-panel[_ngcontent-%COMP%]{background-color:#e7ebef;height:40px;margin-bottom:0;align-items:center;display:flex}.warning-panel[_ngcontent-%COMP%] .warning-message[_ngcontent-%COMP%]{padding-left:15px}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{border:none}.complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%], .complex-field-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%]{border-bottom:none}.complex-field-title[_ngcontent-%COMP%]{width:300px}.label-width-small[_ngcontent-%COMP%]{width:100px}.label-width-medium[_ngcontent-%COMP%]{width:150px}.scroll-container[_ngcontent-%COMP%]{height:600px;overflow-y:scroll}.no-result-message[_ngcontent-%COMP%]{margin-top:15px}"] });
|
|
90
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadOrganisationFieldTableComponent, [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{
|
|
93
|
+
selector: 'ccd-read-organisation-field-table',
|
|
94
|
+
templateUrl: './read-organisation-field-table.component.html',
|
|
95
|
+
styleUrls: ['./organisation-field.scss']
|
|
96
|
+
}]
|
|
97
|
+
}], function () { return [{ type: i1.OrganisationService }, { type: i2.OrganisationConverter }]; }, { caseFields: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}] }); })();
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1vcmdhbmlzYXRpb24tZmllbGQtdGFibGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvb3JnYW5pc2F0aW9uL3JlYWQtb3JnYW5pc2F0aW9uLWZpZWxkLXRhYmxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL29yZ2FuaXNhdGlvbi9yZWFkLW9yZ2FuaXNhdGlvbi1maWVsZC10YWJsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQWMsRUFBRSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3RDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQk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