@hmcts/rpx-xui-common-lib 1.8.7-fix-wrong-services → 1.8.7-generic-filter-clear-errors-on-destroy
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-rpx-xui-common-lib.umd.js +4626 -7107
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +33 -35
- package/esm2015/lib/components/accessibility/accessibility.component.js +2 -8
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +14 -112
- package/esm2015/lib/components/contact-details/contact-details.component.js +2 -12
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +4 -65
- package/esm2015/lib/components/due-date/due-date.component.js +2 -97
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +7 -21
- package/esm2015/lib/components/find-location/find-location.component.js +46 -140
- package/esm2015/lib/components/find-person/find-person.component.js +14 -154
- package/esm2015/lib/components/find-service/find-service.component.js +97 -43
- package/esm2015/lib/components/find-task-name/find-task-name.component.js +97 -0
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +11 -55
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +286 -294
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +3 -18
- package/esm2015/lib/components/index.js +2 -7
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +2 -22
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +2 -21
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +3 -12
- package/esm2015/lib/components/pagination/pagination.component.js +2 -24
- package/esm2015/lib/components/public_api.js +37 -33
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +11 -134
- package/esm2015/lib/components/search-location/search-location.component.js +64 -223
- package/esm2015/lib/components/search-service/search-service.component.js +28 -46
- package/esm2015/lib/components/search-venue/search-venue.component.js +11 -134
- package/esm2015/lib/components/selected-case/selected-case.component.js +20 -175
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +3 -41
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +4 -55
- package/esm2015/lib/components/service-message/service-message.component.js +2 -20
- package/esm2015/lib/components/service-messages/service-messages.component.js +7 -65
- package/esm2015/lib/components/share-case/share-case.component.js +23 -169
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +4 -37
- package/esm2015/lib/components/tab/tab.component.js +2 -26
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +2 -17
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +2 -8
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +2 -8
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +2 -12
- package/esm2015/lib/components/user-details/user-details.component.js +2 -39
- package/esm2015/lib/components/user-list/user-list.component.js +2 -32
- package/esm2015/lib/components/user-select/user-select.component.js +5 -52
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +3 -56
- package/esm2015/lib/directives/index.js +2 -7
- package/esm2015/lib/directives/let/let.directive.js +1 -39
- package/esm2015/lib/directives/public-api.js +3 -8
- package/esm2015/lib/exui-common-lib.module.js +11 -10
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +2 -22
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +44 -16
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +4 -54
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +2 -14
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +2 -17
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +2 -24
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +2 -16
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +4 -24
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +4 -13
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +6 -24
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +2 -13
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +3 -22
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +2 -32
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +2 -18
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.js +2 -0
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +13 -25
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +2 -44
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +2 -16
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +3 -37
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +2 -23
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +2 -22
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +3 -30
- package/esm2015/lib/gov-ui/components/index.js +2 -7
- package/esm2015/lib/gov-ui/components/public_api.js +22 -7
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +1 -22
- package/esm2015/lib/gov-ui/gov-ui.service.js +2 -8
- package/esm2015/lib/gov-ui/index.js +2 -7
- package/esm2015/lib/gov-ui/models/checkboxes-model.js +2 -22
- package/esm2015/lib/gov-ui/models/error-messages-model.js +2 -16
- package/esm2015/lib/gov-ui/models/gov-ui-config-model.js +2 -36
- package/esm2015/lib/gov-ui/models/index.js +2 -7
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +2 -24
- package/esm2015/lib/gov-ui/models/public_api.js +4 -10
- package/esm2015/lib/gov-ui/models/radio-buttons.model.js +2 -0
- package/esm2015/lib/gov-ui/public_api.js +5 -9
- package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +4 -14
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +12 -48
- package/esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js +5 -24
- package/esm2015/lib/gov-ui/validators/date.validator.js +3 -20
- package/esm2015/lib/gov-ui/validators/index.js +2 -7
- package/esm2015/lib/gov-ui/validators/public_api.js +4 -9
- package/esm2015/lib/gov-ui/validators/radio-group.validator.js +3 -15
- package/esm2015/lib/models/case-share.model.js +7 -33
- package/esm2015/lib/models/contact-details.model.js +7 -31
- package/esm2015/lib/models/due-date.model.js +7 -14
- package/esm2015/lib/models/feature-user.js +1 -16
- package/esm2015/lib/models/filter.model.js +1 -124
- package/esm2015/lib/models/idle-config.model.js +2 -20
- package/esm2015/lib/models/index.js +16 -20
- package/esm2015/lib/models/location.model.js +7 -129
- package/esm2015/lib/models/pagination.model.js +2 -18
- package/esm2015/lib/models/person.model.js +19 -96
- package/esm2015/lib/models/public_api.js +6 -11
- package/esm2015/lib/models/search-options.model.js +2 -22
- package/esm2015/lib/models/task-name.model.js +2 -0
- package/esm2015/lib/models/tcDocument.model.js +2 -18
- package/esm2015/lib/models/timeout-notification.model.js +2 -18
- package/esm2015/lib/models/user-details.model.js +2 -22
- package/esm2015/lib/models/user.model.js +2 -25
- package/esm2015/lib/pipes/capitalize/capitalize.pipe.js +11 -0
- package/esm2015/lib/pipes/index.js +2 -0
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +11 -96
- package/esm2015/lib/services/cookie/cookie.service.js +8 -71
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +4 -43
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +2 -28
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +12 -94
- package/esm2015/lib/services/filter/filter.service.js +14 -69
- package/esm2015/lib/services/find-person/find-person.service.js +17 -125
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +8 -63
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +10 -64
- package/esm2015/lib/services/index.js +2 -7
- package/esm2015/lib/services/loading/loading.service.js +2 -41
- package/esm2015/lib/services/locations/location.service.js +14 -32
- package/esm2015/lib/services/manage-session/manage-session.services.js +10 -63
- package/esm2015/lib/services/public-api.js +14 -18
- package/esm2015/lib/services/ref-data/index.js +4 -0
- package/esm2015/lib/services/ref-data/models/ref-data-htmcs-service.model.js +2 -0
- package/esm2015/lib/services/ref-data/models/ref-data-region.model.js +2 -0
- package/esm2015/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.js +2 -0
- package/esm2015/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.js +34 -0
- package/esm2015/lib/services/ref-data/ref-data.service.js +35 -0
- package/esm2015/lib/services/role-guard/role.guard.js +17 -55
- package/esm2015/lib/services/role-guard/role.service.js +7 -26
- package/esm2015/lib/services/storage/session-storage/session-storage.service.js +41 -0
- package/esm2015/lib/services/task-name/task-name.service.js +37 -0
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +16 -78
- package/esm2015/lib/window.js +1 -10
- package/esm2015/public-api.js +9 -13
- package/fesm2015/hmcts-rpx-xui-common-lib.js +3941 -5799
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.d.ts +31 -28
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +6 -5
- package/lib/components/due-date/due-date.component.d.ts +4 -4
- package/lib/components/find-location/find-location.component.d.ts +13 -8
- package/lib/components/find-person/find-person.component.d.ts +1 -1
- package/lib/components/find-service/find-service.component.d.ts +21 -9
- package/lib/components/find-task-name/find-task-name.component.d.ts +41 -0
- package/lib/components/generic-filter/generic-filter-utils.d.ts +2 -5
- package/lib/components/generic-filter/generic-filter.component.d.ts +20 -6
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +1 -1
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +2 -2
- package/lib/components/public_api.d.ts +9 -0
- package/lib/components/search-judicials/search-judicials.component.d.ts +1 -1
- package/lib/components/search-location/search-location.component.d.ts +20 -20
- package/lib/components/search-service/search-service.component.d.ts +11 -9
- package/lib/components/search-venue/search-venue.component.d.ts +1 -1
- package/lib/components/user-list/user-list.component.d.ts +1 -1
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +1 -1
- package/lib/directives/let/let.directive.d.ts +1 -1
- package/lib/exui-common-lib.module.d.ts +4 -3
- package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +14 -5
- package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +1 -2
- package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +1 -0
- package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +2 -2
- package/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.d.ts +7 -0
- package/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.d.ts +4 -2
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +1 -1
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +3 -3
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +1 -1
- package/lib/gov-ui/components/public_api.d.ts +20 -0
- package/lib/gov-ui/models/checkboxes-model.d.ts +4 -7
- package/lib/gov-ui/models/gov-ui-config-model.d.ts +2 -0
- package/lib/gov-ui/models/public_api.d.ts +0 -1
- package/lib/gov-ui/models/radio-buttons.model.d.ts +9 -0
- package/lib/gov-ui/public_api.d.ts +1 -0
- package/lib/models/filter.model.d.ts +38 -8
- package/lib/models/index.d.ts +1 -0
- package/lib/models/location.model.d.ts +8 -8
- package/lib/models/task-name.model.d.ts +4 -0
- package/lib/pipes/capitalize/capitalize.pipe.d.ts +4 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +1 -1
- package/lib/services/filter/filter.service.d.ts +1 -0
- package/lib/services/find-person/find-person.service.d.ts +1 -1
- package/lib/services/loading/loading.service.d.ts +2 -2
- package/lib/services/locations/location.service.d.ts +1 -1
- package/lib/services/public-api.d.ts +1 -0
- package/lib/services/ref-data/index.d.ts +3 -0
- package/lib/services/ref-data/models/ref-data-htmcs-service.model.d.ts +13 -0
- package/lib/services/ref-data/models/ref-data-region.model.d.ts +4 -0
- package/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.d.ts +8 -0
- package/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.d.ts +15 -0
- package/lib/services/ref-data/ref-data.service.d.ts +14 -0
- package/lib/services/role-guard/role.guard.d.ts +2 -1
- package/lib/services/role-guard/role.service.d.ts +4 -2
- package/lib/services/task-name/task-name.service.d.ts +14 -0
- package/lib/window.d.ts +2 -2
- package/package.json +6 -16
- package/public-api.d.ts +1 -0
- package/esm2015/lib/gov-ui/models/banner-data-model.js +0 -16
- package/esm2015/lib/services/session-storage/session-storage.service.js +0 -55
- package/esm5/hmcts-rpx-xui-common-lib.js +0 -75
- package/esm5/lib/components/accessibility/accessibility.component.js +0 -22
- package/esm5/lib/components/checkbox-list/checkbox-list.component.js +0 -391
- package/esm5/lib/components/contact-details/contact-details.component.js +0 -29
- package/esm5/lib/components/cookie-banner/cookie-banner.component.js +0 -154
- package/esm5/lib/components/due-date/due-date.component.js +0 -254
- package/esm5/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -45
- package/esm5/lib/components/find-location/find-location.component.js +0 -293
- package/esm5/lib/components/find-person/find-person.component.js +0 -287
- package/esm5/lib/components/find-service/find-service.component.js +0 -64
- package/esm5/lib/components/generic-filter/generic-filter-utils.js +0 -66
- package/esm5/lib/components/generic-filter/generic-filter.component.js +0 -840
- package/esm5/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -47
- package/esm5/lib/components/index.js +0 -7
- package/esm5/lib/components/invite-user-form/invite-user-form.component.js +0 -54
- package/esm5/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -46
- package/esm5/lib/components/loading-spinner/loading-spinner.component.js +0 -29
- package/esm5/lib/components/pagination/pagination.component.js +0 -58
- package/esm5/lib/components/public_api.js +0 -33
- package/esm5/lib/components/search-judicials/search-judicials.component.js +0 -291
- package/esm5/lib/components/search-location/search-location.component.js +0 -329
- package/esm5/lib/components/search-service/search-service.component.js +0 -68
- package/esm5/lib/components/search-venue/search-venue.component.js +0 -290
- package/esm5/lib/components/selected-case/selected-case.component.js +0 -424
- package/esm5/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -84
- package/esm5/lib/components/selected-case-list/selected-case-list.component.js +0 -115
- package/esm5/lib/components/service-message/service-message.component.js +0 -46
- package/esm5/lib/components/service-messages/service-messages.component.js +0 -122
- package/esm5/lib/components/share-case/share-case.component.js +0 -435
- package/esm5/lib/components/share-case-confirm/share-case-confirm.component.js +0 -70
- package/esm5/lib/components/tab/tab.component.js +0 -51
- package/esm5/lib/components/tc-confirm/tc-confirm.component.js +0 -42
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -22
- package/esm5/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -22
- package/esm5/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -29
- package/esm5/lib/components/user-details/user-details.component.js +0 -92
- package/esm5/lib/components/user-list/user-list.component.js +0 -76
- package/esm5/lib/components/user-select/user-select.component.js +0 -131
- package/esm5/lib/directives/feature-toggle/feature-toggle.directive.js +0 -104
- package/esm5/lib/directives/index.js +0 -7
- package/esm5/lib/directives/let/let.directive.js +0 -78
- package/esm5/lib/directives/public-api.js +0 -8
- package/esm5/lib/exui-common-lib.module.js +0 -167
- package/esm5/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -56
- package/esm5/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -36
- package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -135
- package/esm5/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -37
- package/esm5/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -49
- package/esm5/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -65
- package/esm5/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -40
- package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -66
- package/esm5/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -34
- package/esm5/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -67
- package/esm5/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -36
- package/esm5/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -52
- package/esm5/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -77
- package/esm5/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -50
- package/esm5/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -38
- package/esm5/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -108
- package/esm5/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -40
- package/esm5/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -87
- package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -51
- package/esm5/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -49
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -46
- package/esm5/lib/gov-ui/components/index.js +0 -7
- package/esm5/lib/gov-ui/components/public_api.js +0 -7
- package/esm5/lib/gov-ui/directives/remove-host.directive.js +0 -52
- package/esm5/lib/gov-ui/gov-ui.service.js +0 -22
- package/esm5/lib/gov-ui/index.js +0 -7
- package/esm5/lib/gov-ui/models/banner-data-model.js +0 -16
- package/esm5/lib/gov-ui/models/checkboxes-model.js +0 -22
- package/esm5/lib/gov-ui/models/error-messages-model.js +0 -16
- package/esm5/lib/gov-ui/models/gov-ui-config-model.js +0 -36
- package/esm5/lib/gov-ui/models/index.js +0 -7
- package/esm5/lib/gov-ui/models/isession-storage.interface.js +0 -24
- package/esm5/lib/gov-ui/models/public_api.js +0 -13
- package/esm5/lib/gov-ui/public_api.js +0 -12
- package/esm5/lib/gov-ui/util/helpers/html-templates.helper.js +0 -57
- package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -58
- package/esm5/lib/gov-ui/validators/checkboxes-be-checked.validator.js +0 -38
- package/esm5/lib/gov-ui/validators/date.validator.js +0 -32
- package/esm5/lib/gov-ui/validators/index.js +0 -7
- package/esm5/lib/gov-ui/validators/public_api.js +0 -12
- package/esm5/lib/gov-ui/validators/radio-group.validator.js +0 -27
- package/esm5/lib/models/case-share.model.js +0 -33
- package/esm5/lib/models/contact-details.model.js +0 -31
- package/esm5/lib/models/due-date.model.js +0 -15
- package/esm5/lib/models/feature-user.js +0 -28
- package/esm5/lib/models/filter.model.js +0 -130
- package/esm5/lib/models/idle-config.model.js +0 -20
- package/esm5/lib/models/index.js +0 -20
- package/esm5/lib/models/location.model.js +0 -129
- package/esm5/lib/models/pagination.model.js +0 -18
- package/esm5/lib/models/person.model.js +0 -96
- package/esm5/lib/models/public_api.js +0 -11
- package/esm5/lib/models/search-options.model.js +0 -22
- package/esm5/lib/models/tcDocument.model.js +0 -18
- package/esm5/lib/models/timeout-notification.model.js +0 -18
- package/esm5/lib/models/user-details.model.js +0 -22
- package/esm5/lib/models/user.model.js +0 -25
- package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +0 -313
- package/esm5/lib/services/cookie/cookie.service.js +0 -136
- package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +0 -89
- package/esm5/lib/services/feature-toggle/feature-toggle.service.js +0 -90
- package/esm5/lib/services/feature-toggle/launch-darkly.service.js +0 -187
- package/esm5/lib/services/filter/filter.service.js +0 -190
- package/esm5/lib/services/find-person/find-person.service.js +0 -246
- package/esm5/lib/services/google-analytics/google-analytics.service.js +0 -128
- package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +0 -135
- package/esm5/lib/services/index.js +0 -7
- package/esm5/lib/services/loading/loading.service.js +0 -109
- package/esm5/lib/services/locations/location.service.js +0 -86
- package/esm5/lib/services/manage-session/manage-session.services.js +0 -111
- package/esm5/lib/services/public-api.js +0 -21
- package/esm5/lib/services/role-guard/role.guard.js +0 -81
- package/esm5/lib/services/role-guard/role.service.js +0 -45
- package/esm5/lib/services/session-storage/session-storage.service.js +0 -96
- package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +0 -190
- package/esm5/lib/window.js +0 -13
- package/esm5/public-api.js +0 -16
- package/fesm5/hmcts-rpx-xui-common-lib.js +0 -8157
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +0 -1
- package/lib/gov-ui/models/banner-data-model.d.ts +0 -4
- /package/lib/services/{session-storage → storage/session-storage}/session-storage.service.d.ts +0 -0
|
@@ -25,19 +25,20 @@ export declare class CheckboxListComponent<T> implements OnChanges {
|
|
|
25
25
|
* Note: This array is immutable, which means pushing and popping will
|
|
26
26
|
* have no effect on which checkboxes are selected.
|
|
27
27
|
*/
|
|
28
|
-
selection: T[];
|
|
28
|
+
get selection(): T[];
|
|
29
|
+
set selection(value: T[]);
|
|
29
30
|
private pSelection;
|
|
30
31
|
private pSelectionMade;
|
|
31
32
|
/**
|
|
32
33
|
* Indicates whether or not all of the items are selected.
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
get allSelected(): boolean;
|
|
35
36
|
ngOnChanges(): void;
|
|
36
37
|
/**
|
|
37
38
|
* Indicates whether or not there are any options to render.
|
|
38
39
|
*/
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
get hasOptions(): boolean;
|
|
41
|
+
get isFunctional(): boolean;
|
|
41
42
|
/**
|
|
42
43
|
* Indicates whether or not an item is part of the current selection.
|
|
43
44
|
* @param item The item in question.
|
|
@@ -62,7 +63,7 @@ export declare class CheckboxListComponent<T> implements OnChanges {
|
|
|
62
63
|
* @param item The item to check in the options.
|
|
63
64
|
*/
|
|
64
65
|
containsItem(items: T[], item: T): boolean;
|
|
65
|
-
private
|
|
66
|
+
private get hasPreselection();
|
|
66
67
|
private setupPreselection;
|
|
67
68
|
private getSelection;
|
|
68
69
|
private checkSelection;
|
|
@@ -36,13 +36,13 @@ export declare class DueDateComponent implements OnChanges {
|
|
|
36
36
|
*/
|
|
37
37
|
mediumUrgencyCutoff: number;
|
|
38
38
|
private pBadge;
|
|
39
|
-
|
|
39
|
+
get badge(): string;
|
|
40
40
|
private pLabel;
|
|
41
|
-
|
|
41
|
+
get label(): string;
|
|
42
42
|
private pAccessibleLabel;
|
|
43
|
-
|
|
43
|
+
get accessibleLabel(): string;
|
|
44
44
|
private pDaysDiff;
|
|
45
|
-
|
|
45
|
+
get daysDiff(): number;
|
|
46
46
|
ngOnChanges(): void;
|
|
47
47
|
private handleInputChanges;
|
|
48
48
|
private getDaysDifference;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import { LocationByEPIMMSModel } from '../../models
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { FilterFieldConfig, LocationByEPIMMSModel } from '../../models';
|
|
5
5
|
import { SearchLocationComponent } from '../search-location/search-location.component';
|
|
6
|
-
export declare class FindLocationComponent implements OnInit {
|
|
6
|
+
export declare class FindLocationComponent implements OnInit, OnDestroy {
|
|
7
7
|
locationFieldChanged: EventEmitter<void>;
|
|
8
|
-
selectedLocations: LocationByEPIMMSModel[];
|
|
9
8
|
submitted: boolean;
|
|
10
9
|
enableAddLocationButton: boolean;
|
|
11
10
|
form: FormGroup;
|
|
@@ -13,14 +12,19 @@ export declare class FindLocationComponent implements OnInit {
|
|
|
13
12
|
fields: FilterFieldConfig[];
|
|
14
13
|
locationTitle: string;
|
|
15
14
|
disableInputField: boolean;
|
|
16
|
-
|
|
15
|
+
formSubmissionEvent$: Subject<void>;
|
|
17
16
|
tempSelectedLocation: LocationByEPIMMSModel;
|
|
18
17
|
serviceIds: string;
|
|
19
18
|
searchLocationComponent: SearchLocationComponent;
|
|
20
19
|
private pServices;
|
|
21
20
|
private pDisabled;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
private formSubmissionEventSubscription;
|
|
22
|
+
get disabled(): boolean;
|
|
23
|
+
set disabled(value: boolean);
|
|
24
|
+
get services(): string[];
|
|
25
|
+
set services(value: string[]);
|
|
26
|
+
get selectedLocations(): LocationByEPIMMSModel[];
|
|
27
|
+
get propertyNameFilter(): keyof LocationByEPIMMSModel;
|
|
24
28
|
ngOnInit(): void;
|
|
25
29
|
addLocation(): void;
|
|
26
30
|
removeLocation(location: LocationByEPIMMSModel): void;
|
|
@@ -29,4 +33,5 @@ export declare class FindLocationComponent implements OnInit {
|
|
|
29
33
|
onLocationSelected(location: LocationByEPIMMSModel): void;
|
|
30
34
|
private removeSelectedValues;
|
|
31
35
|
private addSelectedLocationsToForm;
|
|
36
|
+
ngOnDestroy(): void;
|
|
32
37
|
}
|
|
@@ -23,7 +23,7 @@ export declare class FindPersonComponent implements OnInit, OnDestroy {
|
|
|
23
23
|
selectedPersons: Person[];
|
|
24
24
|
errorMessage: string;
|
|
25
25
|
idValue: string;
|
|
26
|
-
services: string
|
|
26
|
+
services: string;
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
showAutocomplete: boolean;
|
|
29
29
|
findPersonControl: FormControl;
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
2
|
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import {
|
|
3
|
-
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { FilterConfigOption, FilterFieldConfig } from '../../models';
|
|
5
|
+
import { SearchServiceComponent } from '../search-service/search-service.component';
|
|
6
|
+
export declare class FindServiceComponent implements OnInit, OnDestroy {
|
|
4
7
|
field: FilterFieldConfig;
|
|
5
|
-
fields: FilterFieldConfig[];
|
|
6
8
|
serviceTitle: string;
|
|
7
9
|
form: FormGroup;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
formSubmissionEvent$: Subject<void>;
|
|
12
|
+
searchServiceComponent: SearchServiceComponent;
|
|
13
|
+
serviceFieldChanged: EventEmitter<any>;
|
|
14
|
+
private isSelectedAll;
|
|
15
|
+
private formSubmissionEventSubscription;
|
|
16
|
+
tempSelectedService: FilterConfigOption;
|
|
17
|
+
get selectedServices(): FilterConfigOption[];
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
addOption(option: FilterConfigOption): void;
|
|
20
|
+
removeOption(service: FilterConfigOption): void;
|
|
21
|
+
onOptionSelected(option: FilterConfigOption): void;
|
|
22
|
+
private removeAllSelectedValues;
|
|
23
|
+
private addSelectedServiceToForm;
|
|
24
|
+
private sortOptionsAlphabetically;
|
|
25
|
+
ngOnDestroy(): void;
|
|
14
26
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { PersonRole } from '../../models';
|
|
5
|
+
import { TaskNameModel } from '../../models/task-name.model';
|
|
6
|
+
import { TaskNameService } from '../../services/task-name/task-name.service';
|
|
7
|
+
export declare class FindTaskNameComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly cd;
|
|
9
|
+
private readonly taskService;
|
|
10
|
+
taskNameSelected: EventEmitter<any>;
|
|
11
|
+
taskNameFieldChanged: EventEmitter<void>;
|
|
12
|
+
title: string;
|
|
13
|
+
boldTitle: string;
|
|
14
|
+
subTitle: string;
|
|
15
|
+
domain: PersonRole;
|
|
16
|
+
findTaskNameGroup: FormGroup;
|
|
17
|
+
selectedTaskName: string;
|
|
18
|
+
submitted: boolean;
|
|
19
|
+
assignedUser?: string;
|
|
20
|
+
placeholderContent: string;
|
|
21
|
+
isNoResultsShown: boolean;
|
|
22
|
+
showUpdatedColor: boolean;
|
|
23
|
+
selectedTaskNames: TaskNameModel[];
|
|
24
|
+
errorMessage: string;
|
|
25
|
+
idValue: string;
|
|
26
|
+
services: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
showAutocomplete: boolean;
|
|
29
|
+
findTaskNameControl: FormControl;
|
|
30
|
+
filteredOptions: any[];
|
|
31
|
+
readonly minSearchCharacters = 1;
|
|
32
|
+
private sub;
|
|
33
|
+
searchTerm: string;
|
|
34
|
+
constructor(cd: ChangeDetectorRef, taskService: TaskNameService);
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
getTaskName(): Observable<TaskNameModel[]>;
|
|
38
|
+
onSelectionChange(selectedTaskTypeName: any): void;
|
|
39
|
+
getTaskTypeName(selectedTaskType: any): string;
|
|
40
|
+
onInput(): void;
|
|
41
|
+
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { FilterConfigOption } from '../../models';
|
|
2
3
|
export declare function minSelectedValidator<T>(min: number): ValidatorFn;
|
|
3
4
|
export declare function maxSelectedValidator<T>(max: number): ValidatorFn;
|
|
4
|
-
export declare function getValues(options:
|
|
5
|
-
key: string;
|
|
6
|
-
label: string;
|
|
7
|
-
selectAll?: true;
|
|
8
|
-
}[], values: any[]): any[];
|
|
5
|
+
export declare function getValues(options: FilterConfigOption[], values: any[]): any[];
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { FilterConfig, FilterFieldConfig, FilterSetting } from '../../models';
|
|
5
|
-
import { FilterService } from '
|
|
3
|
+
import { Subject, Subscription } from 'rxjs';
|
|
4
|
+
import { FilterConfig, FilterConfigOption, FilterFieldConfig, FilterSetting, GroupOptions } from '../../models';
|
|
5
|
+
import { FilterService } from '../../services';
|
|
6
6
|
export declare class GenericFilterComponent implements OnInit, OnDestroy {
|
|
7
7
|
private readonly filterService;
|
|
8
8
|
private readonly fb;
|
|
9
9
|
form: FormGroup;
|
|
10
10
|
submitted: boolean;
|
|
11
11
|
formSub: Subscription;
|
|
12
|
+
filteredSkillsByServices: GroupOptions[];
|
|
13
|
+
filteredSkillsByServicesCheckbox: FilterConfigOption[];
|
|
14
|
+
previousSelectedNestedCheckbox: string[];
|
|
15
|
+
formSubmissionEvent$: Subject<void>;
|
|
12
16
|
constructor(filterService: FilterService, fb: FormBuilder);
|
|
13
17
|
private _config;
|
|
14
|
-
config: FilterConfig;
|
|
18
|
+
get config(): FilterConfig;
|
|
19
|
+
set config(value: FilterConfig);
|
|
15
20
|
private _settings?;
|
|
16
|
-
settings: FilterSetting;
|
|
21
|
+
get settings(): FilterSetting;
|
|
22
|
+
set settings(value: FilterSetting);
|
|
17
23
|
private static addFormValidators;
|
|
18
24
|
ngOnInit(): void;
|
|
19
25
|
ngOnDestroy(): void;
|
|
@@ -22,19 +28,27 @@ export declare class GenericFilterComponent implements OnInit, OnDestroy {
|
|
|
22
28
|
applyFilter(form: FormGroup): void;
|
|
23
29
|
fieldChanged(field: FilterFieldConfig, form: FormGroup): void;
|
|
24
30
|
inputChanged(field: FilterFieldConfig): void;
|
|
31
|
+
inputServiceChanged(field: FilterFieldConfig): void;
|
|
25
32
|
cancelFilter(): void;
|
|
26
33
|
updatePersonControls(values: any, field: FilterFieldConfig): void;
|
|
34
|
+
checkBoxChecked(field: any, i: number): any;
|
|
35
|
+
updateTaskNameControls(values: any, field: FilterFieldConfig): void;
|
|
27
36
|
toggleSelectAll(event: any, form: FormGroup, item: {
|
|
28
37
|
key: string;
|
|
29
38
|
label: string;
|
|
30
39
|
selectAll?: true;
|
|
31
40
|
}, field: FilterFieldConfig): void;
|
|
41
|
+
private startFilterSkillsByServices;
|
|
32
42
|
private resetField;
|
|
33
43
|
private mergeDefaultFields;
|
|
34
44
|
private getSettings;
|
|
35
45
|
private buildForm;
|
|
36
46
|
private buildCheckBoxFormArray;
|
|
37
|
-
private
|
|
47
|
+
private buildFormArray;
|
|
38
48
|
private getSelectedValues;
|
|
39
49
|
private emitFormErrors;
|
|
50
|
+
initValuesFromCacheForSkillsByServices(): void;
|
|
51
|
+
filterSkillsByServices(services: string[], config: FilterConfig): FilterConfigOption[] | GroupOptions[];
|
|
52
|
+
private getSelectedValuesForFields;
|
|
53
|
+
private sortGroupOptions;
|
|
40
54
|
}
|
|
@@ -2,8 +2,8 @@ import { EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
export declare class InviteUserFormComponent {
|
|
4
4
|
isInvalid: any;
|
|
5
|
-
submitForm: EventEmitter<
|
|
5
|
+
submitForm: EventEmitter<any>;
|
|
6
6
|
inviteUserForm: FormGroup;
|
|
7
|
-
errorMessages: any;
|
|
7
|
+
set errorMessages(value: any);
|
|
8
8
|
onSubmit(): void;
|
|
9
9
|
}
|
|
@@ -22,6 +22,15 @@ export * from './terms-and-conditions/terms-and-conditions.component';
|
|
|
22
22
|
export * from './user-details/user-details.component';
|
|
23
23
|
export * from './user-list/user-list.component';
|
|
24
24
|
export * from './cookie-banner/cookie-banner.component';
|
|
25
|
+
export * from './find-service/find-service.component';
|
|
26
|
+
export * from './search-service/search-service.component';
|
|
25
27
|
export * from './find-location/find-location.component';
|
|
26
28
|
export * from './search-location/search-location.component';
|
|
27
29
|
export * from './pagination/pagination.component';
|
|
30
|
+
export * from './search-venue/search-venue.component';
|
|
31
|
+
export * from './search-judicials/search-judicials.component';
|
|
32
|
+
export * from './find-person/find-person.component';
|
|
33
|
+
export * from './user-select/user-select.component';
|
|
34
|
+
export * from './user-select/user-select.component';
|
|
35
|
+
export * from './find-task-name/find-task-name.component';
|
|
36
|
+
export * from './exui-main-wrapper/exui-page-wrapper.component';
|
|
@@ -27,7 +27,7 @@ export declare class SearchJudicialsComponent implements OnInit {
|
|
|
27
27
|
onKeyDown(): void;
|
|
28
28
|
onKeyUp(event: any): void;
|
|
29
29
|
onFocus(): void;
|
|
30
|
-
|
|
30
|
+
get displayedJudicialsDuplicationFiltered(): JudicialUserModel[];
|
|
31
31
|
filter(term: string): void;
|
|
32
32
|
onSelectionChange(selection?: JudicialUserModel): void;
|
|
33
33
|
search(currentValue: string): void;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { BookingCheckType, LocationByEPIMMSModel } from '../../models';
|
|
4
|
+
import { BookingCheckType, FilterFieldConfig, LocationByEPIMMSModel } from '../../models';
|
|
5
|
+
import { RefDataService } from '../../services';
|
|
5
6
|
import { LocationService } from '../../services/locations/location.service';
|
|
6
|
-
import { SessionStorageService } from '../../services/session-storage/session-storage.service';
|
|
7
|
+
import { SessionStorageService } from '../../services/storage/session-storage/session-storage.service';
|
|
7
8
|
export declare class SearchLocationComponent implements OnInit {
|
|
8
9
|
private readonly locationService;
|
|
9
10
|
private readonly sessionStorageService;
|
|
10
|
-
private readonly
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
private readonly refDataService;
|
|
12
|
+
form: FormGroup;
|
|
13
|
+
field: FilterFieldConfig;
|
|
13
14
|
disabled: boolean;
|
|
14
15
|
singleMode: boolean;
|
|
15
16
|
locationType: string;
|
|
16
17
|
serviceIds: string;
|
|
17
18
|
submitted?: boolean;
|
|
18
|
-
delay?: number;
|
|
19
|
-
form: FormGroup;
|
|
20
|
-
showAutocomplete: boolean;
|
|
21
|
-
locations: LocationByEPIMMSModel[];
|
|
22
19
|
bookingCheck: BookingCheckType;
|
|
20
|
+
selectedLocations: LocationByEPIMMSModel[];
|
|
21
|
+
propertyNameFilter: keyof LocationByEPIMMSModel;
|
|
22
|
+
delay?: number;
|
|
23
23
|
locationSelected: EventEmitter<LocationByEPIMMSModel>;
|
|
24
|
-
|
|
24
|
+
locationTermSearchInputChanged: EventEmitter<string>;
|
|
25
25
|
searchLocationChanged: EventEmitter<void>;
|
|
26
|
+
searchTermFormControl: FormControl;
|
|
26
27
|
readonly minSearchCharacters = 3;
|
|
27
28
|
term: string;
|
|
28
|
-
private pSelectedLocations;
|
|
29
29
|
private pReset;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
filteredList$: Observable<LocationByEPIMMSModel[] | boolean>;
|
|
31
|
+
private readonly debounceTimeInput;
|
|
32
|
+
get reset(): boolean;
|
|
33
|
+
set reset(value: boolean);
|
|
34
|
+
constructor(locationService: LocationService, sessionStorageService: SessionStorageService, refDataService: RefDataService);
|
|
33
35
|
ngOnInit(): void;
|
|
34
|
-
|
|
35
|
-
onSelectionChange(location: LocationByEPIMMSModel): void;
|
|
36
|
-
search(): void;
|
|
36
|
+
onSelectedLocation(location: LocationByEPIMMSModel): void;
|
|
37
37
|
onInput(): void;
|
|
38
38
|
getLocations(term: string): Observable<LocationByEPIMMSModel[]>;
|
|
39
39
|
resetSearchTerm(): void;
|
|
40
|
-
private
|
|
40
|
+
private filterUnselectedLocations;
|
|
41
41
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatOptionSelectionChange } from '@angular/material/core/option/option';
|
|
3
|
+
import { FilterConfigOption } from '../../models';
|
|
2
4
|
export declare class SearchServiceComponent {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
options: FilterConfigOption[];
|
|
6
|
+
selectedOptions: FilterConfigOption[];
|
|
5
7
|
disabled: any;
|
|
6
|
-
delay: any;
|
|
7
|
-
form: FormGroup;
|
|
8
8
|
showAutocomplete: boolean;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
optionChanged: EventEmitter<FilterConfigOption>;
|
|
10
|
+
searchTerm: string;
|
|
11
|
+
readonly MIN_SEARCH_CHARACTERS = 3;
|
|
12
|
+
get filteredOptions(): FilterConfigOption[];
|
|
13
|
+
resetSearchTerm(): void;
|
|
14
|
+
onSelectionChanged($event: MatOptionSelectionChange): void;
|
|
13
15
|
}
|
|
@@ -27,7 +27,7 @@ export declare class SearchVenueComponent implements OnInit, AfterContentInit {
|
|
|
27
27
|
onKeyDown(): void;
|
|
28
28
|
onKeyUp(event: any): void;
|
|
29
29
|
onFocus(): void;
|
|
30
|
-
|
|
30
|
+
get displayedLocationsDuplicationFiltered(): LocationByEPIMMSModel[];
|
|
31
31
|
filter(term: string): void;
|
|
32
32
|
onSelectionChange(selection?: LocationByEPIMMSModel): void;
|
|
33
33
|
search(currentValue: string): void;
|
|
@@ -6,7 +6,7 @@ export declare class UserListComponent implements OnInit {
|
|
|
6
6
|
currentPageNumber?: number;
|
|
7
7
|
pageTotalSize?: any;
|
|
8
8
|
userClick: EventEmitter<User>;
|
|
9
|
-
pageChange: EventEmitter<
|
|
9
|
+
pageChange: EventEmitter<any>;
|
|
10
10
|
pagination: Pagination;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
onUserClick(user: User): void;
|
|
@@ -6,7 +6,7 @@ export declare class FeatureToggleDirective implements OnDestroy {
|
|
|
6
6
|
private readonly templateRef;
|
|
7
7
|
private feature;
|
|
8
8
|
private subscription;
|
|
9
|
-
xuilibFeatureToggle: string;
|
|
9
|
+
set xuilibFeatureToggle(feature: string);
|
|
10
10
|
constructor(service: FeatureToggleService, viewContainer: ViewContainerRef, templateRef: TemplateRef<any>);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
private updateSubscription;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AccessibilityComponent } from './components/accessibility/accessibility.component';
|
|
2
2
|
import { CookieBannerComponent } from './components/cookie-banner/cookie-banner.component';
|
|
3
3
|
import { FindPersonComponent } from './components/find-person/find-person.component';
|
|
4
|
+
import { FindTaskNameComponent } from './components/find-task-name/find-task-name.component';
|
|
4
5
|
import { GenericFilterComponent } from './components/generic-filter/generic-filter.component';
|
|
5
6
|
import { SearchJudicialsComponent } from './components/search-judicials/search-judicials.component';
|
|
6
7
|
import { SearchLocationComponent } from './components/search-location/search-location.component';
|
|
@@ -13,11 +14,11 @@ import { ShareCaseConfirmComponent } from './components/share-case-confirm/share
|
|
|
13
14
|
import { ShareCaseComponent } from './components/share-case/share-case.component';
|
|
14
15
|
import { FeatureToggleDirective } from './directives/feature-toggle/feature-toggle.directive';
|
|
15
16
|
import { LetDirective } from './directives/let/let.directive';
|
|
16
|
-
import { GovUkCheckboxesComponent } from './gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component';
|
|
17
17
|
import { GovUkErrorMessageComponent } from './gov-ui/components/gov-uk-error-message/gov-uk-error-message.component';
|
|
18
18
|
import { GovUkFormGroupWrapperComponent } from './gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component';
|
|
19
19
|
import { GovUkLabelComponent } from './gov-ui/components/gov-uk-label/gov-uk-label.component';
|
|
20
20
|
import { GovUkRadioComponent } from './gov-ui/components/gov-uk-radio/gov-uk-radio.component';
|
|
21
|
+
import { GovUkRadiosComponent } from './gov-ui/components/gov-uk-radios/gov-uk-radios.component';
|
|
21
22
|
import { GovukTableComponent } from './gov-ui/components/gov-uk-table/gov-uk-table.component';
|
|
22
23
|
import { HmctsBannerComponent } from './gov-ui/components/hmcts-banner/hmcts-banner.component';
|
|
23
24
|
import { HmctsErrorSummaryComponent } from './gov-ui/components/hmcts-error-summary/hmcts-error-summary.component';
|
|
@@ -27,7 +28,7 @@ import { HmctsPaginationComponent } from './gov-ui/components/hmcts-pagination/h
|
|
|
27
28
|
import { HmctsPrimaryNavigationComponent } from './gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component';
|
|
28
29
|
import { HmctsSubNavigationComponent } from './gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component';
|
|
29
30
|
import { RemoveHostDirective } from './gov-ui/directives/remove-host.directive';
|
|
30
|
-
export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof GenericFilterComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof
|
|
31
|
-
export declare const GOV_UI_COMPONENTS: (typeof HmctsIdentityBarComponent | typeof HmctsPaginationComponent | typeof HmctsSubNavigationComponent | typeof HmctsPrimaryNavigationComponent | typeof HmctsErrorSummaryComponent | typeof HmctsMainWrapperComponent | typeof HmctsBannerComponent | typeof GovukTableComponent | typeof GovUkFormGroupWrapperComponent | typeof GovUkLabelComponent | typeof GovUkErrorMessageComponent | typeof
|
|
31
|
+
export declare const COMMON_COMPONENTS: (typeof AccessibilityComponent | typeof GenericFilterComponent | typeof SelectedCaseConfirmComponent | typeof SelectedCaseListComponent | typeof SelectedCaseComponent | typeof ServiceMessagesComponent | typeof ShareCaseConfirmComponent | typeof ShareCaseComponent | typeof CookieBannerComponent | typeof SearchLocationComponent | typeof SearchVenueComponent | typeof SearchJudicialsComponent | typeof FindPersonComponent | typeof FindTaskNameComponent | typeof FeatureToggleDirective | typeof LetDirective)[];
|
|
32
|
+
export declare const GOV_UI_COMPONENTS: (typeof HmctsIdentityBarComponent | typeof HmctsPaginationComponent | typeof HmctsSubNavigationComponent | typeof HmctsPrimaryNavigationComponent | typeof HmctsErrorSummaryComponent | typeof HmctsMainWrapperComponent | typeof HmctsBannerComponent | typeof GovukTableComponent | typeof GovUkFormGroupWrapperComponent | typeof GovUkLabelComponent | typeof GovUkErrorMessageComponent | typeof GovUkRadioComponent | typeof GovUkRadiosComponent | typeof RemoveHostDirective)[];
|
|
32
33
|
export declare class ExuiCommonLibModule {
|
|
33
34
|
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { CheckboxesModel, ErrorMessagesModel, GovUiConfigModel } from '../../models';
|
|
4
|
+
export declare class GovUkCheckboxesComponent implements OnInit {
|
|
5
|
+
group: FormGroup;
|
|
6
|
+
config: GovUiConfigModel;
|
|
7
|
+
items: CheckboxesModel[];
|
|
8
|
+
errorMessage: ErrorMessagesModel;
|
|
9
|
+
columns: CheckboxesModel[][];
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
setDescribedBy(): string;
|
|
12
|
+
onChecked(checked: boolean, value: string): void;
|
|
13
|
+
isChecked(value: string): any;
|
|
14
|
+
private setColumns;
|
|
6
15
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { ErrorMessagesModel } from '../../models';
|
|
4
|
-
import { GovUiConfigModel } from '../../models/gov-ui-config-model';
|
|
3
|
+
import { ErrorMessagesModel, GovUiConfigModel } from '../../models';
|
|
5
4
|
export declare class GovUkInputComponent implements OnInit {
|
|
6
5
|
constructor();
|
|
7
6
|
errorMessage: ErrorMessagesModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ErrorMessagesModel } from '../../models';
|
|
2
|
-
import {
|
|
2
|
+
import { RadioButtonsModel } from '../../models/radio-buttons.model';
|
|
3
3
|
export declare class GovUkRadiosComponent {
|
|
4
|
-
options:
|
|
4
|
+
options: RadioButtonsModel;
|
|
5
5
|
errors: ErrorMessagesModel;
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChanges {
|
|
3
3
|
private readonly document;
|
|
4
|
-
errorMessages: any;
|
|
4
|
+
set errorMessages(value: any);
|
|
5
5
|
header: string;
|
|
6
6
|
showWarningMessage: boolean;
|
|
7
7
|
messages: object[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HmctsBannerInfo } from '../hmcts-banner/hmcts-banner-info.interface';
|
|
3
3
|
export declare class HmctsMainWrapperComponent implements OnInit {
|
|
4
|
-
bannerData:
|
|
4
|
+
bannerData: HmctsBannerInfo;
|
|
5
5
|
backLink: string;
|
|
6
6
|
title: string;
|
|
7
7
|
summaryErrors: {
|
|
@@ -12,7 +12,7 @@ export declare class HmctsMainWrapperComponent implements OnInit {
|
|
|
12
12
|
message: any;
|
|
13
13
|
}[];
|
|
14
14
|
};
|
|
15
|
-
banner:
|
|
15
|
+
set banner(value: HmctsBannerInfo);
|
|
16
16
|
actionButtons: {
|
|
17
17
|
name: string;
|
|
18
18
|
class: string;
|
|
@@ -1 +1,21 @@
|
|
|
1
1
|
export * from './hmcts-sub-navigation/hmcts-sub-navigation.component';
|
|
2
|
+
export * from './hmcts-primary-navigation/hmcts-primary-navigation.component';
|
|
3
|
+
export * from './hmcts-pagination/hmcts-pagination.component';
|
|
4
|
+
export * from './hmcts-main-wrapper/hmcts-main-wrapper.component';
|
|
5
|
+
export * from './hmcts-identity-bar/hmcts-identity-bar.component';
|
|
6
|
+
export * from './hmcts-error-summary/hmcts-error-summary.component';
|
|
7
|
+
export * from './hmcts-banner/hmcts-banner.component';
|
|
8
|
+
export * from './gov-uk-textarea/gov-uk-textarea.component';
|
|
9
|
+
export * from './gov-uk-table/gov-uk-table.component';
|
|
10
|
+
export * from './gov-uk-select/gov-uk-select.component';
|
|
11
|
+
export * from './gov-uk-radios/gov-uk-radios.component';
|
|
12
|
+
export * from './gov-uk-radio/gov-uk-radio.component';
|
|
13
|
+
export * from './gov-uk-label/gov-uk-label.component';
|
|
14
|
+
export * from './gov-uk-input/gov-uk-input.component';
|
|
15
|
+
export * from './gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component';
|
|
16
|
+
export * from './gov-uk-file-upload/gov-uk-file-upload.component';
|
|
17
|
+
export * from './gov-uk-fieldset/gov-uk-fieldset.component';
|
|
18
|
+
export * from './gov-uk-error-message/gov-uk-error-message.component';
|
|
19
|
+
export * from './gov-uk-date/gov-uk-date.component';
|
|
20
|
+
export * from './gov-uk-checkboxes/gov-uk-checkboxes.component';
|
|
21
|
+
export * from './gov-uk-checkbox/gov-uk-checkbox.component';
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { GovUiConfigModel } from './gov-ui-config-model';
|
|
3
1
|
export interface CheckboxesModel {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
items: GovUiConfigModel[];
|
|
2
|
+
id: string;
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
hint?: string;
|
|
9
6
|
}
|