@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,24 +1,28 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { FeatureUser } from '../../models/feature-user';
|
|
3
3
|
import { FeatureToggleService } from './feature-toggle.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class LaunchDarklyService implements FeatureToggleService {
|
|
5
6
|
private client;
|
|
6
7
|
private readonly ready;
|
|
7
8
|
private readonly features;
|
|
8
|
-
private
|
|
9
|
+
private context;
|
|
9
10
|
private clientId;
|
|
10
11
|
initialize(user: FeatureUser, clientId: string): void;
|
|
11
|
-
isEnabled(feature: string): Observable<boolean>;
|
|
12
|
+
isEnabled(feature: string, defaultValue?: boolean): Observable<boolean>;
|
|
12
13
|
getArray<R = any>(feature: string): Observable<R[]>;
|
|
13
14
|
getValue<R>(feature: string, defaultValue: R): Observable<R>;
|
|
14
15
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
* This method returns an observable that will only get the state of the feature toggle
|
|
17
|
+
* once. It calls the LD SDK directly, and should only be used in circumstances where
|
|
18
|
+
* only one value should be emitted, that value coming directly from LD. This will likely
|
|
19
|
+
* only apply for Guards, and should be used only when absolutely necessary.
|
|
20
|
+
* @see getValue for regular usage.
|
|
21
|
+
* @param feature string
|
|
22
|
+
* @param defaultValue R
|
|
23
|
+
*/
|
|
23
24
|
getValueOnce<R>(feature: string, defaultValue: R): Observable<R>;
|
|
25
|
+
getValueSync<R>(feature: string, defaultValue: R): R;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LaunchDarklyService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LaunchDarklyService>;
|
|
24
28
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
2
|
import { FilterError, FilterPersistence, FilterSetting } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class FilterService {
|
|
4
5
|
givenErrors: BehaviorSubject<FilterError[]>;
|
|
5
6
|
isInitialSetting: boolean;
|
|
@@ -7,9 +8,14 @@ export declare class FilterService {
|
|
|
7
8
|
private readonly streams;
|
|
8
9
|
persist(setting: FilterSetting, persistence: FilterPersistence): void;
|
|
9
10
|
get(id: string): FilterSetting | null;
|
|
11
|
+
isSameUser(id: string): boolean;
|
|
10
12
|
getStream(id: string): Observable<FilterSetting>;
|
|
13
|
+
clearSessionAndLocalPersistance(id: string): void;
|
|
11
14
|
private persistLocal;
|
|
12
15
|
private persistSession;
|
|
13
16
|
private persistMemory;
|
|
14
17
|
private updateStreams;
|
|
18
|
+
getUserId(): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FilterService>;
|
|
15
21
|
}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { Caseworker, JudicialUserModel, Person, SearchOptions } from '../../models';
|
|
4
|
-
import { SessionStorageService } from '../session-storage/session-storage.service';
|
|
4
|
+
import { SessionStorageService } from '../storage/session-storage/session-storage.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FindAPersonService {
|
|
6
7
|
private readonly http;
|
|
7
8
|
private readonly sessionStorageService;
|
|
8
9
|
static caseworkersKey: string;
|
|
9
10
|
userId: string;
|
|
10
|
-
assignedUser: string;
|
|
11
|
+
assignedUser: string | string[];
|
|
11
12
|
constructor(http: HttpClient, sessionStorageService: SessionStorageService);
|
|
12
13
|
find(searchOptions: SearchOptions): Observable<Person[]>;
|
|
13
14
|
findCaseworkers(searchOptions: SearchOptions): Observable<Person[]>;
|
|
14
15
|
mapCaseworkers(caseworkers: Caseworker[], roleCategory: string): Person[];
|
|
15
16
|
searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
|
|
16
17
|
searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FindAPersonService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FindAPersonService>;
|
|
17
20
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Title } from '@angular/platform-browser';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class GoogleAnalyticsService {
|
|
4
5
|
private readonly router;
|
|
5
6
|
private readonly title;
|
|
@@ -9,5 +10,7 @@ export declare class GoogleAnalyticsService {
|
|
|
9
10
|
constructor(router: Router, title: Title, window: any, document: any);
|
|
10
11
|
init(googleAnalyticsKey: string): void;
|
|
11
12
|
private listenForRouteChanges;
|
|
12
|
-
event(eventName: string, params:
|
|
13
|
+
event(eventName: string, params: Record<string, any>): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleAnalyticsService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleAnalyticsService>;
|
|
13
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Title } from '@angular/platform-browser';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class GoogleTagManagerService {
|
|
4
5
|
private readonly router;
|
|
5
6
|
private readonly title;
|
|
@@ -9,5 +10,8 @@ export declare class GoogleTagManagerService {
|
|
|
9
10
|
constructor(router: Router, title: Title, window: any, document: any);
|
|
10
11
|
init(googleTagManagerKey: string): void;
|
|
11
12
|
private listenForRouteChanges;
|
|
12
|
-
|
|
13
|
+
virtualPageView(eventName: string, path: string, title: string, metadata?: Record<string, any>): void;
|
|
14
|
+
event(eventName: string, params: Record<string, any>): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleTagManagerService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleTagManagerService>;
|
|
13
17
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare abstract class HasLoadingState {
|
|
3
4
|
get isLoading(): Observable<boolean>;
|
|
4
5
|
}
|
|
@@ -9,4 +10,6 @@ export declare class LoadingService implements HasLoadingState {
|
|
|
9
10
|
register(): string;
|
|
10
11
|
unregister(token: string): void;
|
|
11
12
|
private generateToken;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingService>;
|
|
12
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { LocationByEPIMMSModel, LocationsByService } from '../../models/location.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class LocationService {
|
|
5
6
|
private readonly http;
|
|
6
7
|
constructor(http: HttpClient);
|
|
@@ -11,7 +12,7 @@ export declare class LocationService {
|
|
|
11
12
|
* @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
|
|
12
13
|
* @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
|
|
13
14
|
*/
|
|
14
|
-
getAllLocations(serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[]
|
|
15
|
+
getAllLocations(locationUrl: string, serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[]): Observable<LocationByEPIMMSModel[]>;
|
|
15
16
|
/**
|
|
16
17
|
* @description searchLocations from service Ids/location type/search term
|
|
17
18
|
* @param serviceIds: BBA3 | BBA3,BFA1 split with ','
|
|
@@ -20,4 +21,6 @@ export declare class LocationService {
|
|
|
20
21
|
* @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
|
|
21
22
|
*/
|
|
22
23
|
searchLocations(serviceIds: string, locationType: string, searchTerm: string): Observable<LocationByEPIMMSModel[]>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocationService, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocationService>;
|
|
23
26
|
}
|
|
@@ -2,6 +2,7 @@ import { Idle } from '@ng-idle/core';
|
|
|
2
2
|
import { Keepalive } from '@ng-idle/keepalive';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { IdleConfigModel } from '../../models/idle-config.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ManageSessionServices {
|
|
6
7
|
private readonly idle;
|
|
7
8
|
private readonly keepalive;
|
|
@@ -9,4 +10,6 @@ export declare class ManageSessionServices {
|
|
|
9
10
|
constructor(idle: Idle, keepalive: Keepalive);
|
|
10
11
|
init(idleConfig: IdleConfigModel): void;
|
|
11
12
|
appStateChanges(): Observable<any>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ManageSessionServices, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ManageSessionServices>;
|
|
12
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './feature-toggle/feature-toggle.guard';
|
|
2
2
|
export * from './feature-toggle/feature-toggle.service';
|
|
3
3
|
export * from './feature-toggle/launch-darkly.service';
|
|
4
|
+
export * from './address/address.service';
|
|
4
5
|
export * from './google-analytics/google-analytics.service';
|
|
5
6
|
export * from './google-tag-manager/google-tag-manager.service';
|
|
6
7
|
export * from './manage-session/manage-session.services';
|
|
@@ -10,3 +11,4 @@ export * from './role-guard/role.service';
|
|
|
10
11
|
export * from './cookie/cookie.service';
|
|
11
12
|
export * from './loading/loading.service';
|
|
12
13
|
export * from './filter/filter.service';
|
|
14
|
+
export * from './ref-data';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface RefDataHMCTSService {
|
|
2
|
+
jurisdiction: string;
|
|
3
|
+
service_id: number;
|
|
4
|
+
org_unit: string;
|
|
5
|
+
business_area: string;
|
|
6
|
+
sub_business_area: string;
|
|
7
|
+
service_description: string;
|
|
8
|
+
service_code: string;
|
|
9
|
+
service_short_description: string;
|
|
10
|
+
ccd_service_name: string;
|
|
11
|
+
last_update: string;
|
|
12
|
+
ccd_case_types: string[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LocationModel } from '../../../models';
|
|
4
|
+
import { RefDataHMCTSService } from '../models/ref-data-htmcs-service.model';
|
|
5
|
+
import { RefDataRegion } from '../models/ref-data-region.model';
|
|
6
|
+
import { LocationModelsByServiceCodeResponse } from './models/ref-data-locations-by-service-code-response.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class RefDataDataAccessService {
|
|
9
|
+
private readonly http;
|
|
10
|
+
static refDataUrl: string;
|
|
11
|
+
constructor(http: HttpClient);
|
|
12
|
+
getServices(): Observable<RefDataHMCTSService[]>;
|
|
13
|
+
getRegions(): Observable<RefDataRegion[]>;
|
|
14
|
+
getLocationsByServiceCode(serviceCode: string): Observable<LocationModelsByServiceCodeResponse>;
|
|
15
|
+
getLocations(): Observable<LocationModel[]>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RefDataDataAccessService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RefDataDataAccessService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { LocationByEPIMMSModel } from '../../models';
|
|
3
|
+
import { RefDataHMCTSService } from './models/ref-data-htmcs-service.model';
|
|
4
|
+
import { RefDataRegion } from './models/ref-data-region.model';
|
|
5
|
+
import { RefDataDataAccessService } from './ref-data-data-access/ref-data-data-access.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class RefDataService {
|
|
8
|
+
private readonly refDataDataAccessService;
|
|
9
|
+
regions$: Observable<RefDataRegion[]>;
|
|
10
|
+
services$: Observable<RefDataHMCTSService[]>;
|
|
11
|
+
locations$: Observable<LocationByEPIMMSModel[]>;
|
|
12
|
+
private readonly locationsByServiceCodesCache;
|
|
13
|
+
constructor(refDataDataAccessService: RefDataDataAccessService);
|
|
14
|
+
getLocationsByServiceCodes(serviceCodes: string[]): Observable<LocationByEPIMMSModel[]>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RefDataService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RefDataService>;
|
|
17
|
+
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { ActivatedRouteSnapshot,
|
|
1
|
+
import { ActivatedRouteSnapshot, Router, UrlTree } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
2
3
|
import { RoleService } from './role.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
3
5
|
export declare enum RoleMatching {
|
|
4
6
|
ALL = 0,
|
|
5
7
|
ANY = 1
|
|
6
8
|
}
|
|
7
|
-
export declare class RoleGuard
|
|
9
|
+
export declare class RoleGuard {
|
|
8
10
|
private readonly roleService;
|
|
9
11
|
private readonly router;
|
|
10
12
|
constructor(roleService: RoleService, router: Router);
|
|
11
|
-
canActivate(route: ActivatedRouteSnapshot): boolean | UrlTree
|
|
13
|
+
canActivate(route: ActivatedRouteSnapshot): Observable<boolean | UrlTree>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleGuard, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RoleGuard>;
|
|
12
16
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type Role = string;
|
|
4
|
+
export type Roles = Role[];
|
|
3
5
|
export declare class RoleService {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
+
readonly pRoles: BehaviorSubject<Roles>;
|
|
7
|
+
roles$: import("rxjs").Observable<Roles>;
|
|
6
8
|
set roles(roles: Roles);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RoleService>;
|
|
7
11
|
}
|
package/lib/services/{session-storage → storage/session-storage}/session-storage.service.d.ts
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class SessionStorageService {
|
|
2
3
|
/**
|
|
3
4
|
* Get an item from the session storage.
|
|
@@ -17,4 +18,6 @@ export declare class SessionStorageService {
|
|
|
17
18
|
* Clear all the items held in session storage.
|
|
18
19
|
*/
|
|
19
20
|
clear(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
|
|
20
23
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { TaskNameModel } from '../../models/task-name.model';
|
|
4
|
+
import { SessionStorageService } from '../storage/session-storage/session-storage.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TaskNameService {
|
|
7
|
+
private readonly http;
|
|
8
|
+
private readonly sessionStorageService;
|
|
9
|
+
static taskNamesKey: string;
|
|
10
|
+
constructor(http: HttpClient, sessionStorageService: SessionStorageService);
|
|
11
|
+
/**
|
|
12
|
+
* @return Observable<any[]>: Array of taskName in Observable
|
|
13
|
+
*/
|
|
14
|
+
getTaskName(service: string): Observable<TaskNameModel[]>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskNameService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TaskNameService>;
|
|
17
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Idle } from '@ng-idle/core';
|
|
2
2
|
import { Keepalive } from '@ng-idle/keepalive';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { TimeoutNotificationConfig } from '../../models
|
|
4
|
+
import { TimeoutNotificationConfig } from '../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* TimeoutNotificationsService
|
|
7
8
|
*
|
|
8
9
|
* The Timeout Notification Service allows your application to receive notifications
|
|
9
|
-
* when a User is approaching the
|
|
10
|
+
* when a User is approaching the total time that a User has been idle for.
|
|
10
11
|
*
|
|
11
12
|
* This can be set by your application using the Timeout Notification Config object.
|
|
12
13
|
*
|
|
@@ -19,6 +20,7 @@ import { TimeoutNotificationConfig } from '../../models/timeout-notification.mod
|
|
|
19
20
|
export declare class TimeoutNotificationsService {
|
|
20
21
|
private readonly idle;
|
|
21
22
|
private readonly keepalive;
|
|
23
|
+
private readonly subs;
|
|
22
24
|
private readonly eventEmitter;
|
|
23
25
|
constructor(idle: Idle, keepalive: Keepalive);
|
|
24
26
|
/**
|
|
@@ -41,8 +43,12 @@ export declare class TimeoutNotificationsService {
|
|
|
41
43
|
* @see README.md for more information on TimeoutNotificationService.
|
|
42
44
|
*/
|
|
43
45
|
initialise(config: TimeoutNotificationConfig): void;
|
|
46
|
+
reset(): void;
|
|
47
|
+
close(): void;
|
|
44
48
|
/**
|
|
45
49
|
* Expose the notification events, so that a 3rd party service can listen to the notifications.
|
|
46
50
|
*/
|
|
47
51
|
notificationOnChange(): Observable<any>;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TimeoutNotificationsService, never>;
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TimeoutNotificationsService>;
|
|
48
54
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "2.1.7-
|
|
3
|
+
"version": "2.1.7-javascript-void",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"launchdarkly-js-client-sdk": "^
|
|
6
|
-
"ngx-pagination": "^3.2.1"
|
|
5
|
+
"launchdarkly-js-client-sdk": "^3.3.0",
|
|
6
|
+
"ngx-pagination": "^3.2.1",
|
|
7
|
+
"rpx-xui-translation": "^0.1.1"
|
|
7
8
|
},
|
|
8
9
|
"publishConfig": {
|
|
9
10
|
"access": "public"
|
|
@@ -25,12 +26,21 @@
|
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"tslib": "^2.0.0"
|
|
27
28
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
"module": "fesm2022/hmcts-rpx-xui-common-lib.mjs",
|
|
30
|
+
"typings": "index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
"./package.json": {
|
|
33
|
+
"default": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
".": {
|
|
36
|
+
"types": "./index.d.ts",
|
|
37
|
+
"esm2022": "./esm2022/hmcts-rpx-xui-common-lib.mjs",
|
|
38
|
+
"esm": "./esm2022/hmcts-rpx-xui-common-lib.mjs",
|
|
39
|
+
"default": "./fesm2022/hmcts-rpx-xui-common-lib.mjs"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"sideEffects": false,
|
|
43
|
+
"scripts": {
|
|
44
|
+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
45
|
+
}
|
|
36
46
|
}
|
package/public-api.d.ts
CHANGED