@hmcts/rpx-xui-common-lib 3.2.15 → 3.2.16-pofcc-156
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
|
@@ -296,6 +296,7 @@ declare enum PersonRole {
|
|
|
296
296
|
LEGAL_OPERATIONS = "Legal Ops",
|
|
297
297
|
ADMIN = "Admin",
|
|
298
298
|
CTSC = "CTSC",
|
|
299
|
+
ENFORCEMENT = "Enforcement",
|
|
299
300
|
ALL = "All"
|
|
300
301
|
}
|
|
301
302
|
declare enum RoleCategory {
|
|
@@ -305,8 +306,11 @@ declare enum RoleCategory {
|
|
|
305
306
|
CTSC = "CTSC",
|
|
306
307
|
PROFESSIONAL = "PROFESSIONAL",
|
|
307
308
|
CITIZEN = "CITIZEN",
|
|
309
|
+
ENFORCEMENT = "ENFORCEMENT",
|
|
308
310
|
ALL = "ALL"
|
|
309
311
|
}
|
|
312
|
+
declare function getRoleCategory(personRole: PersonRole): RoleCategory;
|
|
313
|
+
declare function getPersonRole(roleCategories: string[]): PersonRole;
|
|
310
314
|
|
|
311
315
|
type FilterFieldType = 'group-title' | 'checkbox' | 'radio' | 'select' | 'find-person' | 'find-location' | 'find-work-type' | 'checkbox-large' | 'find-service' | 'text-input' | 'email-input' | 'group-select' | 'nested-checkbox' | 'find-task-name';
|
|
312
316
|
type FilterPersistence = 'local' | 'session' | 'memory';
|
|
@@ -1524,7 +1528,9 @@ declare class FindAPersonService {
|
|
|
1524
1528
|
mapCaseworkers(caseworkers: Caseworker[], roleCategory: RoleCategory): Person[];
|
|
1525
1529
|
searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
|
|
1526
1530
|
searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
1527
|
-
|
|
1531
|
+
findByPersonRole(searchTerm: string, personRole: PersonRole, selectedPersons: Person[], services: string, userIncluded?: boolean, assignedUser?: string | string[]): Observable<Person[]>;
|
|
1532
|
+
private findJudicialOrCTSCPeople;
|
|
1533
|
+
private findCaseworkersOrAdminsOrCtsc;
|
|
1528
1534
|
static ɵfac: i0.ɵɵFactoryDeclaration<FindAPersonService, never>;
|
|
1529
1535
|
static ɵprov: i0.ɵɵInjectableDeclaration<FindAPersonService>;
|
|
1530
1536
|
}
|
|
@@ -2079,5 +2085,5 @@ declare function radioGroupValidator(): ValidatorFn;
|
|
|
2079
2085
|
declare const windowToken: InjectionToken<unknown>;
|
|
2080
2086
|
declare function windowProvider(): Window & typeof globalThis;
|
|
2081
2087
|
|
|
2082
|
-
export { AccessibilityComponent, AddressMessageEnum, AddressModel, AddressOption, AddressService, AnonymousFeatureUser, BadgeColour, BookingCheckType, COMMON_COMPONENTS, CapitalizePipe, CheckboxListComponent, ContactDetailsComponent, CookieBannerComponent, CookieService, DateBadgeColour, DueDateComponent, ExuiCommonLibModule, ExuiPageWrapperComponent, FeatureToggleDirective, FeatureToggleGuard, FeatureToggleService, FilterService, FindLocationComponent, FindPersonComponent, FindServiceComponent, FindTaskNameComponent, FindWorkTypeComponent, GOV_UI_COMPONENTS, GenericFilterComponent, GoogleAnalyticsService, GoogleTagManagerService, GovUiService, GovUkCheckboxComponent, GovUkCheckboxesComponent, GovUkDateComponent, GovUkErrorMessageComponent, GovUkFieldsetComponent, GovUkFileUploadComponent, GovUkFormGroupWrapperComponent, GovUkInputComponent, GovUkLabelComponent, GovUkRadioComponent, GovUkRadiosComponent, GovUkSelectComponent, GovUkTextareaComponent, GovukTableColumnConfig, GovukTableComponent, HasLoadingState, HmctsBannerComponent, HmctsErrorSummaryComponent, HmctsIdentityBarComponent, HmctsMainWrapperComponent, HmctsPaginationComponent, HmctsPrimaryNavigationComponent, HmctsSessionDialogComponent, HmctsSubNavigationComponent, InviteUserFormComponent, InviteUserPermissionComponent, LaunchDarklyService, LetContext, LetDirective, LoadingService, LoadingSpinnerComponent, LocationService, LoggedInFeatureUser, ManageSessionServices, PaginationComponent, PersonRole, RadioFilterFieldConfig, RefDataService, RemoveHostDirective, RoleCategory, RoleGuard, RoleMatching, RoleService, SECONDS_IN_A_DAY, SearchJudicialsComponent, SearchLocationComponent, SearchServiceComponent, SearchVenueComponent, SearchWorkTypeComponent, SelectedCaseComponent, SelectedCaseConfirmComponent, SelectedCaseListComponent, ServiceMessageComponent, ServiceMessagesComponent, ShareCaseComponent, ShareCaseConfirmComponent, SharedCaseErrorMessages, TabComponent, TaskService, TcConfirmComponent, TcDisplayHtmlComponent, TcDisplayPlainComponent, TermsAndConditionsComponent, TimeoutNotificationsService, UserDetailsComponent, UserListComponent, UserSelectComponent, WriteAddressFieldComponent, WriteAddressInputsComponent, checkboxesBeCheckedValidator, dateValidator, radioGroupValidator, windowProvider, windowToken };
|
|
2088
|
+
export { AccessibilityComponent, AddressMessageEnum, AddressModel, AddressOption, AddressService, AnonymousFeatureUser, BadgeColour, BookingCheckType, COMMON_COMPONENTS, CapitalizePipe, CheckboxListComponent, ContactDetailsComponent, CookieBannerComponent, CookieService, DateBadgeColour, DueDateComponent, ExuiCommonLibModule, ExuiPageWrapperComponent, FeatureToggleDirective, FeatureToggleGuard, FeatureToggleService, FilterService, FindLocationComponent, FindPersonComponent, FindServiceComponent, FindTaskNameComponent, FindWorkTypeComponent, GOV_UI_COMPONENTS, GenericFilterComponent, GoogleAnalyticsService, GoogleTagManagerService, GovUiService, GovUkCheckboxComponent, GovUkCheckboxesComponent, GovUkDateComponent, GovUkErrorMessageComponent, GovUkFieldsetComponent, GovUkFileUploadComponent, GovUkFormGroupWrapperComponent, GovUkInputComponent, GovUkLabelComponent, GovUkRadioComponent, GovUkRadiosComponent, GovUkSelectComponent, GovUkTextareaComponent, GovukTableColumnConfig, GovukTableComponent, HasLoadingState, HmctsBannerComponent, HmctsErrorSummaryComponent, HmctsIdentityBarComponent, HmctsMainWrapperComponent, HmctsPaginationComponent, HmctsPrimaryNavigationComponent, HmctsSessionDialogComponent, HmctsSubNavigationComponent, InviteUserFormComponent, InviteUserPermissionComponent, LaunchDarklyService, LetContext, LetDirective, LoadingService, LoadingSpinnerComponent, LocationService, LoggedInFeatureUser, ManageSessionServices, PaginationComponent, PersonRole, RadioFilterFieldConfig, RefDataService, RemoveHostDirective, RoleCategory, RoleGuard, RoleMatching, RoleService, SECONDS_IN_A_DAY, SearchJudicialsComponent, SearchLocationComponent, SearchServiceComponent, SearchVenueComponent, SearchWorkTypeComponent, SelectedCaseComponent, SelectedCaseConfirmComponent, SelectedCaseListComponent, ServiceMessageComponent, ServiceMessagesComponent, ShareCaseComponent, ShareCaseConfirmComponent, SharedCaseErrorMessages, TabComponent, TaskService, TcConfirmComponent, TcDisplayHtmlComponent, TcDisplayPlainComponent, TermsAndConditionsComponent, TimeoutNotificationsService, UserDetailsComponent, UserListComponent, UserSelectComponent, WriteAddressFieldComponent, WriteAddressInputsComponent, checkboxesBeCheckedValidator, dateValidator, getPersonRole, getRoleCategory, radioGroupValidator, windowProvider, windowToken };
|
|
2083
2089
|
export type { Caseworker, CaseworkersByService, CheckboxesModel, ContactDetailsDataModel, ErrorMessagesModel, FeatureUser, FilterConfig, FilterConfigOption, FilterError, FilterFieldConfig, FilterFieldOption, FilterFieldType, FilterPersistence, FilterSetting, GovUiConfigModel, GroupOptions, HmctsErrorMessage, IdleConfigModel, JudicialUserModel, LocationByEPIMMSModel, LocationModel, LocationsByService, Pagination, Person, RefDataHMCTSService, RefDataRegion, Role, Roles, SearchOptions, SharedCase, SubNavigation, TCDocument, TabItem, TimeoutNotificationConfig, User, UserAccessType, UserDetails, WorkType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmcts/rpx-xui-common-lib",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.16-pofcc-156",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^20.3.18",
|
|
6
6
|
"@angular/cdk": "16.2.0",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@ng-idle/keepalive": "^16.0.0",
|
|
18
18
|
"launchdarkly-js-client-sdk": "^3.3.0",
|
|
19
19
|
"ngx-pagination": "^3.2.1",
|
|
20
|
-
"rpx-xui-translation": "1.2.
|
|
20
|
+
"rpx-xui-translation": "1.2.12",
|
|
21
21
|
"rxjs": "^7.8.1",
|
|
22
22
|
"zone.js": "~0.15.1"
|
|
23
23
|
},
|