@hmcts/rpx-xui-common-lib 2.0.0-rc.6 → 2.1.2-angular-upgrade-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/hmcts-rpx-xui-common-lib.umd.js +7465 -2916
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +15 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/hmcts-rpx-xui-common-lib.js +59 -47
- package/esm2015/lib/components/accessibility/accessibility.component.js +2 -2
- package/esm2015/lib/components/cookie-banner/cookie-banner.component.js +129 -0
- package/esm2015/lib/components/due-date/due-date.component.js +6 -7
- package/esm2015/lib/components/find-location/find-location.component.js +240 -0
- package/esm2015/lib/components/find-person/find-person.component.js +259 -0
- package/esm2015/lib/components/generic-filter/generic-filter-utils.js +65 -0
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +548 -52
- package/esm2015/lib/components/index.js +2 -2
- package/esm2015/lib/components/loading-spinner/loading-spinner.component.js +6 -35
- package/esm2015/lib/components/pagination/pagination.component.js +50 -0
- package/esm2015/lib/components/public_api.js +9 -7
- package/esm2015/lib/components/search-judicials/search-judicials.component.js +249 -0
- package/esm2015/lib/components/search-location/search-location.component.js +294 -0
- package/esm2015/lib/components/search-venue/search-venue.component.js +246 -0
- package/esm2015/lib/components/service-messages/service-messages.component.js +2 -2
- package/esm2015/lib/components/share-case/share-case.component.js +2 -2
- package/esm2015/lib/components/user-list/user-list.component.js +29 -3
- package/esm2015/lib/exui-common-lib.module.js +30 -27
- package/esm2015/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +81 -9
- package/esm2015/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +2 -2
- package/esm2015/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +49 -0
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +7 -2
- package/esm2015/lib/gov-ui/components/index.js +2 -2
- package/esm2015/lib/gov-ui/components/public_api.js +1 -20
- package/esm2015/lib/gov-ui/gov-ui.service.js +1 -1
- package/esm2015/lib/gov-ui/index.js +2 -2
- package/esm2015/lib/gov-ui/models/isession-storage.interface.js +24 -0
- package/esm2015/lib/gov-ui/public_api.js +2 -4
- package/esm2015/lib/gov-ui/util/session-storage/session-storage-utils.js +58 -0
- package/esm2015/lib/models/contact-details.model.js +8 -1
- package/esm2015/lib/models/due-date.model.js +8 -1
- package/esm2015/lib/models/filter.model.js +59 -1
- package/esm2015/lib/models/index.js +15 -2
- package/esm2015/lib/models/location.model.js +129 -0
- package/esm2015/lib/models/pagination.model.js +18 -0
- package/esm2015/lib/models/person.model.js +92 -0
- package/esm2015/lib/models/public_api.js +3 -9
- package/esm2015/lib/models/search-options.model.js +22 -0
- package/esm2015/lib/services/case-sharing-state/case-sharing-state.service.js +1 -1
- package/esm2015/lib/services/cookie/cookie.service.js +110 -0
- package/esm2015/lib/services/feature-toggle/feature-toggle.guard.js +8 -2
- package/esm2015/lib/services/feature-toggle/feature-toggle.service.js +4 -3
- package/esm2015/lib/services/feature-toggle/launch-darkly.service.js +28 -27
- package/esm2015/lib/services/filter/filter.service.js +8 -4
- package/esm2015/lib/services/find-person/find-person.service.js +214 -0
- package/esm2015/lib/services/google-analytics/google-analytics.service.js +1 -1
- package/esm2015/lib/services/google-tag-manager/google-tag-manager.service.js +1 -1
- package/esm2015/lib/services/index.js +2 -2
- package/esm2015/lib/services/loading/loading.service.js +1 -1
- package/esm2015/lib/services/locations/location.service.js +57 -0
- package/esm2015/lib/services/manage-session/manage-session.services.js +3 -3
- package/esm2015/lib/services/public-api.js +8 -4
- package/esm2015/lib/services/role-guard/role.guard.js +1 -1
- package/esm2015/lib/services/role-guard/role.service.js +1 -1
- package/esm2015/lib/services/session-storage/session-storage.service.js +55 -0
- package/esm2015/lib/services/timeout-notifications/timeout-notifications.service.js +3 -3
- package/esm2015/public-api.js +6 -6
- package/esm5/hmcts-rpx-xui-common-lib.js +59 -47
- package/esm5/lib/components/accessibility/accessibility.component.js +2 -2
- package/esm5/lib/components/cookie-banner/cookie-banner.component.js +154 -0
- package/esm5/lib/components/due-date/due-date.component.js +6 -7
- package/esm5/lib/components/find-location/find-location.component.js +293 -0
- package/esm5/lib/components/find-person/find-person.component.js +286 -0
- package/esm5/lib/components/generic-filter/generic-filter-utils.js +66 -0
- package/esm5/lib/components/generic-filter/generic-filter.component.js +735 -57
- package/esm5/lib/components/index.js +2 -2
- package/esm5/lib/components/loading-spinner/loading-spinner.component.js +6 -38
- package/esm5/lib/components/pagination/pagination.component.js +58 -0
- package/esm5/lib/components/public_api.js +9 -7
- package/esm5/lib/components/search-judicials/search-judicials.component.js +291 -0
- package/esm5/lib/components/search-location/search-location.component.js +330 -0
- package/esm5/lib/components/search-venue/search-venue.component.js +290 -0
- package/esm5/lib/components/service-messages/service-messages.component.js +2 -2
- package/esm5/lib/components/share-case/share-case.component.js +2 -2
- package/esm5/lib/components/user-list/user-list.component.js +36 -3
- package/esm5/lib/exui-common-lib.module.js +32 -28
- package/esm5/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.js +95 -8
- package/esm5/lib/gov-ui/components/gov-uk-input/gov-uk-input.component.js +2 -2
- package/esm5/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.js +51 -0
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +7 -2
- package/esm5/lib/gov-ui/components/index.js +2 -2
- package/esm5/lib/gov-ui/components/public_api.js +1 -20
- package/esm5/lib/gov-ui/gov-ui.service.js +1 -1
- package/esm5/lib/gov-ui/index.js +2 -2
- package/esm5/lib/gov-ui/models/isession-storage.interface.js +24 -0
- package/esm5/lib/gov-ui/public_api.js +2 -4
- package/esm5/lib/gov-ui/util/session-storage/session-storage-utils.js +58 -0
- package/esm5/lib/models/contact-details.model.js +8 -1
- package/esm5/lib/models/due-date.model.js +8 -1
- package/esm5/lib/models/filter.model.js +59 -1
- package/esm5/lib/models/index.js +15 -2
- package/esm5/lib/models/location.model.js +129 -0
- package/esm5/lib/models/pagination.model.js +18 -0
- package/esm5/lib/models/person.model.js +92 -0
- package/esm5/lib/models/public_api.js +3 -9
- package/esm5/lib/models/search-options.model.js +22 -0
- package/esm5/lib/services/case-sharing-state/case-sharing-state.service.js +1 -1
- package/esm5/lib/services/cookie/cookie.service.js +136 -0
- package/esm5/lib/services/feature-toggle/feature-toggle.guard.js +8 -2
- package/esm5/lib/services/feature-toggle/feature-toggle.service.js +5 -3
- package/esm5/lib/services/feature-toggle/launch-darkly.service.js +29 -25
- package/esm5/lib/services/filter/filter.service.js +8 -4
- package/esm5/lib/services/find-person/find-person.service.js +238 -0
- package/esm5/lib/services/google-analytics/google-analytics.service.js +1 -1
- package/esm5/lib/services/google-tag-manager/google-tag-manager.service.js +1 -1
- package/esm5/lib/services/index.js +2 -2
- package/esm5/lib/services/loading/loading.service.js +1 -1
- package/esm5/lib/services/locations/location.service.js +86 -0
- package/esm5/lib/services/manage-session/manage-session.services.js +3 -3
- package/esm5/lib/services/public-api.js +8 -4
- package/esm5/lib/services/role-guard/role.guard.js +1 -1
- package/esm5/lib/services/role-guard/role.service.js +1 -1
- package/esm5/lib/services/session-storage/session-storage.service.js +96 -0
- package/esm5/lib/services/timeout-notifications/timeout-notifications.service.js +3 -3
- package/esm5/public-api.js +6 -6
- package/fesm2015/hmcts-rpx-xui-common-lib.js +4567 -751
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +6324 -1958
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.d.ts +57 -45
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/cookie-banner/cookie-banner.component.d.ts +20 -0
- package/lib/components/find-location/find-location.component.d.ts +32 -0
- package/lib/components/find-person/find-person.component.d.ts +40 -0
- package/lib/components/generic-filter/generic-filter-utils.d.ts +8 -0
- package/lib/components/generic-filter/generic-filter.component.d.ts +34 -10
- package/lib/components/hmcts-session-dialog/hmcts-session-dialog.component.d.ts +1 -1
- package/lib/components/invite-user-form/invite-user-form.component.d.ts +1 -1
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +1 -7
- package/lib/components/pagination/pagination.component.d.ts +10 -0
- package/lib/components/public_api.d.ts +8 -6
- package/lib/components/search-judicials/search-judicials.component.d.ts +37 -0
- package/lib/components/search-location/search-location.component.d.ts +41 -0
- package/lib/components/search-venue/search-venue.component.d.ts +37 -0
- package/lib/components/user-list/user-list.component.d.ts +9 -2
- package/lib/exui-common-lib.module.d.ts +10 -11
- package/lib/gov-ui/components/gov-uk-date/gov-uk-date.component.d.ts +8 -0
- package/lib/gov-ui/components/hmcts-pagination/hmcts-pagination.component.d.ts +10 -0
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +2 -0
- package/lib/gov-ui/components/public_api.d.ts +0 -19
- package/lib/gov-ui/models/isession-storage.interface.d.ts +4 -0
- package/lib/gov-ui/public_api.d.ts +0 -2
- package/lib/gov-ui/util/session-storage/session-storage-utils.d.ts +6 -0
- package/lib/models/contact-details.model.d.ts +5 -1
- package/lib/models/due-date.model.d.ts +5 -0
- package/lib/models/filter.model.d.ts +33 -2
- package/lib/models/index.d.ts +13 -0
- package/lib/models/location.model.d.ts +60 -0
- package/lib/models/pagination.model.d.ts +5 -0
- package/lib/models/person.model.d.ts +43 -0
- package/lib/models/public_api.d.ts +1 -7
- package/lib/models/search-options.model.d.ts +8 -0
- package/lib/services/cookie/cookie.service.d.ts +9 -0
- package/lib/services/feature-toggle/feature-toggle.service.d.ts +1 -1
- package/lib/services/feature-toggle/launch-darkly.service.d.ts +4 -6
- package/lib/services/filter/filter.service.d.ts +4 -3
- package/lib/services/find-person/find-person.service.d.ts +17 -0
- package/lib/services/locations/location.service.d.ts +23 -0
- package/lib/services/public-api.d.ts +6 -2
- package/lib/services/session-storage/session-storage.service.d.ts +20 -0
- package/lib/window.d.ts +1 -1
- package/package.json +5 -3
- package/public-api.d.ts +2 -2
- package/esm2015/lib/gov-ui/directives/index.js +0 -7
- package/esm2015/lib/gov-ui/directives/public_api.js +0 -7
- package/esm2015/lib/models/badge-colour.enum.js +0 -14
- package/esm5/lib/gov-ui/directives/index.js +0 -7
- package/esm5/lib/gov-ui/directives/public_api.js +0 -7
- package/esm5/lib/models/badge-colour.enum.js +0 -14
- package/lib/gov-ui/directives/index.d.ts +0 -1
- package/lib/gov-ui/directives/public_api.d.ts +0 -1
- package/lib/models/badge-colour.enum.d.ts +0 -6
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface LocationModel {
|
|
2
|
+
court_venue_id: string;
|
|
3
|
+
site_name: string;
|
|
4
|
+
court_name?: string;
|
|
5
|
+
epimms_id: string;
|
|
6
|
+
open_for_public?: string;
|
|
7
|
+
court_type_id: string;
|
|
8
|
+
court_type: string;
|
|
9
|
+
region_id: string;
|
|
10
|
+
region: string;
|
|
11
|
+
cluster_id?: string;
|
|
12
|
+
cluster_name?: string;
|
|
13
|
+
court_status?: string;
|
|
14
|
+
court_open_date?: string;
|
|
15
|
+
closed_date?: string;
|
|
16
|
+
postcode: string;
|
|
17
|
+
court_address: string;
|
|
18
|
+
phone_number?: string;
|
|
19
|
+
court_location_code?: string;
|
|
20
|
+
dx_address?: string;
|
|
21
|
+
welsh_site_name?: string;
|
|
22
|
+
welsh_court_address?: string;
|
|
23
|
+
venue_name?: string;
|
|
24
|
+
is_case_management_location: string;
|
|
25
|
+
is_hearing_location: string;
|
|
26
|
+
}
|
|
27
|
+
export interface LocationByEPIMMSModel {
|
|
28
|
+
epimms_id: string;
|
|
29
|
+
site_name: string;
|
|
30
|
+
court_name?: string;
|
|
31
|
+
open_for_public?: string;
|
|
32
|
+
region_id: string;
|
|
33
|
+
region: string;
|
|
34
|
+
cluster_id?: string;
|
|
35
|
+
cluster_name?: string;
|
|
36
|
+
court_status?: string;
|
|
37
|
+
court_open_date?: string;
|
|
38
|
+
closed_date?: string;
|
|
39
|
+
postcode: string;
|
|
40
|
+
court_address: string;
|
|
41
|
+
phone_number?: string;
|
|
42
|
+
court_location_code?: string;
|
|
43
|
+
dx_address?: string;
|
|
44
|
+
welsh_site_name?: string;
|
|
45
|
+
welsh_court_address?: string;
|
|
46
|
+
venue_name?: string;
|
|
47
|
+
is_case_management_location: string;
|
|
48
|
+
is_hearing_location: string;
|
|
49
|
+
}
|
|
50
|
+
export interface LocationsByService {
|
|
51
|
+
service?: string;
|
|
52
|
+
serviceCode?: string;
|
|
53
|
+
bookable?: boolean;
|
|
54
|
+
locations: Location[];
|
|
55
|
+
}
|
|
56
|
+
export declare enum BookingCheckType {
|
|
57
|
+
NO_CHECK = "NO_CHECK",
|
|
58
|
+
BOOKINGS_AND_BASE = "BOOKINGS_AND_BASE",
|
|
59
|
+
POSSIBLE_BOOKINGS = "POSSIBLE_BOOKINGS"
|
|
60
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface Person {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
domain: string;
|
|
6
|
+
knownAs?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface JudicialUserModel {
|
|
9
|
+
emailId: string;
|
|
10
|
+
fullName: string;
|
|
11
|
+
idamId: string;
|
|
12
|
+
isJudge: string;
|
|
13
|
+
isMagistrate: string;
|
|
14
|
+
isPanelMember: string;
|
|
15
|
+
knownAs: string;
|
|
16
|
+
personalCode: string;
|
|
17
|
+
surname: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}
|
|
20
|
+
export interface CaseworkersByService {
|
|
21
|
+
service: string;
|
|
22
|
+
caseworkers: Caseworker[];
|
|
23
|
+
}
|
|
24
|
+
export interface Caseworker {
|
|
25
|
+
idamId: string;
|
|
26
|
+
firstName: string;
|
|
27
|
+
lastName: string;
|
|
28
|
+
email: string;
|
|
29
|
+
knownAs?: string;
|
|
30
|
+
roleCategory: string;
|
|
31
|
+
}
|
|
32
|
+
export declare enum PersonRole {
|
|
33
|
+
JUDICIAL = "Judicial",
|
|
34
|
+
CASEWORKER = "Legal Ops",
|
|
35
|
+
ADMIN = "Admin",
|
|
36
|
+
ALL = "All"
|
|
37
|
+
}
|
|
38
|
+
export declare enum RoleCategory {
|
|
39
|
+
JUDICIAL = "JUDICIAL",
|
|
40
|
+
CASEWORKER = "LEGAL_OPERATIONS",
|
|
41
|
+
ADMIN = "ADMIN",
|
|
42
|
+
ALL = "ALL"
|
|
43
|
+
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './case-share.model';
|
|
1
|
+
export * from './tcDocument.model';
|
|
3
2
|
export * from './contact-details.model';
|
|
4
|
-
export * from './due-date.model';
|
|
5
3
|
export * from './feature-user';
|
|
6
|
-
export * from './idle-config.model';
|
|
7
|
-
export * from './tcDocument.model';
|
|
8
|
-
export * from './timeout-notification.model';
|
|
9
|
-
export * from './user-details.model';
|
|
10
4
|
export * from './user.model';
|
|
11
5
|
export * from './filter.model';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class CookieService {
|
|
2
|
+
private readonly document?;
|
|
3
|
+
constructor(doc?: any);
|
|
4
|
+
setCookie(key: string, value: string, expiryDate?: string): void;
|
|
5
|
+
getCookie(key: string): string;
|
|
6
|
+
deleteCookie(key: string, path?: string, domain?: string): void;
|
|
7
|
+
deleteCookieByPartialMatch(key: string, path?: string, domain?: string): void;
|
|
8
|
+
checkCookie(key: string): boolean;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { FeatureUser } from '../../models/feature-user';
|
|
3
3
|
export declare class FeatureToggleService {
|
|
4
|
-
initialize(_user: FeatureUser): void;
|
|
4
|
+
initialize(_user: FeatureUser, _clientId: string): void;
|
|
5
5
|
isEnabled(_feature: string): Observable<boolean>;
|
|
6
6
|
getValue<R>(_key: string, _defaultValue: R): Observable<R>;
|
|
7
7
|
getValueOnce<R>(_key: string, _defaultValue: R): Observable<R>;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
2
|
import { FeatureUser } from '../../models/feature-user';
|
|
4
3
|
import { FeatureToggleService } from './feature-toggle.service';
|
|
5
|
-
export declare function ldKeyDefaultFactory(): string;
|
|
6
|
-
export declare const LAUNCHDARKLYKEY: InjectionToken<string>;
|
|
7
4
|
export declare class LaunchDarklyService implements FeatureToggleService {
|
|
8
|
-
private
|
|
5
|
+
private client;
|
|
9
6
|
private readonly ready;
|
|
10
7
|
private readonly features;
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
private user;
|
|
9
|
+
private clientId;
|
|
10
|
+
initialize(user: FeatureUser, clientId: string): void;
|
|
13
11
|
isEnabled(feature: string): Observable<boolean>;
|
|
14
12
|
getArray<R = any>(feature: string): Observable<R[]>;
|
|
15
13
|
getValue<R>(feature: string, defaultValue: R): Observable<R>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { FilterPersistence, FilterSetting } from '../../models
|
|
1
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
+
import { FilterError, FilterPersistence, FilterSetting } from '../../models';
|
|
3
3
|
export declare class FilterService {
|
|
4
|
+
givenErrors: BehaviorSubject<FilterError[]>;
|
|
5
|
+
isInitialSetting: boolean;
|
|
4
6
|
private readonly filterSettings;
|
|
5
7
|
private readonly streams;
|
|
6
|
-
constructor();
|
|
7
8
|
persist(setting: FilterSetting, persistence: FilterPersistence): void;
|
|
8
9
|
get(id: string): FilterSetting | null;
|
|
9
10
|
getStream(id: string): Observable<FilterSetting>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Caseworker, JudicialUserModel, Person, SearchOptions } from '../../models';
|
|
4
|
+
import { SessionStorageService } from '../session-storage/session-storage.service';
|
|
5
|
+
export declare class FindAPersonService {
|
|
6
|
+
private readonly http;
|
|
7
|
+
private readonly sessionStorageService;
|
|
8
|
+
static caseworkersKey: string;
|
|
9
|
+
userId: string;
|
|
10
|
+
assignedUser: string;
|
|
11
|
+
constructor(http: HttpClient, sessionStorageService: SessionStorageService);
|
|
12
|
+
find(searchOptions: SearchOptions): Observable<Person[]>;
|
|
13
|
+
findCaseworkers(searchOptions: SearchOptions): Observable<Person[]>;
|
|
14
|
+
mapCaseworkers(caseworkers: Caseworker[], roleCategory: string): Person[];
|
|
15
|
+
searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
|
|
16
|
+
searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LocationByEPIMMSModel, LocationsByService } from '../../models/location.model';
|
|
4
|
+
export declare class LocationService {
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
/**
|
|
8
|
+
* @description getAllLocations from service Ids/location type/search term
|
|
9
|
+
* @param serviceIds: SSCS | SSCS,IA split with ','
|
|
10
|
+
* @param locationType: optional | hearing | case_management
|
|
11
|
+
* @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
|
|
12
|
+
* @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
|
|
13
|
+
*/
|
|
14
|
+
getAllLocations(serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[], bookingLocations: string[]): Observable<LocationByEPIMMSModel[]>;
|
|
15
|
+
/**
|
|
16
|
+
* @description searchLocations from service Ids/location type/search term
|
|
17
|
+
* @param serviceIds: BBA3 | BBA3,BFA1 split with ','
|
|
18
|
+
* @param locationType: optional | hearing | case_management
|
|
19
|
+
* @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
|
|
20
|
+
* @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
|
|
21
|
+
*/
|
|
22
|
+
searchLocations(serviceIds: string, locationType: string, searchTerm: string): Observable<LocationByEPIMMSModel[]>;
|
|
23
|
+
}
|
|
@@ -4,9 +4,13 @@ export * from './feature-toggle/feature-toggle.service';
|
|
|
4
4
|
export * from './feature-toggle/launch-darkly.service';
|
|
5
5
|
export * from './google-analytics/google-analytics.service';
|
|
6
6
|
export * from './google-tag-manager/google-tag-manager.service';
|
|
7
|
-
export * from './loading/loading.service';
|
|
8
7
|
export * from './manage-session/manage-session.services';
|
|
8
|
+
export * from './timeout-notifications/timeout-notifications.service';
|
|
9
9
|
export * from './role-guard/role.guard';
|
|
10
10
|
export * from './role-guard/role.service';
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './cookie/cookie.service';
|
|
12
|
+
export * from './loading/loading.service';
|
|
13
|
+
export * from './locations/location.service';
|
|
12
14
|
export * from './filter/filter.service';
|
|
15
|
+
export * from './find-person/find-person.service';
|
|
16
|
+
export * from './session-storage/session-storage.service';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class SessionStorageService {
|
|
2
|
+
/**
|
|
3
|
+
* Get an item from the session storage.
|
|
4
|
+
* If remove is true, the item will be removed once read
|
|
5
|
+
* @param removeAfterRead removed the key once it has been read
|
|
6
|
+
*/
|
|
7
|
+
getItem(key: string, removeAfterRead?: boolean): string;
|
|
8
|
+
/**
|
|
9
|
+
* Set an item in the session storage.
|
|
10
|
+
*/
|
|
11
|
+
setItem(key: string, value: string): void;
|
|
12
|
+
/**
|
|
13
|
+
* Remove an item in the session storage.
|
|
14
|
+
*/
|
|
15
|
+
removeItem(key: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* Clear all the items held in session storage.
|
|
18
|
+
*/
|
|
19
|
+
clear(): void;
|
|
20
|
+
}
|
package/lib/window.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.2-angular-upgrade-11",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^7.2.0",
|
|
6
6
|
"@angular/core": "^7.2.0",
|
|
7
7
|
"@angular/material": "^7.2.0",
|
|
8
8
|
"@angular/cdk": "^7.2.0",
|
|
9
|
-
"launchdarkly-js-client-sdk": "^2.15.2"
|
|
9
|
+
"launchdarkly-js-client-sdk": "^2.15.2",
|
|
10
|
+
"ngx-pagination": "^3.2.1"
|
|
10
11
|
},
|
|
11
12
|
"publishConfig": {
|
|
12
13
|
"access": "public"
|
|
@@ -26,7 +27,8 @@
|
|
|
26
27
|
}
|
|
27
28
|
],
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"ngx-spec": "^2.1.4"
|
|
30
|
+
"ngx-spec": "^2.1.4",
|
|
31
|
+
"node-sass": "^4.0.0"
|
|
30
32
|
},
|
|
31
33
|
"main": "bundles/hmcts-rpx-xui-common-lib.umd.js",
|
|
32
34
|
"module": "fesm5/hmcts-rpx-xui-common-lib.js",
|
package/public-api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
export * from './lib/components';
|
|
2
|
+
export * from './lib/directives';
|
|
1
3
|
export * from './lib/exui-common-lib.module';
|
|
2
4
|
export * from './lib/gov-ui';
|
|
3
5
|
export * from './lib/models';
|
|
4
|
-
export * from './lib/directives';
|
|
5
|
-
export * from './lib/components';
|
|
6
6
|
export * from './lib/services';
|
|
7
7
|
export * from './lib/window';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/gov-ui/directives/index.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
export { RemoveHostDirective } from './public_api';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL2dvdi11aS9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsb0NBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/gov-ui/directives/public_api.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
export { RemoveHostDirective } from './remove-host.directive';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvZ292LXVpL2RpcmVjdGl2ZXMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9DQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZW1vdmUtaG9zdC5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/models/badge-colour.enum.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
/** @enum {string} */
|
|
7
|
-
const BadgeColour = {
|
|
8
|
-
RED: "hmcts-badge--red",
|
|
9
|
-
ORANGE: "hmcts-badge--orange",
|
|
10
|
-
GREEN: "hmcts-badge--green",
|
|
11
|
-
BLUE: "hmcts-badge--blue",
|
|
12
|
-
};
|
|
13
|
-
export { BadgeColour };
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UtY29sb3VyLmVudW0uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9iYWRnZS1jb2xvdXIuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxNQUFZLFdBQVc7SUFDbkIsR0FBRyxvQkFBcUI7SUFDeEIsTUFBTSx1QkFBd0I7SUFDOUIsS0FBSyxzQkFBdUI7SUFDNUIsSUFBSSxxQkFBc0I7RUFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBCYWRnZUNvbG91ciB7XG4gICAgUkVEID0gJ2htY3RzLWJhZGdlLS1yZWQnLFxuICAgIE9SQU5HRSA9ICdobWN0cy1iYWRnZS0tb3JhbmdlJyxcbiAgICBHUkVFTiA9ICdobWN0cy1iYWRnZS0tZ3JlZW4nLFxuICAgIEJMVUUgPSAnaG1jdHMtYmFkZ2UtLWJsdWUnLFxufVxuIl19
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/gov-ui/directives/index.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
export { RemoveHostDirective } from './public_api';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL2dvdi11aS9kaXJlY3RpdmVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsb0NBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/gov-ui/directives/public_api.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
export { RemoveHostDirective } from './remove-host.directive';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9ycHgteHVpLWNvbW1vbi1saWIvIiwic291cmNlcyI6WyJsaWIvZ292LXVpL2RpcmVjdGl2ZXMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLG9DQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9yZW1vdmUtaG9zdC5kaXJlY3RpdmUnO1xuIl19
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* Generated from: lib/models/badge-colour.enum.ts
|
|
4
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
5
|
-
*/
|
|
6
|
-
/** @enum {string} */
|
|
7
|
-
var BadgeColour = {
|
|
8
|
-
RED: "hmcts-badge--red",
|
|
9
|
-
ORANGE: "hmcts-badge--orange",
|
|
10
|
-
GREEN: "hmcts-badge--green",
|
|
11
|
-
BLUE: "hmcts-badge--blue",
|
|
12
|
-
};
|
|
13
|
-
export { BadgeColour };
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UtY29sb3VyLmVudW0uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvcnB4LXh1aS1jb21tb24tbGliLyIsInNvdXJjZXMiOlsibGliL21vZGVscy9iYWRnZS1jb2xvdXIuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxJQUFZLFdBQVc7SUFDbkIsR0FBRyxvQkFBcUI7SUFDeEIsTUFBTSx1QkFBd0I7SUFDOUIsS0FBSyxzQkFBdUI7SUFDNUIsSUFBSSxxQkFBc0I7RUFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBCYWRnZUNvbG91ciB7XG4gICAgUkVEID0gJ2htY3RzLWJhZGdlLS1yZWQnLFxuICAgIE9SQU5HRSA9ICdobWN0cy1iYWRnZS0tb3JhbmdlJyxcbiAgICBHUkVFTiA9ICdobWN0cy1iYWRnZS0tZ3JlZW4nLFxuICAgIEJMVUUgPSAnaG1jdHMtYmFkZ2UtLWJsdWUnLFxufVxuIl19
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './remove-host.directive';
|