@csmart/ngc-smart-victim 1.18.6 → 1.18.8
Sign up to get free protection for your applications and to get access to all the features.
- package/karma.conf.js +32 -0
- package/ng-package.json +7 -0
- package/package.json +6 -22
- package/src/lib/caseNote/caseNote.component.css +20 -0
- package/src/lib/caseNote/caseNote.component.html +188 -0
- package/src/lib/caseNote/caseNote.component.ts +265 -0
- package/src/lib/common-dialog/common-dialog.component.css +10 -0
- package/src/lib/common-dialog/common-dialog.component.html +23 -0
- package/src/lib/common-dialog/common-dialog.component.spec.ts +25 -0
- package/src/lib/common-dialog/common-dialog.component.ts +21 -0
- package/src/lib/common-dialog/common-dialog.module.ts +22 -0
- package/src/lib/common-dialog/common-dialog.service.ts +35 -0
- package/src/lib/contact/contact.component.css +20 -0
- package/src/lib/contact/contact.component.html +124 -0
- package/src/lib/contact/contact.component.ts +176 -0
- package/src/lib/email-notification.service.ts +42 -0
- package/src/lib/email.services.ts +51 -0
- package/src/lib/http.service.ts +34 -0
- package/src/lib/intake.service.ts +82 -0
- package/src/lib/loader.service.ts +11 -0
- package/src/lib/safetyPlan/serviceProvider.component.ts +94 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.css +27 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.html +85 -0
- package/src/lib/safetyPlan/victimSafetyPlan.component.ts +178 -0
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.html +234 -0
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.ts +492 -0
- package/src/lib/shared/app.shared.module.ts +111 -0
- package/src/lib/shared/validators/date.validator.ts +73 -0
- package/src/lib/shared/validators/index.ts +1 -0
- package/src/lib/smart-victim-delete-confirm.component.ts +35 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.css +43 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.html +869 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.spec.ts +25 -0
- package/src/lib/smart-victim-detail/smart-victim-detail.component.ts +1384 -0
- package/src/lib/smart-victim.component.css +192 -0
- package/src/lib/smart-victim.component.html +138 -0
- package/src/lib/smart-victim.component.spec.ts +25 -0
- package/src/lib/smart-victim.component.ts +329 -0
- package/src/lib/smart-victim.model.ts +301 -0
- package/src/lib/smart-victim.module.ts +110 -0
- package/src/lib/smart-victim.service.spec.ts +12 -0
- package/src/lib/smart-victim.service.ts +557 -0
- package/src/lib/victim-routing.module.ts +35 -0
- package/{lib/victimSearch/VictimSearchFilter.d.ts → src/lib/victimSearch/VictimSearchFilter.ts} +9 -7
- package/src/lib/victimSearch/victimSearchForm.component.html +35 -0
- package/src/lib/victimSearch/victimSearchForm.component.ts +41 -0
- package/{public-api.d.ts → src/public-api.ts} +12 -7
- package/src/test.ts +22 -0
- package/tsconfig.lib.json +37 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/esm2022/csmart-ngc-smart-victim.mjs +0 -5
- package/esm2022/lib/caseNote/caseNote.component.mjs +0 -194
- package/esm2022/lib/common-dialog/common-dialog.component.mjs +0 -23
- package/esm2022/lib/common-dialog/common-dialog.module.mjs +0 -34
- package/esm2022/lib/common-dialog/common-dialog.service.mjs +0 -33
- package/esm2022/lib/contact/contact.component.mjs +0 -140
- package/esm2022/lib/email.services.mjs +0 -42
- package/esm2022/lib/intake.service.mjs +0 -57
- package/esm2022/lib/safetyPlan/serviceProvider.component.mjs +0 -99
- package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +0 -116
- package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +0 -340
- package/esm2022/lib/shared/app.shared.module.mjs +0 -215
- package/esm2022/lib/shared/validators/date.validator.mjs +0 -59
- package/esm2022/lib/shared/validators/index.mjs +0 -2
- package/esm2022/lib/smart-victim-delete-confirm.component.mjs +0 -44
- package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +0 -1104
- package/esm2022/lib/smart-victim.component.mjs +0 -316
- package/esm2022/lib/smart-victim.model.mjs +0 -133
- package/esm2022/lib/smart-victim.module.mjs +0 -128
- package/esm2022/lib/smart-victim.service.mjs +0 -352
- package/esm2022/lib/victim-routing.module.mjs +0 -41
- package/esm2022/lib/victimSearch/VictimSearchFilter.mjs +0 -3
- package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +0 -38
- package/esm2022/public-api.mjs +0 -11
- package/fesm2022/csmart-ngc-smart-victim.mjs +0 -3263
- package/fesm2022/csmart-ngc-smart-victim.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/caseNote/caseNote.component.d.ts +0 -51
- package/lib/common-dialog/common-dialog.component.d.ts +0 -14
- package/lib/common-dialog/common-dialog.module.d.ts +0 -8
- package/lib/common-dialog/common-dialog.service.d.ts +0 -11
- package/lib/contact/contact.component.d.ts +0 -40
- package/lib/email.services.d.ts +0 -11
- package/lib/intake.service.d.ts +0 -57
- package/lib/safetyPlan/serviceProvider.component.d.ts +0 -19
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +0 -54
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +0 -62
- package/lib/shared/app.shared.module.d.ts +0 -33
- package/lib/shared/validators/date.validator.d.ts +0 -9
- package/lib/shared/validators/index.d.ts +0 -1
- package/lib/smart-victim-delete-confirm.component.d.ts +0 -12
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +0 -129
- package/lib/smart-victim.component.d.ts +0 -69
- package/lib/smart-victim.model.d.ts +0 -205
- package/lib/smart-victim.module.d.ts +0 -49
- package/lib/smart-victim.service.d.ts +0 -71
- package/lib/victim-routing.module.d.ts +0 -7
- package/lib/victimSearch/victimSearchForm.component.d.ts +0 -14
@@ -0,0 +1,301 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
|
3
|
+
|
4
|
+
export const SMART_OFFENDER_SERVICE_URL = new InjectionToken<string>('smart offender service url');
|
5
|
+
export const SMART_LOOKUP_SERVICE_URL = new InjectionToken<string>('smart lookup service url');
|
6
|
+
export const SMART_VICTIM_SERVICE_URL = new InjectionToken<string>('smart victim service url');
|
7
|
+
export const SMART_WARRANT_URL = new InjectionToken<string>('smart warrant web url');
|
8
|
+
|
9
|
+
|
10
|
+
export interface ElementsVictim {
|
11
|
+
victimId: string;
|
12
|
+
victimType: string;
|
13
|
+
victimProvider: string;
|
14
|
+
victimPolicyHolder: string;
|
15
|
+
startDate: string;
|
16
|
+
endDate: string;
|
17
|
+
isActive: boolean;
|
18
|
+
}
|
19
|
+
|
20
|
+
export class VictimListFilter {
|
21
|
+
|
22
|
+
offenderId: number;
|
23
|
+
lastName: string;
|
24
|
+
firstName: string;
|
25
|
+
pdid: string;
|
26
|
+
birthDate: Date;
|
27
|
+
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
export class VictimAdvocate {
|
33
|
+
constructor(public victimAdvocateId: number,
|
34
|
+
|
35
|
+
public lastName: string,
|
36
|
+
|
37
|
+
public firstName: string,
|
38
|
+
|
39
|
+
public prefixId: string,
|
40
|
+
|
41
|
+
public suffixId: string,
|
42
|
+
|
43
|
+
public addressId: number,
|
44
|
+
|
45
|
+
public noPhoneFlag: boolean,
|
46
|
+
|
47
|
+
public homePhone: string,
|
48
|
+
|
49
|
+
public workPhone: string,
|
50
|
+
|
51
|
+
public cellPhone: string,
|
52
|
+
|
53
|
+
public email: string,
|
54
|
+
|
55
|
+
public modifiedBy: number
|
56
|
+
|
57
|
+
|
58
|
+
) { }
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
export class VictimWeaponUse {
|
63
|
+
constructor(
|
64
|
+
// public victimWeaponUseId: number,
|
65
|
+
|
66
|
+
public victimId: number,
|
67
|
+
|
68
|
+
public weaponTypeId: string,
|
69
|
+
|
70
|
+
public otherWeapon: string,
|
71
|
+
|
72
|
+
public modifiedBy: number
|
73
|
+
|
74
|
+
) { }
|
75
|
+
}
|
76
|
+
|
77
|
+
export class VictimDrugUse {
|
78
|
+
constructor(
|
79
|
+
//public victimDrugUseId: number,
|
80
|
+
|
81
|
+
public victimId: number,
|
82
|
+
|
83
|
+
public drugTypeId: string,
|
84
|
+
|
85
|
+
public otherDrug: string,
|
86
|
+
|
87
|
+
public modifiedBy: number
|
88
|
+
|
89
|
+
) { }
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
export class VictimSupport {
|
96
|
+
constructor(
|
97
|
+
// public victimSupportId: number,
|
98
|
+
|
99
|
+
public victimId: number,
|
100
|
+
|
101
|
+
public victimSupportTypeId: string,
|
102
|
+
|
103
|
+
public modifiedBy: number
|
104
|
+
|
105
|
+
) { }
|
106
|
+
}
|
107
|
+
|
108
|
+
export class VictimGuardian {
|
109
|
+
constructor(public victimGuardianId: number,
|
110
|
+
|
111
|
+
public lastName: string,
|
112
|
+
|
113
|
+
public firstName: string,
|
114
|
+
|
115
|
+
public prefixId: string,
|
116
|
+
|
117
|
+
public suffixId: string,
|
118
|
+
|
119
|
+
public birthDate: string,
|
120
|
+
|
121
|
+
public addressId: number,
|
122
|
+
|
123
|
+
public noPhoneFlag: boolean,
|
124
|
+
|
125
|
+
public homePhone: string,
|
126
|
+
|
127
|
+
public workPhone: string,
|
128
|
+
|
129
|
+
public cellPhone: string,
|
130
|
+
|
131
|
+
public email: string,
|
132
|
+
|
133
|
+
public modifiedBy: number
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
) { }
|
138
|
+
}
|
139
|
+
|
140
|
+
export interface CaseNote {
|
141
|
+
victimId: number;
|
142
|
+
victimCaseNoteId: number;
|
143
|
+
caseNoteDate: Date;
|
144
|
+
contactTypeId: string;
|
145
|
+
contactType: string;
|
146
|
+
victimContactPurposeId: string;
|
147
|
+
victimContactPurpose: string;
|
148
|
+
comment: string;
|
149
|
+
modifiedBy: number;
|
150
|
+
victimFirstName: string;
|
151
|
+
victimLastName: string;
|
152
|
+
|
153
|
+
}
|
154
|
+
|
155
|
+
export interface Contact {
|
156
|
+
victimId: number;
|
157
|
+
victimContactId: number;
|
158
|
+
contactDate: Date;
|
159
|
+
victimContactMethodId: string;
|
160
|
+
contactMethod: string;
|
161
|
+
contactedBy: number;
|
162
|
+
contactedByName: string;
|
163
|
+
nextContactDate: Date;
|
164
|
+
comment: string;
|
165
|
+
modifiedBy: number;
|
166
|
+
|
167
|
+
|
168
|
+
}
|
169
|
+
|
170
|
+
|
171
|
+
export interface VictimSafetyPlan {
|
172
|
+
victimId: number;
|
173
|
+
fullName: string;
|
174
|
+
victimServiceId: number;
|
175
|
+
goal:string;
|
176
|
+
comment: string;
|
177
|
+
modifiedBy: number;
|
178
|
+
victimServiceStatusId: string;
|
179
|
+
status: string;
|
180
|
+
startDate: Date;
|
181
|
+
vVictimServiceDetails: VictimServiceDetail[];
|
182
|
+
victimName: String;
|
183
|
+
|
184
|
+
|
185
|
+
}
|
186
|
+
|
187
|
+
export interface VictimServiceDetail{
|
188
|
+
victimServiceId: number;
|
189
|
+
victimServiceDetailId: number;
|
190
|
+
victimServiceTypeId: string;
|
191
|
+
victimProgramProviderId: string;
|
192
|
+
victimProgramProvider: string;
|
193
|
+
modifiedBy: number;
|
194
|
+
|
195
|
+
|
196
|
+
}
|
197
|
+
export interface VictimServiceStatusHistory{
|
198
|
+
|
199
|
+
victimServiceStatusHistoryId: number;
|
200
|
+
victimServiceId: string;
|
201
|
+
victimServiceStatusId: string;
|
202
|
+
startDate: Date;
|
203
|
+
comment: string;
|
204
|
+
modifiedBy: number;
|
205
|
+
}
|
206
|
+
|
207
|
+
|
208
|
+
export interface VictimServiceTypeProgramProviderModel {
|
209
|
+
victimServiceTypeProgramProviderId: number;
|
210
|
+
victimServiceType: string;
|
211
|
+
victimProgramProviderId: string;
|
212
|
+
victimServiceTypeId:string;
|
213
|
+
victimProgramProvider: string;
|
214
|
+
}
|
215
|
+
|
216
|
+
export interface ProviderListCollectionModel{
|
217
|
+
groupId:string;
|
218
|
+
isDisplay:boolean;
|
219
|
+
collection:VictimServiceTypeProgramProviderModel[];
|
220
|
+
}
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
export interface ProvidersDialogData {
|
225
|
+
//iepAction: IepAction;
|
226
|
+
serviceType;
|
227
|
+
serviceTypeId;
|
228
|
+
providerCollections: [];
|
229
|
+
}
|
230
|
+
|
231
|
+
|
232
|
+
export class Victim {
|
233
|
+
constructor(
|
234
|
+
public victimId: number,
|
235
|
+
public offenderId: number,
|
236
|
+
public underSupervisionFlag: string,
|
237
|
+
public victimOffenderRelationshipTypeId: string,
|
238
|
+
public lastName: string,
|
239
|
+
public firstName: string,
|
240
|
+
public middleName: string,
|
241
|
+
public prefixId: string | null,
|
242
|
+
public suffixId: string | null,
|
243
|
+
public birthDate: string,
|
244
|
+
public genderCode: string,
|
245
|
+
public homePhone: string | null,
|
246
|
+
public workPhone: string | null,
|
247
|
+
public cellPhone: string | null,
|
248
|
+
public email: string,
|
249
|
+
public addressId: number,
|
250
|
+
public minorFlag: boolean,
|
251
|
+
public victimAdvocateFlag: string,
|
252
|
+
|
253
|
+
public guardianFirstName: string,
|
254
|
+
public guardianLastName: string,
|
255
|
+
public guardianPrefixId: string,
|
256
|
+
public guardianSuffixId: string,
|
257
|
+
public guardianNoPhoneFlag: boolean,
|
258
|
+
public guardianHomePhone: string | null,
|
259
|
+
public guardianWorkPhone: string | null,
|
260
|
+
public guardianCellPhone: string | null,
|
261
|
+
public guardianEmail: string,
|
262
|
+
public guardianAddressId: number,
|
263
|
+
public guardianBirthDate: string,
|
264
|
+
|
265
|
+
public advocateFirstName: string,
|
266
|
+
public advocateLastName: string,
|
267
|
+
public advocatePrefixId: string,
|
268
|
+
public advocateSuffixId: string,
|
269
|
+
public advocateNoPhoneFlag: boolean,
|
270
|
+
public advocateHomePhone: string | null,
|
271
|
+
public advocateWorkPhone: string | null,
|
272
|
+
public advocateCellPhone: string | null,
|
273
|
+
public advocateEmail: string,
|
274
|
+
public advocateAddressId: number,
|
275
|
+
|
276
|
+
public emergencyContact: string,
|
277
|
+
public emergencyContactPhone: string | null,
|
278
|
+
public commonChildrenFlag: boolean,
|
279
|
+
public commonChildrenNumber: number,
|
280
|
+
public cpoExpirationFlag: boolean,
|
281
|
+
public cpoExpirationDate: string,
|
282
|
+
public supportInPlaceFlag: boolean,
|
283
|
+
public weaponInvolvedFlag: boolean,
|
284
|
+
public drugUseFlag: boolean,
|
285
|
+
public alcoholUseFlag: boolean,
|
286
|
+
public accessRisk: string,
|
287
|
+
public modifiedBy: number,
|
288
|
+
public relationship: string,
|
289
|
+
|
290
|
+
public vVictimAdvocate: VictimAdvocate,
|
291
|
+
public vVictimGuardian: VictimGuardian,
|
292
|
+
|
293
|
+
public victimSupports: VictimSupport[],
|
294
|
+
public victimWeaponUses: VictimWeaponUse[],
|
295
|
+
public victimDrugUses: VictimDrugUse[],
|
296
|
+
|
297
|
+
public allowCsosaContactFlag: boolean,
|
298
|
+
public liveWithOffenderFlag: boolean
|
299
|
+
) { }
|
300
|
+
}
|
301
|
+
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { ReactiveFormsModule,FormsModule} from '@angular/forms';
|
4
|
+
// import {
|
5
|
+
|
6
|
+
|
7
|
+
// MatMenuModule, MatProgressBarModule,
|
8
|
+
|
9
|
+
// MatSidenavModule,
|
10
|
+
// MatPaginatorModule,
|
11
|
+
// } from '@angular/material';
|
12
|
+
|
13
|
+
import { MatButtonModule } from '@angular/material/button';
|
14
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
15
|
+
import { MatCardModule } from '@angular/material/card';
|
16
|
+
import { MatSliderModule } from '@angular/material/slider';
|
17
|
+
import { MatListModule } from '@angular/material/list';
|
18
|
+
import { MatIconModule } from '@angular/material/icon';
|
19
|
+
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
20
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
21
|
+
import { MatRadioModule } from '@angular/material/radio';
|
22
|
+
import { MatInputModule } from '@angular/material/input';
|
23
|
+
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
24
|
+
import { MatDatepickerModule } from '@angular/material/datepicker';
|
25
|
+
import { DateAdapter, MatNativeDateModule, MAT_DATE_FORMATS, MAT_DATE_LOCALE } from '@angular/material/core';
|
26
|
+
import { MatDialogModule } from '@angular/material/dialog';
|
27
|
+
import { MatExpansionModule } from '@angular/material/expansion';
|
28
|
+
import { MatSelectModule } from '@angular/material/select';
|
29
|
+
import { MatTableModule } from '@angular/material/table';
|
30
|
+
import { MatSortModule } from '@angular/material/sort';
|
31
|
+
import { MatGridListModule } from '@angular/material/grid-list';
|
32
|
+
import { MatTabsModule } from '@angular/material/tabs';
|
33
|
+
import { CdkTableModule } from '@angular/cdk/table';
|
34
|
+
import { LayoutModule } from '@angular/cdk/layout';
|
35
|
+
import { SmartAddressModule } from '@csmart/ngc-smart-address';
|
36
|
+
import { NgcSmartVictimComponent } from './smart-victim.component';
|
37
|
+
import { NgcSmartVictimService } from './smart-victim.service';
|
38
|
+
import { SmartVictimDetailComponent } from './smart-victim-detail/smart-victim-detail.component';
|
39
|
+
import { SmartVictimDeleteConfirmComponent } from './smart-victim-delete-confirm.component';
|
40
|
+
import { CommonDialogModule } from './common-dialog/common-dialog.module';
|
41
|
+
import { VictimRoutingModule } from './victim-routing.module';
|
42
|
+
import { CaseNoteComponent } from './caseNote/caseNote.component';
|
43
|
+
import { ContactComponent } from './contact/contact.component';
|
44
|
+
import { VictimSafetyPlanComponent } from './safetyPlan/victimSafetyPlan.component';
|
45
|
+
import { VictimSafetyPlanDetailComponent } from './safetyPlan/victimSafetyPlanDetail.component';
|
46
|
+
import { VictimSearchFormComponent } from './victimSearch/victimSearchForm.component';
|
47
|
+
import { ApolloModule, APOLLO_OPTIONS } from 'apollo-angular';
|
48
|
+
import { SeriveProviderComponent } from './safetyPlan/serviceProvider.component';
|
49
|
+
import { NgcSmartCoreModule } from '@csmart/ngc-smart-core';
|
50
|
+
import { MatMenuModule } from '@angular/material/menu';
|
51
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
52
|
+
import { MatPaginatorModule } from '@angular/material/paginator';
|
53
|
+
import { MatSidenavModule } from '@angular/material/sidenav';
|
54
|
+
import { SmartUiModule } from '@csmart/smart-ui';
|
55
|
+
|
56
|
+
const COMPONENTS = [
|
57
|
+
NgcSmartVictimComponent,
|
58
|
+
SmartVictimDetailComponent,
|
59
|
+
SmartVictimDeleteConfirmComponent,
|
60
|
+
|
61
|
+
|
62
|
+
];
|
63
|
+
|
64
|
+
const ENTRY_COMPONENTS = [
|
65
|
+
SmartVictimDeleteConfirmComponent,
|
66
|
+
|
67
|
+
];
|
68
|
+
|
69
|
+
const BASE_MODULES = [
|
70
|
+
CommonModule,
|
71
|
+
ReactiveFormsModule
|
72
|
+
];
|
73
|
+
|
74
|
+
const CORE_MODULES = [NgcSmartCoreModule, SmartAddressModule, SmartUiModule,];
|
75
|
+
|
76
|
+
const MATERIAL_MODULES = [
|
77
|
+
MatButtonModule, MatCheckboxModule,MatRadioModule,MatSliderModule,
|
78
|
+
MatCardModule, MatSlideToggleModule,
|
79
|
+
MatListModule, MatIconModule, MatButtonToggleModule,
|
80
|
+
MatToolbarModule, MatTabsModule, MatExpansionModule,
|
81
|
+
MatMenuModule, MatInputModule, MatProgressBarModule,
|
82
|
+
MatDatepickerModule, MatNativeDateModule,MatPaginatorModule,
|
83
|
+
MatDialogModule, MatSidenavModule, MatSelectModule,
|
84
|
+
MatTableModule, MatSortModule, MatGridListModule, CdkTableModule, LayoutModule,
|
85
|
+
];
|
86
|
+
|
87
|
+
@NgModule({
|
88
|
+
declarations: [...COMPONENTS,
|
89
|
+
CaseNoteComponent,
|
90
|
+
ContactComponent,
|
91
|
+
VictimSafetyPlanComponent,
|
92
|
+
VictimSafetyPlanDetailComponent,
|
93
|
+
VictimSearchFormComponent,
|
94
|
+
SeriveProviderComponent
|
95
|
+
],
|
96
|
+
imports: [
|
97
|
+
...BASE_MODULES,
|
98
|
+
...MATERIAL_MODULES,
|
99
|
+
...CORE_MODULES,
|
100
|
+
CommonDialogModule,
|
101
|
+
FormsModule,
|
102
|
+
VictimRoutingModule,
|
103
|
+
ApolloModule,
|
104
|
+
//SharedModule
|
105
|
+
|
106
|
+
],
|
107
|
+
exports: [...COMPONENTS, ApolloModule],
|
108
|
+
providers: [NgcSmartVictimService]
|
109
|
+
})
|
110
|
+
export class NgcSmartVictimModule { }
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
2
|
+
|
3
|
+
import { NgcSmartVictimService } from './smart-victim.service';
|
4
|
+
|
5
|
+
describe('NgcSmartVictimService', () => {
|
6
|
+
beforeEach(() => TestBed.configureTestingModule({}));
|
7
|
+
|
8
|
+
it('should be created', () => {
|
9
|
+
const service: NgcSmartVictimService = TestBed.get(NgcSmartVictimService);
|
10
|
+
expect(service).toBeTruthy();
|
11
|
+
});
|
12
|
+
});
|