@csmart/ngc-smart-victim 0.1.5 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- package/karma.conf.js +32 -0
- package/ng-package.json +7 -0
- package/package.json +13 -26
- package/src/lib/caseNote/caseNote.component.css +20 -0
- package/src/lib/caseNote/caseNote.component.html +188 -0
- package/src/lib/caseNote/caseNote.component.ts +248 -0
- package/src/lib/common-dialog/common-dialog.component.css +10 -0
- package/src/lib/common-dialog/common-dialog.component.html +23 -0
- package/src/lib/common-dialog/common-dialog.component.spec.ts +25 -0
- package/src/lib/common-dialog/common-dialog.component.ts +21 -0
- package/src/lib/common-dialog/common-dialog.module.ts +25 -0
- package/src/lib/common-dialog/common-dialog.service.ts +35 -0
- package/src/lib/contact/contact.component.css +20 -0
- package/src/lib/contact/contact.component.html +124 -0
- package/src/lib/contact/contact.component.ts +176 -0
- package/src/lib/intake.service.ts +82 -0
- package/src/lib/safetyPlan/serviceProvider.component.ts +94 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.css +27 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.html +85 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.ts +178 -0
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.html +234 -0
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.ts +492 -0
- package/src/lib/shared/app.shared.module.ts +118 -0
- package/src/lib/shared/directives/phone-mask.directive.ts +41 -0
- package/src/lib/shared/validators/date.validator.ts +73 -0
- package/src/lib/shared/validators/index.ts +1 -0
- package/src/lib/smart-victim-delete-confirm.component.ts +35 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.css +43 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.html +860 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.spec.ts +25 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.ts +1241 -0
- package/src/lib/smart-victim.component.css +192 -0
- package/src/lib/smart-victim.component.html +133 -0
- package/src/lib/smart-victim.component.spec.ts +25 -0
- package/src/lib/smart-victim.component.ts +323 -0
- package/src/lib/smart-victim.model.ts +301 -0
- package/src/lib/smart-victim.module.ts +116 -0
- package/src/lib/smart-victim.service.spec.ts +12 -0
- package/src/lib/smart-victim.service.ts +563 -0
- package/src/lib/victim-routing.module.ts +34 -0
- package/{lib/victimSearch/VictimSearchFilter.d.ts → src/lib/victimSearch/VictimSearchFilter.ts} +4 -2
- package/src/lib/victimSearch/victimSearchForm.component.html +35 -0
- package/src/lib/victimSearch/victimSearchForm.component.ts +41 -0
- package/src/public-api.ts +12 -0
- package/src/test.ts +22 -0
- package/tsconfig.lib.json +37 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/csmart-ngc-smart-victim.umd.js +0 -6426
- package/bundles/csmart-ngc-smart-victim.umd.js.map +0 -1
- package/bundles/csmart-ngc-smart-victim.umd.min.js +0 -16
- package/bundles/csmart-ngc-smart-victim.umd.min.js.map +0 -1
- package/csmart-ngc-smart-victim.d.ts +0 -19
- package/csmart-ngc-smart-victim.metadata.json +0 -1
- package/esm2015/csmart-ngc-smart-victim.js +0 -25
- package/esm2015/lib/caseNote/caseNote.component.js +0 -349
- package/esm2015/lib/common-dialog/common-dialog.component.js +0 -46
- package/esm2015/lib/common-dialog/common-dialog.module.js +0 -32
- package/esm2015/lib/common-dialog/common-dialog.service.js +0 -63
- package/esm2015/lib/contact/contact.component.js +0 -228
- package/esm2015/lib/intake.service.js +0 -183
- package/esm2015/lib/safetyPlan/serviceProvider.component.js +0 -130
- package/esm2015/lib/safetyPlan/victimSafetyPlan.component.js +0 -257
- package/esm2015/lib/safetyPlan/victimSafetyPlanDetail.component.js +0 -556
- package/esm2015/lib/shared/app.shared.module.js +0 -81
- package/esm2015/lib/shared/directives/phone-mask.directive.js +0 -168
- package/esm2015/lib/shared/validators/date.validator.js +0 -108
- package/esm2015/lib/shared/validators/index.js +0 -7
- package/esm2015/lib/smart-victim-delete-confirm.component.js +0 -61
- package/esm2015/lib/smart-victim-detail/smart-victim-detail.component.js +0 -1405
- package/esm2015/lib/smart-victim.component.js +0 -476
- package/esm2015/lib/smart-victim.model.js +0 -631
- package/esm2015/lib/smart-victim.module.js +0 -84
- package/esm2015/lib/smart-victim.service.js +0 -792
- package/esm2015/lib/victim-routing.module.js +0 -40
- package/esm2015/lib/victimSearch/VictimSearchFilter.js +0 -20
- package/esm2015/lib/victimSearch/victimSearchForm.component.js +0 -59
- package/esm2015/public-api.js +0 -13
- package/esm5/csmart-ngc-smart-victim.js +0 -25
- package/esm5/lib/caseNote/caseNote.component.js +0 -372
- package/esm5/lib/common-dialog/common-dialog.component.js +0 -48
- package/esm5/lib/common-dialog/common-dialog.module.js +0 -36
- package/esm5/lib/common-dialog/common-dialog.service.js +0 -75
- package/esm5/lib/contact/contact.component.js +0 -281
- package/esm5/lib/intake.service.js +0 -194
- package/esm5/lib/safetyPlan/serviceProvider.component.js +0 -99
- package/esm5/lib/safetyPlan/victimSafetyPlan.component.js +0 -306
- package/esm5/lib/safetyPlan/victimSafetyPlanDetail.component.js +0 -628
- package/esm5/lib/shared/app.shared.module.js +0 -85
- package/esm5/lib/shared/directives/phone-mask.directive.js +0 -184
- package/esm5/lib/shared/validators/date.validator.js +0 -108
- package/esm5/lib/shared/validators/index.js +0 -7
- package/esm5/lib/smart-victim-delete-confirm.component.js +0 -51
- package/esm5/lib/smart-victim-detail/smart-victim-detail.component.js +0 -1497
- package/esm5/lib/smart-victim.component.js +0 -528
- package/esm5/lib/smart-victim.model.js +0 -541
- package/esm5/lib/smart-victim.module.js +0 -84
- package/esm5/lib/smart-victim.service.js +0 -1063
- package/esm5/lib/victim-routing.module.js +0 -44
- package/esm5/lib/victimSearch/VictimSearchFilter.js +0 -24
- package/esm5/lib/victimSearch/victimSearchForm.component.js +0 -70
- package/esm5/public-api.js +0 -13
- package/fesm2015/csmart-ngc-smart-victim.js +0 -5682
- package/fesm2015/csmart-ngc-smart-victim.js.map +0 -1
- package/fesm5/csmart-ngc-smart-victim.js +0 -6203
- package/fesm5/csmart-ngc-smart-victim.js.map +0 -1
- package/lib/caseNote/caseNote.component.d.ts +0 -45
- package/lib/common-dialog/common-dialog.component.d.ts +0 -11
- package/lib/common-dialog/common-dialog.module.d.ts +0 -2
- package/lib/common-dialog/common-dialog.service.d.ts +0 -8
- package/lib/contact/contact.component.d.ts +0 -37
- package/lib/intake.service.d.ts +0 -54
- package/lib/safetyPlan/serviceProvider.component.d.ts +0 -16
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +0 -49
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +0 -57
- package/lib/shared/app.shared.module.d.ts +0 -2
- package/lib/shared/directives/phone-mask.directive.d.ts +0 -14
- package/lib/shared/validators/date.validator.d.ts +0 -9
- package/lib/shared/validators/index.d.ts +0 -1
- package/lib/smart-victim-delete-confirm.component.d.ts +0 -9
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +0 -109
- package/lib/smart-victim.component.d.ts +0 -63
- package/lib/smart-victim.model.d.ts +0 -204
- package/lib/smart-victim.module.d.ts +0 -2
- package/lib/smart-victim.service.d.ts +0 -67
- package/lib/victim-routing.module.d.ts +0 -2
- package/lib/victimSearch/victimSearchForm.component.d.ts +0 -11
- package/public-api.d.ts +0 -4
@@ -1,45 +0,0 @@
|
|
1
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
-
import { FormGroup, FormBuilder } from '@angular/forms';
|
4
|
-
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
5
|
-
import { MatSnackBar, MatTableDataSource } from '@angular/material';
|
6
|
-
import { LoginStaff } from '@csmart/ngc-smart-core';
|
7
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
8
|
-
import { CaseNote } from '../smart-victim.model';
|
9
|
-
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
10
|
-
export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
11
|
-
private formBuilder;
|
12
|
-
private _victimServicesComponent;
|
13
|
-
private commonDialogService;
|
14
|
-
snackBar: MatSnackBar;
|
15
|
-
private route;
|
16
|
-
private router;
|
17
|
-
private smartAuthService;
|
18
|
-
offenderId: number;
|
19
|
-
loginStaff: LoginStaff;
|
20
|
-
hiddenDetailFlag: boolean;
|
21
|
-
caseNoteList: CaseNote[];
|
22
|
-
caseNote: CaseNote;
|
23
|
-
editCaseNote: CaseNote;
|
24
|
-
errorMessage: string;
|
25
|
-
contactTypes: any[];
|
26
|
-
contactPurposes: any[];
|
27
|
-
result: any;
|
28
|
-
victimName: string;
|
29
|
-
staffId: number;
|
30
|
-
victimId: number;
|
31
|
-
private sub;
|
32
|
-
caseNoteDataSource: MatTableDataSource<{}>;
|
33
|
-
addDisableFlag: boolean;
|
34
|
-
hiddenAddNewFlag: boolean;
|
35
|
-
caseNoteForm: FormGroup;
|
36
|
-
constructor(formBuilder: FormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
|
37
|
-
private initForm;
|
38
|
-
ngAfterViewInit(): void;
|
39
|
-
ngOnInit(): void;
|
40
|
-
onEditCaseNote(victimCaseNoteId: number): void;
|
41
|
-
onDeleteCaseNote(victimCaseNoteId: number): void;
|
42
|
-
onAddNew(): void;
|
43
|
-
back(): void;
|
44
|
-
saveCaseNote(): void;
|
45
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material';
|
3
|
-
export declare class CommonDialogComponent implements OnInit {
|
4
|
-
commondialogRef: MatDialogRef<CommonDialogComponent>;
|
5
|
-
title: string;
|
6
|
-
message: string;
|
7
|
-
cmdYesTitle: string;
|
8
|
-
cmdNoTitle: string;
|
9
|
-
constructor(commondialogRef: MatDialogRef<CommonDialogComponent>);
|
10
|
-
ngOnInit(): void;
|
11
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
import { MatDialog } from '@angular/material';
|
3
|
-
export declare class CommonDialogService {
|
4
|
-
private dialog;
|
5
|
-
constructor(dialog: MatDialog);
|
6
|
-
confirm(title: string, message: string, cmdYesTitle: string, cmdNoTitle: string): Observable<boolean>;
|
7
|
-
warning(title: string, message: string, cmdOkTitle: string): Observable<boolean>;
|
8
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
-
import { FormGroup } from '@angular/forms';
|
4
|
-
import { MatSnackBar } from '@angular/material';
|
5
|
-
import { LoginStaff } from '@csmart/ngc-smart-core';
|
6
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
7
|
-
import { Contact } from '../smart-victim.model';
|
8
|
-
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
9
|
-
export declare class ContactComponent implements OnInit, AfterViewInit {
|
10
|
-
private _victimServicesComponent;
|
11
|
-
snackBar: MatSnackBar;
|
12
|
-
private route;
|
13
|
-
private router;
|
14
|
-
private smartAuthService;
|
15
|
-
offenderId: number;
|
16
|
-
loginStaff: LoginStaff;
|
17
|
-
contact: Contact;
|
18
|
-
editContact: Contact;
|
19
|
-
errorMessage: string;
|
20
|
-
contactMethods: any[];
|
21
|
-
contactBy: any[];
|
22
|
-
result: any;
|
23
|
-
victimName: string;
|
24
|
-
staffId: number;
|
25
|
-
victimId: number;
|
26
|
-
hiddenAddNewFlag: boolean;
|
27
|
-
contactForm: FormGroup;
|
28
|
-
private sub;
|
29
|
-
staff: any;
|
30
|
-
constructor(_victimServicesComponent: NgcSmartVictimService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
|
31
|
-
ngAfterViewInit(): void;
|
32
|
-
ngOnInit(): void;
|
33
|
-
onEditContact(victimContactId: number): void;
|
34
|
-
onAddNew(): void;
|
35
|
-
back(): void;
|
36
|
-
saveContact(): void;
|
37
|
-
}
|
package/lib/intake.service.d.ts
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
export declare class IntakeServicesComponent {
|
4
|
-
private http;
|
5
|
-
private smartOffenderServiceUrl;
|
6
|
-
constructor(http: HttpClient, smartOffenderServiceUrl: string);
|
7
|
-
getIntakeByOffender(offenderId: any): Observable<Intake>;
|
8
|
-
updateIntakeSteps(offenderId: number, intakeStepStatus: IntakeStepStatusModel): Observable<Object>;
|
9
|
-
}
|
10
|
-
export interface Intake {
|
11
|
-
intakeId: number;
|
12
|
-
offenderId: number;
|
13
|
-
intakeOffenderReportStatusId?: any;
|
14
|
-
startDate: string;
|
15
|
-
endDate?: any;
|
16
|
-
assignmentId?: any;
|
17
|
-
modifiedBy: number;
|
18
|
-
}
|
19
|
-
export interface IntakeStepStatus {
|
20
|
-
intakeStepStatusId: number;
|
21
|
-
intakeId: number;
|
22
|
-
intakeStepId: string;
|
23
|
-
completedDate: Date;
|
24
|
-
modifiedBy: number;
|
25
|
-
}
|
26
|
-
export interface IntakeStepStatusModel {
|
27
|
-
offenderId: number;
|
28
|
-
intakeStepId: string;
|
29
|
-
modifiedBy: number;
|
30
|
-
}
|
31
|
-
export declare class IntakeStep {
|
32
|
-
static PhysicalInformation: string;
|
33
|
-
static Photo: string;
|
34
|
-
static HousingInformation: string;
|
35
|
-
static DocketInformation: string;
|
36
|
-
static Alias: string;
|
37
|
-
static IntakeBasicInformation: string;
|
38
|
-
static ContactInformation: string;
|
39
|
-
static DeceasedInformation: string;
|
40
|
-
static DriversLicense: string;
|
41
|
-
static EmploymentInformation: string;
|
42
|
-
static GangAffiliation: string;
|
43
|
-
static HealthInsurance: string;
|
44
|
-
static Identification: string;
|
45
|
-
static InternetIdentifier: string;
|
46
|
-
static MilitaryService: string;
|
47
|
-
static School: string;
|
48
|
-
static SelectiveService: string;
|
49
|
-
static Vehicle: string;
|
50
|
-
static VictimInformation: string;
|
51
|
-
static WarrantInformation: string;
|
52
|
-
static RunningRecord: string;
|
53
|
-
static Signature: string;
|
54
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material';
|
3
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
4
|
-
import { ProvidersDialogData } from '../smart-victim.model';
|
5
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
6
|
-
export declare class SeriveProviderComponent implements OnInit {
|
7
|
-
private formBuilder;
|
8
|
-
dialogRef: MatDialogRef<SeriveProviderComponent>;
|
9
|
-
private _victimServicesComponent;
|
10
|
-
data: ProvidersDialogData;
|
11
|
-
spForm: FormGroup;
|
12
|
-
programProviders: [];
|
13
|
-
constructor(formBuilder: FormBuilder, dialogRef: MatDialogRef<SeriveProviderComponent>, _victimServicesComponent: NgcSmartVictimService, data: ProvidersDialogData);
|
14
|
-
cancel(): void;
|
15
|
-
ngOnInit(): void;
|
16
|
-
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
-
import { VictimSafetyPlan, VictimServiceDetail, VictimServiceStatusHistory } from '../smart-victim.model';
|
4
|
-
import { MatDialog, MatTableDataSource, MatSnackBar } from '@angular/material';
|
5
|
-
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
6
|
-
import { HttpClient } from '@angular/common/http';
|
7
|
-
import { LoginStaff } from '@csmart/ngc-smart-core';
|
8
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
9
|
-
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
10
|
-
export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit {
|
11
|
-
private _victimServicesComponent;
|
12
|
-
private commonDialogService;
|
13
|
-
private http;
|
14
|
-
dialog: MatDialog;
|
15
|
-
private route;
|
16
|
-
private router;
|
17
|
-
snackBar: MatSnackBar;
|
18
|
-
private smartAuthService;
|
19
|
-
loginStaff: LoginStaff;
|
20
|
-
offenderId: number;
|
21
|
-
hiddenDetailFlag: boolean;
|
22
|
-
hiddenAddNewFlag: boolean;
|
23
|
-
safetyPlans: VictimSafetyPlan[];
|
24
|
-
safetyPlan: VictimSafetyPlan;
|
25
|
-
editSafetyPlan: VictimSafetyPlan;
|
26
|
-
errorMessage: string;
|
27
|
-
contactTypes: any[];
|
28
|
-
contactPurposes: any[];
|
29
|
-
victimServiceTypes: any[];
|
30
|
-
victimSafetyPlans: VictimSafetyPlan[];
|
31
|
-
victimServiceStatus: any[];
|
32
|
-
victimServiceStatusHistories: VictimServiceStatusHistory[];
|
33
|
-
queryString: string;
|
34
|
-
victimServiceDetail: VictimServiceDetail[];
|
35
|
-
myVictimServiceId: number;
|
36
|
-
result: any;
|
37
|
-
victimName: string;
|
38
|
-
staffId: number;
|
39
|
-
victimId: number;
|
40
|
-
private sub;
|
41
|
-
safetyPlanDataSource: MatTableDataSource<{}>;
|
42
|
-
constructor(_victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, http: HttpClient, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, smartAuthService: SmartAuthService);
|
43
|
-
ngAfterViewInit(): void;
|
44
|
-
ngOnInit(): void;
|
45
|
-
goToSafetyPlanDetail(victimServiceId: number): void;
|
46
|
-
onAddNew(): void;
|
47
|
-
onDeleteSafetyPlan(victimServiceId: number): void;
|
48
|
-
back(): void;
|
49
|
-
}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
-
import { FormGroup, FormBuilder } from '@angular/forms';
|
4
|
-
import { VictimSafetyPlan, VictimServiceDetail, VictimServiceTypeProgramProviderModel, ProviderListCollectionModel } from '../smart-victim.model';
|
5
|
-
import { MatSnackBar, MatTableDataSource, MatDialog } from '@angular/material';
|
6
|
-
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
7
|
-
import { HttpClient } from '@angular/common/http';
|
8
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
9
|
-
import { LoginStaff } from '@csmart/ngc-smart-core';
|
10
|
-
export declare class VictimSafetyPlanDetailComponent implements OnInit {
|
11
|
-
dialog: MatDialog;
|
12
|
-
private _victimServicesComponent;
|
13
|
-
private http;
|
14
|
-
snackBar: MatSnackBar;
|
15
|
-
private route;
|
16
|
-
private router;
|
17
|
-
private commonDialogService;
|
18
|
-
private formBuilder;
|
19
|
-
hiddenAddNewFlag: boolean;
|
20
|
-
safetyPlans: VictimSafetyPlan[];
|
21
|
-
safetyPlan: VictimSafetyPlan;
|
22
|
-
editSafetyPlan: VictimSafetyPlan;
|
23
|
-
errorMessage: string;
|
24
|
-
contactTypes: any[];
|
25
|
-
contactPurposes: any[];
|
26
|
-
victimServiceTypes: any[];
|
27
|
-
victimSafetyPlans: VictimSafetyPlan[];
|
28
|
-
victimServiceStatus: any[];
|
29
|
-
providerList: VictimServiceTypeProgramProviderModel[];
|
30
|
-
providerListCollection: ProviderListCollectionModel[];
|
31
|
-
victimServiceDetail: VictimServiceDetail[];
|
32
|
-
indx: any;
|
33
|
-
serviceCheck: any[];
|
34
|
-
victimName: string;
|
35
|
-
isDisplay: boolean;
|
36
|
-
staffId: number;
|
37
|
-
victimId: number;
|
38
|
-
victimServiceId: number;
|
39
|
-
offenderId: number;
|
40
|
-
loginStaff: LoginStaff;
|
41
|
-
private sub;
|
42
|
-
result: any;
|
43
|
-
victimServiceStatusHistoriesDataSource: MatTableDataSource<{}>;
|
44
|
-
providerId: string;
|
45
|
-
selected: string;
|
46
|
-
spForm: FormGroup;
|
47
|
-
constructor(dialog: MatDialog, _victimServicesComponent: NgcSmartVictimService, http: HttpClient, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, commonDialogService: CommonDialogService, formBuilder: FormBuilder);
|
48
|
-
private initForm;
|
49
|
-
ngOnInit(): void;
|
50
|
-
isInArray(providerListCollectionKey: string, serviceTypeName: string, event: any): void;
|
51
|
-
loadProvider(): void;
|
52
|
-
evaluateSelection(victimServiceTypeId: string): boolean;
|
53
|
-
savePlanProvider(victimServiceTypeId: string, victimProgramProviderId: string): void;
|
54
|
-
deleteProvider(victimProgramProviderId: string): void;
|
55
|
-
saveSafetyPlan(): void;
|
56
|
-
back(): void;
|
57
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core';
|
2
|
-
import { AbstractControl } from '@angular/forms';
|
3
|
-
export declare class PhoneMaskDirective implements OnInit, OnDestroy {
|
4
|
-
private el;
|
5
|
-
private renderer;
|
6
|
-
private _phoneControl;
|
7
|
-
private _preValue;
|
8
|
-
phoneControl: AbstractControl;
|
9
|
-
preValue: string;
|
10
|
-
constructor(el: ElementRef, renderer: Renderer2);
|
11
|
-
ngOnInit(): void;
|
12
|
-
ngOnDestroy(): void;
|
13
|
-
formatPhoneNumber(data: any): void;
|
14
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { ValidatorFn } from '@angular/forms';
|
2
|
-
export declare function dateValidator(): ValidatorFn;
|
3
|
-
export declare function passDateValidator(): ValidatorFn;
|
4
|
-
export declare function dateLessThan(dateField1: string, dateField2: string, validatorField: {
|
5
|
-
[key: string]: boolean;
|
6
|
-
}): ValidatorFn;
|
7
|
-
export declare function greaterLessThan(dateField1: string, dateField2: string, validatorField: {
|
8
|
-
[key: string]: boolean;
|
9
|
-
}): ValidatorFn;
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './date.validator';
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
-
export declare class SmartVictimDeleteConfirmComponent implements OnInit {
|
4
|
-
dialogRef: MatDialogRef<SmartVictimDeleteConfirmComponent>;
|
5
|
-
data: any;
|
6
|
-
constructor(dialogRef: MatDialogRef<SmartVictimDeleteConfirmComponent>, data: any);
|
7
|
-
onNoClick(): void;
|
8
|
-
ngOnInit(): void;
|
9
|
-
}
|
@@ -1,109 +0,0 @@
|
|
1
|
-
import { OnInit, OnChanges, EventEmitter } from '@angular/core';
|
2
|
-
import { FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
|
3
|
-
import { MatDialog, MatSnackBar, MatRadioChange } from '@angular/material';
|
4
|
-
import { Victim, VictimDrugUse, Contact, VictimAdvocate, VictimGuardian, VictimWeaponUse, VictimSupport } from '../smart-victim.model';
|
5
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
6
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
7
|
-
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
8
|
-
import { DatePipe, Location } from '@angular/common';
|
9
|
-
import { MatTableDataSource } from '@angular/material/table';
|
10
|
-
import { AddressValidators } from '@csmart/ngc-smart-address';
|
11
|
-
export interface BooleanFn {
|
12
|
-
(): boolean;
|
13
|
-
}
|
14
|
-
export interface StringFn {
|
15
|
-
(): string;
|
16
|
-
}
|
17
|
-
export declare function conditionalValidator(predicate: BooleanFn, validator: ValidatorFn, errorNamespace?: string): ValidatorFn;
|
18
|
-
export declare function stringConditionalValidator(predicate: StringFn, validator: ValidatorFn, errorNamespace?: string): ValidatorFn;
|
19
|
-
export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
|
20
|
-
private location;
|
21
|
-
private formBuilder;
|
22
|
-
private dialog;
|
23
|
-
private route;
|
24
|
-
private router;
|
25
|
-
snackBar: MatSnackBar;
|
26
|
-
private commonDialogService;
|
27
|
-
private victimService;
|
28
|
-
victimDetail: Victim;
|
29
|
-
staffId: number;
|
30
|
-
offenderId: number;
|
31
|
-
isIntake: boolean;
|
32
|
-
onSave: EventEmitter<{}>;
|
33
|
-
onCancel: EventEmitter<{}>;
|
34
|
-
victimId: number;
|
35
|
-
victimForm: FormGroup;
|
36
|
-
drugs: any;
|
37
|
-
victimSupportTypes: any;
|
38
|
-
prefixes: any;
|
39
|
-
suffixes: any;
|
40
|
-
relationshipTypes: any;
|
41
|
-
genders: any;
|
42
|
-
docketlist: any;
|
43
|
-
weaponTypes: any;
|
44
|
-
flagOption: any;
|
45
|
-
selectedWeaponTypes: any;
|
46
|
-
selectedVictimSupportTypes: any;
|
47
|
-
selectedDrugs: any;
|
48
|
-
id: any;
|
49
|
-
hidden: boolean;
|
50
|
-
private sub;
|
51
|
-
victimAdvocate: VictimAdvocate;
|
52
|
-
victimGuardian: VictimGuardian;
|
53
|
-
victimWeaponUse: VictimWeaponUse;
|
54
|
-
victimSupport: VictimSupport;
|
55
|
-
victimDrugUse: VictimDrugUse;
|
56
|
-
result: any;
|
57
|
-
editMode: any;
|
58
|
-
guardianTabFlag: boolean;
|
59
|
-
advocateTabFlag: boolean;
|
60
|
-
commonChildrenDivFlag: boolean;
|
61
|
-
cpoExpirationDivFlag: boolean;
|
62
|
-
supportInPlaceDivFlag: boolean;
|
63
|
-
weaponInvolvedDivFlag: boolean;
|
64
|
-
drugUseDivFlag: boolean;
|
65
|
-
showDelete: boolean;
|
66
|
-
addressId: number;
|
67
|
-
advocateAddressId: number;
|
68
|
-
guardianAddressId: number;
|
69
|
-
datePipe: DatePipe;
|
70
|
-
emailPattern: string;
|
71
|
-
phoneNumber: string;
|
72
|
-
editVictim: Victim;
|
73
|
-
victimAge: number;
|
74
|
-
otherWeaponFlag: boolean;
|
75
|
-
otherDrugFlag: boolean;
|
76
|
-
contactDataSource: MatTableDataSource<{}>;
|
77
|
-
contactList: Contact[];
|
78
|
-
guardianPhoneExistFlag: boolean;
|
79
|
-
advocatePhoneExistFlag: boolean;
|
80
|
-
phoneValidationFlag: boolean;
|
81
|
-
guaridanNoPhoneChkFlag: boolean;
|
82
|
-
advocateNoPhoneChkFlag: boolean;
|
83
|
-
addressValidators: AddressValidators;
|
84
|
-
constructor(location: Location, formBuilder: FormBuilder, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, commonDialogService: CommonDialogService, victimService: NgcSmartVictimService);
|
85
|
-
private initForm;
|
86
|
-
private _getVictim;
|
87
|
-
ngOnChanges(): void;
|
88
|
-
onAddressChange(addressId: any): void;
|
89
|
-
onGuardianAddressChange(MyGuardianAddressId: any): void;
|
90
|
-
onAdvocateAddressChange(MyAdvocateAddressId: any): void;
|
91
|
-
cancel(): void;
|
92
|
-
ngOnInit(): void;
|
93
|
-
back(): void;
|
94
|
-
deleteVictim(): void;
|
95
|
-
radioMinorChange($event: MatRadioChange): void;
|
96
|
-
radioAdvocateChange($event: MatRadioChange): void;
|
97
|
-
radioCicChange($event: MatRadioChange): void;
|
98
|
-
setValidators(type: any): void;
|
99
|
-
radioSupportChange($event: MatRadioChange): void;
|
100
|
-
radioWeaponChange($event: MatRadioChange): void;
|
101
|
-
radioDrugChange($event: MatRadioChange): void;
|
102
|
-
radioCpoChange($event: MatRadioChange): void;
|
103
|
-
handleDOBChange($event: any): void;
|
104
|
-
checkOtherWeapon(WeaponUse: any): void;
|
105
|
-
checkOtherDrug(DrugUse: any): void;
|
106
|
-
saveVictim(): void;
|
107
|
-
addContact(): void;
|
108
|
-
formatLabel(value: number): number;
|
109
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
import { OnInit, OnChanges, AfterViewInit } from '@angular/core';
|
2
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
3
|
-
import { MatTableDataSource } from '@angular/material/table';
|
4
|
-
import { MatPaginator, MatSort, MatSnackBar } from '@angular/material';
|
5
|
-
import { MatDialog } from '@angular/material';
|
6
|
-
import { SmartAccessControlConfig } from "@csmart/ngc-smart-core";
|
7
|
-
import { NgcSmartVictimService } from './smart-victim.service';
|
8
|
-
import { VictimListFilter, Victim } from './smart-victim.model';
|
9
|
-
import { IntakeServicesComponent } from './intake.service';
|
10
|
-
export declare class NgcSmartVictimComponent implements OnInit, OnChanges, AfterViewInit {
|
11
|
-
private dialog;
|
12
|
-
private victimService;
|
13
|
-
private router;
|
14
|
-
private route;
|
15
|
-
private snackBar;
|
16
|
-
private intakeService;
|
17
|
-
private smartWarrantUrl;
|
18
|
-
private document;
|
19
|
-
offenderId: number;
|
20
|
-
staffId: number;
|
21
|
-
staffRole: string;
|
22
|
-
showCaseNote: string;
|
23
|
-
showSafetyPlan: string;
|
24
|
-
showAdd: boolean;
|
25
|
-
showEdit: string;
|
26
|
-
showRelationshipColumn: boolean;
|
27
|
-
showOffenderNameColumn: boolean;
|
28
|
-
showOffenderPhoneColumn: boolean;
|
29
|
-
showSearchForm: boolean;
|
30
|
-
accessByModule: string;
|
31
|
-
intakeFlag: string;
|
32
|
-
appModuleId: string;
|
33
|
-
activatedRoute: ActivatedRoute;
|
34
|
-
paginator: MatPaginator;
|
35
|
-
sort: MatSort;
|
36
|
-
displayedColumns: string[];
|
37
|
-
victims: Victim[];
|
38
|
-
victimDetail: Victim;
|
39
|
-
showDetail: boolean;
|
40
|
-
victimListFilter: VictimListFilter;
|
41
|
-
victimListDataSource: MatTableDataSource<{}>;
|
42
|
-
doSpin: boolean;
|
43
|
-
showListFlag: boolean;
|
44
|
-
msg: string;
|
45
|
-
isIntake: boolean;
|
46
|
-
updateAccessControlConfig: SmartAccessControlConfig;
|
47
|
-
createAccessControlConfig: SmartAccessControlConfig;
|
48
|
-
deleteAccessControlConfig: SmartAccessControlConfig;
|
49
|
-
constructor(dialog: MatDialog, victimService: NgcSmartVictimService, router: Router, route: ActivatedRoute, snackBar: MatSnackBar, intakeService: IntakeServicesComponent, smartWarrantUrl: string, document: any);
|
50
|
-
applyFilter(filterValue: string): void;
|
51
|
-
addRecord(): void;
|
52
|
-
editVictimDetail(record: any): void;
|
53
|
-
save(detail: Victim): void;
|
54
|
-
cancel(): void;
|
55
|
-
ngAfterViewInit(): void;
|
56
|
-
ngOnChanges(): void;
|
57
|
-
ngOnInit(): void;
|
58
|
-
formatPhoneNumber(phoneNumberString: any): string;
|
59
|
-
saveIntake(): void;
|
60
|
-
goToCaseNote(victimId: number): void;
|
61
|
-
goToSaftyPlan(victimId: number): void;
|
62
|
-
getVictimList(filter: VictimListFilter): void;
|
63
|
-
}
|