@csmart/ngc-smart-victim 1.13.11 → 1.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/esm2020/lib/caseNote/caseNote.component.mjs +21 -21
  2. package/esm2020/lib/common-dialog/common-dialog.component.mjs +6 -6
  3. package/esm2020/lib/common-dialog/common-dialog.module.mjs +9 -13
  4. package/esm2020/lib/common-dialog/common-dialog.service.mjs +4 -4
  5. package/esm2020/lib/contact/contact.component.mjs +22 -22
  6. package/esm2020/lib/email.services.mjs +4 -4
  7. package/esm2020/lib/intake.service.mjs +4 -4
  8. package/esm2020/lib/safetyPlan/serviceProvider.component.mjs +14 -30
  9. package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +7 -7
  10. package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +23 -23
  11. package/esm2020/lib/shared/app.shared.module.mjs +32 -37
  12. package/esm2020/lib/shared/directives/phone-mask.directive.mjs +4 -4
  13. package/esm2020/lib/smart-victim-delete-confirm.component.mjs +7 -16
  14. package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +78 -78
  15. package/esm2020/lib/smart-victim.component.mjs +17 -15
  16. package/esm2020/lib/smart-victim.module.mjs +8 -15
  17. package/esm2020/lib/smart-victim.service.mjs +4 -4
  18. package/esm2020/lib/victim-routing.module.mjs +5 -7
  19. package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +8 -8
  20. package/fesm2015/csmart-ngc-smart-victim.mjs +252 -292
  21. package/fesm2015/csmart-ngc-smart-victim.mjs.map +1 -1
  22. package/fesm2020/csmart-ngc-smart-victim.mjs +251 -292
  23. package/fesm2020/csmart-ngc-smart-victim.mjs.map +1 -1
  24. package/lib/caseNote/caseNote.component.d.ts +4 -4
  25. package/lib/common-dialog/common-dialog.component.d.ts +1 -1
  26. package/lib/contact/contact.component.d.ts +3 -3
  27. package/lib/safetyPlan/serviceProvider.component.d.ts +4 -4
  28. package/lib/safetyPlan/victimSafetyPlan.component.d.ts +1 -1
  29. package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +4 -4
  30. package/lib/shared/directives/phone-mask.directive.d.ts +1 -1
  31. package/lib/smart-victim-delete-confirm.component.d.ts +1 -1
  32. package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +4 -4
  33. package/lib/smart-victim.component.d.ts +1 -1
  34. package/lib/victimSearch/victimSearchForm.component.d.ts +1 -1
  35. package/package.json +4 -12
  36. /package/{csmart-ngc-smart-victim.d.ts → index.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { OnInit, AfterViewInit } from '@angular/core';
2
2
  import { NgcSmartVictimService } from '../smart-victim.service';
3
- import { FormGroup, FormBuilder } from '@angular/forms';
3
+ import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
4
4
  import { CommonDialogService } from '.././common-dialog/common-dialog.service';
5
5
  import { MatSnackBar } from '@angular/material/snack-bar';
6
6
  import { LoginStaff } from '@csmart/ngc-smart-core';
@@ -36,8 +36,8 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
36
36
  caseNoteDataSource: MatTableDataSource<unknown>;
37
37
  addDisableFlag: boolean;
38
38
  hiddenAddNewFlag: boolean;
39
- caseNoteForm: FormGroup;
40
- constructor(formBuilder: FormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService, emailService: EmailService);
39
+ caseNoteForm: UntypedFormGroup;
40
+ constructor(formBuilder: UntypedFormBuilder, _victimServicesComponent: NgcSmartVictimService, commonDialogService: CommonDialogService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService, emailService: EmailService);
41
41
  private initForm;
42
42
  ngAfterViewInit(): void;
43
43
  ngOnInit(): void;
@@ -47,5 +47,5 @@ export declare class CaseNoteComponent implements OnInit, AfterViewInit {
47
47
  back(): void;
48
48
  saveCaseNote(): void;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<CaseNoteComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<CaseNoteComponent, "ng-component", never, {}, {}, never, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaseNoteComponent, "ng-component", never, {}, {}, never, never, false>;
51
51
  }
@@ -10,5 +10,5 @@ export declare class CommonDialogComponent implements OnInit {
10
10
  constructor(commondialogRef: MatDialogRef<CommonDialogComponent>);
11
11
  ngOnInit(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<CommonDialogComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "app-common-dialog", never, {}, {}, never, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommonDialogComponent, "app-common-dialog", never, {}, {}, never, never, false>;
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import { OnInit, AfterViewInit } from '@angular/core';
2
2
  import { NgcSmartVictimService } from '../smart-victim.service';
3
- import { FormGroup } from '@angular/forms';
3
+ import { UntypedFormGroup } from '@angular/forms';
4
4
  import { LoginStaff } from '@csmart/ngc-smart-core';
5
5
  import { Router, ActivatedRoute } from '@angular/router';
6
6
  import { Contact } from '../smart-victim.model';
@@ -25,7 +25,7 @@ export declare class ContactComponent implements OnInit, AfterViewInit {
25
25
  staffId: number;
26
26
  victimId: number;
27
27
  hiddenAddNewFlag: boolean;
28
- contactForm: FormGroup;
28
+ contactForm: UntypedFormGroup;
29
29
  private sub;
30
30
  staff: any;
31
31
  constructor(_victimServicesComponent: NgcSmartVictimService, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, smartAuthService: SmartAuthService);
@@ -36,5 +36,5 @@ export declare class ContactComponent implements OnInit, AfterViewInit {
36
36
  back(): void;
37
37
  saveContact(): void;
38
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "ng-component", never, {}, {}, never, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactComponent, "ng-component", never, {}, {}, never, never, false>;
40
40
  }
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
4
4
  import { ProvidersDialogData } from '../smart-victim.model';
5
5
  import { NgcSmartVictimService } from '../smart-victim.service';
6
6
  import * as i0 from "@angular/core";
@@ -9,11 +9,11 @@ export declare class SeriveProviderComponent implements OnInit {
9
9
  dialogRef: MatDialogRef<SeriveProviderComponent>;
10
10
  private _victimServicesComponent;
11
11
  data: ProvidersDialogData;
12
- spForm: FormGroup;
12
+ spForm: UntypedFormGroup;
13
13
  programProviders: [];
14
- constructor(formBuilder: FormBuilder, dialogRef: MatDialogRef<SeriveProviderComponent>, _victimServicesComponent: NgcSmartVictimService, data: ProvidersDialogData);
14
+ constructor(formBuilder: UntypedFormBuilder, dialogRef: MatDialogRef<SeriveProviderComponent>, _victimServicesComponent: NgcSmartVictimService, data: ProvidersDialogData);
15
15
  cancel(): void;
16
16
  ngOnInit(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SeriveProviderComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<SeriveProviderComponent, "app-service-provider", never, {}, {}, never, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<SeriveProviderComponent, "app-service-provider", never, {}, {}, never, never, false>;
19
19
  }
@@ -50,5 +50,5 @@ export declare class VictimSafetyPlanComponent implements OnInit, AfterViewInit
50
50
  onDeleteSafetyPlan(victimServiceId: number): void;
51
51
  back(): void;
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<VictimSafetyPlanComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanComponent, "ng-component", never, {}, {}, never, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanComponent, "ng-component", never, {}, {}, never, never, false>;
54
54
  }
@@ -1,6 +1,6 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { NgcSmartVictimService } from '../smart-victim.service';
3
- import { FormGroup, FormBuilder } from '@angular/forms';
3
+ import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
4
4
  import { VictimSafetyPlan, VictimServiceDetail, VictimServiceTypeProgramProviderModel, ProviderListCollectionModel } from '../smart-victim.model';
5
5
  import { MatDialog } from '@angular/material/dialog';
6
6
  import { CommonDialogService } from '.././common-dialog/common-dialog.service';
@@ -46,8 +46,8 @@ export declare class VictimSafetyPlanDetailComponent implements OnInit {
46
46
  victimServiceStatusHistoriesDataSource: MatTableDataSource<unknown>;
47
47
  providerId: string;
48
48
  selected: string;
49
- spForm: FormGroup;
50
- constructor(dialog: MatDialog, _victimServicesComponent: NgcSmartVictimService, http: HttpClient, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, commonDialogService: CommonDialogService, formBuilder: FormBuilder);
49
+ spForm: UntypedFormGroup;
50
+ constructor(dialog: MatDialog, _victimServicesComponent: NgcSmartVictimService, http: HttpClient, snackBar: MatSnackBar, route: ActivatedRoute, router: Router, commonDialogService: CommonDialogService, formBuilder: UntypedFormBuilder);
51
51
  private initForm;
52
52
  ngOnInit(): void;
53
53
  isInArray(providerListCollectionKey: string, serviceTypeName: string, event: any): void;
@@ -58,5 +58,5 @@ export declare class VictimSafetyPlanDetailComponent implements OnInit {
58
58
  saveSafetyPlan(): void;
59
59
  back(): void;
60
60
  static ɵfac: i0.ɵɵFactoryDeclaration<VictimSafetyPlanDetailComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanDetailComponent, "ng-component", never, {}, {}, never, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<VictimSafetyPlanDetailComponent, "ng-component", never, {}, {}, never, never, false>;
62
62
  }
@@ -7,5 +7,5 @@ export declare class PhoneMaskDirective {
7
7
  keydownBackspace(event: any): void;
8
8
  onInputChange(event: any, backspace: any): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PhoneMaskDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskDirective, "[formControlName][appPhoneMask]", never, {}, {}, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PhoneMaskDirective, "[formControlName][appPhoneMask]", never, {}, {}, never, never, false>;
11
11
  }
@@ -8,5 +8,5 @@ export declare class SmartVictimDeleteConfirmComponent implements OnInit {
8
8
  onNoClick(): void;
9
9
  ngOnInit(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartVictimDeleteConfirmComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartVictimDeleteConfirmComponent, "csmart-victim-delete-confirm", never, {}, {}, never, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartVictimDeleteConfirmComponent, "csmart-victim-delete-confirm", never, {}, {}, never, never, false>;
12
12
  }
@@ -1,5 +1,5 @@
1
1
  import { OnInit, OnChanges, EventEmitter } from '@angular/core';
2
- import { FormBuilder, FormGroup, ValidatorFn } from '@angular/forms';
2
+ import { UntypedFormBuilder, UntypedFormGroup, ValidatorFn } from '@angular/forms';
3
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';
@@ -36,7 +36,7 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
36
36
  onCancel: EventEmitter<any>;
37
37
  addressComponent: SmartAddressComponent;
38
38
  victimId: number;
39
- victimForm: FormGroup;
39
+ victimForm: UntypedFormGroup;
40
40
  drugs: any;
41
41
  victimSupportTypes: any;
42
42
  prefixes: any;
@@ -85,7 +85,7 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
85
85
  guaridanNoPhoneChkFlag: boolean;
86
86
  advocateNoPhoneChkFlag: boolean;
87
87
  addressValidators: AddressValidators;
88
- constructor(location: Location, formBuilder: FormBuilder, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, commonDialogService: CommonDialogService, victimService: NgcSmartVictimService);
88
+ constructor(location: Location, formBuilder: UntypedFormBuilder, dialog: MatDialog, route: ActivatedRoute, router: Router, snackBar: MatSnackBar, commonDialogService: CommonDialogService, victimService: NgcSmartVictimService);
89
89
  private initForm;
90
90
  private _getVictim;
91
91
  ngOnChanges(): void;
@@ -113,5 +113,5 @@ export declare class SmartVictimDetailComponent implements OnInit, OnChanges {
113
113
  addContact(): void;
114
114
  formatLabel(value: number): number;
115
115
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartVictimDetailComponent, never>;
116
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartVictimDetailComponent, "csmart-victim-detail", never, { "victimDetail": "victimDetail"; "staffId": "staffId"; "offenderId": "offenderId"; "isIntake": "isIntake"; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartVictimDetailComponent, "csmart-victim-detail", never, { "victimDetail": "victimDetail"; "staffId": "staffId"; "offenderId": "offenderId"; "isIntake": "isIntake"; }, { "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false>;
117
117
  }
@@ -64,5 +64,5 @@ export declare class NgcSmartVictimComponent implements OnInit, OnChanges, After
64
64
  goToSaftyPlan(victimId: number): void;
65
65
  getVictimList(filter: VictimListFilter): void;
66
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>;
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, false>;
68
68
  }
@@ -10,5 +10,5 @@ export declare class VictimSearchFormComponent implements OnInit {
10
10
  ngAfterViewInit(): void;
11
11
  onChange(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<VictimSearchFormComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<VictimSearchFormComponent, "app-victim-search-form", never, {}, { "onSearch": "onSearch"; }, never, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<VictimSearchFormComponent, "app-victim-search-form", never, {}, { "onSearch": "onSearch"; }, never, never, false>;
14
14
  }
package/package.json CHANGED
@@ -1,27 +1,19 @@
1
1
  {
2
2
  "name": "@csmart/ngc-smart-victim",
3
- "version": "1.13.11",
4
- "peerDependencies": {
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
- },
3
+ "version": "1.14.2",
4
+ "peerDependencies": {},
13
5
  "module": "fesm2015/csmart-ngc-smart-victim.mjs",
14
6
  "es2020": "fesm2020/csmart-ngc-smart-victim.mjs",
15
7
  "esm2020": "esm2020/csmart-ngc-smart-victim.mjs",
16
8
  "fesm2020": "fesm2020/csmart-ngc-smart-victim.mjs",
17
9
  "fesm2015": "fesm2015/csmart-ngc-smart-victim.mjs",
18
- "typings": "csmart-ngc-smart-victim.d.ts",
10
+ "typings": "index.d.ts",
19
11
  "exports": {
20
12
  "./package.json": {
21
13
  "default": "./package.json"
22
14
  },
23
15
  ".": {
24
- "types": "./csmart-ngc-smart-victim.d.ts",
16
+ "types": "./index.d.ts",
25
17
  "esm2020": "./esm2020/csmart-ngc-smart-victim.mjs",
26
18
  "es2020": "./fesm2020/csmart-ngc-smart-victim.mjs",
27
19
  "es2015": "./fesm2015/csmart-ngc-smart-victim.mjs",
File without changes