@hmcts/rpx-xui-common-lib 1.8.7-generic-filter-clear-errors-on-destroy → 1.8.7-include-current-user

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.
@@ -2,13 +2,14 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormControl, FormGroup } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
4
  import { BookingCheckType, FilterFieldConfig, LocationByEPIMMSModel } from '../../models';
5
- import { RefDataService } from '../../services';
6
5
  import { LocationService } from '../../services/locations/location.service';
6
+ import { RefDataService } from '../../services/ref-data';
7
7
  import { SessionStorageService } from '../../services/storage/session-storage/session-storage.service';
8
8
  export declare class SearchLocationComponent implements OnInit {
9
9
  private readonly locationService;
10
10
  private readonly sessionStorageService;
11
11
  private readonly refDataService;
12
+ private static readonly allLocationAPI;
12
13
  form: FormGroup;
13
14
  field: FilterFieldConfig;
14
15
  disabled: boolean;
@@ -57,6 +57,7 @@ export interface FilterFieldConfig {
57
57
  titleHint?: string;
58
58
  subTitle?: string;
59
59
  locationTitle?: string;
60
+ hintText?: string;
60
61
  radioSelectionChange?: string;
61
62
  bookingCheckType?: BookingCheckType;
62
63
  placeholderContent?: string;
@@ -11,7 +11,7 @@ export declare class LocationService {
11
11
  * @param searchTerm: any search term for postcode | site name | venue name |court name | court address etc.
12
12
  * @return Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
13
13
  */
14
- getAllLocations(serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[]): Observable<LocationByEPIMMSModel[]>;
14
+ getAllLocations(locationUrl: string, serviceIds: string, locationType: string, searchTerm: string, userLocations: LocationsByService[]): Observable<LocationByEPIMMSModel[]>;
15
15
  /**
16
16
  * @description searchLocations from service Ids/location type/search term
17
17
  * @param serviceIds: BBA3 | BBA3,BFA1 split with ','
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/rpx-xui-common-lib",
3
- "version": "1.8.7-generic-filter-clear-errors-on-destroy",
3
+ "version": "1.8.7-include-current-user",
4
4
  "peerDependencies": {
5
5
  "launchdarkly-js-client-sdk": "^2.15.2",
6
6
  "ngx-pagination": "^3.2.1"