@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.
- package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +3 -3
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +23 -4
- package/esm2020/lib/smart-victim.service.mjs +6 -1
- package/fesm2015/csmart-ngc-smart-victim.mjs +27 -4
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +29 -6
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +4 -1
- package/lib/smart-victim.service.d.ts +1 -0
- package/package.json +1 -1
@@ -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>;
|