@csmart/ngc-smart-victim 1.14.43 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/{esm2020 → esm2022}/csmart-ngc-smart-victim.mjs +4 -4
- package/esm2022/lib/caseNote/caseNote.component.mjs +194 -0
- package/esm2022/lib/common-dialog/common-dialog.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.module.mjs +34 -34
- package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.service.mjs +33 -33
- package/esm2022/lib/contact/contact.component.mjs +140 -0
- package/{esm2020 → esm2022}/lib/email.services.mjs +29 -29
- package/esm2022/lib/intake.service.mjs +57 -0
- package/{esm2020 → esm2022}/lib/safetyPlan/serviceProvider.component.mjs +62 -62
- package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
- package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
- package/{esm2020 → esm2022}/lib/shared/app.shared.module.mjs +215 -215
- package/esm2022/lib/shared/validators/date.validator.mjs +59 -0
- package/{esm2020 → esm2022}/lib/shared/validators/index.mjs +1 -1
- package/esm2022/lib/smart-victim-delete-confirm.component.mjs +44 -0
- package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +1104 -0
- package/esm2022/lib/smart-victim.component.mjs +314 -0
- package/{esm2020 → esm2022}/lib/smart-victim.model.mjs +132 -132
- package/{esm2020 → esm2022}/lib/smart-victim.module.mjs +128 -128
- package/esm2022/lib/smart-victim.service.mjs +352 -0
- package/{esm2020 → esm2022}/lib/victim-routing.module.mjs +41 -41
- package/{esm2020 → esm2022}/lib/victimSearch/VictimSearchFilter.mjs +2 -2
- package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +38 -0
- package/{esm2020 → esm2022}/public-api.mjs +10 -10
- package/fesm2022/csmart-ngc-smart-victim.mjs +3261 -0
- package/fesm2022/csmart-ngc-smart-victim.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/caseNote/caseNote.component.d.ts +51 -51
- package/lib/common-dialog/common-dialog.component.d.ts +14 -14
- package/lib/common-dialog/common-dialog.module.d.ts +8 -8
- package/lib/common-dialog/common-dialog.service.d.ts +11 -11
- package/lib/contact/contact.component.d.ts +40 -40
- package/lib/email.services.d.ts +11 -11
- package/lib/intake.service.d.ts +57 -57
- package/lib/safetyPlan/serviceProvider.component.d.ts +19 -19
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +54 -54
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +62 -62
- package/lib/shared/app.shared.module.d.ts +33 -33
- package/lib/shared/validators/date.validator.d.ts +9 -9
- package/lib/shared/validators/index.d.ts +1 -1
- package/lib/smart-victim-delete-confirm.component.d.ts +12 -12
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +129 -129
- package/lib/smart-victim.component.d.ts +68 -68
- package/lib/smart-victim.model.d.ts +205 -205
- package/lib/smart-victim.module.d.ts +49 -49
- package/lib/smart-victim.service.d.ts +71 -71
- package/lib/victim-routing.module.d.ts +7 -7
- package/lib/victimSearch/VictimSearchFilter.d.ts +7 -7
- package/lib/victimSearch/victimSearchForm.component.d.ts +14 -14
- package/package.json +5 -11
- package/public-api.d.ts +7 -7
- package/esm2020/lib/caseNote/caseNote.component.mjs +0 -194
- package/esm2020/lib/common-dialog/common-dialog.component.mjs +0 -23
- package/esm2020/lib/contact/contact.component.mjs +0 -140
- package/esm2020/lib/intake.service.mjs +0 -57
- package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +0 -116
- package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +0 -340
- package/esm2020/lib/shared/validators/date.validator.mjs +0 -59
- package/esm2020/lib/smart-victim-delete-confirm.component.mjs +0 -44
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +0 -1104
- package/esm2020/lib/smart-victim.component.mjs +0 -314
- package/esm2020/lib/smart-victim.service.mjs +0 -352
- package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +0 -38
- package/fesm2015/csmart-ngc-smart-victim.mjs +0 -3273
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +0 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +0 -3261
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +0 -1
@@ -1,352 +0,0 @@
|
|
1
|
-
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
2
|
-
import { Injectable, Inject } from '@angular/core';
|
3
|
-
import { SMART_LOOKUP_SERVICE_URL, SMART_OFFENDER_SERVICE_URL, SMART_VICTIM_SERVICE_URL } from './smart-victim.model';
|
4
|
-
import { throwError as observableThrowError } from 'rxjs';
|
5
|
-
import { map, catchError } from 'rxjs/operators';
|
6
|
-
import { Apollo } from 'apollo-angular';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "@angular/common/http";
|
9
|
-
import * as i2 from "apollo-angular";
|
10
|
-
const headers = new HttpHeaders({ 'Content-Type': 'application/json' });
|
11
|
-
const options = { headers: headers };
|
12
|
-
export class NgcSmartVictimService {
|
13
|
-
constructor(http, smartOffenderServiceUrl, smartLookupServiceUrl, smartVictimServiceUrl, apollo) {
|
14
|
-
this.http = http;
|
15
|
-
this.smartOffenderServiceUrl = smartOffenderServiceUrl;
|
16
|
-
this.smartLookupServiceUrl = smartLookupServiceUrl;
|
17
|
-
this.smartVictimServiceUrl = smartVictimServiceUrl;
|
18
|
-
this.apollo = apollo;
|
19
|
-
this.serviceApiUrl = 'https://smart-service-test.azurewebsites.net/graphql';
|
20
|
-
}
|
21
|
-
// getVictimInsurances(offenderId: any) {
|
22
|
-
// return this.http.get(this.smartOffenderServiceUrl + '/VictimInsurances/?offenderId=' + offenderId).pipe();
|
23
|
-
// }
|
24
|
-
// getVictimInsurance(id: any) {
|
25
|
-
// return this.http.get(this.smartOffenderServiceUrl + '/VictimInsurances/?id=' + id).pipe();
|
26
|
-
// }
|
27
|
-
// postVictimInsurance(val: any) {
|
28
|
-
// return this.http.post(this.smartOffenderServiceUrl + '/VictimInsurances', val).pipe();
|
29
|
-
// }
|
30
|
-
// putVictimInsurance(id: any, val: any) {
|
31
|
-
// return this.http.put(this.smartOffenderServiceUrl + '/VictimInsurances/?id=' + id, val).pipe();
|
32
|
-
// }
|
33
|
-
// deleteVictimInsurance(id: any) {
|
34
|
-
// return this.http.delete(this.smartOffenderServiceUrl + '/VictimInsurances/?id=' + id).pipe();
|
35
|
-
// }
|
36
|
-
// getVictimInsuranceTypes() {
|
37
|
-
// return this.http.get(this.smartLookupServiceUrl + '/VictimInsuranceTypes').pipe();
|
38
|
-
// }
|
39
|
-
// getVictimInsurancePolicyHolders() {
|
40
|
-
// return this.http.get(this.smartLookupServiceUrl + '/VictimInsurancePolicyHolders').pipe();
|
41
|
-
// }
|
42
|
-
// getVictimInsuranceSwitchReasons() {
|
43
|
-
// return this.http.get(this.smartLookupServiceUrl + '/VictimInsuranceSwitchReasons').pipe();
|
44
|
-
// }
|
45
|
-
// getVictimInsuranceProviders() {
|
46
|
-
// return this.http.get(this.smartLookupServiceUrl + '/VictimInsuranceProvider').pipe();
|
47
|
-
// }
|
48
|
-
// getVictimInsuranceProvider(id) {
|
49
|
-
// return this.http.get(this.smartLookupServiceUrl + '/VictimInsuranceProviders/' + id).pipe();
|
50
|
-
// }
|
51
|
-
// postProviderInformation(val: any) {
|
52
|
-
// return this.http.post(this.smartLookupServiceUrl + '/VictimInsuranceProviders', val).pipe();
|
53
|
-
// }
|
54
|
-
getCurrentHousing(offenderId) {
|
55
|
-
return this.http
|
56
|
-
.get(this.smartOffenderServiceUrl + 'Housings/current/' + offenderId)
|
57
|
-
.pipe();
|
58
|
-
}
|
59
|
-
handleError(error) {
|
60
|
-
console.error(error);
|
61
|
-
return observableThrowError(error.json().error || 'Server error');
|
62
|
-
}
|
63
|
-
getDrugsTypes() {
|
64
|
-
return this.http.get(this.smartLookupServiceUrl + 'DrugTypes', options).pipe(map(res => res));
|
65
|
-
}
|
66
|
-
getDocketList(offenderId) {
|
67
|
-
const queryString = `
|
68
|
-
{
|
69
|
-
findDockets(input: { where: { offenderId:${offenderId} } }) {
|
70
|
-
totalCount
|
71
|
-
message
|
72
|
-
data {
|
73
|
-
docketId
|
74
|
-
docketNumber
|
75
|
-
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}`;
|
79
|
-
return this.http.post(this.serviceApiUrl, { query: queryString }).pipe(map(({ data }) => {
|
80
|
-
console.log('dockets for this offender:', data.findDockets.data);
|
81
|
-
return data.findDockets.data;
|
82
|
-
}));
|
83
|
-
}
|
84
|
-
getSupportTypes() {
|
85
|
-
return this.http.get(this.smartLookupServiceUrl + 'VictimSupportTypes', options).pipe(map(res => res));
|
86
|
-
}
|
87
|
-
getPrefixes() {
|
88
|
-
return this.http.get(this.smartLookupServiceUrl + 'Prefixes', options).pipe(map(res => res));
|
89
|
-
}
|
90
|
-
getSuffixes() {
|
91
|
-
return this.http.get(this.smartLookupServiceUrl + 'Suffixes', options).pipe(map(res => res));
|
92
|
-
}
|
93
|
-
getRelationshipTypes() {
|
94
|
-
return this.http.get(this.smartLookupServiceUrl + 'RelationshipTypes', options).pipe(map(res => res));
|
95
|
-
}
|
96
|
-
getGenders() {
|
97
|
-
return this.http.get(this.smartLookupServiceUrl + 'Genders', options).pipe(map(res => res));
|
98
|
-
}
|
99
|
-
getWeaponTypes() {
|
100
|
-
return this.http.get(this.smartLookupServiceUrl + 'WeaponTypes', options).pipe(map(res => res));
|
101
|
-
}
|
102
|
-
getFlagOptionYesNoUnknowns() {
|
103
|
-
return this.http.get(this.smartLookupServiceUrl + 'FlagOptionYesNoUnknowns', options).pipe(map(res => {
|
104
|
-
return res;
|
105
|
-
}));
|
106
|
-
}
|
107
|
-
getContactTypes() {
|
108
|
-
return this.http.get(this.smartLookupServiceUrl + 'ContactTypes', options).pipe(map(res => {
|
109
|
-
return res;
|
110
|
-
}));
|
111
|
-
}
|
112
|
-
getContactMethods() {
|
113
|
-
return this.http.get(this.smartLookupServiceUrl + 'VictimContactMethods', options).pipe(map(res => {
|
114
|
-
return res;
|
115
|
-
}));
|
116
|
-
}
|
117
|
-
getContactBys() {
|
118
|
-
return this.http.get(this.smartLookupServiceUrl + 'VictimContactPurposes', options).pipe(map(res => {
|
119
|
-
return res;
|
120
|
-
}));
|
121
|
-
}
|
122
|
-
getVictimContactPurposes() {
|
123
|
-
return this.http.get(this.smartLookupServiceUrl + 'VictimContactPurposes', options).pipe(map(res => {
|
124
|
-
return res;
|
125
|
-
}));
|
126
|
-
}
|
127
|
-
getVictimServiceTypes() {
|
128
|
-
return this.http.get(this.smartLookupServiceUrl + 'VictimServiceTypes', options).pipe(map(res => {
|
129
|
-
return res;
|
130
|
-
}));
|
131
|
-
}
|
132
|
-
getVictimServiceStatus() {
|
133
|
-
return this.http.get(this.smartLookupServiceUrl + 'VictimServiceStatus', options).pipe(map(res => {
|
134
|
-
return res;
|
135
|
-
}));
|
136
|
-
}
|
137
|
-
getvVictimServiceTypeProgramProviders() {
|
138
|
-
return this.http.get(this.smartLookupServiceUrl + 'vVictimServiceTypeProgramProviders', options).pipe(map(res => {
|
139
|
-
return res;
|
140
|
-
}));
|
141
|
-
}
|
142
|
-
getVictim(val) {
|
143
|
-
return this.http.get(this.smartVictimServiceUrl + 'Victims/' + val, options).pipe(map(res => {
|
144
|
-
console.log('victim return data');
|
145
|
-
console.log(res);
|
146
|
-
return res;
|
147
|
-
}));
|
148
|
-
}
|
149
|
-
getVictimAdvocate(val) {
|
150
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimAdvocates/' + val, options).pipe(map(res => {
|
151
|
-
return res;
|
152
|
-
}));
|
153
|
-
}
|
154
|
-
getVictimGuardian(val) {
|
155
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimGuardians/' + val, options).pipe(map(res => {
|
156
|
-
return res;
|
157
|
-
}));
|
158
|
-
}
|
159
|
-
postVictims(val) {
|
160
|
-
const tempVal = JSON.stringify(val);
|
161
|
-
return this.http.post(this.smartVictimServiceUrl + 'Victims', tempVal, options).pipe(map(res => { return res; }));
|
162
|
-
}
|
163
|
-
putVictims(id, val) {
|
164
|
-
const tempVal = JSON.stringify(val);
|
165
|
-
return this.http.put(this.smartVictimServiceUrl + 'Victims/' + id, tempVal, options).pipe(map(res => { return res; }));
|
166
|
-
}
|
167
|
-
putVictimAdvocate(id, val) {
|
168
|
-
let body;
|
169
|
-
body = JSON.stringify(val);
|
170
|
-
return this.http.put(this.smartVictimServiceUrl + 'VictimAdvocates/' + id, body, options).pipe(map(res => { return res; }));
|
171
|
-
}
|
172
|
-
postVictimAdvocate(id, val) {
|
173
|
-
const tempVal = JSON.stringify(val);
|
174
|
-
return this.http.post(this.smartVictimServiceUrl + 'VictimAdvocates/' + id, tempVal, options).pipe(map(res => { return res; }));
|
175
|
-
}
|
176
|
-
putVictimGuardian(id, val) {
|
177
|
-
console.log('update victim guardian');
|
178
|
-
console.log(val);
|
179
|
-
const tempVal = JSON.stringify(val);
|
180
|
-
return this.http.put(this.smartVictimServiceUrl + 'VictimGuardians/' + id, tempVal, options).pipe(map(res => { return res; }));
|
181
|
-
}
|
182
|
-
postVictimGuardian(id, val) {
|
183
|
-
const tempVal = JSON.stringify(val);
|
184
|
-
return this.http.post(this.smartVictimServiceUrl + 'VictimGuardians/' + id, tempVal, options).pipe(map(res => { return res; }));
|
185
|
-
}
|
186
|
-
getVictimDrugUse(val) {
|
187
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimDrugUses/' + val, options).pipe(map((res) => {
|
188
|
-
return res;
|
189
|
-
}));
|
190
|
-
}
|
191
|
-
putVictimDrugUse(id, val) {
|
192
|
-
const tempVal = JSON.stringify(val);
|
193
|
-
return this.http.put(this.smartVictimServiceUrl + 'VictimDrugUses/' + id, tempVal, options).pipe(map(res => { return res; }));
|
194
|
-
}
|
195
|
-
postVictimDrugUse(id, val) {
|
196
|
-
const tempVal = JSON.stringify(val);
|
197
|
-
return this.http.post(this.smartVictimServiceUrl + 'VictimDrugUses/' + id, tempVal, options).pipe(map(res => { return res; }));
|
198
|
-
}
|
199
|
-
putVictimWeaponUse(id, val) {
|
200
|
-
const tempVal = JSON.stringify(val);
|
201
|
-
return this.http.put(this.smartVictimServiceUrl + 'VictimWeaponUses/' + id, tempVal, options).pipe(map(res => { return res; }));
|
202
|
-
}
|
203
|
-
postVictimWeaponUse(id, val) {
|
204
|
-
const tempVal = JSON.stringify(val);
|
205
|
-
return this.http.post(this.smartVictimServiceUrl + 'VictimWeaponUses/' + id, tempVal, options).pipe(map(res => { return res; }));
|
206
|
-
}
|
207
|
-
putVictimSupport(id, val) {
|
208
|
-
const tempVal = JSON.stringify(val);
|
209
|
-
return this.http.put(this.smartVictimServiceUrl + 'VictimSupports/' + id, tempVal, options).pipe(map(res => { return res; }));
|
210
|
-
}
|
211
|
-
postVictimSupport(id, val) {
|
212
|
-
const tempVal = JSON.stringify(val);
|
213
|
-
return this.http.post(this.smartVictimServiceUrl + 'VictimSupports/' + id, tempVal, options).pipe(map(res => { return res; }));
|
214
|
-
}
|
215
|
-
deleteVictims(val, staffId) {
|
216
|
-
return this.http.delete(this.smartVictimServiceUrl + 'Victims/' + val + '?staffId=' + staffId, options).pipe(map(res => { return res; }));
|
217
|
-
}
|
218
|
-
// //==============Victim Serive===================================
|
219
|
-
getVictims(offenderId) {
|
220
|
-
return this.http.get(this.smartVictimServiceUrl + 'Victims/offender/' + offenderId)
|
221
|
-
.pipe(map((res) => {
|
222
|
-
return res;
|
223
|
-
}), catchError(this.handleError));
|
224
|
-
}
|
225
|
-
getVictimsByFilter(filter) {
|
226
|
-
return this.http
|
227
|
-
.post(this.smartVictimServiceUrl + '/Victims', JSON.stringify(filter), { headers: headers })
|
228
|
-
.pipe(map((res) => {
|
229
|
-
return res;
|
230
|
-
}), catchError(this.handleError));
|
231
|
-
}
|
232
|
-
getVictimListByFilter(filter) {
|
233
|
-
console.log('filer in service');
|
234
|
-
console.log(filter);
|
235
|
-
return this.http
|
236
|
-
.post(this.smartVictimServiceUrl + 'vVictims/Filter', JSON.stringify(filter), options)
|
237
|
-
.pipe();
|
238
|
-
}
|
239
|
-
getCasetNotes(victimId) {
|
240
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimCaseNotes/victim/' + victimId)
|
241
|
-
.pipe(map((res) => {
|
242
|
-
return res;
|
243
|
-
}), catchError(this.handleError));
|
244
|
-
}
|
245
|
-
addCaseNote(caseNote) {
|
246
|
-
let body;
|
247
|
-
body = JSON.stringify(caseNote);
|
248
|
-
return this.http
|
249
|
-
.post(this.smartVictimServiceUrl + 'VictimCaseNotes/', body, options);
|
250
|
-
}
|
251
|
-
updateCaseNote(caseNote) {
|
252
|
-
let body;
|
253
|
-
body = JSON.stringify(caseNote);
|
254
|
-
return this.http
|
255
|
-
.put(this.smartVictimServiceUrl + 'VictimCaseNotes/' + caseNote.victimCaseNoteId, body, options);
|
256
|
-
}
|
257
|
-
deleteCaseNote(id, staffId) {
|
258
|
-
return this.http.delete(`${this.smartVictimServiceUrl}VictimCaseNotes/${id}?staffId=${staffId}`);
|
259
|
-
}
|
260
|
-
getContacts(victimId) {
|
261
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimContacts/victim/' + victimId)
|
262
|
-
.pipe(map((res) => {
|
263
|
-
return res;
|
264
|
-
}), catchError(this.handleError));
|
265
|
-
}
|
266
|
-
addContact(contact) {
|
267
|
-
let body;
|
268
|
-
body = JSON.stringify(contact);
|
269
|
-
return this.http
|
270
|
-
.post(this.smartVictimServiceUrl + 'VictimContacts/', body, options);
|
271
|
-
}
|
272
|
-
updateContact(contact) {
|
273
|
-
let body;
|
274
|
-
body = JSON.stringify(contact);
|
275
|
-
return this.http
|
276
|
-
.put(this.smartVictimServiceUrl + 'VictimContacts/' + contact.victimContactId, body, options);
|
277
|
-
}
|
278
|
-
getSafetyPlans(victimId) {
|
279
|
-
return this.http.get(this.smartVictimServiceUrl + 'vVictimServiceLists/victim/' + victimId)
|
280
|
-
.pipe(map((res) => {
|
281
|
-
return res;
|
282
|
-
}), catchError(this.handleError));
|
283
|
-
}
|
284
|
-
getVictimServices(victimServiceId) {
|
285
|
-
return this.http.get(this.smartVictimServiceUrl + 'vVictimServiceLists/victimServiceId/' + victimServiceId)
|
286
|
-
.pipe(map((res) => {
|
287
|
-
return res;
|
288
|
-
}), catchError(this.handleError));
|
289
|
-
}
|
290
|
-
getVictimServiceDetail(victimServiceId) {
|
291
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimServiceDetails/' + victimServiceId)
|
292
|
-
.pipe(map((res) => {
|
293
|
-
return res;
|
294
|
-
}), catchError(this.handleError));
|
295
|
-
}
|
296
|
-
addSafetyPlan(victimSafetyPlan) {
|
297
|
-
let body;
|
298
|
-
body = JSON.stringify(victimSafetyPlan);
|
299
|
-
return this.http
|
300
|
-
.post(this.smartVictimServiceUrl + 'VictimServices/', body, options)
|
301
|
-
.pipe();
|
302
|
-
}
|
303
|
-
updateSafetyPlan(victimSafetyPlan) {
|
304
|
-
let body;
|
305
|
-
body = JSON.stringify(victimSafetyPlan);
|
306
|
-
return this.http
|
307
|
-
.put(this.smartVictimServiceUrl + 'VictimServices/' + victimSafetyPlan.victimServiceId, body, options);
|
308
|
-
}
|
309
|
-
addVictimServiceStatus(victimServiceStatusHistory) {
|
310
|
-
let body;
|
311
|
-
body = JSON.stringify(victimServiceStatusHistory);
|
312
|
-
return this.http
|
313
|
-
.post(this.smartVictimServiceUrl + 'VictimServiceStatusHistories/', body, options);
|
314
|
-
}
|
315
|
-
getServiceStatusHistories(victimServiceId) {
|
316
|
-
return this.http.get(this.smartVictimServiceUrl + 'VictimServiceStatusHistories/victimServiceId/' + victimServiceId)
|
317
|
-
.pipe(map((res) => {
|
318
|
-
return res;
|
319
|
-
}), catchError(this.handleError));
|
320
|
-
}
|
321
|
-
deleteSafetyPlan(victimServiceId, staffId) {
|
322
|
-
return this.http.delete(`${this.smartVictimServiceUrl}VictimServices/${victimServiceId}?staffId=${staffId}`);
|
323
|
-
}
|
324
|
-
addPlanProvider(victimServiceDetail) {
|
325
|
-
let body;
|
326
|
-
body = JSON.stringify(victimServiceDetail);
|
327
|
-
return this.http
|
328
|
-
.post(this.smartVictimServiceUrl + 'VictimServiceDetails/', body, options)
|
329
|
-
.pipe();
|
330
|
-
}
|
331
|
-
deleteProvider(victimProgramProviderId, staffId) {
|
332
|
-
return this.http.delete(`${this.smartVictimServiceUrl}VictimServiceDetails/${victimProgramProviderId}?staffId=${staffId}`);
|
333
|
-
}
|
334
|
-
}
|
335
|
-
/** @nocollapse */ NgcSmartVictimService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgcSmartVictimService, deps: [{ token: i1.HttpClient }, { token: SMART_OFFENDER_SERVICE_URL }, { token: SMART_LOOKUP_SERVICE_URL }, { token: SMART_VICTIM_SERVICE_URL }, { token: i2.Apollo }], target: i0.ɵɵFactoryTarget.Injectable });
|
336
|
-
/** @nocollapse */ NgcSmartVictimService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgcSmartVictimService, providedIn: 'root' });
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NgcSmartVictimService, decorators: [{
|
338
|
-
type: Injectable,
|
339
|
-
args: [{
|
340
|
-
providedIn: 'root'
|
341
|
-
}]
|
342
|
-
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
343
|
-
type: Inject,
|
344
|
-
args: [SMART_OFFENDER_SERVICE_URL]
|
345
|
-
}] }, { type: undefined, decorators: [{
|
346
|
-
type: Inject,
|
347
|
-
args: [SMART_LOOKUP_SERVICE_URL]
|
348
|
-
}] }, { type: undefined, decorators: [{
|
349
|
-
type: Inject,
|
350
|
-
args: [SMART_VICTIM_SERVICE_URL]
|
351
|
-
}] }, { type: i2.Apollo }]; } });
|
352
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLnNlcnZpY2UuanMiL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0aGlzLnNtYXJ0TG9va3VwU2VydmljZVVybCArICdGbGFnT3B0aW9uWWVzTm9Vbmtub3ducycsIG9wdGlvbnMpLnBpcGVcclxuICAgICAgKFxyXG4gICAgICBtYXAocmVzID0+IHsgXHJcbiAgICAgICAgICByZXR1cm4gcmVzO1xyXG4gICAgICB9KVxyXG4gICAgICApO1xyXG59XHJcblxyXG5nZXRDb250YWN0VHlwZXMoKSB7XHJcbiAgcmV0dXJuIHRoaXMuaHR0cC5nZXQodGhpcy5zbWFydExvb2t1cFNlcnZpY2VVcmwgKyAnQ29udGFjdFR5cGVzJywgb3B0aW9ucykucGlwZVxyXG4gICAgICAgKFxyXG4gICAgICAgbWFwKHJlcyA9PiB7IFxyXG4gICAgICAgICAgIHJldHVybiByZXM7XHJcbiAgICAgICB9KVxyXG4gICAgICAgKTtcclxuIH1cclxuIGdldENvbnRhY3RNZXRob2RzKCkge1xyXG4gIHJldHVybiB0aGlzLmh0dHAuZ2V0KHRoaXMuc21hcnRMb29rdXBTZXJ2aWNlVXJsICsgJ1ZpY3RpbUNvbnRhY3RNZXRob2RzJywgb3B0aW9ucykucGlwZVxyXG4gICAgICAgKFxyXG4gICAgICAgbWFwKHJlcyA9PiB7IFxyXG4gICAgICAgICAgIHJldHVybiByZXM7XHJcbiAgICAgICB9KVxyXG4gICAgICAgKTtcclxuIH1cclxuIGdldENvbnRhY3RCeXMoKXtcclxuICByZXR1cm4gdGhpcy5odHRwLmdldCh0aGlzLnNtYXJ0TG9va3VwU2VydmljZVVybCArICdWaWN0aW1Db250YWN0UHVycG9zZXMnLCBvcHRpb25zKS5waXBlXHJcbiAgKFxyXG4gIG1hcChyZXMgPT4geyBcclxuICAgICAgcmV0dXJuIHJlcztcclxuICB9KVxyXG4gICk7XHJcblxyXG4gfVxyXG5cclxuZ2V0VmljdGltQ29udGFjdFB1cnBvc2VzKCkge1xyXG4gIHJldHVybiB0aGlzLmh0dHAuZ2V0KHRoaXMuc21hcnRMb29rdXBTZXJ2aWN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2aWNlSWQpXHJcbiAgICAgIC5waXBlKG1hcCgocmVzOiBWaWN0aW1TYWZldHlQbGFuW10pID0+IHtcclxuICAgICAgICAgIHJldHVybiAgcmVzO1xyXG4gICAgICB9KVxyXG4gICAgICAsY2F0Y2hFcnJvcih0aGlzLmhhbmRsZUVycm9yKSk7XHJcbiAgXHJcbiAgfVxyXG5cclxuZ2V0VmljdGltU2VydmljZURldGFpbCh2aWN0aW1TZXJ2aWNlSWQ6IG51bWJlcik6IE9ic2VydmFibGUgPFZpY3RpbVNlcnZpY2VEZXRhaWxbXT4ge1xyXG5cclxuICByZXR1cm4gdGhpcy5odHRwLmdldCh0aGlzLnNtYXJ0VmljdGltU2VydmljZVVybCArICdWaWN0aW1TZXJ2aWNlRGV0YWlscy8nICsgdmljdGltU2VydmljZUlkKVxyXG4gIC5waXBlKG1hcCgocmVzOiBWaWN0aW1TZXJ2aWNlRGV0YWlsW10pID0+IHtcclxuICBcclxuICAgICAgcmV0dXJuIHJlcztcclxuICB9KVxyXG4gICxjYXRjaEVycm9yKHRoaXMuaGFuZGxlRXJyb3IpKTtcclxuXHJcbn1cclxuYWRkU2FmZXR5UGxhbih2aWN0aW1TYWZldHlQbGFuOiBWaWN0aW1TYWZldHlQbGFuKSB7XHJcblxyXG4gIGxldCBib2R5OiBzdHJpbmc7XHJcbiAgICAgICAgICBib2R5ID0gSlNPTi5zdHJpbmdpZnkodmljdGltU2FmZXR5UGxhbik7XHJcbiAgICAgICAgICByZXR1cm4gdGhpcy5odHRwXHJcbiAgICAgICAgICAucG9zdCh0aGlzLnNtYXJ0VmljdGltU2VydmljZVVybCArICdWaWN0aW1TZXJ2aWNlcy8nLCBib2R5LCBvcHRpb25zKVxyXG4gICAgICAgICAgLnBpcGUoKTtcclxuICBcclxuICB9XHJcbnVwZGF0ZVNhZmV0eVBsYW4odmljdGltU2FmZXR5UGxhbjogVmljdGltU2FmZXR5UGxhbil7XHJcblxyXG4gICAgICBsZXQgYm9keTogc3RyaW5nO1x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zLmhhbmRsZUVycm9yKVxyXG4gICk7XHJcbn1cclxuXHJcbmRlbGV0ZVNhZmV0eVBsYW4odmljdGltU2VydmljZUlkOiBudW1iZXIsIHN0YWZmSWQ6IG51bWJlcikge1xyXG4gIHJldHVybiB0aGlzLmh0dHAuZGVsZXRlKGAke3RoaXMuc21hcnRWaWN0aW1TZXJ2aWNlVXJsfVZpY3RpbVNlcnZpY2VzLyR7dmljdGltU2VydmljZUlkfT9zdGFmZklkPSR7c3RhZmZJZH1gKTtcclxuXHJcbiAgfVxyXG5hZGRQbGFuUHJvdmlkZXIodmljdGltU2VydmljZURldGFpbDpWaWN0aW1TZXJ2aWNlRGV0YWlsKXtcclxuICAgICAgbGV0IGJvZHk6IHN0cmluZztcclxuICAgICAgYm9keSA9IEpTT04uc3RyaW5naWZ5KHZpY3RpbVNlcnZpY2VEZXRhaWwpO1xyXG4gICAgICByZXR1cm4gdGhpcy5odHRwXHJcbiAgICAgIC5wb3N0KHRoaXMuc21hcnRWaWN0aW1TZXJ2aWNlVXJsICsgJ1ZpY3RpbVNlcnZpY2VEZXRhaWxzLycsIGJvZHksIG9wdGlvbnMpXHJcbiAgICAgIC5waXBlKCk7XHJcblxyXG4gIH1cclxuXHJcbmRlbGV0ZVByb3ZpZGVyKHZpY3RpbVByb2dyYW1Qcm92aWRlcklkOiBzdHJpbmcsIHN0YWZmSWQ6IG51bWJlcil7XHJcbiAgcmV0dXJuIHRoaXMuaHR0cC5kZWxldGUoYCR7dGhpcy5zbWFydFZpY3RpbVNlcnZpY2VVcmx9VmljdGltU2VydmljZURldGFpbHMvJHt2aWN0aW1Qcm9ncmFtUHJvdmlkZXJJZH0/c3RhZmZJZD0ke3N0YWZmSWR9YCk7XHJcblxyXG59XHJcblxyXG5cclxuXHJcbn1cclxuIl19
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { Component, ViewEncapsulation, Output, EventEmitter } from '@angular/core';
|
2
|
-
import { VictimListFilter } from './VictimSearchFilter';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/forms";
|
5
|
-
import * as i2 from "@angular/material/button";
|
6
|
-
import * as i3 from "@angular/material/expansion";
|
7
|
-
import * as i4 from "@angular/material/form-field";
|
8
|
-
import * as i5 from "@angular/material/input";
|
9
|
-
export class VictimSearchFormComponent {
|
10
|
-
constructor() {
|
11
|
-
this.onSearch = new EventEmitter();
|
12
|
-
this.change = new EventEmitter();
|
13
|
-
this.filter = new VictimListFilter();
|
14
|
-
}
|
15
|
-
ngOnInit() {
|
16
|
-
}
|
17
|
-
ngAfterViewInit() {
|
18
|
-
// var element = <HTMLInputElement> document.getElementById("victimSearchButton");
|
19
|
-
// element.disabled = true;
|
20
|
-
// setTimeout(function() {
|
21
|
-
// element.disabled = false;
|
22
|
-
// }, 10000);
|
23
|
-
}
|
24
|
-
onChange() {
|
25
|
-
console.log('this.filter in serach form.');
|
26
|
-
console.log(this.filter);
|
27
|
-
this.onSearch.emit(this.filter);
|
28
|
-
}
|
29
|
-
}
|
30
|
-
/** @nocollapse */ VictimSearchFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: VictimSearchFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
31
|
-
/** @nocollapse */ VictimSearchFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: VictimSearchFormComponent, selector: "app-victim-search-form", outputs: { onSearch: "onSearch" }, ngImport: i0, template: "<form name=\"victimSearchFrom\" #From=\"ngForm\">\r\n<mat-expansion-panel [expanded]=\"true\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n Search for Victims\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div class=\"victimSearch\">\r\n <mat-form-field>\r\n <input matInput placeholder=\"Victim Last Name\" [(ngModel)]=\"filter.lastName\" name=\"lastName\" id=\"lastName\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Victim First Name\" [(ngModel)]=\"filter.firstName\" name=\"firstName\" id=\"firstName\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Victim Date of Birth\" type=\"date\" [(ngModel)]=\"filter.birthDate\" name=\"birthDate\" id=\"birthDate\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Offender PDID\" [(ngModel)]=\"filter.pdid\" name=\"pdid\" id=\"pdid\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Offender CSOSA #\"[(ngModel)]=\"filter.offenderId\" name=\"offenderId\" id=\"offenderId\">\r\n </mat-form-field>\r\n \r\n \r\n <section>\r\n <button id=\"victimSearchButton\" mat-raised-button color=\"primary\" (click)=\"onChange()\">Search</button>\r\n <span style=\"padding-right: 5px;\"></span>\r\n <button mat-raised-button color=\"primary\" type=\"reset\" value=\"Reset\">Clear Changes</button>\r\n </section>\r\n </div>\r\n </mat-expansion-panel>\r\n</form>\r\n\r\n\r\n", styles: ["div.services{max-width:500px;margin:auto;border:3px solid #73AD21}.rTable{display:block;width:100%}.rTableHeading,.rTableBody,.rTableFoot,.rTableRow{clear:both}.rTableHead,.rTableFoot{background-color:#ddd;font-weight:700}.rTableCell,.rTableHead{border:0px;float:left;padding:1px;width:28%}.rTable:after{visibility:hidden;display:block;font-size:0;content:\" \";clear:both;height:0}.victimSearch{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:10px}.edit-btn{margin-right:4px}.main-container{display:flex;margin-top:8px}.add-action{display:flex;justify-content:flex-end;margin-bottom:8px}.example-headers-align .mat-expansion-panel-header-title,.example-headers-align .mat-expansion-panel-header-description{flex-basis:0}.example-headers-align .mat-expansion-panel-header-description{justify-content:space-between;align-items:center}mat-form-field{margin-right:12px}.actions{display:flex;justify-content:space-around}.Row{display:table;width:100%;table-layout:fixed}.Column{display:table-cell}.sp-form textarea{float:left;margin-top:20px;margin-bottom:10px;width:462px;height:70px;overflow:auto;box-sizing:border-box}.mat-column-lastName,.mat-column-firstName,.mat-column-relationship,.mat-column-homePhone,.mat-column-offenderName{word-wrap:break-word!important;white-space:unset!important;flex:0 0 15%!important;width:15%!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.mat-column-victimId{word-wrap:break-word!important;white-space:unset!important;flex:0 0 25%!important;width:25%!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}\n"], dependencies: [{ kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "component", type: i2.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], encapsulation: i0.ViewEncapsulation.None });
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: VictimSearchFormComponent, decorators: [{
|
33
|
-
type: Component,
|
34
|
-
args: [{ selector: 'app-victim-search-form', encapsulation: ViewEncapsulation.None, template: "<form name=\"victimSearchFrom\" #From=\"ngForm\">\r\n<mat-expansion-panel [expanded]=\"true\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n Search for Victims\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div class=\"victimSearch\">\r\n <mat-form-field>\r\n <input matInput placeholder=\"Victim Last Name\" [(ngModel)]=\"filter.lastName\" name=\"lastName\" id=\"lastName\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Victim First Name\" [(ngModel)]=\"filter.firstName\" name=\"firstName\" id=\"firstName\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Victim Date of Birth\" type=\"date\" [(ngModel)]=\"filter.birthDate\" name=\"birthDate\" id=\"birthDate\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Offender PDID\" [(ngModel)]=\"filter.pdid\" name=\"pdid\" id=\"pdid\">\r\n </mat-form-field>\r\n <mat-form-field>\r\n <input matInput placeholder=\"Offender CSOSA #\"[(ngModel)]=\"filter.offenderId\" name=\"offenderId\" id=\"offenderId\">\r\n </mat-form-field>\r\n \r\n \r\n <section>\r\n <button id=\"victimSearchButton\" mat-raised-button color=\"primary\" (click)=\"onChange()\">Search</button>\r\n <span style=\"padding-right: 5px;\"></span>\r\n <button mat-raised-button color=\"primary\" type=\"reset\" value=\"Reset\">Clear Changes</button>\r\n </section>\r\n </div>\r\n </mat-expansion-panel>\r\n</form>\r\n\r\n\r\n", styles: ["div.services{max-width:500px;margin:auto;border:3px solid #73AD21}.rTable{display:block;width:100%}.rTableHeading,.rTableBody,.rTableFoot,.rTableRow{clear:both}.rTableHead,.rTableFoot{background-color:#ddd;font-weight:700}.rTableCell,.rTableHead{border:0px;float:left;padding:1px;width:28%}.rTable:after{visibility:hidden;display:block;font-size:0;content:\" \";clear:both;height:0}.victimSearch{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:10px}.edit-btn{margin-right:4px}.main-container{display:flex;margin-top:8px}.add-action{display:flex;justify-content:flex-end;margin-bottom:8px}.example-headers-align .mat-expansion-panel-header-title,.example-headers-align .mat-expansion-panel-header-description{flex-basis:0}.example-headers-align .mat-expansion-panel-header-description{justify-content:space-between;align-items:center}mat-form-field{margin-right:12px}.actions{display:flex;justify-content:space-around}.Row{display:table;width:100%;table-layout:fixed}.Column{display:table-cell}.sp-form textarea{float:left;margin-top:20px;margin-bottom:10px;width:462px;height:70px;overflow:auto;box-sizing:border-box}.mat-column-lastName,.mat-column-firstName,.mat-column-relationship,.mat-column-homePhone,.mat-column-offenderName{word-wrap:break-word!important;white-space:unset!important;flex:0 0 15%!important;width:15%!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.mat-column-victimId{word-wrap:break-word!important;white-space:unset!important;flex:0 0 25%!important;width:25%!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}\n"] }]
|
35
|
-
}], ctorParameters: function () { return []; }, propDecorators: { onSearch: [{
|
36
|
-
type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