@hmcts/rpx-xui-common-lib 3.2.12-pofcc-156 → 3.2.13
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,7 +296,6 @@ declare enum PersonRole {
|
|
|
296
296
|
LEGAL_OPERATIONS = "Legal Ops",
|
|
297
297
|
ADMIN = "Admin",
|
|
298
298
|
CTSC = "CTSC",
|
|
299
|
-
ENFORCEMENT = "Enforcement",
|
|
300
299
|
ALL = "All"
|
|
301
300
|
}
|
|
302
301
|
declare enum RoleCategory {
|
|
@@ -306,11 +305,8 @@ declare enum RoleCategory {
|
|
|
306
305
|
CTSC = "CTSC",
|
|
307
306
|
PROFESSIONAL = "PROFESSIONAL",
|
|
308
307
|
CITIZEN = "CITIZEN",
|
|
309
|
-
ENFORCEMENT = "ENFORCEMENT",
|
|
310
308
|
ALL = "ALL"
|
|
311
309
|
}
|
|
312
|
-
declare function getRoleCategory(personRole: PersonRole): RoleCategory;
|
|
313
|
-
declare function getPersonRole(roleCategory: string): PersonRole;
|
|
314
310
|
|
|
315
311
|
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';
|
|
316
312
|
type FilterPersistence = 'local' | 'session' | 'memory';
|
|
@@ -1528,9 +1524,6 @@ declare class FindAPersonService {
|
|
|
1528
1524
|
mapCaseworkers(caseworkers: Caseworker[], roleCategory: string): Person[];
|
|
1529
1525
|
searchInCaseworkers(caseworkers: Caseworker[], searchOptions: SearchOptions): Person[];
|
|
1530
1526
|
searchJudicial(value: string, serviceId: string): Observable<JudicialUserModel[]>;
|
|
1531
|
-
findByPersonRole(searchTerm: string, personRole: PersonRole, selectedPersons: Person[], services: string, userIncluded?: boolean, assignedUser?: string | string[]): Observable<Person[]>;
|
|
1532
|
-
private findJudicialOrCTSCPeople;
|
|
1533
|
-
private findCaseworkersOrAdminsOrCtsc;
|
|
1534
1527
|
static ɵfac: i0.ɵɵFactoryDeclaration<FindAPersonService, never>;
|
|
1535
1528
|
static ɵprov: i0.ɵɵInjectableDeclaration<FindAPersonService>;
|
|
1536
1529
|
}
|
|
@@ -2085,5 +2078,5 @@ declare function radioGroupValidator(): ValidatorFn;
|
|
|
2085
2078
|
declare const windowToken: InjectionToken<unknown>;
|
|
2086
2079
|
declare function windowProvider(): Window & typeof globalThis;
|
|
2087
2080
|
|
|
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,
|
|
2081
|
+
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 };
|
|
2089
2082
|
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 };
|