@csmart/ngc-smart-victim 1.14.12 → 1.14.14
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/shared/directives/phone-mask.directive.mjs +4 -1
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +2 -1
- package/esm2020/lib/smart-victim.model.mjs +1 -1
- package/fesm2015/csmart-ngc-smart-victim.mjs +4 -0
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +4 -0
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +2 -1
- package/lib/smart-victim.model.d.ts +4 -4
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OnInit, OnChanges, EventEmitter } from '@angular/core';
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup, ValidatorFn } from '@angular/forms';
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup, UntypedFormControl, ValidatorFn } from '@angular/forms';
|
3
3
|
import { MatRadioChange } from '@angular/material/radio';
|
4
4
|
import { Victim, VictimDrugUse, Contact, VictimAdvocate, VictimGuardian, VictimWeaponUse, VictimSupport } from '../smart-victim.model';
|
5
5
|
import { NgcSmartVictimService } from '../smart-victim.service';
|
@@ -85,6 +85,7 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
|
|
85
85
|
guaridanNoPhoneChkFlag: boolean;
|
86
86
|
advocateNoPhoneChkFlag: boolean;
|
87
87
|
addressValidators: AddressValidators;
|
88
|
+
homePhoneControl: UntypedFormControl;
|
88
89
|
constructor(location: Location, formBuilder: UntypedFormBuilder, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, commonDialogService: CommonDialogService, victimService: NgcSmartVictimService);
|
89
90
|
private initForm;
|
90
91
|
private _getVictim;
|
@@ -153,9 +153,9 @@ export declare class Victim {
|
|
153
153
|
suffixId: string | null;
|
154
154
|
birthDate: string;
|
155
155
|
genderCode: string;
|
156
|
-
homePhone: string;
|
157
|
-
workPhone: string;
|
158
|
-
cellPhone: string;
|
156
|
+
homePhone: string | null;
|
157
|
+
workPhone: string | null;
|
158
|
+
cellPhone: string | null;
|
159
159
|
email: string;
|
160
160
|
addressId: number;
|
161
161
|
minorFlag: boolean;
|
@@ -201,5 +201,5 @@ export declare class Victim {
|
|
201
201
|
victimDrugUses: VictimDrugUse[];
|
202
202
|
allowCsosaContactFlag: boolean;
|
203
203
|
liveWithOffenderFlag: boolean;
|
204
|
-
constructor(victimId: number, offenderId: number, underSupervisionFlag: string, victimOffenderRelationshipTypeId: string, lastName: string, firstName: string, middleName: string, prefixId: string | null, suffixId: string | null, birthDate: string, genderCode: string, homePhone: string, workPhone: string, cellPhone: string, email: string, addressId: number, minorFlag: boolean, victimAdvocateFlag: string, guardianFirstName: string, guardianLastName: string, guardianPrefixId: string, guardianSuffixId: string, guardianNoPhoneFlag: boolean, guardianHomePhone: string, guardianWorkPhone: string, guardianCellPhone: string, guardianEmail: string, guardianAddressId: number, guardianBirthDate: string, advocateFirstName: string, advocateLastName: string, advocatePrefixId: string, advocateSuffixId: string, advocateNoPhoneFlag: boolean, advocateHomePhone: string, advocateWorkPhone: string, advocateCellPhone: string, advocateEmail: string, advocateAddressId: number, emergencyContact: string, emergencyContactPhone: string, commonChildrenFlag: boolean, commonChildrenNumber: number, cpoExpirationFlag: boolean, cpoExpirationDate: string, supportInPlaceFlag: boolean, weaponInvolvedFlag: boolean, drugUseFlag: boolean, alcoholUseFlag: boolean, accessRisk: string, modifiedBy: number, relationship: string, vVictimAdvocate: VictimAdvocate, vVictimGuardian: VictimGuardian, victimSupports: VictimSupport[], victimWeaponUses: VictimWeaponUse[], victimDrugUses: VictimDrugUse[], allowCsosaContactFlag: boolean, liveWithOffenderFlag: boolean);
|
204
|
+
constructor(victimId: number, offenderId: number, underSupervisionFlag: string, victimOffenderRelationshipTypeId: string, lastName: string, firstName: string, middleName: string, prefixId: string | null, suffixId: string | null, birthDate: string, genderCode: string, homePhone: string | null, workPhone: string | null, cellPhone: string | null, email: string, addressId: number, minorFlag: boolean, victimAdvocateFlag: string, guardianFirstName: string, guardianLastName: string, guardianPrefixId: string, guardianSuffixId: string, guardianNoPhoneFlag: boolean, guardianHomePhone: string, guardianWorkPhone: string, guardianCellPhone: string, guardianEmail: string, guardianAddressId: number, guardianBirthDate: string, advocateFirstName: string, advocateLastName: string, advocatePrefixId: string, advocateSuffixId: string, advocateNoPhoneFlag: boolean, advocateHomePhone: string, advocateWorkPhone: string, advocateCellPhone: string, advocateEmail: string, advocateAddressId: number, emergencyContact: string, emergencyContactPhone: string, commonChildrenFlag: boolean, commonChildrenNumber: number, cpoExpirationFlag: boolean, cpoExpirationDate: string, supportInPlaceFlag: boolean, weaponInvolvedFlag: boolean, drugUseFlag: boolean, alcoholUseFlag: boolean, accessRisk: string, modifiedBy: number, relationship: string, vVictimAdvocate: VictimAdvocate, vVictimGuardian: VictimGuardian, victimSupports: VictimSupport[], victimWeaponUses: VictimWeaponUse[], victimDrugUses: VictimDrugUse[], allowCsosaContactFlag: boolean, liveWithOffenderFlag: boolean);
|
205
205
|
}
|