@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.
Files changed (26) hide show
  1. package/esm2020/lib/caseNote/caseNote.component.mjs +26 -17
  2. package/esm2020/lib/common-dialog/common-dialog.component.mjs +4 -4
  3. package/esm2020/lib/common-dialog/common-dialog.module.mjs +5 -5
  4. package/esm2020/lib/common-dialog/common-dialog.service.mjs +4 -4
  5. package/esm2020/lib/contact/contact.component.mjs +4 -4
  6. package/esm2020/lib/email.services.mjs +42 -0
  7. package/esm2020/lib/intake.service.mjs +4 -4
  8. package/esm2020/lib/safetyPlan/serviceProvider.component.mjs +4 -4
  9. package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +4 -4
  10. package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +4 -4
  11. package/esm2020/lib/shared/app.shared.module.mjs +5 -5
  12. package/esm2020/lib/shared/directives/phone-mask.directive.mjs +4 -4
  13. package/esm2020/lib/smart-victim-delete-confirm.component.mjs +4 -4
  14. package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +4 -4
  15. package/esm2020/lib/smart-victim.component.mjs +5 -5
  16. package/esm2020/lib/smart-victim.module.mjs +5 -5
  17. package/esm2020/lib/smart-victim.service.mjs +4 -4
  18. package/esm2020/lib/victim-routing.module.mjs +7 -6
  19. package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +4 -4
  20. package/fesm2015/csmart-ngc-smart-victim.mjs +109 -63
  21. package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
  22. package/fesm2020/csmart-ngc-smart-victim.mjs +109 -63
  23. package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
  24. package/lib/caseNote/caseNote.component.d.ts +3 -1
  25. package/lib/email.services.d.ts +11 -0
  26. 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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@csmart/ngc-smart-victim",
3
- "version": "1.13.9",
3
+ "version": "1.13.10",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.5",
6
6
  "@angular/core": "^13.2.5",