@hmcts/rpx-xui-common-lib 3.2.11 → 3.2.12-multiple-role-categories
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/index.d.ts
CHANGED
|
@@ -289,7 +289,7 @@ interface Caseworker {
|
|
|
289
289
|
lastName: string;
|
|
290
290
|
email: string;
|
|
291
291
|
knownAs?: string;
|
|
292
|
-
|
|
292
|
+
roleCategories: string[];
|
|
293
293
|
}
|
|
294
294
|
declare enum PersonRole {
|
|
295
295
|
JUDICIAL = "Judicial",
|
|
@@ -1521,9 +1521,10 @@ declare class FindAPersonService {
|
|
|
1521
1521
|
constructor(http: HttpClient, sessionStorageService: SessionStorageService);
|
|
1522
1522
|
find(searchOptions: SearchOptions): Observable<Person[]>;
|
|
1523
1523
|
findCaseworkers(searchOptions: SearchOptions): Observable<Person[]>;
|
|
1524
|
-
mapCaseworkers(caseworkers: Caseworker[], roleCategory:
|
|
1524
|
+
mapCaseworkers(caseworkers: Caseworker[], roleCategory: RoleCategory): Person[];
|
|
1525
1525
|
searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
|
|
1526
1526
|
searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
1527
|
+
private setDomain;
|
|
1527
1528
|
static ɵfac: i0.ɵɵFactoryDeclaration<FindAPersonService, never>;
|
|
1528
1529
|
static ɵprov: i0.ɵɵInjectableDeclaration<FindAPersonService>;
|
|
1529
1530
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.12-multiple-role-categories",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
+
"@angular/animations": "^20.3.18",
|
|
6
|
+
"@angular/cdk": "16.2.0",
|
|
7
|
+
"@angular/common": "^20.3.18",
|
|
8
|
+
"@angular/compiler": "^20.3.18",
|
|
9
|
+
"@angular/core": "^20.3.18",
|
|
10
|
+
"@angular/forms": "^20.3.18",
|
|
11
|
+
"@angular/localize": "^20.3.18",
|
|
12
|
+
"@angular/material": "16.2.0",
|
|
13
|
+
"@angular/platform-browser": "^20.3.18",
|
|
14
|
+
"@angular/platform-browser-dynamic": "^20.3.18",
|
|
15
|
+
"@angular/router": "^20.3.18",
|
|
16
|
+
"@ng-idle/core": "^16.0.0",
|
|
17
|
+
"@ng-idle/keepalive": "^16.0.0",
|
|
5
18
|
"launchdarkly-js-client-sdk": "^3.3.0",
|
|
6
19
|
"ngx-pagination": "^3.2.1",
|
|
7
|
-
"rpx-xui-translation": "1.2.4"
|
|
20
|
+
"rpx-xui-translation": "1.2.4",
|
|
21
|
+
"rxjs": "^7.8.1",
|
|
22
|
+
"zone.js": "~0.15.1"
|
|
8
23
|
},
|
|
9
24
|
"publishConfig": {
|
|
10
25
|
"access": "public"
|
|
@@ -27,6 +42,8 @@
|
|
|
27
42
|
}
|
|
28
43
|
],
|
|
29
44
|
"dependencies": {
|
|
45
|
+
"@hmcts/frontend": "0.0.50-alpha",
|
|
46
|
+
"govuk-frontend": "4.9.0",
|
|
30
47
|
"tslib": "^2.0.0"
|
|
31
48
|
},
|
|
32
49
|
"module": "fesm2022/hmcts-rpx-xui-common-lib.mjs",
|
|
@@ -44,4 +61,4 @@
|
|
|
44
61
|
"scripts": {
|
|
45
62
|
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
46
63
|
}
|
|
47
|
-
}
|
|
64
|
+
}
|