@csmart/ngc-smart-victim 0.1.5 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- package/csmart-ngc-smart-victim.d.ts +1 -15
- package/esm2020/csmart-ngc-smart-victim.mjs +5 -0
- package/esm2020/lib/caseNote/caseNote.component.mjs +185 -0
- package/esm2020/lib/common-dialog/common-dialog.component.mjs +23 -0
- package/esm2020/lib/common-dialog/common-dialog.module.mjs +38 -0
- package/esm2020/lib/common-dialog/common-dialog.service.mjs +33 -0
- package/esm2020/lib/contact/contact.component.mjs +140 -0
- package/esm2020/lib/intake.service.mjs +57 -0
- package/esm2020/lib/safetyPlan/serviceProvider.component.mjs +115 -0
- package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
- package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
- package/esm2020/lib/shared/app.shared.module.mjs +213 -0
- package/esm2020/lib/shared/directives/phone-mask.directive.mjs +114 -0
- package/esm2020/lib/shared/validators/date.validator.mjs +59 -0
- package/esm2020/lib/shared/validators/index.mjs +2 -0
- package/esm2020/lib/smart-victim-delete-confirm.component.mjs +53 -0
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +958 -0
- package/esm2020/lib/smart-victim.component.mjs +310 -0
- package/esm2020/lib/smart-victim.model.mjs +132 -0
- package/esm2020/lib/smart-victim.module.mjs +138 -0
- package/esm2020/lib/smart-victim.service.mjs +347 -0
- package/esm2020/lib/victim-routing.module.mjs +42 -0
- package/esm2020/lib/victimSearch/VictimSearchFilter.mjs +3 -0
- package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +38 -0
- package/esm2020/public-api.mjs +12 -0
- package/fesm2015/csmart-ngc-smart-victim.mjs +3221 -0
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -0
- package/fesm2020/csmart-ngc-smart-victim.mjs +3210 -0
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -0
- package/lib/caseNote/caseNote.component.d.ts +6 -2
- package/lib/common-dialog/common-dialog.component.d.ts +4 -1
- package/lib/common-dialog/common-dialog.module.d.ts +6 -0
- package/lib/common-dialog/common-dialog.service.d.ts +4 -1
- package/lib/contact/contact.component.d.ts +4 -1
- package/lib/intake.service.d.ts +3 -0
- package/lib/safetyPlan/serviceProvider.component.d.ts +4 -1
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +7 -2
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +7 -2
- package/lib/shared/app.shared.module.d.ts +30 -0
- package/lib/shared/directives/phone-mask.directive.d.ts +5 -2
- package/lib/smart-victim-delete-confirm.component.d.ts +3 -0
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +9 -4
- package/lib/smart-victim.component.d.ts +8 -3
- package/lib/smart-victim.module.d.ts +47 -0
- package/lib/smart-victim.service.d.ts +3 -0
- package/lib/victim-routing.module.d.ts +5 -0
- package/lib/victimSearch/victimSearchForm.component.d.ts +3 -0
- package/package.json +28 -18
- package/public-api.d.ts +4 -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.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
@@ -2,11 +2,13 @@ import { OnInit, AfterViewInit } from '@angular/core';
|
|
2
2
|
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
3
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
4
4
|
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
5
|
-
import { MatSnackBar
|
5
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
6
6
|
import { LoginStaff } from '@csmart/ngc-smart-core';
|
7
7
|
import { Router, ActivatedRoute } from '@angular/router';
|
8
8
|
import { CaseNote } from '../smart-victim.model';
|
9
9
|
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
10
|
+
import { MatTableDataSource } from '@angular/material/table';
|
11
|
+
import * as i0 from "@angular/core";
|
10
12
|
export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
11
13
|
private formBuilder;
|
12
14
|
private _victimServicesComponent;
|
@@ -29,7 +31,7 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
|
29
31
|
staffId: number;
|
30
32
|
victimId: number;
|
31
33
|
private sub;
|
32
|
-
caseNoteDataSource: MatTableDataSource<
|
34
|
+
caseNoteDataSource: MatTableDataSource<unknown>;
|
33
35
|
addDisableFlag: boolean;
|
34
36
|
hiddenAddNewFlag: boolean;
|
35
37
|
caseNoteForm: FormGroup;
|
@@ -42,4 +44,6 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
|
42
44
|
onAddNew(): void;
|
43
45
|
back(): void;
|
44
46
|
saveCaseNote(): void;
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaseNoteComponent, never>;
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaseNoteComponent, "ng-component", never, {}, {}, never, never>;
|
45
49
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material';
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare class CommonDialogComponent implements OnInit {
|
4
5
|
commondialogRef: MatDialogRef<CommonDialogComponent>;
|
5
6
|
title: string;
|
@@ -8,4 +9,6 @@ export declare class CommonDialogComponent implements OnInit {
|
|
8
9
|
cmdNoTitle: string;
|
9
10
|
constructor(commondialogRef: MatDialogRef<CommonDialogComponent>);
|
10
11
|
ngOnInit(): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "app-common-dialog", never, {}, {}, never, never>;
|
11
14
|
}
|
@@ -1,2 +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";
|
1
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>;
|
2
8
|
}
|
@@ -1,8 +1,11 @@
|
|
1
1
|
import { Observable } from 'rxjs';
|
2
|
-
import { MatDialog } from '@angular/material';
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare class CommonDialogService {
|
4
5
|
private dialog;
|
5
6
|
constructor(dialog: MatDialog);
|
6
7
|
confirm(title: string, message: string, cmdYesTitle: string, cmdNoTitle: string): Observable<boolean>;
|
7
8
|
warning(title: string, message: string, cmdOkTitle: string): Observable<boolean>;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogService, never>;
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CommonDialogService>;
|
8
11
|
}
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { OnInit, AfterViewInit } from '@angular/core';
|
2
2
|
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
3
|
import { FormGroup } from '@angular/forms';
|
4
|
-
import { MatSnackBar } from '@angular/material';
|
5
4
|
import { LoginStaff } from '@csmart/ngc-smart-core';
|
6
5
|
import { Router, ActivatedRoute } from '@angular/router';
|
7
6
|
import { Contact } from '../smart-victim.model';
|
8
7
|
import { SmartAuthService } from '@csmart/ngc-smart-core';
|
8
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
9
|
+
import * as i0 from "@angular/core";
|
9
10
|
export declare class ContactComponent implements OnInit, AfterViewInit {
|
10
11
|
private _victimServicesComponent;
|
11
12
|
snackBar: MatSnackBar;
|
@@ -34,4 +35,6 @@ export declare class ContactComponent implements OnInit, AfterViewInit {
|
|
34
35
|
onAddNew(): void;
|
35
36
|
back(): void;
|
36
37
|
saveContact(): void;
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactComponent, never>;
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "ng-component", never, {}, {}, never, never>;
|
37
40
|
}
|
package/lib/intake.service.d.ts
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare class IntakeServicesComponent {
|
4
5
|
private http;
|
5
6
|
private smartOffenderServiceUrl;
|
6
7
|
constructor(http: HttpClient, smartOffenderServiceUrl: string);
|
7
8
|
getIntakeByOffender(offenderId: any): Observable<Intake>;
|
8
9
|
updateIntakeSteps(offenderId: number, intakeStepStatus: IntakeStepStatusModel): Observable<Object>;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IntakeServicesComponent, never>;
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IntakeServicesComponent>;
|
9
12
|
}
|
10
13
|
export interface Intake {
|
11
14
|
intakeId: number;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
|
-
import { MatDialogRef } from '@angular/material';
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
3
3
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
4
4
|
import { ProvidersDialogData } from '../smart-victim.model';
|
5
5
|
import { NgcSmartVictimService } from '../smart-victim.service';
|
6
|
+
import * as i0 from "@angular/core";
|
6
7
|
export declare class SeriveProviderComponent implements OnInit {
|
7
8
|
private formBuilder;
|
8
9
|
dialogRef: MatDialogRef<SeriveProviderComponent>;
|
@@ -13,4 +14,6 @@ export declare class SeriveProviderComponent implements OnInit {
|
|
13
14
|
constructor(formBuilder: FormBuilder, dialogRef: MatDialogRef<SeriveProviderComponent>, _victimServicesComponent: NgcSmartVictimService, data: ProvidersDialogData);
|
14
15
|
cancel(): void;
|
15
16
|
ngOnInit(): void;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeriveProviderComponent, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeriveProviderComponent, "app-service-provider", never, {}, {}, never, never>;
|
16
19
|
}
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import { OnInit, AfterViewInit } from '@angular/core';
|
2
2
|
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
3
|
import { VictimSafetyPlan, VictimServiceDetail, VictimServiceStatusHistory } from '../smart-victim.model';
|
4
|
-
import { MatDialog
|
4
|
+
import { MatDialog } from '@angular/material/dialog';
|
5
5
|
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
6
6
|
import { HttpClient } from '@angular/common/http';
|
7
7
|
import { LoginStaff } from '@csmart/ngc-smart-core';
|
8
8
|
import { Router, ActivatedRoute } from '@angular/router';
|
9
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";
|
10
13
|
export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit {
|
11
14
|
private _victimServicesComponent;
|
12
15
|
private commonDialogService;
|
@@ -38,7 +41,7 @@ export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit
|
|
38
41
|
staffId: number;
|
39
42
|
victimId: number;
|
40
43
|
private sub;
|
41
|
-
safetyPlanDataSource: MatTableDataSource<
|
44
|
+
safetyPlanDataSource: MatTableDataSource<unknown>;
|
42
45
|
constructor(_victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, http: HttpClient, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, smartAuthService: SmartAuthService);
|
43
46
|
ngAfterViewInit(): void;
|
44
47
|
ngOnInit(): void;
|
@@ -46,4 +49,6 @@ export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit
|
|
46
49
|
onAddNew(): void;
|
47
50
|
onDeleteSafetyPlan(victimServiceId: number): void;
|
48
51
|
back(): void;
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VictimSafetyPlanComponent, never>;
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanComponent, "ng-component", never, {}, {}, never, never>;
|
49
54
|
}
|
@@ -2,11 +2,14 @@ import { OnInit } from '@angular/core';
|
|
2
2
|
import { NgcSmartVictimService } from '../smart-victim.service';
|
3
3
|
import { FormGroup, FormBuilder } from '@angular/forms';
|
4
4
|
import { VictimSafetyPlan, VictimServiceDetail, VictimServiceTypeProgramProviderModel, ProviderListCollectionModel } from '../smart-victim.model';
|
5
|
-
import {
|
5
|
+
import { MatDialog } from '@angular/material/dialog';
|
6
6
|
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
8
8
|
import { Router, ActivatedRoute } from '@angular/router';
|
9
9
|
import { LoginStaff } from '@csmart/ngc-smart-core';
|
10
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
11
|
+
import { MatTableDataSource } from '@angular/material/table';
|
12
|
+
import * as i0 from "@angular/core";
|
10
13
|
export declare class VictimSafetyPlanDetailComponent implements OnInit {
|
11
14
|
dialog: MatDialog;
|
12
15
|
private _victimServicesComponent;
|
@@ -40,7 +43,7 @@ export declare class VictimSafetyPlanDetailComponent implements OnInit {
|
|
40
43
|
loginStaff: LoginStaff;
|
41
44
|
private sub;
|
42
45
|
result: any;
|
43
|
-
victimServiceStatusHistoriesDataSource: MatTableDataSource<
|
46
|
+
victimServiceStatusHistoriesDataSource: MatTableDataSource<unknown>;
|
44
47
|
providerId: string;
|
45
48
|
selected: string;
|
46
49
|
spForm: FormGroup;
|
@@ -54,4 +57,6 @@ export declare class VictimSafetyPlanDetailComponent implements OnInit {
|
|
54
57
|
deleteProvider(victimProgramProviderId: string): void;
|
55
58
|
saveSafetyPlan(): void;
|
56
59
|
back(): void;
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VictimSafetyPlanDetailComponent, never>;
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanDetailComponent, "ng-component", never, {}, {}, never, never>;
|
57
62
|
}
|
@@ -1,2 +1,32 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/material/button";
|
3
|
+
import * as i2 from "@angular/material/card";
|
4
|
+
import * as i3 from "@angular/material/checkbox";
|
5
|
+
import * as i4 from "@angular/material/toolbar";
|
6
|
+
import * as i5 from "@angular/material/select";
|
7
|
+
import * as i6 from "@angular/material/datepicker";
|
8
|
+
import * as i7 from "@angular/material/core";
|
9
|
+
import * as i8 from "@angular/material/dialog";
|
10
|
+
import * as i9 from "@angular/material/tabs";
|
11
|
+
import * as i10 from "@angular/material/list";
|
12
|
+
import * as i11 from "@angular/material/input";
|
13
|
+
import * as i12 from "@angular/material/stepper";
|
14
|
+
import * as i13 from "@angular/platform-browser/animations";
|
15
|
+
import * as i14 from "@angular/material/grid-list";
|
16
|
+
import * as i15 from "@angular/material/progress-spinner";
|
17
|
+
import * as i16 from "@angular/material/table";
|
18
|
+
import * as i17 from "@angular/material/sidenav";
|
19
|
+
import * as i18 from "@angular/material/radio";
|
20
|
+
import * as i19 from "@angular/material/icon";
|
21
|
+
import * as i20 from "@angular/material/slider";
|
22
|
+
import * as i21 from "@angular/material/chips";
|
23
|
+
import * as i22 from "@angular/material/snack-bar";
|
24
|
+
import * as i23 from "@angular/cdk/table";
|
25
|
+
import * as i24 from "@angular/material/sort";
|
26
|
+
import * as i25 from "@angular/material/paginator";
|
27
|
+
import * as i26 from "@angular/material/expansion";
|
1
28
|
export declare class SharedModule {
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.MatButtonModule, typeof i2.MatCardModule, typeof i3.MatCheckboxModule, typeof i4.MatToolbarModule, typeof i5.MatSelectModule, typeof i6.MatDatepickerModule, typeof i7.MatNativeDateModule, typeof i8.MatDialogModule, typeof i9.MatTabsModule, typeof i10.MatListModule, typeof i11.MatInputModule, typeof i12.MatStepperModule, typeof i13.BrowserAnimationsModule, typeof i14.MatGridListModule, typeof i15.MatProgressSpinnerModule, typeof i16.MatTableModule, typeof i17.MatSidenavModule, typeof i18.MatRadioModule, typeof i19.MatIconModule, typeof i20.MatSliderModule, typeof i21.MatChipsModule, typeof i22.MatSnackBarModule, typeof i23.CdkTableModule, typeof i24.MatSortModule, typeof i25.MatPaginatorModule, typeof i26.MatExpansionModule, typeof i7.MatRippleModule], [typeof i1.MatButtonModule, typeof i2.MatCardModule, typeof i3.MatCheckboxModule, typeof i4.MatToolbarModule, typeof i5.MatSelectModule, typeof i6.MatDatepickerModule, typeof i7.MatNativeDateModule, typeof i8.MatDialogModule, typeof i9.MatTabsModule, typeof i10.MatListModule, typeof i11.MatInputModule, typeof i12.MatStepperModule, typeof i13.BrowserAnimationsModule, typeof i14.MatGridListModule, typeof i15.MatProgressSpinnerModule, typeof i16.MatTableModule, typeof i17.MatSidenavModule, typeof i18.MatRadioModule, typeof i19.MatIconModule, typeof i20.MatSliderModule, typeof i21.MatChipsModule, typeof i22.MatSnackBarModule, typeof i23.CdkTableModule, typeof i24.MatSortModule, typeof i25.MatPaginatorModule, typeof i26.MatExpansionModule, typeof i7.MatRippleModule]>;
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
2
32
|
}
|
@@ -1,14 +1,17 @@
|
|
1
1
|
import { ElementRef, OnInit, OnDestroy, Renderer2 } from '@angular/core';
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare class PhoneMaskDirective implements OnInit, OnDestroy {
|
4
5
|
private el;
|
5
6
|
private renderer;
|
6
7
|
private _phoneControl;
|
7
8
|
private _preValue;
|
8
|
-
phoneControl: AbstractControl;
|
9
|
-
preValue: string;
|
9
|
+
set phoneControl(control: AbstractControl);
|
10
|
+
set preValue(value: string);
|
10
11
|
constructor(el: ElementRef, renderer: Renderer2);
|
11
12
|
ngOnInit(): void;
|
12
13
|
ngOnDestroy(): void;
|
13
14
|
formatPhoneNumber(data: any): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskDirective, never>;
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskDirective, "[phoneMask]", never, { "phoneControl": "phoneControl"; "preValue": "preValue"; }, {}, never>;
|
14
17
|
}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare class SmartVictimDeleteConfirmComponent implements OnInit {
|
4
5
|
dialogRef: MatDialogRef<SmartVictimDeleteConfirmComponent>;
|
5
6
|
data: any;
|
6
7
|
constructor(dialogRef: MatDialogRef<SmartVictimDeleteConfirmComponent>, data: any);
|
7
8
|
onNoClick(): void;
|
8
9
|
ngOnInit(): void;
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartVictimDeleteConfirmComponent, never>;
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartVictimDeleteConfirmComponent, "csmart-victim-delete-confirm", never, {}, {}, never, never>;
|
9
12
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OnInit, OnChanges, EventEmitter } from '@angular/core';
|
2
2
|
import { FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
|
3
|
-
import {
|
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';
|
6
6
|
import { Router, ActivatedRoute } from '@angular/router';
|
@@ -8,6 +8,9 @@ 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
10
|
import { AddressValidators } from '@csmart/ngc-smart-address';
|
11
|
+
import { MatDialog } from '@angular/material/dialog';
|
12
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
13
|
+
import * as i0 from "@angular/core";
|
11
14
|
export interface BooleanFn {
|
12
15
|
(): boolean;
|
13
16
|
}
|
@@ -29,8 +32,8 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
|
|
29
32
|
staffId: number;
|
30
33
|
offenderId: number;
|
31
34
|
isIntake: boolean;
|
32
|
-
onSave: EventEmitter<
|
33
|
-
onCancel: EventEmitter<
|
35
|
+
onSave: EventEmitter<any>;
|
36
|
+
onCancel: EventEmitter<any>;
|
34
37
|
victimId: number;
|
35
38
|
victimForm: FormGroup;
|
36
39
|
drugs: any;
|
@@ -73,7 +76,7 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
|
|
73
76
|
victimAge: number;
|
74
77
|
otherWeaponFlag: boolean;
|
75
78
|
otherDrugFlag: boolean;
|
76
|
-
contactDataSource: MatTableDataSource<
|
79
|
+
contactDataSource: MatTableDataSource<unknown>;
|
77
80
|
contactList: Contact[];
|
78
81
|
guardianPhoneExistFlag: boolean;
|
79
82
|
advocatePhoneExistFlag: boolean;
|
@@ -106,4 +109,6 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
|
|
106
109
|
saveVictim(): void;
|
107
110
|
addContact(): void;
|
108
111
|
formatLabel(value: number): number;
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartVictimDetailComponent, never>;
|
113
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartVictimDetailComponent, "csmart-victim-detail", never, { "victimDetail": "victimDetail"; "staffId": "staffId"; "offenderId": "offenderId"; "isIntake": "isIntake"; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, never>;
|
109
114
|
}
|
@@ -1,12 +1,15 @@
|
|
1
1
|
import { OnInit, OnChanges, AfterViewInit } from '@angular/core';
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
3
3
|
import { MatTableDataSource } from '@angular/material/table';
|
4
|
-
import {
|
5
|
-
import { MatDialog } from '@angular/material';
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
5
|
+
import { MatDialog } from '@angular/material/dialog';
|
6
6
|
import { SmartAccessControlConfig } from "@csmart/ngc-smart-core";
|
7
7
|
import { NgcSmartVictimService } from './smart-victim.service';
|
8
8
|
import { VictimListFilter, Victim } from './smart-victim.model';
|
9
9
|
import { IntakeServicesComponent } from './intake.service';
|
10
|
+
import { MatPaginator } from '@angular/material/paginator';
|
11
|
+
import { MatSnackBar } from '@angular/material/snack-bar';
|
12
|
+
import * as i0 from "@angular/core";
|
10
13
|
export declare class NgcSmartVictimComponent implements OnInit, OnChanges, AfterViewInit {
|
11
14
|
private dialog;
|
12
15
|
private victimService;
|
@@ -38,7 +41,7 @@ export declare class NgcSmartVictimComponent implements OnInit, OnChanges, After
|
|
38
41
|
victimDetail: Victim;
|
39
42
|
showDetail: boolean;
|
40
43
|
victimListFilter: VictimListFilter;
|
41
|
-
victimListDataSource: MatTableDataSource<
|
44
|
+
victimListDataSource: MatTableDataSource<unknown>;
|
42
45
|
doSpin: boolean;
|
43
46
|
showListFlag: boolean;
|
44
47
|
msg: string;
|
@@ -60,4 +63,6 @@ export declare class NgcSmartVictimComponent implements OnInit, OnChanges, After
|
|
60
63
|
goToCaseNote(victimId: number): void;
|
61
64
|
goToSaftyPlan(victimId: number): void;
|
62
65
|
getVictimList(filter: VictimListFilter): void;
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgcSmartVictimComponent, never>;
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgcSmartVictimComponent, "csmart-victim", never, { "offenderId": "offenderId"; "staffId": "staffId"; "staffRole": "staffRole"; "showCaseNote": "showCaseNote"; "showSafetyPlan": "showSafetyPlan"; "showAdd": "showAdd"; "showEdit": "showEdit"; "showRelationshipColumn": "showRelationshipColumn"; "showOffenderNameColumn": "showOffenderNameColumn"; "showOffenderPhoneColumn": "showOffenderPhoneColumn"; "showSearchForm": "showSearchForm"; "accessByModule": "accessByModule"; "intakeFlag": "intakeFlag"; "appModuleId": "appModuleId"; "activatedRoute": "activatedRoute"; }, {}, never, never>;
|
63
68
|
}
|
@@ -1,2 +1,49 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./smart-victim.component";
|
3
|
+
import * as i2 from "./smart-victim-detail/smart-victim-detail.component";
|
4
|
+
import * as i3 from "./smart-victim-delete-confirm.component";
|
5
|
+
import * as i4 from "./shared/directives/phone-mask.directive";
|
6
|
+
import * as i5 from "./caseNote/caseNote.component";
|
7
|
+
import * as i6 from "./contact/contact.component";
|
8
|
+
import * as i7 from "./safetyPlan/victimSafetyPlan.component";
|
9
|
+
import * as i8 from "./safetyPlan/victimSafetyPlanDetail.component";
|
10
|
+
import * as i9 from "./victimSearch/victimSearchForm.component";
|
11
|
+
import * as i10 from "./safetyPlan/serviceProvider.component";
|
12
|
+
import * as i11 from "@angular/common";
|
13
|
+
import * as i12 from "@angular/forms";
|
14
|
+
import * as i13 from "@angular/material/button";
|
15
|
+
import * as i14 from "@angular/material/checkbox";
|
16
|
+
import * as i15 from "@angular/material/radio";
|
17
|
+
import * as i16 from "@angular/material/slider";
|
18
|
+
import * as i17 from "@angular/material/card";
|
19
|
+
import * as i18 from "@angular/material/slide-toggle";
|
20
|
+
import * as i19 from "@angular/material/list";
|
21
|
+
import * as i20 from "@angular/material/icon";
|
22
|
+
import * as i21 from "@angular/material/button-toggle";
|
23
|
+
import * as i22 from "@angular/material/toolbar";
|
24
|
+
import * as i23 from "@angular/material/tabs";
|
25
|
+
import * as i24 from "@angular/material/expansion";
|
26
|
+
import * as i25 from "@angular/material/menu";
|
27
|
+
import * as i26 from "@angular/material/input";
|
28
|
+
import * as i27 from "@angular/material/progress-bar";
|
29
|
+
import * as i28 from "@angular/material/datepicker";
|
30
|
+
import * as i29 from "@angular/material/core";
|
31
|
+
import * as i30 from "@angular/material/paginator";
|
32
|
+
import * as i31 from "@angular/material/dialog";
|
33
|
+
import * as i32 from "@angular/material/sidenav";
|
34
|
+
import * as i33 from "@angular/material/select";
|
35
|
+
import * as i34 from "@angular/material/table";
|
36
|
+
import * as i35 from "@angular/material/sort";
|
37
|
+
import * as i36 from "@angular/material/grid-list";
|
38
|
+
import * as i37 from "@angular/cdk/table";
|
39
|
+
import * as i38 from "@angular/cdk/layout";
|
40
|
+
import * as i39 from "@csmart/ngc-smart-core";
|
41
|
+
import * as i40 from "@csmart/ngc-smart-address";
|
42
|
+
import * as i41 from "./common-dialog/common-dialog.module";
|
43
|
+
import * as i42 from "./victim-routing.module";
|
44
|
+
import * as i43 from "apollo-angular";
|
1
45
|
export declare class NgcSmartVictimModule {
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgcSmartVictimModule, never>;
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgcSmartVictimModule, [typeof i1.NgcSmartVictimComponent, typeof i2.SmartVictimDetailComponent, typeof i3.SmartVictimDeleteConfirmComponent, typeof i4.PhoneMaskDirective, typeof i5.CaseNoteComponent, typeof i6.ContactComponent, typeof i7.VictimSafetyPlanComponent, typeof i8.VictimSafetyPlanDetailComponent, typeof i9.VictimSearchFormComponent, typeof i10.SeriveProviderComponent], [typeof i11.CommonModule, typeof i12.ReactiveFormsModule, typeof i13.MatButtonModule, typeof i14.MatCheckboxModule, typeof i15.MatRadioModule, typeof i16.MatSliderModule, typeof i17.MatCardModule, typeof i18.MatSlideToggleModule, typeof i19.MatListModule, typeof i20.MatIconModule, typeof i21.MatButtonToggleModule, typeof i22.MatToolbarModule, typeof i23.MatTabsModule, typeof i24.MatExpansionModule, typeof i25.MatMenuModule, typeof i26.MatInputModule, typeof i27.MatProgressBarModule, typeof i28.MatDatepickerModule, typeof i29.MatNativeDateModule, typeof i30.MatPaginatorModule, typeof i31.MatDialogModule, typeof i32.MatSidenavModule, typeof i33.MatSelectModule, typeof i34.MatTableModule, typeof i35.MatSortModule, typeof i36.MatGridListModule, typeof i37.CdkTableModule, typeof i38.LayoutModule, typeof i39.NgcSmartCoreModule, typeof i40.SmartAddressModule, typeof i41.CommonDialogModule, typeof i12.FormsModule, typeof i42.VictimRoutingModule, typeof i43.ApolloModule], [typeof i1.NgcSmartVictimComponent, typeof i2.SmartVictimDetailComponent, typeof i3.SmartVictimDeleteConfirmComponent, typeof i4.PhoneMaskDirective, typeof i43.ApolloModule]>;
|
48
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgcSmartVictimModule>;
|
2
49
|
}
|
@@ -2,6 +2,7 @@ import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { VictimListFilter, VictimDrugUse, Victim, VictimSafetyPlan, CaseNote, Contact, VictimServiceDetail, VictimServiceStatusHistory, VictimAdvocate } from './smart-victim.model';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { Apollo } from 'apollo-angular';
|
5
|
+
import * as i0 from "@angular/core";
|
5
6
|
export declare class NgcSmartVictimService {
|
6
7
|
private http;
|
7
8
|
private smartOffenderServiceUrl;
|
@@ -64,4 +65,6 @@ export declare class NgcSmartVictimService {
|
|
64
65
|
deleteSafetyPlan(victimServiceId: number, staffId: number): Observable<Object>;
|
65
66
|
addPlanProvider(victimServiceDetail: VictimServiceDetail): Observable<Object>;
|
66
67
|
deleteProvider(victimProgramProviderId: string, staffId: number): Observable<Object>;
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgcSmartVictimService, never>;
|
69
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NgcSmartVictimService>;
|
67
70
|
}
|
@@ -1,2 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/router";
|
1
3
|
export declare class VictimRoutingModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VictimRoutingModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<VictimRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<VictimRoutingModule>;
|
2
7
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { OnInit, EventEmitter } from '@angular/core';
|
2
2
|
import { VictimListFilter } from './VictimSearchFilter';
|
3
|
+
import * as i0 from "@angular/core";
|
3
4
|
export declare class VictimSearchFormComponent implements OnInit {
|
4
5
|
onSearch: EventEmitter<Object>;
|
5
6
|
change: EventEmitter<VictimListFilter>;
|
@@ -8,4 +9,6 @@ export declare class VictimSearchFormComponent implements OnInit {
|
|
8
9
|
ngOnInit(): void;
|
9
10
|
ngAfterViewInit(): void;
|
10
11
|
onChange(): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VictimSearchFormComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VictimSearchFormComponent, "app-victim-search-form", never, {}, { "onSearch": "onSearch"; }, never, never>;
|
11
14
|
}
|
package/package.json
CHANGED
@@ -1,26 +1,36 @@
|
|
1
1
|
{
|
2
2
|
"name": "@csmart/ngc-smart-victim",
|
3
|
-
"version": "
|
3
|
+
"version": "1.13.0",
|
4
4
|
"peerDependencies": {
|
5
|
-
"@angular/common": "^
|
6
|
-
"@angular/core": "^
|
7
|
-
"@angular/material": "^
|
8
|
-
"@angular/animations": "^
|
9
|
-
"@angular/cdk": "^
|
10
|
-
"@angular/forms": "^
|
11
|
-
"@csmart/ngc-smart-address": "^
|
5
|
+
"@angular/common": "^13.2.5",
|
6
|
+
"@angular/core": "^13.2.5",
|
7
|
+
"@angular/material": "^13.2.5",
|
8
|
+
"@angular/animations": "^13.2.5",
|
9
|
+
"@angular/cdk": "^13.2.5",
|
10
|
+
"@angular/forms": "^13.2.5",
|
11
|
+
"@csmart/ngc-smart-address": "^13.0.3"
|
12
12
|
},
|
13
|
-
"
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"fesm5": "fesm5/csmart-ngc-smart-victim.js",
|
19
|
-
"fesm2015": "fesm2015/csmart-ngc-smart-victim.js",
|
13
|
+
"module": "fesm2015/csmart-ngc-smart-victim.mjs",
|
14
|
+
"es2020": "fesm2020/csmart-ngc-smart-victim.mjs",
|
15
|
+
"esm2020": "esm2020/csmart-ngc-smart-victim.mjs",
|
16
|
+
"fesm2020": "fesm2020/csmart-ngc-smart-victim.mjs",
|
17
|
+
"fesm2015": "fesm2015/csmart-ngc-smart-victim.mjs",
|
20
18
|
"typings": "csmart-ngc-smart-victim.d.ts",
|
21
|
-
"
|
19
|
+
"exports": {
|
20
|
+
"./package.json": {
|
21
|
+
"default": "./package.json"
|
22
|
+
},
|
23
|
+
".": {
|
24
|
+
"types": "./csmart-ngc-smart-victim.d.ts",
|
25
|
+
"esm2020": "./esm2020/csmart-ngc-smart-victim.mjs",
|
26
|
+
"es2020": "./fesm2020/csmart-ngc-smart-victim.mjs",
|
27
|
+
"es2015": "./fesm2015/csmart-ngc-smart-victim.mjs",
|
28
|
+
"node": "./fesm2015/csmart-ngc-smart-victim.mjs",
|
29
|
+
"default": "./fesm2020/csmart-ngc-smart-victim.mjs"
|
30
|
+
}
|
31
|
+
},
|
22
32
|
"sideEffects": false,
|
23
33
|
"dependencies": {
|
24
|
-
"tslib": "^
|
34
|
+
"tslib": "^2.3.0"
|
25
35
|
}
|
26
|
-
}
|
36
|
+
}
|
package/public-api.d.ts
CHANGED
@@ -2,3 +2,7 @@ export * from './lib/smart-victim.service';
|
|
2
2
|
export * from './lib/smart-victim.component';
|
3
3
|
export * from './lib/smart-victim.model';
|
4
4
|
export * from './lib/smart-victim.module';
|
5
|
+
export * from './lib/caseNote/caseNote.component';
|
6
|
+
export * from './lib/smart-victim-detail/smart-victim-detail.component';
|
7
|
+
export * from './lib/smart-victim-delete-confirm.component';
|
8
|
+
export * from './lib/shared/directives/phone-mask.directive';
|