@csmart/ngc-smart-victim 1.14.43 → 1.18.1
Sign up to get free protection for your applications and to get access to all the features.
- package/{esm2020 → esm2022}/csmart-ngc-smart-victim.mjs +4 -4
- package/esm2022/lib/caseNote/caseNote.component.mjs +194 -0
- package/esm2022/lib/common-dialog/common-dialog.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.module.mjs +34 -34
- package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.service.mjs +33 -33
- package/esm2022/lib/contact/contact.component.mjs +140 -0
- package/{esm2020 → esm2022}/lib/email.services.mjs +29 -29
- package/esm2022/lib/intake.service.mjs +57 -0
- package/{esm2020 → esm2022}/lib/safetyPlan/serviceProvider.component.mjs +62 -62
- package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
- package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
- package/{esm2020 → esm2022}/lib/shared/app.shared.module.mjs +215 -215
- package/esm2022/lib/shared/validators/date.validator.mjs +59 -0
- package/{esm2020 → esm2022}/lib/shared/validators/index.mjs +1 -1
- package/esm2022/lib/smart-victim-delete-confirm.component.mjs +44 -0
- package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +1104 -0
- package/esm2022/lib/smart-victim.component.mjs +314 -0
- package/{esm2020 → esm2022}/lib/smart-victim.model.mjs +132 -132
- package/{esm2020 → esm2022}/lib/smart-victim.module.mjs +128 -128
- package/esm2022/lib/smart-victim.service.mjs +352 -0
- package/{esm2020 → esm2022}/lib/victim-routing.module.mjs +41 -41
- package/{esm2020 → esm2022}/lib/victimSearch/VictimSearchFilter.mjs +2 -2
- package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +38 -0
- package/{esm2020 → esm2022}/public-api.mjs +10 -10
- package/fesm2022/csmart-ngc-smart-victim.mjs +3261 -0
- package/fesm2022/csmart-ngc-smart-victim.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/caseNote/caseNote.component.d.ts +51 -51
- package/lib/common-dialog/common-dialog.component.d.ts +14 -14
- package/lib/common-dialog/common-dialog.module.d.ts +8 -8
- package/lib/common-dialog/common-dialog.service.d.ts +11 -11
- package/lib/contact/contact.component.d.ts +40 -40
- package/lib/email.services.d.ts +11 -11
- package/lib/intake.service.d.ts +57 -57
- package/lib/safetyPlan/serviceProvider.component.d.ts +19 -19
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +54 -54
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +62 -62
- package/lib/shared/app.shared.module.d.ts +33 -33
- package/lib/shared/validators/date.validator.d.ts +9 -9
- package/lib/shared/validators/index.d.ts +1 -1
- package/lib/smart-victim-delete-confirm.component.d.ts +12 -12
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +129 -129
- package/lib/smart-victim.component.d.ts +68 -68
- package/lib/smart-victim.model.d.ts +205 -205
- package/lib/smart-victim.module.d.ts +49 -49
- package/lib/smart-victim.service.d.ts +71 -71
- package/lib/victim-routing.module.d.ts +7 -7
- package/lib/victimSearch/VictimSearchFilter.d.ts +7 -7
- package/lib/victimSearch/victimSearchForm.component.d.ts +14 -14
- package/package.json +5 -11
- package/public-api.d.ts +7 -7
- package/esm2020/lib/caseNote/caseNote.component.mjs +0 -194
- package/esm2020/lib/common-dialog/common-dialog.component.mjs +0 -23
- package/esm2020/lib/contact/contact.component.mjs +0 -140
- package/esm2020/lib/intake.service.mjs +0 -57
- package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +0 -116
- package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +0 -340
- package/esm2020/lib/shared/validators/date.validator.mjs +0 -59
- package/esm2020/lib/smart-victim-delete-confirm.component.mjs +0 -44
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +0 -1104
- package/esm2020/lib/smart-victim.component.mjs +0 -314
- package/esm2020/lib/smart-victim.service.mjs +0 -352
- package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +0 -38
- package/fesm2015/csmart-ngc-smart-victim.mjs +0 -3273
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +0 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +0 -3261
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +0 -1
package/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
/// <amd-module name="@csmart/ngc-smart-victim" />
|
5
|
-
export * from './public-api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
/// <amd-module name="@csmart/ngc-smart-victim" />
|
5
|
+
export * from './public-api';
|
@@ -1,51 +1,51 @@
|
|
1
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
-
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
4
|
-
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
5
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
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
|
-
import { MatTableDataSource } from '@angular/material/table';
|
11
|
-
import { EmailService } from '../email.services';
|
12
|
-
import * as i0 from "@angular/core";
|
13
|
-
export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
14
|
-
private formBuilder;
|
15
|
-
private _victimServicesComponent;
|
16
|
-
private commonDialogService;
|
17
|
-
snackBar: MatSnackBar;
|
18
|
-
private route;
|
19
|
-
private router;
|
20
|
-
private smartAuthService;
|
21
|
-
private emailService;
|
22
|
-
offenderId: number;
|
23
|
-
loginStaff: LoginStaff;
|
24
|
-
hiddenDetailFlag: boolean;
|
25
|
-
caseNoteList: CaseNote[];
|
26
|
-
caseNote: CaseNote;
|
27
|
-
editCaseNote: CaseNote;
|
28
|
-
errorMessage: string;
|
29
|
-
contactTypes: any[];
|
30
|
-
contactPurposes: any[];
|
31
|
-
result: any;
|
32
|
-
victimName: string;
|
33
|
-
staffId: number;
|
34
|
-
victimId: number;
|
35
|
-
private sub;
|
36
|
-
caseNoteDataSource: MatTableDataSource<unknown>;
|
37
|
-
addDisableFlag: boolean;
|
38
|
-
hiddenAddNewFlag: boolean;
|
39
|
-
caseNoteForm: UntypedFormGroup;
|
40
|
-
constructor(formBuilder: UntypedFormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService, emailService: EmailService);
|
41
|
-
private initForm;
|
42
|
-
ngAfterViewInit(): void;
|
43
|
-
ngOnInit(): void;
|
44
|
-
onEditCaseNote(victimCaseNoteId: number): void;
|
45
|
-
onDeleteCaseNote(victimCaseNoteId: number): void;
|
46
|
-
onAddNew(): void;
|
47
|
-
back(): void;
|
48
|
-
saveCaseNote(): void;
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CaseNoteComponent, never>;
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CaseNoteComponent, "ng-component", never, {}, {}, never, never, false>;
|
51
|
-
}
|
1
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
+
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
+
import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
4
|
+
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
5
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
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
|
+
import { MatTableDataSource } from '@angular/material/table';
|
11
|
+
import { EmailService } from '../email.services';
|
12
|
+
import * as i0 from "@angular/core";
|
13
|
+
export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
14
|
+
private formBuilder;
|
15
|
+
private _victimServicesComponent;
|
16
|
+
private commonDialogService;
|
17
|
+
snackBar: MatSnackBar;
|
18
|
+
private route;
|
19
|
+
private router;
|
20
|
+
private smartAuthService;
|
21
|
+
private emailService;
|
22
|
+
offenderId: number;
|
23
|
+
loginStaff: LoginStaff;
|
24
|
+
hiddenDetailFlag: boolean;
|
25
|
+
caseNoteList: CaseNote[];
|
26
|
+
caseNote: CaseNote;
|
27
|
+
editCaseNote: CaseNote;
|
28
|
+
errorMessage: string;
|
29
|
+
contactTypes: any[];
|
30
|
+
contactPurposes: any[];
|
31
|
+
result: any;
|
32
|
+
victimName: string;
|
33
|
+
staffId: number;
|
34
|
+
victimId: number;
|
35
|
+
private sub;
|
36
|
+
caseNoteDataSource: MatTableDataSource<unknown, import("@angular/material/paginator").MatPaginator>;
|
37
|
+
addDisableFlag: boolean;
|
38
|
+
hiddenAddNewFlag: boolean;
|
39
|
+
caseNoteForm: UntypedFormGroup;
|
40
|
+
constructor(formBuilder: UntypedFormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService, emailService: EmailService);
|
41
|
+
private initForm;
|
42
|
+
ngAfterViewInit(): void;
|
43
|
+
ngOnInit(): void;
|
44
|
+
onEditCaseNote(victimCaseNoteId: number): void;
|
45
|
+
onDeleteCaseNote(victimCaseNoteId: number): void;
|
46
|
+
onAddNew(): void;
|
47
|
+
back(): void;
|
48
|
+
saveCaseNote(): void;
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseNoteComponent, never>;
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseNoteComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
51
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class CommonDialogComponent implements OnInit {
|
5
|
-
commondialogRef: MatDialogRef<CommonDialogComponent>;
|
6
|
-
title: string;
|
7
|
-
message: string;
|
8
|
-
cmdYesTitle: string;
|
9
|
-
cmdNoTitle: string;
|
10
|
-
constructor(commondialogRef: MatDialogRef<CommonDialogComponent>);
|
11
|
-
ngOnInit(): void;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogComponent, never>;
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "app-common-dialog", never, {}, {}, never, never, false>;
|
14
|
-
}
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class CommonDialogComponent implements OnInit {
|
5
|
+
commondialogRef: MatDialogRef<CommonDialogComponent>;
|
6
|
+
title: string;
|
7
|
+
message: string;
|
8
|
+
cmdYesTitle: string;
|
9
|
+
cmdNoTitle: string;
|
10
|
+
constructor(commondialogRef: MatDialogRef<CommonDialogComponent>);
|
11
|
+
ngOnInit(): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "app-common-dialog", never, {}, {}, never, never, false, never>;
|
14
|
+
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./common-dialog.component";
|
3
|
-
import * as i2 from "../shared/app.shared.module";
|
4
|
-
export declare class CommonDialogModule {
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CommonDialogModule, [typeof i1.CommonDialogComponent], [typeof i2.SharedModule], [typeof i1.CommonDialogComponent]>;
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CommonDialogModule>;
|
8
|
-
}
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./common-dialog.component";
|
3
|
+
import * as i2 from "../shared/app.shared.module";
|
4
|
+
export declare class CommonDialogModule {
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogModule, never>;
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CommonDialogModule, [typeof i1.CommonDialogComponent], [typeof i2.SharedModule], [typeof i1.CommonDialogComponent]>;
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CommonDialogModule>;
|
8
|
+
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { Observable } from 'rxjs';
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class CommonDialogService {
|
5
|
-
private dialog;
|
6
|
-
constructor(dialog: MatDialog);
|
7
|
-
confirm(title: string, message: string, cmdYesTitle: string, cmdNoTitle: string): Observable<boolean>;
|
8
|
-
warning(title: string, message: string, cmdOkTitle: string): Observable<boolean>;
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogService, never>;
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CommonDialogService>;
|
11
|
-
}
|
1
|
+
import { Observable } from 'rxjs';
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class CommonDialogService {
|
5
|
+
private dialog;
|
6
|
+
constructor(dialog: MatDialog);
|
7
|
+
confirm(title: string, message: string, cmdYesTitle: string, cmdNoTitle: string): Observable<boolean>;
|
8
|
+
warning(title: string, message: string, cmdOkTitle: string): Observable<boolean>;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogService, never>;
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonDialogService>;
|
11
|
+
}
|
@@ -1,40 +1,40 @@
|
|
1
|
-
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
-
import { UntypedFormGroup } from '@angular/forms';
|
4
|
-
import { LoginStaff } from '@csmart/ngc-smart-core';
|
5
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
6
|
-
import { Contact } from '../smart-victim.model';
|
7
|
-
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
8
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
export declare class ContactComponent implements OnInit, AfterViewInit {
|
11
|
-
private _victimServicesComponent;
|
12
|
-
snackBar: MatSnackBar;
|
13
|
-
private route;
|
14
|
-
private router;
|
15
|
-
private smartAuthService;
|
16
|
-
offenderId: number;
|
17
|
-
loginStaff: LoginStaff;
|
18
|
-
contact: Contact;
|
19
|
-
editContact: Contact;
|
20
|
-
errorMessage: string;
|
21
|
-
contactMethods: any[];
|
22
|
-
contactBy: any[];
|
23
|
-
result: any;
|
24
|
-
victimName: string;
|
25
|
-
staffId: number;
|
26
|
-
victimId: number;
|
27
|
-
hiddenAddNewFlag: boolean;
|
28
|
-
contactForm: UntypedFormGroup;
|
29
|
-
private sub;
|
30
|
-
staff: any;
|
31
|
-
constructor(_victimServicesComponent: NgcSmartVictimService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
|
32
|
-
ngAfterViewInit(): void;
|
33
|
-
ngOnInit(): void;
|
34
|
-
onEditContact(victimContactId: number): void;
|
35
|
-
onAddNew(): void;
|
36
|
-
back(): void;
|
37
|
-
saveContact(): void;
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContactComponent, never>;
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "ng-component", never, {}, {}, never, never, false>;
|
40
|
-
}
|
1
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
2
|
+
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
|
+
import { UntypedFormGroup } from '@angular/forms';
|
4
|
+
import { LoginStaff } from '@csmart/ngc-smart-core';
|
5
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
6
|
+
import { Contact } from '../smart-victim.model';
|
7
|
+
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
8
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export declare class ContactComponent implements OnInit, AfterViewInit {
|
11
|
+
private _victimServicesComponent;
|
12
|
+
snackBar: MatSnackBar;
|
13
|
+
private route;
|
14
|
+
private router;
|
15
|
+
private smartAuthService;
|
16
|
+
offenderId: number;
|
17
|
+
loginStaff: LoginStaff;
|
18
|
+
contact: Contact;
|
19
|
+
editContact: Contact;
|
20
|
+
errorMessage: string;
|
21
|
+
contactMethods: any[];
|
22
|
+
contactBy: any[];
|
23
|
+
result: any;
|
24
|
+
victimName: string;
|
25
|
+
staffId: number;
|
26
|
+
victimId: number;
|
27
|
+
hiddenAddNewFlag: boolean;
|
28
|
+
contactForm: UntypedFormGroup;
|
29
|
+
private sub;
|
30
|
+
staff: any;
|
31
|
+
constructor(_victimServicesComponent: NgcSmartVictimService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
|
32
|
+
ngAfterViewInit(): void;
|
33
|
+
ngOnInit(): void;
|
34
|
+
onEditContact(victimContactId: number): void;
|
35
|
+
onAddNew(): void;
|
36
|
+
back(): void;
|
37
|
+
saveContact(): void;
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactComponent, never>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
40
|
+
}
|
package/lib/email.services.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { Apollo } from 'apollo-angular';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class EmailService {
|
5
|
-
private apollo;
|
6
|
-
constructor(apollo: Apollo);
|
7
|
-
createCaseNoteEmail(templateId: string, offenderId: number, modifiedBy: number): Observable<any>;
|
8
|
-
createEmail(emailTemplateId: string, parameters: string, modifiedBy: number): Observable<any>;
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmailService, never>;
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EmailService>;
|
11
|
-
}
|
1
|
+
import { Apollo } from 'apollo-angular';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class EmailService {
|
5
|
+
private apollo;
|
6
|
+
constructor(apollo: Apollo);
|
7
|
+
createCaseNoteEmail(templateId: string, offenderId: number, modifiedBy: number): Observable<any>;
|
8
|
+
createEmail(emailTemplateId: string, parameters: string, modifiedBy: number): Observable<any>;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmailService, never>;
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EmailService>;
|
11
|
+
}
|
package/lib/intake.service.d.ts
CHANGED
@@ -1,57 +1,57 @@
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
2
|
-
import { Observable } from 'rxjs';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class IntakeServicesComponent {
|
5
|
-
private http;
|
6
|
-
private smartOffenderServiceUrl;
|
7
|
-
constructor(http: HttpClient, smartOffenderServiceUrl: string);
|
8
|
-
getIntakeByOffender(offenderId: any): Observable<Intake>;
|
9
|
-
updateIntakeSteps(offenderId: number, intakeStepStatus: IntakeStepStatusModel): Observable<Object>;
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IntakeServicesComponent, never>;
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<IntakeServicesComponent>;
|
12
|
-
}
|
13
|
-
export interface Intake {
|
14
|
-
intakeId: number;
|
15
|
-
offenderId: number;
|
16
|
-
intakeOffenderReportStatusId?: any;
|
17
|
-
startDate: string;
|
18
|
-
endDate?: any;
|
19
|
-
assignmentId?: any;
|
20
|
-
modifiedBy: number;
|
21
|
-
}
|
22
|
-
export interface IntakeStepStatus {
|
23
|
-
intakeStepStatusId: number;
|
24
|
-
intakeId: number;
|
25
|
-
intakeStepId: string;
|
26
|
-
completedDate: Date;
|
27
|
-
modifiedBy: number;
|
28
|
-
}
|
29
|
-
export interface IntakeStepStatusModel {
|
30
|
-
offenderId: number;
|
31
|
-
intakeStepId: string;
|
32
|
-
modifiedBy: number;
|
33
|
-
}
|
34
|
-
export declare class IntakeStep {
|
35
|
-
static PhysicalInformation: string;
|
36
|
-
static Photo: string;
|
37
|
-
static HousingInformation: string;
|
38
|
-
static DocketInformation: string;
|
39
|
-
static Alias: string;
|
40
|
-
static IntakeBasicInformation: string;
|
41
|
-
static ContactInformation: string;
|
42
|
-
static DeceasedInformation: string;
|
43
|
-
static DriversLicense: string;
|
44
|
-
static EmploymentInformation: string;
|
45
|
-
static GangAffiliation: string;
|
46
|
-
static HealthInsurance: string;
|
47
|
-
static Identification: string;
|
48
|
-
static InternetIdentifier: string;
|
49
|
-
static MilitaryService: string;
|
50
|
-
static School: string;
|
51
|
-
static SelectiveService: string;
|
52
|
-
static Vehicle: string;
|
53
|
-
static VictimInformation: string;
|
54
|
-
static WarrantInformation: string;
|
55
|
-
static RunningRecord: string;
|
56
|
-
static Signature: string;
|
57
|
-
}
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class IntakeServicesComponent {
|
5
|
+
private http;
|
6
|
+
private smartOffenderServiceUrl;
|
7
|
+
constructor(http: HttpClient, smartOffenderServiceUrl: string);
|
8
|
+
getIntakeByOffender(offenderId: any): Observable<Intake>;
|
9
|
+
updateIntakeSteps(offenderId: number, intakeStepStatus: IntakeStepStatusModel): Observable<Object>;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntakeServicesComponent, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IntakeServicesComponent>;
|
12
|
+
}
|
13
|
+
export interface Intake {
|
14
|
+
intakeId: number;
|
15
|
+
offenderId: number;
|
16
|
+
intakeOffenderReportStatusId?: any;
|
17
|
+
startDate: string;
|
18
|
+
endDate?: any;
|
19
|
+
assignmentId?: any;
|
20
|
+
modifiedBy: number;
|
21
|
+
}
|
22
|
+
export interface IntakeStepStatus {
|
23
|
+
intakeStepStatusId: number;
|
24
|
+
intakeId: number;
|
25
|
+
intakeStepId: string;
|
26
|
+
completedDate: Date;
|
27
|
+
modifiedBy: number;
|
28
|
+
}
|
29
|
+
export interface IntakeStepStatusModel {
|
30
|
+
offenderId: number;
|
31
|
+
intakeStepId: string;
|
32
|
+
modifiedBy: number;
|
33
|
+
}
|
34
|
+
export declare class IntakeStep {
|
35
|
+
static PhysicalInformation: string;
|
36
|
+
static Photo: string;
|
37
|
+
static HousingInformation: string;
|
38
|
+
static DocketInformation: string;
|
39
|
+
static Alias: string;
|
40
|
+
static IntakeBasicInformation: string;
|
41
|
+
static ContactInformation: string;
|
42
|
+
static DeceasedInformation: string;
|
43
|
+
static DriversLicense: string;
|
44
|
+
static EmploymentInformation: string;
|
45
|
+
static GangAffiliation: string;
|
46
|
+
static HealthInsurance: string;
|
47
|
+
static Identification: string;
|
48
|
+
static InternetIdentifier: string;
|
49
|
+
static MilitaryService: string;
|
50
|
+
static School: string;
|
51
|
+
static SelectiveService: string;
|
52
|
+
static Vehicle: string;
|
53
|
+
static VictimInformation: string;
|
54
|
+
static WarrantInformation: string;
|
55
|
+
static RunningRecord: string;
|
56
|
+
static Signature: string;
|
57
|
+
}
|
@@ -1,19 +1,19 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
-
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
4
|
-
import { ProvidersDialogData } from '../smart-victim.model';
|
5
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export declare class SeriveProviderComponent implements OnInit {
|
8
|
-
private formBuilder;
|
9
|
-
dialogRef: MatDialogRef<SeriveProviderComponent>;
|
10
|
-
private _victimServicesComponent;
|
11
|
-
data: ProvidersDialogData;
|
12
|
-
spForm: UntypedFormGroup;
|
13
|
-
programProviders: [];
|
14
|
-
constructor(formBuilder: UntypedFormBuilder, dialogRef: MatDialogRef<SeriveProviderComponent>, _victimServicesComponent: NgcSmartVictimService, data: ProvidersDialogData);
|
15
|
-
cancel(): void;
|
16
|
-
ngOnInit(): void;
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SeriveProviderComponent, never>;
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SeriveProviderComponent, "app-service-provider", never, {}, {}, never, never, false>;
|
19
|
-
}
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
4
|
+
import { ProvidersDialogData } from '../smart-victim.model';
|
5
|
+
import { NgcSmartVictimService } from '../smart-victim.service';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class SeriveProviderComponent implements OnInit {
|
8
|
+
private formBuilder;
|
9
|
+
dialogRef: MatDialogRef<SeriveProviderComponent>;
|
10
|
+
private _victimServicesComponent;
|
11
|
+
data: ProvidersDialogData;
|
12
|
+
spForm: UntypedFormGroup;
|
13
|
+
programProviders: [];
|
14
|
+
constructor(formBuilder: UntypedFormBuilder, dialogRef: MatDialogRef<SeriveProviderComponent>, _victimServicesComponent: NgcSmartVictimService, data: ProvidersDialogData);
|
15
|
+
cancel(): void;
|
16
|
+
ngOnInit(): void;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeriveProviderComponent, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeriveProviderComponent, "app-service-provider", never, {}, {}, never, never, false, never>;
|
19
|
+
}
|
@@ -1,54 +1,54 @@
|
|
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 } from '@angular/material/dialog';
|
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
|
-
import { MatTableDataSource } from '@angular/material/table';
|
11
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
12
|
-
import * as i0 from "@angular/core";
|
13
|
-
export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit {
|
14
|
-
private _victimServicesComponent;
|
15
|
-
private commonDialogService;
|
16
|
-
private http;
|
17
|
-
dialog: MatDialog;
|
18
|
-
private route;
|
19
|
-
private router;
|
20
|
-
snackBar: MatSnackBar;
|
21
|
-
private smartAuthService;
|
22
|
-
loginStaff: LoginStaff;
|
23
|
-
offenderId: number;
|
24
|
-
hiddenDetailFlag: boolean;
|
25
|
-
hiddenAddNewFlag: boolean;
|
26
|
-
safetyPlans: VictimSafetyPlan[];
|
27
|
-
safetyPlan: VictimSafetyPlan;
|
28
|
-
editSafetyPlan: VictimSafetyPlan;
|
29
|
-
errorMessage: string;
|
30
|
-
contactTypes: any[];
|
31
|
-
contactPurposes: any[];
|
32
|
-
victimServiceTypes: any[];
|
33
|
-
victimSafetyPlans: VictimSafetyPlan[];
|
34
|
-
victimServiceStatus: any[];
|
35
|
-
victimServiceStatusHistories: VictimServiceStatusHistory[];
|
36
|
-
queryString: string;
|
37
|
-
victimServiceDetail: VictimServiceDetail[];
|
38
|
-
myVictimServiceId: number;
|
39
|
-
result: any;
|
40
|
-
victimName: string;
|
41
|
-
staffId: number;
|
42
|
-
victimId: number;
|
43
|
-
private sub;
|
44
|
-
safetyPlanDataSource: MatTableDataSource<unknown>;
|
45
|
-
constructor(_victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, http: HttpClient, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, smartAuthService: SmartAuthService);
|
46
|
-
ngAfterViewInit(): void;
|
47
|
-
ngOnInit(): void;
|
48
|
-
goToSafetyPlanDetail(victimServiceId: number): void;
|
49
|
-
onAddNew(): void;
|
50
|
-
onDeleteSafetyPlan(victimServiceId: number): void;
|
51
|
-
back(): void;
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VictimSafetyPlanComponent, never>;
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanComponent, "ng-component", never, {}, {}, never, never, false>;
|
54
|
-
}
|
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 } from '@angular/material/dialog';
|
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
|
+
import { MatTableDataSource } from '@angular/material/table';
|
11
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
12
|
+
import * as i0 from "@angular/core";
|
13
|
+
export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit {
|
14
|
+
private _victimServicesComponent;
|
15
|
+
private commonDialogService;
|
16
|
+
private http;
|
17
|
+
dialog: MatDialog;
|
18
|
+
private route;
|
19
|
+
private router;
|
20
|
+
snackBar: MatSnackBar;
|
21
|
+
private smartAuthService;
|
22
|
+
loginStaff: LoginStaff;
|
23
|
+
offenderId: number;
|
24
|
+
hiddenDetailFlag: boolean;
|
25
|
+
hiddenAddNewFlag: boolean;
|
26
|
+
safetyPlans: VictimSafetyPlan[];
|
27
|
+
safetyPlan: VictimSafetyPlan;
|
28
|
+
editSafetyPlan: VictimSafetyPlan;
|
29
|
+
errorMessage: string;
|
30
|
+
contactTypes: any[];
|
31
|
+
contactPurposes: any[];
|
32
|
+
victimServiceTypes: any[];
|
33
|
+
victimSafetyPlans: VictimSafetyPlan[];
|
34
|
+
victimServiceStatus: any[];
|
35
|
+
victimServiceStatusHistories: VictimServiceStatusHistory[];
|
36
|
+
queryString: string;
|
37
|
+
victimServiceDetail: VictimServiceDetail[];
|
38
|
+
myVictimServiceId: number;
|
39
|
+
result: any;
|
40
|
+
victimName: string;
|
41
|
+
staffId: number;
|
42
|
+
victimId: number;
|
43
|
+
private sub;
|
44
|
+
safetyPlanDataSource: MatTableDataSource<unknown, import("@angular/material/paginator").MatPaginator>;
|
45
|
+
constructor(_victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, http: HttpClient, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, smartAuthService: SmartAuthService);
|
46
|
+
ngAfterViewInit(): void;
|
47
|
+
ngOnInit(): void;
|
48
|
+
goToSafetyPlanDetail(victimServiceId: number): void;
|
49
|
+
onAddNew(): void;
|
50
|
+
onDeleteSafetyPlan(victimServiceId: number): void;
|
51
|
+
back(): void;
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VictimSafetyPlanComponent, never>;
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
54
|
+
}
|