@csmart/ngc-smart-victim 1.18.9 → 1.18.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/esm2022/csmart-ngc-smart-victim.mjs +5 -0
  2. package/esm2022/lib/caseNote/caseNote.component.mjs +194 -0
  3. package/esm2022/lib/common-dialog/common-dialog.component.mjs +23 -0
  4. package/esm2022/lib/common-dialog/common-dialog.module.mjs +34 -0
  5. package/esm2022/lib/common-dialog/common-dialog.service.mjs +33 -0
  6. package/esm2022/lib/contact/contact.component.mjs +140 -0
  7. package/esm2022/lib/email.services.mjs +42 -0
  8. package/esm2022/lib/intake.service.mjs +57 -0
  9. package/esm2022/lib/safetyPlan/serviceProvider.component.mjs +99 -0
  10. package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
  11. package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
  12. package/esm2022/lib/shared/app.shared.module.mjs +215 -0
  13. package/esm2022/lib/shared/validators/date.validator.mjs +59 -0
  14. package/esm2022/lib/shared/validators/index.mjs +2 -0
  15. package/esm2022/lib/smart-victim-delete-confirm.component.mjs +44 -0
  16. package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +1155 -0
  17. package/esm2022/lib/smart-victim.component.mjs +317 -0
  18. package/esm2022/lib/smart-victim.model.mjs +142 -0
  19. package/esm2022/lib/smart-victim.module.mjs +128 -0
  20. package/esm2022/lib/smart-victim.service.mjs +370 -0
  21. package/esm2022/lib/victim-routing.module.mjs +41 -0
  22. package/esm2022/lib/victimSearch/VictimSearchFilter.mjs +3 -0
  23. package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +38 -0
  24. package/esm2022/public-api.mjs +11 -0
  25. package/fesm2022/csmart-ngc-smart-victim.mjs +3342 -0
  26. package/fesm2022/csmart-ngc-smart-victim.mjs.map +1 -0
  27. package/index.d.ts +5 -0
  28. package/lib/caseNote/caseNote.component.d.ts +51 -0
  29. package/lib/common-dialog/common-dialog.component.d.ts +14 -0
  30. package/lib/common-dialog/common-dialog.module.d.ts +8 -0
  31. package/lib/common-dialog/common-dialog.service.d.ts +11 -0
  32. package/lib/contact/contact.component.d.ts +40 -0
  33. package/lib/email.services.d.ts +11 -0
  34. package/lib/intake.service.d.ts +57 -0
  35. package/lib/safetyPlan/serviceProvider.component.d.ts +19 -0
  36. package/lib/safetyPlan/victimSafetyPlan.component.d.ts +54 -0
  37. package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +62 -0
  38. package/lib/shared/app.shared.module.d.ts +33 -0
  39. package/lib/shared/validators/date.validator.d.ts +9 -0
  40. package/lib/shared/validators/index.d.ts +1 -0
  41. package/lib/smart-victim-delete-confirm.component.d.ts +12 -0
  42. package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +129 -0
  43. package/lib/smart-victim.component.d.ts +69 -0
  44. package/lib/smart-victim.model.d.ts +211 -0
  45. package/lib/smart-victim.module.d.ts +49 -0
  46. package/lib/smart-victim.service.d.ts +71 -0
  47. package/lib/victim-routing.module.d.ts +7 -0
  48. package/{src/lib/victimSearch/VictimSearchFilter.ts → lib/victimSearch/VictimSearchFilter.d.ts} +7 -9
  49. package/lib/victimSearch/victimSearchForm.component.d.ts +14 -0
  50. package/package.json +21 -6
  51. package/{src/public-api.ts → public-api.d.ts} +7 -12
  52. package/karma.conf.js +0 -32
  53. package/ng-package.json +0 -7
  54. package/src/lib/caseNote/caseNote.component.css +0 -22
  55. package/src/lib/caseNote/caseNote.component.html +0 -188
  56. package/src/lib/caseNote/caseNote.component.ts +0 -265
  57. package/src/lib/common-dialog/common-dialog.component.css +0 -10
  58. package/src/lib/common-dialog/common-dialog.component.html +0 -23
  59. package/src/lib/common-dialog/common-dialog.component.spec.ts +0 -25
  60. package/src/lib/common-dialog/common-dialog.component.ts +0 -21
  61. package/src/lib/common-dialog/common-dialog.module.ts +0 -22
  62. package/src/lib/common-dialog/common-dialog.service.ts +0 -35
  63. package/src/lib/contact/contact.component.css +0 -22
  64. package/src/lib/contact/contact.component.html +0 -124
  65. package/src/lib/contact/contact.component.ts +0 -176
  66. package/src/lib/email-notification.service.ts +0 -42
  67. package/src/lib/email.services.ts +0 -51
  68. package/src/lib/http.service.ts +0 -34
  69. package/src/lib/intake.service.ts +0 -82
  70. package/src/lib/loader.service.ts +0 -11
  71. package/src/lib/safetyPlan/serviceProvider.component.ts +0 -94
  72. package/src/lib/safetyPlan/victimSafetyPlan.component.css +0 -27
  73. package/src/lib/safetyPlan/victimSafetyPlan.component.html +0 -85
  74. package/src/lib/safetyPlan/victimSafetyPlan.component.ts +0 -178
  75. package/src/lib/safetyPlan/victimSafetyPlanDetail.component.html +0 -234
  76. package/src/lib/safetyPlan/victimSafetyPlanDetail.component.ts +0 -492
  77. package/src/lib/shared/app.shared.module.ts +0 -111
  78. package/src/lib/shared/validators/date.validator.ts +0 -73
  79. package/src/lib/shared/validators/index.ts +0 -1
  80. package/src/lib/smart-victim-delete-confirm.component.ts +0 -35
  81. package/src/lib/smart-victim-detail/smart-victim-detail.component.css +0 -43
  82. package/src/lib/smart-victim-detail/smart-victim-detail.component.html +0 -869
  83. package/src/lib/smart-victim-detail/smart-victim-detail.component.spec.ts +0 -25
  84. package/src/lib/smart-victim-detail/smart-victim-detail.component.ts +0 -1387
  85. package/src/lib/smart-victim.component.css +0 -245
  86. package/src/lib/smart-victim.component.html +0 -132
  87. package/src/lib/smart-victim.component.spec.ts +0 -25
  88. package/src/lib/smart-victim.component.ts +0 -333
  89. package/src/lib/smart-victim.model.ts +0 -301
  90. package/src/lib/smart-victim.module.ts +0 -110
  91. package/src/lib/smart-victim.service.spec.ts +0 -12
  92. package/src/lib/smart-victim.service.ts +0 -557
  93. package/src/lib/victim-routing.module.ts +0 -35
  94. package/src/lib/victimSearch/victimSearchForm.component.html +0 -35
  95. package/src/lib/victimSearch/victimSearchForm.component.ts +0 -41
  96. package/src/test.ts +0 -16
  97. package/tsconfig.lib.json +0 -36
  98. package/tsconfig.spec.json +0 -17
  99. package/tslint.json +0 -17
@@ -0,0 +1,211 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const SMART_OFFENDER_SERVICE_URL: InjectionToken<string>;
3
+ export declare const SMART_LOOKUP_SERVICE_URL: InjectionToken<string>;
4
+ export declare const SMART_VICTIM_SERVICE_URL: InjectionToken<string>;
5
+ export declare const SMART_WARRANT_URL: InjectionToken<string>;
6
+ export interface ElementsVictim {
7
+ victimId: string;
8
+ victimType: string;
9
+ victimProvider: string;
10
+ victimPolicyHolder: string;
11
+ startDate: string;
12
+ endDate: string;
13
+ isActive: boolean;
14
+ }
15
+ export declare class VictimListFilter {
16
+ offenderId: number;
17
+ lastName: string;
18
+ firstName: string;
19
+ pdid: string;
20
+ birthDate: Date;
21
+ }
22
+ export declare class VictimAdvocate {
23
+ victimAdvocateId: number;
24
+ lastName: string;
25
+ firstName: string;
26
+ prefixId: string;
27
+ suffixId: string;
28
+ addressId: number;
29
+ noPhoneFlag: boolean;
30
+ homePhone: string;
31
+ workPhone: string;
32
+ cellPhone: string;
33
+ email: string;
34
+ modifiedBy: number;
35
+ constructor(victimAdvocateId: number, lastName: string, firstName: string, prefixId: string, suffixId: string, addressId: number, noPhoneFlag: boolean, homePhone: string, workPhone: string, cellPhone: string, email: string, modifiedBy: number);
36
+ }
37
+ export declare class VictimWeaponUse {
38
+ victimId: number;
39
+ weaponTypeId: string;
40
+ otherWeapon: string;
41
+ modifiedBy: number;
42
+ constructor(victimId: number, weaponTypeId: string, otherWeapon: string, modifiedBy: number);
43
+ }
44
+ export declare class VictimDrugUse {
45
+ victimId: number;
46
+ drugTypeId: string;
47
+ otherDrug: string;
48
+ modifiedBy: number;
49
+ constructor(victimId: number, drugTypeId: string, otherDrug: string, modifiedBy: number);
50
+ }
51
+ export declare class VictimSupport {
52
+ victimId: number;
53
+ victimSupportTypeId: string;
54
+ modifiedBy: number;
55
+ constructor(victimId: number, victimSupportTypeId: string, modifiedBy: number);
56
+ }
57
+ export declare class VictimRelationship {
58
+ victimId: number;
59
+ victimOffenderRelationshipTypeId: string;
60
+ modifiedBy: number;
61
+ constructor(victimId: number, victimOffenderRelationshipTypeId: string, modifiedBy: number);
62
+ }
63
+ export declare class VictimGuardian {
64
+ victimGuardianId: number;
65
+ lastName: string;
66
+ firstName: string;
67
+ prefixId: string;
68
+ suffixId: string;
69
+ birthDate: string;
70
+ addressId: number;
71
+ noPhoneFlag: boolean;
72
+ homePhone: string;
73
+ workPhone: string;
74
+ cellPhone: string;
75
+ email: string;
76
+ modifiedBy: number;
77
+ constructor(victimGuardianId: number, lastName: string, firstName: string, prefixId: string, suffixId: string, birthDate: string, addressId: number, noPhoneFlag: boolean, homePhone: string, workPhone: string, cellPhone: string, email: string, modifiedBy: number);
78
+ }
79
+ export interface CaseNote {
80
+ victimId: number;
81
+ victimCaseNoteId: number;
82
+ caseNoteDate: Date;
83
+ contactTypeId: string;
84
+ contactType: string;
85
+ victimContactPurposeId: string;
86
+ victimContactPurpose: string;
87
+ comment: string;
88
+ modifiedBy: number;
89
+ victimFirstName: string;
90
+ victimLastName: string;
91
+ }
92
+ export interface Contact {
93
+ victimId: number;
94
+ victimContactId: number;
95
+ contactDate: Date;
96
+ victimContactMethodId: string;
97
+ contactMethod: string;
98
+ contactedBy: number;
99
+ contactedByName: string;
100
+ nextContactDate: Date;
101
+ comment: string;
102
+ modifiedBy: number;
103
+ }
104
+ export interface VictimSafetyPlan {
105
+ victimId: number;
106
+ fullName: string;
107
+ victimServiceId: number;
108
+ goal: string;
109
+ comment: string;
110
+ modifiedBy: number;
111
+ victimServiceStatusId: string;
112
+ status: string;
113
+ startDate: Date;
114
+ vVictimServiceDetails: VictimServiceDetail[];
115
+ victimName: String;
116
+ }
117
+ export interface VictimServiceDetail {
118
+ victimServiceId: number;
119
+ victimServiceDetailId: number;
120
+ victimServiceTypeId: string;
121
+ victimProgramProviderId: string;
122
+ victimProgramProvider: string;
123
+ modifiedBy: number;
124
+ }
125
+ export interface VictimServiceStatusHistory {
126
+ victimServiceStatusHistoryId: number;
127
+ victimServiceId: string;
128
+ victimServiceStatusId: string;
129
+ startDate: Date;
130
+ comment: string;
131
+ modifiedBy: number;
132
+ }
133
+ export interface VictimServiceTypeProgramProviderModel {
134
+ victimServiceTypeProgramProviderId: number;
135
+ victimServiceType: string;
136
+ victimProgramProviderId: string;
137
+ victimServiceTypeId: string;
138
+ victimProgramProvider: string;
139
+ }
140
+ export interface ProviderListCollectionModel {
141
+ groupId: string;
142
+ isDisplay: boolean;
143
+ collection: VictimServiceTypeProgramProviderModel[];
144
+ }
145
+ export interface ProvidersDialogData {
146
+ serviceType: any;
147
+ serviceTypeId: any;
148
+ providerCollections: [];
149
+ }
150
+ export declare class Victim {
151
+ victimId: number;
152
+ offenderId: number;
153
+ underSupervisionFlag: string;
154
+ victimOffenderRelationshipTypeId: string;
155
+ lastName: string;
156
+ firstName: string;
157
+ middleName: string;
158
+ prefixId: string | null;
159
+ suffixId: string | null;
160
+ birthDate: string;
161
+ genderCode: string;
162
+ homePhone: string | null;
163
+ workPhone: string | null;
164
+ cellPhone: string | null;
165
+ email: string;
166
+ addressId: number;
167
+ minorFlag: boolean;
168
+ victimAdvocateFlag: string;
169
+ guardianFirstName: string;
170
+ guardianLastName: string;
171
+ guardianPrefixId: string;
172
+ guardianSuffixId: string;
173
+ guardianNoPhoneFlag: boolean;
174
+ guardianHomePhone: string | null;
175
+ guardianWorkPhone: string | null;
176
+ guardianCellPhone: string | null;
177
+ guardianEmail: string;
178
+ guardianAddressId: number;
179
+ guardianBirthDate: string;
180
+ advocateFirstName: string;
181
+ advocateLastName: string;
182
+ advocatePrefixId: string;
183
+ advocateSuffixId: string;
184
+ advocateNoPhoneFlag: boolean;
185
+ advocateHomePhone: string | null;
186
+ advocateWorkPhone: string | null;
187
+ advocateCellPhone: string | null;
188
+ advocateEmail: string;
189
+ advocateAddressId: number;
190
+ emergencyContact: string;
191
+ emergencyContactPhone: string | null;
192
+ commonChildrenFlag: boolean;
193
+ commonChildrenNumber: number;
194
+ cpoExpirationFlag: boolean;
195
+ cpoExpirationDate: string;
196
+ supportInPlaceFlag: boolean;
197
+ weaponInvolvedFlag: boolean;
198
+ drugUseFlag: boolean;
199
+ alcoholUseFlag: boolean;
200
+ accessRisk: string;
201
+ modifiedBy: number;
202
+ vVictimAdvocate: VictimAdvocate;
203
+ vVictimGuardian: VictimGuardian;
204
+ victimSupports: VictimSupport[];
205
+ victimWeaponUses: VictimWeaponUse[];
206
+ victimDrugUses: VictimDrugUse[];
207
+ victimRelationships: VictimRelationship[];
208
+ allowCsosaContactFlag: boolean;
209
+ liveWithOffenderFlag: boolean;
210
+ constructor(victimId: number, offenderId: number, underSupervisionFlag: string, victimOffenderRelationshipTypeId: string, lastName: string, firstName: string, middleName: string, prefixId: string | null, suffixId: string | null, birthDate: string, genderCode: string, homePhone: string | null, workPhone: string | null, cellPhone: string | null, email: string, addressId: number, minorFlag: boolean, victimAdvocateFlag: string, guardianFirstName: string, guardianLastName: string, guardianPrefixId: string, guardianSuffixId: string, guardianNoPhoneFlag: boolean, guardianHomePhone: string | null, guardianWorkPhone: string | null, guardianCellPhone: string | null, guardianEmail: string, guardianAddressId: number, guardianBirthDate: string, advocateFirstName: string, advocateLastName: string, advocatePrefixId: string, advocateSuffixId: string, advocateNoPhoneFlag: boolean, advocateHomePhone: string | null, advocateWorkPhone: string | null, advocateCellPhone: string | null, advocateEmail: string, advocateAddressId: number, emergencyContact: string, emergencyContactPhone: string | null, commonChildrenFlag: boolean, commonChildrenNumber: number, cpoExpirationFlag: boolean, cpoExpirationDate: string, supportInPlaceFlag: boolean, weaponInvolvedFlag: boolean, drugUseFlag: boolean, alcoholUseFlag: boolean, accessRisk: string, modifiedBy: number, vVictimAdvocate: VictimAdvocate, vVictimGuardian: VictimGuardian, victimSupports: VictimSupport[], victimWeaponUses: VictimWeaponUse[], victimDrugUses: VictimDrugUse[], victimRelationships: VictimRelationship[], allowCsosaContactFlag: boolean, liveWithOffenderFlag: boolean);
211
+ }
@@ -0,0 +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 "./caseNote/caseNote.component";
6
+ import * as i5 from "./contact/contact.component";
7
+ import * as i6 from "./safetyPlan/victimSafetyPlan.component";
8
+ import * as i7 from "./safetyPlan/victimSafetyPlanDetail.component";
9
+ import * as i8 from "./victimSearch/victimSearchForm.component";
10
+ import * as i9 from "./safetyPlan/serviceProvider.component";
11
+ import * as i10 from "@angular/common";
12
+ import * as i11 from "@angular/forms";
13
+ import * as i12 from "@angular/material/button";
14
+ import * as i13 from "@angular/material/checkbox";
15
+ import * as i14 from "@angular/material/radio";
16
+ import * as i15 from "@angular/material/slider";
17
+ import * as i16 from "@angular/material/card";
18
+ import * as i17 from "@angular/material/slide-toggle";
19
+ import * as i18 from "@angular/material/list";
20
+ import * as i19 from "@angular/material/icon";
21
+ import * as i20 from "@angular/material/button-toggle";
22
+ import * as i21 from "@angular/material/toolbar";
23
+ import * as i22 from "@angular/material/tabs";
24
+ import * as i23 from "@angular/material/expansion";
25
+ import * as i24 from "@angular/material/menu";
26
+ import * as i25 from "@angular/material/input";
27
+ import * as i26 from "@angular/material/progress-bar";
28
+ import * as i27 from "@angular/material/datepicker";
29
+ import * as i28 from "@angular/material/core";
30
+ import * as i29 from "@angular/material/paginator";
31
+ import * as i30 from "@angular/material/dialog";
32
+ import * as i31 from "@angular/material/sidenav";
33
+ import * as i32 from "@angular/material/select";
34
+ import * as i33 from "@angular/material/table";
35
+ import * as i34 from "@angular/material/sort";
36
+ import * as i35 from "@angular/material/grid-list";
37
+ import * as i36 from "@angular/cdk/table";
38
+ import * as i37 from "@angular/cdk/layout";
39
+ import * as i38 from "@csmart/ngc-smart-core";
40
+ import * as i39 from "@csmart/ngc-smart-address";
41
+ import * as i40 from "@csmart/smart-ui";
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";
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.CaseNoteComponent, typeof i5.ContactComponent, typeof i6.VictimSafetyPlanComponent, typeof i7.VictimSafetyPlanDetailComponent, typeof i8.VictimSearchFormComponent, typeof i9.SeriveProviderComponent], [typeof i10.CommonModule, typeof i11.ReactiveFormsModule, typeof i12.MatButtonModule, typeof i13.MatCheckboxModule, typeof i14.MatRadioModule, typeof i15.MatSliderModule, typeof i16.MatCardModule, typeof i17.MatSlideToggleModule, typeof i18.MatListModule, typeof i19.MatIconModule, typeof i20.MatButtonToggleModule, typeof i21.MatToolbarModule, typeof i22.MatTabsModule, typeof i23.MatExpansionModule, typeof i24.MatMenuModule, typeof i25.MatInputModule, typeof i26.MatProgressBarModule, typeof i27.MatDatepickerModule, typeof i28.MatNativeDateModule, typeof i29.MatPaginatorModule, typeof i30.MatDialogModule, typeof i31.MatSidenavModule, typeof i32.MatSelectModule, typeof i33.MatTableModule, typeof i34.MatSortModule, typeof i35.MatGridListModule, typeof i36.CdkTableModule, typeof i37.LayoutModule, typeof i38.NgcSmartCoreModule, typeof i39.SmartAddressModule, typeof i40.SmartUiModule, typeof i41.CommonDialogModule, typeof i11.FormsModule, typeof i42.VictimRoutingModule, typeof i43.ApolloModule], [typeof i1.NgcSmartVictimComponent, typeof i2.SmartVictimDetailComponent, typeof i3.SmartVictimDeleteConfirmComponent, typeof i43.ApolloModule]>;
48
+ static ɵinj: i0.ɵɵInjectorDeclaration<NgcSmartVictimModule>;
49
+ }
@@ -0,0 +1,71 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { VictimListFilter, VictimDrugUse, Victim, VictimSafetyPlan, CaseNote, Contact, VictimServiceDetail, VictimServiceStatusHistory, VictimAdvocate } from './smart-victim.model';
3
+ import { Observable } from 'rxjs';
4
+ import { Apollo } from 'apollo-angular';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NgcSmartVictimService {
7
+ private http;
8
+ private smartOffenderServiceUrl;
9
+ private smartLookupServiceUrl;
10
+ private smartVictimServiceUrl;
11
+ private apollo;
12
+ private serviceApiUrl;
13
+ constructor(http: HttpClient, smartOffenderServiceUrl: string, smartLookupServiceUrl: string, smartVictimServiceUrl: string, apollo: Apollo);
14
+ getCurrentHousing(offenderId: number): Observable<Object>;
15
+ private handleError;
16
+ getDrugsTypes(): Observable<Object>;
17
+ getDocketList(offenderId: number): Observable<any>;
18
+ getSupportTypes(): Observable<Object>;
19
+ getPrefixes(): Observable<Object>;
20
+ getSuffixes(): Observable<Object>;
21
+ getRelationshipTypes(): Observable<Object>;
22
+ getGenders(): Observable<Object>;
23
+ getWeaponTypes(): Observable<Object>;
24
+ getFlagOptionYesNoUnknowns(): Observable<Object>;
25
+ getContactTypes(): Observable<Object>;
26
+ getContactMethods(): Observable<Object>;
27
+ getContactBys(): Observable<Object>;
28
+ getVictimContactPurposes(): Observable<Object>;
29
+ getVictimServiceTypes(): Observable<Object>;
30
+ getVictimServiceStatus(): Observable<Object>;
31
+ getvVictimServiceTypeProgramProviders(): Observable<Object>;
32
+ getVictim(val: any): Observable<Object>;
33
+ getVictimAdvocate(val: any): Observable<Object>;
34
+ getVictimGuardian(val: any): Observable<Object>;
35
+ postVictims(val: any): Observable<Object>;
36
+ putVictims(id: any, val: any): Observable<Object>;
37
+ putVictimAdvocate(id: any, val: VictimAdvocate): Observable<Object>;
38
+ postVictimAdvocate(id: any, val: any): Observable<Object>;
39
+ putVictimGuardian(id: any, val: any): Observable<Object>;
40
+ postVictimGuardian(id: any, val: any): Observable<Object>;
41
+ getVictimDrugUse(val: any): Observable<VictimDrugUse[]>;
42
+ putVictimDrugUse(id: any, val: VictimDrugUse[]): Observable<Object>;
43
+ postVictimDrugUse(id: any, val: any): Observable<Object>;
44
+ putVictimWeaponUse(id: any, val: any): Observable<Object>;
45
+ postVictimWeaponUse(id: any, val: any): Observable<Object>;
46
+ putVictimSupport(id: any, val: any): Observable<Object>;
47
+ postVictimSupport(id: any, val: any): Observable<Object>;
48
+ deleteVictims(val: any, staffId: number): Observable<Object>;
49
+ getVictims(offenderId: number): Observable<Victim[]>;
50
+ getVictimsByFilter(filter: VictimListFilter): Observable<Victim[]>;
51
+ getVictimListByFilter(filter: VictimListFilter): Observable<Object>;
52
+ getCasetNotes(victimId: number): Observable<CaseNote[]>;
53
+ addCaseNote(caseNote: CaseNote): Observable<Object>;
54
+ updateCaseNote(caseNote: CaseNote): Observable<Object>;
55
+ deleteCaseNote(id: number, staffId: number): Observable<Object>;
56
+ getContacts(victimId: number): Observable<Contact[]>;
57
+ addContact(contact: Contact): Observable<Object>;
58
+ updateContact(contact: Contact): Observable<Object>;
59
+ getSafetyPlans(victimId: number): Observable<VictimSafetyPlan[]>;
60
+ getVictimServices(victimServiceId: number): Observable<VictimSafetyPlan[]>;
61
+ getVictimServiceDetail(victimServiceId: number): Observable<VictimServiceDetail[]>;
62
+ addSafetyPlan(victimSafetyPlan: VictimSafetyPlan): Observable<Object>;
63
+ updateSafetyPlan(victimSafetyPlan: VictimSafetyPlan): Observable<Object>;
64
+ addVictimServiceStatus(victimServiceStatusHistory: VictimServiceStatusHistory): Observable<Object>;
65
+ getServiceStatusHistories(victimServiceId: number): Observable<VictimServiceStatusHistory[]>;
66
+ deleteSafetyPlan(victimServiceId: number, staffId: number): Observable<Object>;
67
+ addPlanProvider(victimServiceDetail: VictimServiceDetail): Observable<Object>;
68
+ deleteProvider(victimProgramProviderId: string, staffId: number): Observable<Object>;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgcSmartVictimService, never>;
70
+ static ɵprov: i0.ɵɵInjectableDeclaration<NgcSmartVictimService>;
71
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/router";
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>;
7
+ }
@@ -1,9 +1,7 @@
1
- export class VictimListFilter {
2
-
3
- offenderId: number;
4
- lastName: string;
5
- firstName: string;
6
- pdid: string;
7
- birthDate: Date;
8
-
9
- }
1
+ export declare class VictimListFilter {
2
+ offenderId: number;
3
+ lastName: string;
4
+ firstName: string;
5
+ pdid: string;
6
+ birthDate: Date;
7
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { VictimListFilter } from './VictimSearchFilter';
3
+ import * as i0 from "@angular/core";
4
+ export declare class VictimSearchFormComponent implements OnInit {
5
+ onSearch: EventEmitter<Object>;
6
+ change: EventEmitter<VictimListFilter>;
7
+ filter: VictimListFilter;
8
+ constructor();
9
+ ngOnInit(): void;
10
+ ngAfterViewInit(): void;
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, false, never>;
14
+ }
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
- {
2
- "name": "@csmart/ngc-smart-victim",
3
- "version": "1.18.9",
4
- "peerDependencies": {
5
- }
6
- }
1
+ {
2
+ "name": "@csmart/ngc-smart-victim",
3
+ "version": "1.18.13",
4
+ "module": "fesm2022/csmart-ngc-smart-victim.mjs",
5
+ "typings": "index.d.ts",
6
+ "exports": {
7
+ "./package.json": {
8
+ "default": "./package.json"
9
+ },
10
+ ".": {
11
+ "types": "./index.d.ts",
12
+ "esm2022": "./esm2022/csmart-ngc-smart-victim.mjs",
13
+ "esm": "./esm2022/csmart-ngc-smart-victim.mjs",
14
+ "default": "./fesm2022/csmart-ngc-smart-victim.mjs"
15
+ }
16
+ },
17
+ "sideEffects": false,
18
+ "dependencies": {
19
+ "tslib": "^2.3.0"
20
+ }
21
+ }
@@ -1,12 +1,7 @@
1
- /*
2
- * Public API Surface of ngc-smart-victim
3
- */
4
-
5
- export * from './lib/smart-victim.service';
6
- export * from './lib/smart-victim.component';
7
- export * from './lib/smart-victim.model';
8
- export * from './lib/smart-victim.module';
9
- export * from './lib/caseNote/caseNote.component';
10
- export * from './lib/smart-victim-detail/smart-victim-detail.component';
11
- export * from './lib/smart-victim-delete-confirm.component';
12
-
1
+ export * from './lib/smart-victim.service';
2
+ export * from './lib/smart-victim.component';
3
+ export * from './lib/smart-victim.model';
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';
package/karma.conf.js DELETED
@@ -1,32 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage-istanbul-reporter'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- clearContext: false // leave Jasmine Spec Runner output visible in browser
17
- },
18
- coverageIstanbulReporter: {
19
- dir: require('path').join(__dirname, '../../coverage/ngc-smart-victim'),
20
- reports: ['html', 'lcovonly'],
21
- fixWebpackSourcePaths: true
22
- },
23
- reporters: ['progress', 'kjhtml'],
24
- port: 9876,
25
- colors: true,
26
- logLevel: config.LOG_INFO,
27
- autoWatch: true,
28
- browsers: ['Chrome'],
29
- singleRun: false,
30
- restartOnFileChange: true
31
- });
32
- };
package/ng-package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../dist/ngc-smart-victim",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,22 +0,0 @@
1
- .container{
2
- width:800px;
3
- margin: 16px;
4
- display: grid;
5
- grid-template-columns: repeat(1, 1fr);
6
- grid-gap: 10px;
7
- grid-auto-rows: minmax(50px, auto);
8
- justify-items: stretch;
9
- }
10
-
11
- /* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
12
- .mat-select-content{
13
- width:300px;
14
- }
15
-
16
- /* TODO(mdc-migration): The following rule targets internal classes of select that may no longer apply for the MDC version. */
17
- .mat-select-inner{
18
- width:290px;
19
- }
20
- .textarea-content{
21
- width:500px;
22
- }