@hmcts/rpx-xui-common-lib 2.0.44 → 2.1.0
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/esm2022/lib/components/accessibility/accessibility.component.mjs +2 -2
- package/esm2022/lib/components/checkbox-list/checkbox-list.component.mjs +2 -2
- package/esm2022/lib/components/contact-details/contact-details.component.mjs +2 -2
- package/esm2022/lib/components/cookie-banner/cookie-banner.component.mjs +2 -2
- package/esm2022/lib/components/due-date/due-date.component.mjs +2 -2
- package/esm2022/lib/components/exui-main-wrapper/exui-page-wrapper.component.mjs +2 -2
- package/esm2022/lib/components/find-location/find-location.component.mjs +2 -2
- package/esm2022/lib/components/find-person/find-person.component.mjs +2 -2
- package/esm2022/lib/components/find-service/find-service.component.mjs +2 -2
- package/esm2022/lib/components/find-task-name/find-task-name.component.mjs +2 -2
- package/esm2022/lib/components/generic-filter/generic-filter.component.mjs +15 -5
- package/esm2022/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.mjs +2 -2
- package/esm2022/lib/components/invite-user-form/invite-user-form.component.mjs +2 -2
- package/esm2022/lib/components/invite-user-permissions/invite-user-permission.component.mjs +2 -2
- package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +2 -2
- package/esm2022/lib/components/pagination/pagination.component.mjs +2 -2
- package/esm2022/lib/components/search-judicials/search-judicials.component.mjs +2 -2
- package/esm2022/lib/components/search-location/search-location.component.mjs +2 -2
- package/esm2022/lib/components/search-service/search-service.component.mjs +23 -12
- package/esm2022/lib/components/search-venue/search-venue.component.mjs +2 -2
- package/esm2022/lib/components/selected-case/selected-case.component.mjs +2 -2
- package/esm2022/lib/components/selected-case-confirm/selected-case-confirm.component.mjs +2 -2
- package/esm2022/lib/components/selected-case-list/selected-case-list.component.mjs +2 -2
- package/esm2022/lib/components/service-message/service-message.component.mjs +2 -2
- package/esm2022/lib/components/service-messages/service-messages.component.mjs +2 -2
- package/esm2022/lib/components/share-case/share-case.component.mjs +14 -7
- package/esm2022/lib/components/share-case-confirm/share-case-confirm.component.mjs +2 -2
- package/esm2022/lib/components/tab/tab.component.mjs +2 -2
- package/esm2022/lib/components/tc-confirm/tc-confirm.component.mjs +2 -2
- package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-html/tc-display-html.component.mjs +2 -2
- package/esm2022/lib/components/terms-and-conditions/tc-display/tc-display-plain/tc-display-plain.component.mjs +2 -2
- package/esm2022/lib/components/terms-and-conditions/terms-and-conditions.component.mjs +2 -2
- package/esm2022/lib/components/user-details/user-details.component.mjs +2 -2
- package/esm2022/lib/components/user-list/user-list.component.mjs +2 -2
- package/esm2022/lib/components/user-select/user-select.component.mjs +13 -13
- package/esm2022/lib/components/write-address/write-address.component.mjs +2 -2
- package/esm2022/lib/components/write-address-inputs/write-address-inputs.component.mjs +2 -2
- package/esm2022/lib/directives/feature-toggle/feature-toggle.directive.mjs +2 -2
- package/esm2022/lib/directives/let/let.directive.mjs +2 -2
- package/esm2022/lib/exui-common-lib.module.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-checkbox/gov-uk-checkbox.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-checkboxes/gov-uk-checkboxes.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-error-message/gov-uk-error-message.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-fieldset/gov-uk-fieldset.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-file-upload/gov-uk-file-upload.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-form-group-wrapper/gov-uk-form-group-wrapper.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-label/gov-uk-label.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-radio/gov-uk-radio.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-radios/gov-uk-radios.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-select/gov-uk-select.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-table/gov-uk-table.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/gov-uk-textarea/gov-uk-textarea.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-banner/hmcts-banner.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-error-summary/hmcts-error-summary.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-identity-bar/hmcts-identity-bar.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-main-wrapper/hmcts-main-wrapper.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-primary-navigation/hmcts-primary-navigation.component.mjs +2 -2
- package/esm2022/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.mjs +2 -2
- package/esm2022/lib/gov-ui/directives/remove-host.directive.mjs +2 -2
- package/esm2022/lib/gov-ui/gov-ui.service.mjs +2 -2
- package/esm2022/lib/pipes/capitalize/capitalize.pipe.mjs +2 -2
- package/esm2022/lib/services/address/address.service.mjs +2 -2
- package/esm2022/lib/services/case-sharing-state/case-sharing-state.service.mjs +2 -2
- package/esm2022/lib/services/cookie/cookie.service.mjs +2 -2
- package/esm2022/lib/services/feature-toggle/feature-toggle.guard.mjs +5 -2
- package/esm2022/lib/services/feature-toggle/feature-toggle.service.mjs +2 -2
- package/esm2022/lib/services/feature-toggle/launch-darkly.service.mjs +2 -2
- package/esm2022/lib/services/filter/filter.service.mjs +2 -2
- package/esm2022/lib/services/find-person/find-person.service.mjs +2 -2
- package/esm2022/lib/services/google-analytics/google-analytics.service.mjs +2 -2
- package/esm2022/lib/services/google-tag-manager/google-tag-manager.service.mjs +2 -2
- package/esm2022/lib/services/loading/loading.service.mjs +2 -2
- package/esm2022/lib/services/locations/location.service.mjs +2 -2
- package/esm2022/lib/services/manage-session/manage-session.services.mjs +2 -2
- package/esm2022/lib/services/ref-data/ref-data-data-access/ref-data-data-access.service.mjs +2 -2
- package/esm2022/lib/services/ref-data/ref-data.service.mjs +2 -2
- package/esm2022/lib/services/role-guard/role.guard.mjs +7 -2
- package/esm2022/lib/services/role-guard/role.service.mjs +2 -2
- package/esm2022/lib/services/storage/session-storage/session-storage.service.mjs +2 -2
- package/esm2022/lib/services/task-name/task-name.service.mjs +2 -2
- package/esm2022/lib/services/timeout-notifications/timeout-notifications.service.mjs +2 -2
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs +146 -109
- package/fesm2022/hmcts-rpx-xui-common-lib.mjs.map +1 -1
- package/lib/components/generic-filter/generic-filter.component.d.ts +3 -2
- package/lib/components/search-service/search-service.component.d.ts +4 -2
- package/lib/components/share-case/share-case.component.d.ts +1 -0
- package/lib/components/user-select/user-select.component.d.ts +0 -1
- package/lib/services/feature-toggle/feature-toggle.guard.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import { Subject, Subscription } from 'rxjs';
|
|
4
4
|
import { FilterConfig, FilterConfigOption, FilterFieldConfig, FilterSetting, GroupOptions } from '../../models';
|
|
@@ -7,6 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class GenericFilterComponent implements OnInit, OnDestroy {
|
|
8
8
|
private readonly filterService;
|
|
9
9
|
private readonly fb;
|
|
10
|
+
private readonly cdr;
|
|
10
11
|
form: FormGroup;
|
|
11
12
|
submitted: boolean;
|
|
12
13
|
formSub: Subscription;
|
|
@@ -17,7 +18,7 @@ export declare class GenericFilterComponent implements OnInit, OnDestroy {
|
|
|
17
18
|
isServiceSelected: boolean;
|
|
18
19
|
serviceErrorMsg: string;
|
|
19
20
|
private selectedServices;
|
|
20
|
-
constructor(filterService: FilterService, fb: FormBuilder);
|
|
21
|
+
constructor(filterService: FilterService, fb: FormBuilder, cdr: ChangeDetectorRef);
|
|
21
22
|
private _config;
|
|
22
23
|
get config(): FilterConfig;
|
|
23
24
|
set config(value: FilterConfig);
|
|
@@ -7,12 +7,14 @@ export declare class SearchServiceComponent {
|
|
|
7
7
|
selectedOptions: FilterConfigOption[];
|
|
8
8
|
disabled: any;
|
|
9
9
|
showAutocomplete: boolean;
|
|
10
|
-
optionChanged: EventEmitter<FilterConfigOption>;
|
|
11
10
|
searchTerm: string;
|
|
11
|
+
searchTermChange: EventEmitter<string>;
|
|
12
|
+
optionChanged: EventEmitter<FilterConfigOption>;
|
|
12
13
|
readonly MIN_SEARCH_CHARACTERS = 3;
|
|
13
14
|
get filteredOptions(): FilterConfigOption[];
|
|
14
15
|
resetSearchTerm(): void;
|
|
16
|
+
onSearchTermChanged(value: string): void;
|
|
15
17
|
onSelectionChanged($event: MatOptionSelectionChange): void;
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchServiceComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchServiceComponent, "exui-search-service", never, { "options": { "alias": "options"; "required": false; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showAutocomplete": { "alias": "showAutocomplete"; "required": false; }; }, { "optionChanged": "optionChanged"; }, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchServiceComponent, "exui-search-service", never, { "options": { "alias": "options"; "required": false; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showAutocomplete": { "alias": "showAutocomplete"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; }, { "searchTermChange": "searchTermChange"; "optionChanged": "optionChanged"; }, never, never, false, never>;
|
|
18
20
|
}
|
|
@@ -59,6 +59,7 @@ export declare class ShareCaseComponent implements OnInit {
|
|
|
59
59
|
* @returns `true` if at least one case has the condition described above; `false` otherwise
|
|
60
60
|
*/
|
|
61
61
|
hasCasesLeftUnassigned(sharedCases: SharedCase[]): boolean;
|
|
62
|
+
onSelectedUserToRemoveChanged(value: string): void;
|
|
62
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShareCaseComponent, never>;
|
|
63
64
|
static ɵcmp: i0.ɵɵComponentDeclaration<ShareCaseComponent, "xuilib-share-case", never, { "removeUserFromCaseToggleOn": { "alias": "removeUserFromCaseToggleOn"; "required": false; }; "shareCases$": { "alias": "shareCases$"; "required": false; }; "users": { "alias": "users"; "required": false; }; "confirmLink": { "alias": "confirmLink"; "required": false; }; "cancelLink": { "alias": "cancelLink"; "required": false; }; "addUserLabel": { "alias": "addUserLabel"; "required": false; }; "showRemoveUsers": { "alias": "showRemoveUsers"; "required": false; }; "fnTitle": { "alias": "fnTitle"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "unselect": "unselect"; "synchronizeStore": "synchronizeStore"; }, never, never, false, never>;
|
|
64
65
|
}
|
|
@@ -14,7 +14,6 @@ export declare class UserSelectComponent implements OnInit {
|
|
|
14
14
|
displayValue(user: UserDetails): string;
|
|
15
15
|
onSelected(e: MatAutocompleteSelectedEvent): void;
|
|
16
16
|
clear(): void;
|
|
17
|
-
onUserChange(newUserValue: UserDetails): void;
|
|
18
17
|
private filterUsers;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserSelectComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserSelectComponent, "xuilib-user-select", never, { "users": { "alias": "users"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
@@ -13,6 +13,8 @@ export declare class FeatureToggleGuard {
|
|
|
13
13
|
* - featureDisabledRedirect: the URL to redirect to when the this route is not accessible due to disabled features
|
|
14
14
|
* - expectFeatureEnabled: Sets whether a route should be enabled/disabled based on whether feature is present
|
|
15
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.
|
|
16
18
|
*/
|
|
17
19
|
canActivate(route: ActivatedRouteSnapshot): Observable<boolean | UrlTree>;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureToggleGuard, never>;
|