@csmart/ngc-smart-victim 1.13.9 → 1.13.10
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/caseNote/caseNote.component.mjs +26 -17
- package/esm2020/lib/common-dialog/common-dialog.component.mjs +4 -4
- package/esm2020/lib/common-dialog/common-dialog.module.mjs +5 -5
- package/esm2020/lib/common-dialog/common-dialog.service.mjs +4 -4
- package/esm2020/lib/contact/contact.component.mjs +4 -4
- package/esm2020/lib/email.services.mjs +42 -0
- package/esm2020/lib/intake.service.mjs +4 -4
- package/esm2020/lib/safetyPlan/serviceProvider.component.mjs +4 -4
- package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +4 -4
- package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +4 -4
- package/esm2020/lib/shared/app.shared.module.mjs +5 -5
- package/esm2020/lib/shared/directives/phone-mask.directive.mjs +4 -4
- package/esm2020/lib/smart-victim-delete-confirm.component.mjs +4 -4
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +4 -4
- package/esm2020/lib/smart-victim.component.mjs +5 -5
- package/esm2020/lib/smart-victim.module.mjs +5 -5
- package/esm2020/lib/smart-victim.service.mjs +4 -4
- package/esm2020/lib/victim-routing.module.mjs +7 -6
- package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +4 -4
- package/fesm2015/csmart-ngc-smart-victim.mjs +109 -63
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +109 -63
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
- package/lib/caseNote/caseNote.component.d.ts +3 -1
- package/lib/email.services.d.ts +11 -0
- package/package.json +1 -1
@@ -8,6 +8,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
10
|
import { MatTableDataSource } from '@angular/material/table';
|
11
|
+
import { EmailService } from '../email.services';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
13
14
|
private formBuilder;
|
@@ -17,6 +18,7 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
|
17
18
|
private route;
|
18
19
|
private router;
|
19
20
|
private smartAuthService;
|
21
|
+
private emailService;
|
20
22
|
offenderId: number;
|
21
23
|
loginStaff: LoginStaff;
|
22
24
|
hiddenDetailFlag: boolean;
|
@@ -35,7 +37,7 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
|
|
35
37
|
addDisableFlag: boolean;
|
36
38
|
hiddenAddNewFlag: boolean;
|
37
39
|
caseNoteForm: FormGroup;
|
38
|
-
constructor(formBuilder: FormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
|
40
|
+
constructor(formBuilder: FormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService, emailService: EmailService);
|
39
41
|
private initForm;
|
40
42
|
ngAfterViewInit(): void;
|
41
43
|
ngOnInit(): void;
|
@@ -0,0 +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
|
+
}
|