@hmcts/rpx-xui-common-lib 1.4.29-date-component-common-validation → 1.4.30-date-component-common-validation

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.
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { ElementRef, OnInit } from '@angular/core';
2
2
  import { AbstractControl, FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { Observable, Subject } from 'rxjs';
4
4
  import { LocationByEPIMSModel } from '../../models/location.model';
@@ -11,6 +11,7 @@ export declare class SearchLocationComponent implements OnInit {
11
11
  selectedLocations$: Observable<LocationByEPIMSModel[]>;
12
12
  serviceIds: string;
13
13
  submitted?: boolean;
14
+ autoCompleteInputBox: ElementRef<HTMLInputElement>;
14
15
  findLocationFormGroup: FormGroup;
15
16
  showAutocomplete: boolean;
16
17
  locations$: Observable<LocationByEPIMSModel[]>;
@@ -1,10 +1,9 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { NgForm, ValidatorFn } from '@angular/forms';
2
+ import { ValidatorFn } from '@angular/forms';
3
3
  import { ErrorMessagesModel } from '../../models/error-messages-model';
4
4
  import { GovUiConfigModel } from '../../models/gov-ui-config-model';
5
5
  export declare class GovUkDateComponent implements OnInit {
6
6
  constructor();
7
- form: NgForm;
8
7
  config: GovUiConfigModel;
9
8
  errorMessage: ErrorMessagesModel;
10
9
  formGroup: any;
@@ -34,6 +34,7 @@ export interface FilterFieldConfig {
34
34
  }
35
35
  export interface FilterSetting {
36
36
  id: string;
37
+ reset?: boolean;
37
38
  fields: {
38
39
  name: string;
39
40
  value: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/rpx-xui-common-lib",
3
- "version": "1.4.29-date-component-common-validation",
3
+ "version": "1.4.30-date-component-common-validation",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^7.2.0",
6
6
  "@angular/core": "^7.2.0",