@hmcts/rpx-xui-common-lib 2.1.7-angular-upgrade-11 → 2.1.7-javascript-void
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/README.md +1 -1
- package/esm2022/hmcts-rpx-xui-common-lib.mjs +5 -0
- package/esm2022/lib/components/accessibility/accessibility.component.mjs +833 -0
- package/esm2022/lib/components/checkbox-list/checkbox-list.component.mjs +232 -0
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +123 -0
- package/esm2022/lib/components/cookie-banner/cookie-banner.component.mjs +151 -0
- package/esm2022/lib/components/due-date/due-date.component.mjs +141 -0
- package/esm2022/lib/components/exui-main-wrapper/exui-page-wrapper.component.mjs +80 -0
- package/esm2022/lib/components/find-location/find-location.component.mjs +220 -0
- package/esm2022/lib/components/find-person/find-person.component.mjs +234 -0
- package/esm2022/lib/components/find-service/find-service.component.mjs +193 -0
- package/esm2022/lib/components/find-task-name/find-task-name.component.mjs +200 -0
- package/esm2022/lib/components/generic-filter/generic-filter-utils.mjs +21 -0
- package/esm2022/lib/components/generic-filter/generic-filter.component.mjs +1224 -0
- package/esm2022/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.mjs +56 -0
- package/esm2022/lib/components/invite-user-form/invite-user-form.component.mjs +51 -0
- package/esm2022/lib/components/invite-user-permissions/invite-user-permission.component.mjs +54 -0
- package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +33 -0
- package/esm2022/lib/components/pagination/pagination.component.mjs +92 -0
- package/esm2022/lib/components/public_api.mjs +39 -0
- package/esm2022/lib/components/search-judicials/search-judicials.component.mjs +185 -0
- package/esm2022/lib/components/search-location/search-location.component.mjs +240 -0
- package/esm2022/lib/components/search-service/search-service.component.mjs +94 -0
- package/esm2022/lib/components/search-venue/search-venue.component.mjs +188 -0
- package/esm2022/lib/components/selected-case/selected-case.component.mjs +381 -0
- package/esm2022/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +135 -0
- package/esm2022/lib/components/selected-case-list/selected-case-list.component.mjs +98 -0
- package/esm2022/lib/components/service-message/service-message.component.mjs +62 -0
- package/esm2022/lib/components/service-messages/service-messages.component.mjs +167 -0
- package/esm2022/lib/components/share-case/share-case.component.mjs +427 -0
- package/esm2022/lib/components/share-case-confirm/share-case-confirm.component.mjs +85 -0
- package/esm2022/lib/components/tab/tab.component.mjs +40 -0
- package/esm2022/lib/components/tc-confirm/tc-confirm.component.mjs +66 -0
- package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +17 -0
- package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +17 -0
- package/esm2022/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +58 -0
- package/esm2022/lib/components/user-details/user-details.component.mjs +276 -0
- package/esm2022/lib/components/user-list/user-list.component.mjs +100 -0
- package/esm2022/lib/components/user-select/user-select.component.mjs +94 -0
- package/esm2022/lib/components/write-address/write-address.component.mjs +342 -0
- package/esm2022/lib/components/write-address-inputs/write-address-inputs.component.mjs +165 -0
- package/esm2022/lib/directives/feature-toggle/feature-toggle.directive.mjs +41 -0
- package/esm2022/lib/directives/let/let.directive.mjs +29 -0
- package/esm2022/lib/exui-common-lib.module.mjs +313 -0
- package/esm2022/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +55 -0
- package/esm2022/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +137 -0
- package/esm2022/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +127 -0
- package/esm2022/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +46 -0
- package/esm2022/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +79 -0
- package/esm2022/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +79 -0
- package/esm2022/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +45 -0
- package/esm2022/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +71 -0
- package/esm2022/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +84 -0
- package/esm2022/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +48 -0
- package/esm2022/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +42 -0
- package/esm2022/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +80 -0
- package/esm2022/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +185 -0
- package/esm2022/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +57 -0
- package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner-info.interface.mjs +2 -0
- package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +111 -0
- package/esm2022/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +140 -0
- package/esm2022/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +34 -0
- package/esm2022/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +129 -0
- package/esm2022/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +204 -0
- package/esm2022/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +60 -0
- package/esm2022/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +58 -0
- package/esm2022/lib/gov-ui/directives/remove-host.directive.mjs +30 -0
- package/esm2022/lib/gov-ui/gov-ui.service.mjs +14 -0
- package/esm2022/lib/gov-ui/models/checkboxes-model.mjs +2 -0
- package/{esm2015/lib/gov-ui/models/gov-ui-config-model.js → esm2022/lib/gov-ui/models/gov-ui-config-model.mjs} +1 -1
- package/{esm2015/lib/gov-ui/models/public_api.js → esm2022/lib/gov-ui/models/public_api.mjs} +1 -2
- package/esm2022/lib/gov-ui/models/radio-buttons.model.mjs +2 -0
- package/esm2022/lib/gov-ui/util/helpers/html-templates.helper.mjs +22 -0
- package/{esm2015/lib/gov-ui/validators/checkboxes-be-checked.validator.js → esm2022/lib/gov-ui/validators/checkboxes-be-checked.validator.mjs} +1 -1
- package/{esm2015/lib/gov-ui/validators/date.validator.js → esm2022/lib/gov-ui/validators/date.validator.mjs} +1 -1
- package/esm2022/lib/gov-ui/validators/radio-group.validator.mjs +15 -0
- package/esm2022/lib/models/address-message.enum.mjs +11 -0
- package/esm2022/lib/models/address-option.model.mjs +21 -0
- package/esm2022/lib/models/address.model.mjs +4 -0
- package/{esm2015/lib/models/contact-details.model.js → esm2022/lib/models/contact-details.model.mjs} +1 -1
- package/esm2022/lib/models/feature-user.mjs +5 -0
- package/esm2022/lib/models/filter.model.mjs +3 -0
- package/esm2022/lib/models/index.mjs +19 -0
- package/esm2022/lib/models/location.model.mjs +7 -0
- package/esm2022/lib/models/person.model.mjs +21 -0
- package/{esm2015/lib/models/public_api.js → esm2022/lib/models/public_api.mjs} +2 -1
- package/{esm2015/lib/models/search-options.model.js → esm2022/lib/models/search-options.model.mjs} +1 -1
- package/esm2022/lib/models/service-message.model.mjs +2 -0
- package/esm2022/lib/models/task-name.model.mjs +2 -0
- package/esm2022/lib/models/user-access-type.model.mjs +2 -0
- package/esm2022/lib/models/user-details.model.mjs +2 -0
- package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +15 -0
- package/esm2022/lib/pipes/index.mjs +2 -0
- package/esm2022/lib/services/address/address-parser.mjs +76 -0
- package/esm2022/lib/services/address/address-type.enum.mjs +7 -0
- package/esm2022/lib/services/address/address.service.mjs +55 -0
- package/esm2022/lib/services/case-sharing-state/case-sharing-state.service.mjs +170 -0
- package/esm2022/lib/services/cookie/cookie.service.mjs +48 -0
- package/esm2022/lib/services/feature-toggle/feature-toggle.guard.mjs +37 -0
- package/esm2022/lib/services/feature-toggle/feature-toggle.service.mjs +33 -0
- package/esm2022/lib/services/feature-toggle/launch-darkly.service.mjs +70 -0
- package/esm2022/lib/services/filter/filter.service.mjs +95 -0
- package/esm2022/lib/services/find-person/find-person.service.mjs +92 -0
- package/esm2022/lib/services/google-analytics/google-analytics.service.mjs +73 -0
- package/esm2022/lib/services/google-tag-manager/google-tag-manager.service.mjs +85 -0
- package/{esm2015/lib/services/loading/loading.service.js → esm2022/lib/services/loading/loading.service.mjs} +8 -6
- package/esm2022/lib/services/locations/location.service.mjs +38 -0
- package/{esm2015/lib/services/manage-session/manage-session.services.js → esm2022/lib/services/manage-session/manage-session.services.mjs} +8 -10
- package/esm2022/lib/services/public-api.mjs +18 -0
- package/esm2022/lib/services/ref-data/index.mjs +4 -0
- package/esm2022/lib/services/ref-data/models/ref-data-htmcs-service.model.mjs +2 -0
- package/esm2022/lib/services/ref-data/models/ref-data-region.model.mjs +2 -0
- package/esm2022/lib/services/ref-data/ref-data-data-access/models/ref-data-locations-by-service-code-response.model.mjs +2 -0
- package/esm2022/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +33 -0
- package/esm2022/lib/services/ref-data/ref-data.service.mjs +34 -0
- package/esm2022/lib/services/role-guard/role.guard.mjs +43 -0
- package/esm2022/lib/services/role-guard/role.service.mjs +22 -0
- package/esm2022/lib/services/storage/session-storage/session-storage.service.mjs +43 -0
- package/esm2022/lib/services/task-name/task-name.service.mjs +35 -0
- package/esm2022/lib/services/timeout-notifications/timeout-notifications.service.mjs +103 -0
- package/{esm2015/public-api.js → esm2022/public-api.mjs} +2 -1
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs +10386 -0
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/accessibility/accessibility.component.d.ts +7 -1
- package/lib/components/checkbox-list/checkbox-list.component.d.ts +8 -2
- package/lib/components/contact-details/contact-details.component.d.ts +3 -0
- package/lib/components/cookie-banner/cookie-banner.component.d.ts +5 -1
- package/lib/components/due-date/due-date.component.d.ts +8 -2
- package/lib/components/exui-main-wrapper/exui-page-wrapper.component.d.ts +3 -0
- package/lib/components/find-location/find-location.component.d.ts +12 -6
- package/lib/components/find-person/find-person.component.d.ts +5 -2
- package/lib/components/find-service/find-service.component.d.ts +24 -9
- package/lib/components/find-task-name/find-task-name.component.d.ts +44 -0
- package/lib/components/generic-filter/generic-filter-utils.d.ts +2 -5
- package/lib/components/generic-filter/generic-filter.component.d.ts +25 -6
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +3 -0
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +3 -0
- package/lib/components/invite-user-permissions/invite-user-permission.component.d.ts +3 -0
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +8 -1
- package/lib/components/pagination/pagination.component.d.ts +3 -0
- package/lib/components/public_api.d.ts +6 -0
- package/lib/components/search-judicials/search-judicials.component.d.ts +3 -0
- package/lib/components/search-location/search-location.component.d.ts +25 -20
- package/lib/components/search-service/search-service.component.d.ts +16 -9
- package/lib/components/search-venue/search-venue.component.d.ts +3 -1
- package/lib/components/selected-case/selected-case.component.d.ts +3 -0
- package/lib/components/selected-case-confirm/selected-case-confirm.component.d.ts +3 -0
- package/lib/components/selected-case-list/selected-case-list.component.d.ts +3 -0
- package/lib/components/service-message/service-message.component.d.ts +9 -4
- package/lib/components/service-messages/service-messages.component.d.ts +15 -5
- package/lib/components/share-case/share-case.component.d.ts +4 -0
- package/lib/components/share-case-confirm/share-case-confirm.component.d.ts +3 -0
- package/lib/components/tab/tab.component.d.ts +3 -0
- package/lib/components/tc-confirm/tc-confirm.component.d.ts +3 -0
- package/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.d.ts +3 -0
- package/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.d.ts +3 -0
- package/lib/components/terms-and-conditions/terms-and-conditions.component.d.ts +3 -0
- package/lib/components/user-details/user-details.component.d.ts +4 -0
- package/lib/components/user-list/user-list.component.d.ts +3 -0
- package/lib/components/user-select/user-select.component.d.ts +5 -3
- package/lib/components/write-address/write-address.component.d.ts +45 -0
- package/lib/components/write-address-inputs/write-address-inputs.component.d.ts +16 -0
- package/lib/directives/feature-toggle/feature-toggle.directive.d.ts +3 -0
- package/lib/directives/let/let.directive.d.ts +3 -0
- package/lib/exui-common-lib.module.d.ts +83 -4
- package/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.d.ts +17 -5
- package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.d.ts +4 -2
- package/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.d.ts +4 -0
- package/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.d.ts +5 -2
- package/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.d.ts +3 -0
- package/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.d.ts +3 -0
- 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 +7 -2
- package/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.d.ts +3 -0
- package/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.d.ts +3 -0
- package/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.d.ts +6 -3
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +3 -0
- package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts +3 -0
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +3 -0
- package/lib/gov-ui/directives/remove-host.directive.d.ts +3 -0
- package/lib/gov-ui/gov-ui.service.d.ts +3 -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/models/address-message.enum.d.ts +9 -0
- package/lib/models/address-option.model.d.ts +9 -0
- package/lib/models/address.model.d.ts +9 -0
- package/lib/models/contact-details.model.d.ts +4 -0
- package/lib/models/feature-user.d.ts +4 -6
- package/lib/models/filter.model.d.ts +42 -9
- package/lib/models/index.d.ts +4 -0
- package/lib/models/location.model.d.ts +12 -12
- package/lib/models/person.model.d.ts +5 -3
- package/lib/models/public_api.d.ts +1 -0
- package/lib/models/search-options.model.d.ts +1 -1
- package/lib/models/service-message.model.d.ts +8 -0
- package/lib/models/task-name.model.d.ts +4 -0
- package/lib/models/user-access-type.model.d.ts +6 -0
- package/lib/models/user-details.model.d.ts +2 -0
- package/lib/pipes/capitalize/capitalize.pipe.d.ts +7 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/services/address/address-parser.d.ts +17 -0
- package/lib/services/address/address-type.enum.d.ts +5 -0
- package/lib/services/address/address.service.d.ts +15 -0
- package/lib/services/case-sharing-state/case-sharing-state.service.d.ts +3 -0
- package/lib/services/cookie/cookie.service.d.ts +3 -0
- package/lib/services/feature-toggle/feature-toggle.guard.d.ts +8 -2
- package/lib/services/feature-toggle/feature-toggle.service.d.ts +4 -0
- package/lib/services/feature-toggle/launch-darkly.service.d.ts +14 -10
- package/lib/services/filter/filter.service.d.ts +6 -0
- package/lib/services/find-person/find-person.service.d.ts +5 -2
- package/lib/services/google-analytics/google-analytics.service.d.ts +4 -1
- package/lib/services/google-tag-manager/google-tag-manager.service.d.ts +5 -1
- package/lib/services/loading/loading.service.d.ts +3 -0
- package/lib/services/locations/location.service.d.ts +4 -1
- package/lib/services/manage-session/manage-session.services.d.ts +3 -0
- package/lib/services/public-api.d.ts +2 -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 +18 -0
- package/lib/services/ref-data/ref-data.service.d.ts +17 -0
- package/lib/services/role-guard/role.guard.d.ts +7 -3
- package/lib/services/role-guard/role.service.d.ts +8 -4
- package/lib/services/{session-storage → storage/session-storage}/session-storage.service.d.ts +3 -0
- package/lib/services/task-name/task-name.service.d.ts +17 -0
- package/lib/services/timeout-notifications/timeout-notifications.service.d.ts +8 -2
- package/package.json +21 -11
- package/public-api.d.ts +1 -0
- package/bundles/hmcts-rpx-xui-common-lib.umd.js +0 -5141
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +0 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +0 -2
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +0 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +0 -70
- package/esm2015/lib/components/accessibility/accessibility.component.js +0 -14
- package/esm2015/lib/components/checkbox-list/checkbox-list.component.js +0 -177
- package/esm2015/lib/components/contact-details/contact-details.component.js +0 -17
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +0 -68
- package/esm2015/lib/components/due-date/due-date.component.js +0 -115
- package/esm2015/lib/components/exui-main-wrapper/exui-page-wrapper.component.js +0 -28
- package/esm2015/lib/components/find-location/find-location.component.js +0 -124
- package/esm2015/lib/components/find-person/find-person.component.js +0 -118
- package/esm2015/lib/components/find-service/find-service.component.js +0 -31
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +0 -21
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +0 -387
- package/esm2015/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.js +0 -27
- package/esm2015/lib/components/invite-user-form/invite-user-form.component.js +0 -25
- package/esm2015/lib/components/invite-user-permissions/invite-user-permission.component.js +0 -25
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +0 -18
- package/esm2015/lib/components/pagination/pagination.component.js +0 -28
- package/esm2015/lib/components/public_api.js +0 -33
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +0 -126
- package/esm2015/lib/components/search-location/search-location.component.js +0 -133
- package/esm2015/lib/components/search-service/search-service.component.js +0 -31
- package/esm2015/lib/components/search-venue/search-venue.component.js +0 -123
- package/esm2015/lib/components/selected-case/selected-case.component.js +0 -158
- package/esm2015/lib/components/selected-case-confirm/selected-case-confirm.component.js +0 -36
- package/esm2015/lib/components/selected-case-list/selected-case-list.component.js +0 -49
- package/esm2015/lib/components/service-message/service-message.component.js +0 -22
- package/esm2015/lib/components/service-messages/service-messages.component.js +0 -48
- package/esm2015/lib/components/share-case/share-case.component.js +0 -205
- package/esm2015/lib/components/share-case-confirm/share-case-confirm.component.js +0 -34
- package/esm2015/lib/components/tab/tab.component.js +0 -21
- package/esm2015/lib/components/tc-confirm/tc-confirm.component.js +0 -22
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.js +0 -13
- package/esm2015/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.js +0 -13
- package/esm2015/lib/components/terms-and-conditions/terms-and-conditions.component.js +0 -16
- package/esm2015/lib/components/user-details/user-details.component.js +0 -41
- package/esm2015/lib/components/user-list/user-list.component.js +0 -33
- package/esm2015/lib/components/user-select/user-select.component.js +0 -58
- package/esm2015/lib/directives/feature-toggle/feature-toggle.directive.js +0 -42
- package/esm2015/lib/directives/let/let.directive.js +0 -30
- package/esm2015/lib/exui-common-lib.module.js +0 -160
- package/esm2015/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.js +0 -31
- package/esm2015/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.js +0 -21
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +0 -64
- package/esm2015/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.js +0 -22
- package/esm2015/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.js +0 -28
- package/esm2015/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.js +0 -35
- package/esm2015/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.js +0 -23
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +0 -34
- package/esm2015/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.js +0 -21
- package/esm2015/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.js +0 -33
- package/esm2015/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.js +0 -21
- package/esm2015/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.js +0 -27
- package/esm2015/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.js +0 -39
- package/esm2015/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.js +0 -27
- package/esm2015/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.js +0 -23
- package/esm2015/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.js +0 -48
- package/esm2015/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.js +0 -19
- package/esm2015/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.js +0 -41
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +0 -28
- package/esm2015/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.js +0 -23
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +0 -15
- package/esm2015/lib/gov-ui/directives/remove-host.directive.js +0 -29
- package/esm2015/lib/gov-ui/gov-ui.service.js +0 -13
- package/esm2015/lib/gov-ui/models/banner-data-model.js +0 -2
- package/esm2015/lib/gov-ui/models/checkboxes-model.js +0 -2
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +0 -2
- package/esm2015/lib/gov-ui/util/helpers/html-templates.helper.js +0 -22
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +0 -22
- package/esm2015/lib/gov-ui/validators/radio-group.validator.js +0 -15
- package/esm2015/lib/models/feature-user.js +0 -5
- package/esm2015/lib/models/filter.model.js +0 -3
- package/esm2015/lib/models/index.js +0 -15
- package/esm2015/lib/models/location.model.js +0 -7
- package/esm2015/lib/models/person.model.js +0 -19
- package/esm2015/lib/models/user-details.model.js +0 -2
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +0 -157
- package/esm2015/lib/services/cookie/cookie.service.js +0 -47
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +0 -35
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +0 -27
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +0 -59
- package/esm2015/lib/services/filter/filter.service.js +0 -64
- package/esm2015/lib/services/find-person/find-person.service.js +0 -106
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +0 -68
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +0 -71
- package/esm2015/lib/services/locations/location.service.js +0 -39
- package/esm2015/lib/services/public-api.js +0 -16
- package/esm2015/lib/services/role-guard/role.guard.js +0 -37
- package/esm2015/lib/services/role-guard/role.service.js +0 -20
- package/esm2015/lib/services/session-storage/session-storage.service.js +0 -41
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +0 -94
- package/fesm2015/hmcts-rpx-xui-common-lib.js +0 -4174
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +0 -1
- package/hmcts-rpx-xui-common-lib.d.ts +0 -69
- package/hmcts-rpx-xui-common-lib.metadata.json +0 -1
- package/lib/gov-ui/models/banner-data-model.d.ts +0 -4
- package/lib/gov-ui/models/isession-storage.interface.d.ts +0 -4
- package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +0 -6
- /package/{esm2015/lib/components/index.js → esm2022/lib/components/index.mjs} +0 -0
- /package/{esm2015/lib/directives/index.js → esm2022/lib/directives/index.mjs} +0 -0
- /package/{esm2015/lib/directives/public-api.js → esm2022/lib/directives/public-api.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/components/index.js → esm2022/lib/gov-ui/components/index.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/components/public_api.js → esm2022/lib/gov-ui/components/public_api.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/index.js → esm2022/lib/gov-ui/index.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/models/error-messages-model.js → esm2022/lib/gov-ui/models/error-messages-model.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/models/index.js → esm2022/lib/gov-ui/models/index.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/public_api.js → esm2022/lib/gov-ui/public_api.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/validators/index.js → esm2022/lib/gov-ui/validators/index.mjs} +0 -0
- /package/{esm2015/lib/gov-ui/validators/public_api.js → esm2022/lib/gov-ui/validators/public_api.mjs} +0 -0
- /package/{esm2015/lib/models/case-share.model.js → esm2022/lib/models/case-share.model.mjs} +0 -0
- /package/{esm2015/lib/models/due-date.model.js → esm2022/lib/models/due-date.model.mjs} +0 -0
- /package/{esm2015/lib/models/idle-config.model.js → esm2022/lib/models/idle-config.model.mjs} +0 -0
- /package/{esm2015/lib/models/pagination.model.js → esm2022/lib/models/pagination.model.mjs} +0 -0
- /package/{esm2015/lib/models/tcDocument.model.js → esm2022/lib/models/tcDocument.model.mjs} +0 -0
- /package/{esm2015/lib/models/timeout-notification.model.js → esm2022/lib/models/timeout-notification.model.mjs} +0 -0
- /package/{esm2015/lib/models/user.model.js → esm2022/lib/models/user.model.mjs} +0 -0
- /package/{esm2015/lib/services/index.js → esm2022/lib/services/index.mjs} +0 -0
- /package/{esm2015/lib/window.js → esm2022/lib/window.mjs} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FormGroup } from '@angular/forms';
|
|
2
2
|
import { ErrorMessagesModel } from '../../models';
|
|
3
3
|
import { GovUiConfigModel } from '../../models/gov-ui-config-model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class GovUkSelectComponent {
|
|
5
6
|
constructor();
|
|
6
7
|
errorMessage: ErrorMessagesModel;
|
|
@@ -12,4 +13,6 @@ export declare class GovUkSelectComponent {
|
|
|
12
13
|
id: string;
|
|
13
14
|
}[];
|
|
14
15
|
setDescribedBy(): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovUkSelectComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovUkSelectComponent, "xuilib-gov-select", never, { "errorMessage": { "alias": "errorMessage"; "required": false; }; "group": { "alias": "group"; "required": false; }; "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class GovukTableComponent {
|
|
2
3
|
classes: string;
|
|
3
4
|
caption: string;
|
|
@@ -6,6 +7,8 @@ export declare class GovukTableComponent {
|
|
|
6
7
|
columnConfig: GovukTableColumnConfig[];
|
|
7
8
|
constructor();
|
|
8
9
|
formatDate(date: Date): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovukTableComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovukTableComponent, "xuilib-gov-uk-table", never, { "classes": { "alias": "classes"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "firstCellIsHeader": { "alias": "firstCellIsHeader"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "columnConfig": { "alias": "columnConfig"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
12
|
}
|
|
10
13
|
export declare class GovukTableColumnConfig {
|
|
11
14
|
header: string;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { FormGroup } from '@angular/forms';
|
|
2
2
|
import { ErrorMessagesModel } from '../../models';
|
|
3
3
|
import { GovUiConfigModel } from '../../models/gov-ui-config-model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class GovUkTextareaComponent {
|
|
5
6
|
config: GovUiConfigModel;
|
|
6
7
|
errorMessage: ErrorMessagesModel;
|
|
7
8
|
group: FormGroup;
|
|
8
9
|
setDescribedBy(): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GovUkTextareaComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GovUkTextareaComponent, "xuilib-gov-uk-textarea", never, { "config": { "alias": "config"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "group": { "alias": "group"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
12
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class HmctsBannerComponent {
|
|
2
|
-
constructor();
|
|
3
|
-
type: string;
|
|
4
3
|
message: string;
|
|
4
|
+
type: 'warning' | 'success' | 'information';
|
|
5
|
+
title?: string;
|
|
6
|
+
showMessageIcon?: boolean;
|
|
7
|
+
messageBoldText?: boolean;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsBannerComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsBannerComponent, "xuilib-hmcts-banner", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showMessageIcon": { "alias": "showMessageIcon"; "required": false; }; "messageBoldText": { "alias": "messageBoldText"; "required": false; }; }, {}, never, never, false, never>;
|
|
5
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChanges {
|
|
3
4
|
private readonly document;
|
|
4
5
|
set errorMessages(value: any);
|
|
@@ -10,4 +11,6 @@ export declare class HmctsErrorSummaryComponent implements AfterViewInit, OnChan
|
|
|
10
11
|
ngOnChanges(changes: SimpleChanges): void;
|
|
11
12
|
scrollTo(selector: any): void;
|
|
12
13
|
hasElement(selector: any): any;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsErrorSummaryComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsErrorSummaryComponent, "xuilib-hmcts-error-summary", never, { "errorMessages": { "alias": "errorMessages"; "required": false; }; "header": { "alias": "header"; "required": false; }; "showWarningMessage": { "alias": "showWarningMessage"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
16
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class HmctsIdentityBarComponent {
|
|
2
3
|
set content(value: any);
|
|
3
4
|
value: string;
|
|
4
5
|
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsIdentityBarComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsIdentityBarComponent, "xuilib-hmcts-identity-bar", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, false, never>;
|
|
5
8
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { HmctsBannerInfo } from '../hmcts-banner/hmcts-banner-info.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class HmctsMainWrapperComponent implements OnInit {
|
|
4
|
-
bannerData:
|
|
5
|
+
bannerData: HmctsBannerInfo;
|
|
5
6
|
backLink: string;
|
|
6
7
|
title: string;
|
|
7
8
|
summaryErrors: {
|
|
@@ -12,7 +13,7 @@ export declare class HmctsMainWrapperComponent implements OnInit {
|
|
|
12
13
|
message: any;
|
|
13
14
|
}[];
|
|
14
15
|
};
|
|
15
|
-
set banner(value:
|
|
16
|
+
set banner(value: HmctsBannerInfo);
|
|
16
17
|
actionButtons: {
|
|
17
18
|
name: string;
|
|
18
19
|
class: string;
|
|
@@ -24,4 +25,6 @@ export declare class HmctsMainWrapperComponent implements OnInit {
|
|
|
24
25
|
constructor();
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
onGoBack(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsMainWrapperComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsMainWrapperComponent, "xuilib-hmcts-main-wrapper", never, { "backLink": { "alias": "backLink"; "required": false; }; "title": { "alias": "title"; "required": false; }; "summaryErrors": { "alias": "summaryErrors"; "required": false; }; "banner": { "alias": "banner"; "required": false; }; "actionButtons": { "alias": "actionButtons"; "required": false; }; "showWarningMessage": { "alias": "showWarningMessage"; "required": false; }; }, { "backEvent": "backEvent"; }, never, ["*"], false, never>;
|
|
27
30
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class HmctsPaginationComponent {
|
|
3
4
|
id: string;
|
|
4
5
|
maxSize: number;
|
|
@@ -7,4 +8,6 @@ export declare class HmctsPaginationComponent {
|
|
|
7
8
|
showResultCount: boolean;
|
|
8
9
|
pageChange: EventEmitter<number>;
|
|
9
10
|
pageBoundsCorrection: EventEmitter<number>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsPaginationComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsPaginationComponent, "xuilib-hmcts-pagination", never, { "id": { "alias": "id"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "showPageNumbers": { "alias": "showPageNumbers"; "required": false; }; "showResultCount": { "alias": "showResultCount"; "required": false; }; }, { "pageChange": "pageChange"; "pageBoundsCorrection": "pageBoundsCorrection"; }, never, never, false, never>;
|
|
10
13
|
}
|
package/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class HmctsPrimaryNavigationComponent {
|
|
2
3
|
set userLoggedIn(value: any);
|
|
3
4
|
label: string;
|
|
@@ -9,4 +10,6 @@ export declare class HmctsPrimaryNavigationComponent {
|
|
|
9
10
|
isBrandedHeader: boolean;
|
|
10
11
|
isUserLoggedIn: boolean;
|
|
11
12
|
constructor();
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsPrimaryNavigationComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsPrimaryNavigationComponent, "xuilib-hmcts-primary-navigation", never, { "userLoggedIn": { "alias": "userLoggedIn"; "required": false; }; "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; "isBrandedHeader": { "alias": "isBrandedHeader"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
15
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class HmctsSubNavigationComponent {
|
|
2
3
|
label: string;
|
|
3
4
|
items: SubNavigation[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HmctsSubNavigationComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HmctsSubNavigationComponent, "xuilib-hmcts-sub-navigation", never, { "label": { "alias": "label"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
4
7
|
}
|
|
5
8
|
export interface SubNavigation {
|
|
6
9
|
text: string;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class RemoveHostDirective implements OnInit {
|
|
3
4
|
private readonly el;
|
|
4
5
|
constructor(el: ElementRef);
|
|
5
6
|
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveHostDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveHostDirective, "[appRemoveHost]", never, {}, {}, never, never, false, never>;
|
|
6
9
|
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum AddressMessageEnum {
|
|
2
|
+
NO_OPTION_SELECTED = "Select an option",
|
|
3
|
+
NO_STREET_SELECTED = "Enter building and street",
|
|
4
|
+
NO_CITY_SELECTED = "Enter town or city",
|
|
5
|
+
NO_COUNTRY_SELECTED = "Enter country",
|
|
6
|
+
NO_POSTCODE_SELECTED = "Enter a valid postcode",
|
|
7
|
+
SELECT_ADDRESS = "Select an address",
|
|
8
|
+
INVALID_POSTCODE = "Enter valid postcode"
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AddressModel } from '.';
|
|
2
|
+
export declare class AddressOption {
|
|
3
|
+
description: string;
|
|
4
|
+
value: AddressModel;
|
|
5
|
+
constructor(addressModel: AddressModel, description: string);
|
|
6
|
+
private getDescription;
|
|
7
|
+
private prefixWithCommaIfPresent;
|
|
8
|
+
private removeInitialCommaIfPresent;
|
|
9
|
+
}
|
|
@@ -3,10 +3,8 @@ export declare class AnonymousFeatureUser {
|
|
|
3
3
|
}
|
|
4
4
|
export declare class LoggedInFeatureUser {
|
|
5
5
|
key: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
orgId: string;
|
|
10
|
-
};
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
roles: string[];
|
|
8
|
+
orgId: string;
|
|
11
9
|
}
|
|
12
|
-
export
|
|
10
|
+
export type FeatureUser = AnonymousFeatureUser | LoggedInFeatureUser;
|
|
@@ -1,51 +1,84 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
1
2
|
import { BookingCheckType } from './location.model';
|
|
2
3
|
import { PersonRole } from './person.model';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
4
|
+
export type FilterFieldType = 'group-title' | 'checkbox' | 'radio' | 'select' | 'find-person' | 'find-location' | 'checkbox-large' | 'find-service' | 'text-input' | 'email-input' | 'group-select' | 'nested-checkbox' | 'find-task-name';
|
|
5
|
+
export type FilterPersistence = 'local' | 'session' | 'memory';
|
|
6
|
+
export interface FilterConfigOption {
|
|
7
|
+
key: string;
|
|
8
|
+
label: string;
|
|
9
|
+
selectAll?: boolean;
|
|
10
|
+
}
|
|
5
11
|
export interface FilterConfig {
|
|
6
12
|
id: string;
|
|
7
13
|
fields: FilterFieldConfig[];
|
|
8
14
|
persistence: FilterPersistence;
|
|
9
15
|
applyButtonText: string;
|
|
16
|
+
enableDisabledButton?: boolean;
|
|
10
17
|
cancelButtonText: string;
|
|
11
18
|
cancelSetting?: FilterSetting;
|
|
12
|
-
enableDisabledButton?: boolean;
|
|
13
19
|
showCancelFilterButton?: boolean;
|
|
20
|
+
preSelectedNestedCheckbox?: number[];
|
|
21
|
+
cancelButtonCallback?(): void;
|
|
22
|
+
applyButtonCallback?(): void;
|
|
23
|
+
copyFields?(form: FormGroup): FormGroup;
|
|
24
|
+
}
|
|
25
|
+
export interface FilterFieldOption {
|
|
26
|
+
key: string;
|
|
27
|
+
label: string;
|
|
28
|
+
selectAll?: true;
|
|
14
29
|
}
|
|
15
30
|
export interface FilterFieldConfig {
|
|
16
31
|
name: string;
|
|
17
|
-
options:
|
|
18
|
-
key: string;
|
|
19
|
-
label: string;
|
|
20
|
-
selectAll?: true;
|
|
21
|
-
}[];
|
|
32
|
+
options: FilterConfigOption[];
|
|
22
33
|
minSelected: number;
|
|
23
34
|
maxSelected: number;
|
|
35
|
+
type: FilterFieldType;
|
|
24
36
|
minSelectedError?: string;
|
|
25
37
|
maxSelectedError?: string;
|
|
26
38
|
displayMaxSelectedError?: boolean;
|
|
27
39
|
displayMinSelectedError?: boolean;
|
|
40
|
+
emailError?: string;
|
|
28
41
|
lineBreakBefore?: boolean;
|
|
29
42
|
showCondition?: string;
|
|
30
43
|
enableCondition?: string;
|
|
31
44
|
enableAddButton?: boolean;
|
|
32
45
|
enableAddLocationButton?: boolean;
|
|
46
|
+
enableAddTaskNameButton?: boolean;
|
|
33
47
|
changeResetFields?: string[];
|
|
34
48
|
findPersonField?: string;
|
|
35
49
|
findLocationField?: string;
|
|
50
|
+
findTaskNameField?: string;
|
|
36
51
|
domainField?: string;
|
|
37
52
|
disable?: boolean;
|
|
38
53
|
disabledText?: string;
|
|
39
|
-
type: FilterFieldType;
|
|
40
54
|
domain?: PersonRole;
|
|
41
55
|
title?: string;
|
|
56
|
+
titleClasses?: string;
|
|
57
|
+
titleHint?: string;
|
|
42
58
|
subTitle?: string;
|
|
43
59
|
locationTitle?: string;
|
|
60
|
+
hintText?: string;
|
|
44
61
|
radioSelectionChange?: string;
|
|
45
62
|
bookingCheckType?: BookingCheckType;
|
|
63
|
+
placeholderContent?: string;
|
|
64
|
+
maxWidth480px?: boolean;
|
|
65
|
+
maxRows?: number;
|
|
66
|
+
groupOptions?: GroupOptions[];
|
|
67
|
+
maxlength?: number;
|
|
68
|
+
defaultOption?: FilterConfigOption;
|
|
69
|
+
readonly?: boolean;
|
|
70
|
+
servicesField?: string;
|
|
71
|
+
services?: string[];
|
|
72
|
+
propertyNameFilter?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface GroupOptions {
|
|
75
|
+
group: string;
|
|
76
|
+
options: FilterFieldOption[];
|
|
77
|
+
placeholderContent?: string;
|
|
46
78
|
}
|
|
47
79
|
export interface FilterSetting {
|
|
48
80
|
id: string;
|
|
81
|
+
idamId?: string;
|
|
49
82
|
reset?: boolean;
|
|
50
83
|
fields: {
|
|
51
84
|
name: string;
|
package/lib/models/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
export * from './address-message.enum';
|
|
2
|
+
export * from './address-option.model';
|
|
3
|
+
export * from './address.model';
|
|
1
4
|
export * from './case-share.model';
|
|
2
5
|
export * from './contact-details.model';
|
|
3
6
|
export * from './due-date.model';
|
|
4
7
|
export * from './feature-user';
|
|
8
|
+
export * from './filter.model';
|
|
5
9
|
export * from './idle-config.model';
|
|
6
10
|
export * from './location.model';
|
|
7
11
|
export * from './pagination.model';
|
|
@@ -13,45 +13,45 @@ export interface LocationModel {
|
|
|
13
13
|
court_status?: string;
|
|
14
14
|
court_open_date?: string;
|
|
15
15
|
closed_date?: string;
|
|
16
|
-
postcode
|
|
17
|
-
court_address
|
|
16
|
+
postcode?: string;
|
|
17
|
+
court_address?: string;
|
|
18
18
|
phone_number?: string;
|
|
19
19
|
court_location_code?: string;
|
|
20
20
|
dx_address?: string;
|
|
21
21
|
welsh_site_name?: string;
|
|
22
22
|
welsh_court_address?: string;
|
|
23
23
|
venue_name?: string;
|
|
24
|
-
is_case_management_location
|
|
25
|
-
is_hearing_location
|
|
24
|
+
is_case_management_location?: string;
|
|
25
|
+
is_hearing_location?: string;
|
|
26
26
|
}
|
|
27
27
|
export interface LocationByEPIMMSModel {
|
|
28
28
|
epimms_id: string;
|
|
29
|
-
site_name
|
|
29
|
+
site_name?: string;
|
|
30
30
|
court_name?: string;
|
|
31
31
|
open_for_public?: string;
|
|
32
|
-
region_id
|
|
33
|
-
region
|
|
32
|
+
region_id?: string;
|
|
33
|
+
region?: string;
|
|
34
34
|
cluster_id?: string;
|
|
35
35
|
cluster_name?: string;
|
|
36
36
|
court_status?: string;
|
|
37
37
|
court_open_date?: string;
|
|
38
38
|
closed_date?: string;
|
|
39
|
-
postcode
|
|
40
|
-
court_address
|
|
39
|
+
postcode?: string;
|
|
40
|
+
court_address?: string;
|
|
41
41
|
phone_number?: string;
|
|
42
42
|
court_location_code?: string;
|
|
43
43
|
dx_address?: string;
|
|
44
44
|
welsh_site_name?: string;
|
|
45
45
|
welsh_court_address?: string;
|
|
46
46
|
venue_name?: string;
|
|
47
|
-
is_case_management_location
|
|
48
|
-
is_hearing_location
|
|
47
|
+
is_case_management_location?: string;
|
|
48
|
+
is_hearing_location?: string;
|
|
49
49
|
}
|
|
50
50
|
export interface LocationsByService {
|
|
51
51
|
service?: string;
|
|
52
52
|
serviceCode?: string;
|
|
53
53
|
bookable?: boolean;
|
|
54
|
-
locations:
|
|
54
|
+
locations: LocationByEPIMMSModel[];
|
|
55
55
|
}
|
|
56
56
|
export declare enum BookingCheckType {
|
|
57
57
|
NO_CHECK = "NO_CHECK",
|
|
@@ -32,15 +32,17 @@ export interface Caseworker {
|
|
|
32
32
|
}
|
|
33
33
|
export declare enum PersonRole {
|
|
34
34
|
JUDICIAL = "Judicial",
|
|
35
|
-
|
|
35
|
+
LEGAL_OPERATIONS = "Legal Ops",
|
|
36
36
|
ADMIN = "Admin",
|
|
37
|
-
CTSC = "CTSC
|
|
37
|
+
CTSC = "CTSC",
|
|
38
38
|
ALL = "All"
|
|
39
39
|
}
|
|
40
40
|
export declare enum RoleCategory {
|
|
41
41
|
JUDICIAL = "JUDICIAL",
|
|
42
|
-
|
|
42
|
+
LEGAL_OPERATIONS = "LEGAL_OPERATIONS",
|
|
43
43
|
ADMIN = "ADMIN",
|
|
44
44
|
CTSC = "CTSC",
|
|
45
|
+
PROFESSIONAL = "PROFESSIONAL",
|
|
46
|
+
CITIZEN = "CITIZEN",
|
|
45
47
|
ALL = "ALL"
|
|
46
48
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CapitalizePipe implements PipeTransform {
|
|
4
|
+
transform(value: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizePipe, "capitalize", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './capitalize/capitalize.pipe';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AddressModel } from '../../models';
|
|
2
|
+
/**
|
|
3
|
+
* Moving all this logic here into Address Parser class, so that it
|
|
4
|
+
* will be easier for us when we move this parsing logic to into
|
|
5
|
+
* `Shim` java service.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AddressParser {
|
|
8
|
+
parse(address: any): AddressModel;
|
|
9
|
+
private parseAddressLine1;
|
|
10
|
+
private parseAddressLine2;
|
|
11
|
+
private parseAddressLine3;
|
|
12
|
+
private removeNonAddressValues;
|
|
13
|
+
private removeUndefinedString;
|
|
14
|
+
private removeEmptySpaces;
|
|
15
|
+
private removeInitialComma;
|
|
16
|
+
private prefixWithCommaIfPresent;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AddressModel } from '../../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AddressService {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
getAddressesForPostcode(postcode: string): Observable<AddressModel[]>;
|
|
9
|
+
private format;
|
|
10
|
+
private formatAddressLines;
|
|
11
|
+
private shiftAddressLinesUp;
|
|
12
|
+
private toCapitalCase;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddressService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AddressService>;
|
|
15
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SharedCase } from '../../models/case-share.model';
|
|
2
2
|
import { UserDetails } from '../../models/user-details.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class CaseSharingStateService {
|
|
4
5
|
private caseState;
|
|
5
6
|
private readonly subject;
|
|
@@ -12,4 +13,6 @@ export declare class CaseSharingStateService {
|
|
|
12
13
|
requestCancel(caseId: string, user: UserDetails): void;
|
|
13
14
|
removeCase(caseId: string): void;
|
|
14
15
|
userHasAccess(c: SharedCase, user: UserDetails): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseSharingStateService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CaseSharingStateService>;
|
|
15
18
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class CookieService {
|
|
2
3
|
private readonly document?;
|
|
3
4
|
constructor(doc?: any);
|
|
@@ -6,4 +7,6 @@ export declare class CookieService {
|
|
|
6
7
|
deleteCookie(key: string, path?: string, domain?: string): void;
|
|
7
8
|
deleteCookieByPartialMatch(key: string, path?: string, domain?: string): void;
|
|
8
9
|
checkCookie(key: string): boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CookieService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CookieService>;
|
|
9
12
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot,
|
|
1
|
+
import { ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { FeatureToggleService } from './feature-toggle.service';
|
|
4
|
-
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FeatureToggleGuard {
|
|
5
6
|
private readonly featureToggleService;
|
|
6
7
|
private readonly router;
|
|
7
8
|
constructor(featureToggleService: FeatureToggleService, router: Router);
|
|
@@ -10,7 +11,12 @@ export declare class FeatureToggleGuard implements CanActivate {
|
|
|
10
11
|
* in the data array for the route:
|
|
11
12
|
* - needsFeaturesEnabled: An array of feature keys that need to be enabled for this route
|
|
12
13
|
* - featureDisabledRedirect: the URL to redirect to when the this route is not accessible due to disabled features
|
|
14
|
+
* - expectFeatureEnabled: Sets whether a route should be enabled/disabled based on whether feature is present
|
|
13
15
|
* @param route Automatically provided by Angular
|
|
16
|
+
* Note: Per Angular 18, when a guard returns a UrlTree as a redirect,
|
|
17
|
+
* the redirecting navigation will now use replaceUrl if the initial navigation was also using the replaceUrl option.
|
|
14
18
|
*/
|
|
15
19
|
canActivate(route: ActivatedRouteSnapshot): Observable<boolean | UrlTree>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureToggleGuard, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureToggleGuard>;
|
|
16
22
|
}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { FeatureUser } from '../../models/feature-user';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FeatureToggleService {
|
|
4
5
|
initialize(_user: FeatureUser, _clientId: string): void;
|
|
5
6
|
isEnabled(_feature: string): Observable<boolean>;
|
|
6
7
|
getValue<R>(_key: string, _defaultValue: R): Observable<R>;
|
|
7
8
|
getValueOnce<R>(_key: string, _defaultValue: R): Observable<R>;
|
|
9
|
+
getValueSync<R>(feature: string, defaultValue: R): R;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureToggleService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeatureToggleService>;
|
|
8
12
|
}
|