@csmart/ngc-smart-victim 1.13.2 → 1.13.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ import { Router, ActivatedRoute } from '@angular/router';
7
7
  import { CommonDialogService } from '.././common-dialog/common-dialog.service';
8
8
  import { DatePipe, Location } from '@angular/common';
9
9
  import { MatTableDataSource } from '@angular/material/table';
10
- import { AddressValidators } from '@csmart/ngc-smart-address';
10
+ import { AddressValidators, SmartAddressComponent } from '@csmart/ngc-smart-address';
11
11
  import { MatDialog } from '@angular/material/dialog';
12
12
  import { MatSnackBar } from '@angular/material/snack-bar';
13
13
  import * as i0 from "@angular/core";
@@ -34,6 +34,7 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
34
34
  isIntake: boolean;
35
35
  onSave: EventEmitter<any>;
36
36
  onCancel: EventEmitter<any>;
37
+ addressComponent: SmartAddressComponent;
37
38
  victimId: number;
38
39
  victimForm: FormGroup;
39
40
  drugs: any;
@@ -88,6 +89,8 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
88
89
  private initForm;
89
90
  private _getVictim;
90
91
  ngOnChanges(): void;
92
+ onClear(): void;
93
+ showAddress(value: any): void;
91
94
  onAddressChange(addressId: any): void;
92
95
  onGuardianAddressChange(MyGuardianAddressId: any): void;
93
96
  onAdvocateAddressChange(MyAdvocateAddressId: any): void;
@@ -11,6 +11,7 @@ export declare class NgcSmartVictimService {
11
11
  private apollo;
12
12
  private serviceApiUrl;
13
13
  constructor(http: HttpClient, smartOffenderServiceUrl: string, smartLookupServiceUrl: string, smartVictimServiceUrl: string, apollo: Apollo);
14
+ getCurrentHousing(offenderId: number): Observable<Object>;
14
15
  private handleError;
15
16
  getDrugsTypes(): Observable<Object>;
16
17
  getDocketList(offenderId: number): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csmart/ngc-smart-victim",
3
- "version": "1.13.2",
3
+ "version": "1.13.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.5",
6
6
  "@angular/core": "^13.2.5",