@csmart/ngc-smart-victim 1.18.7 → 1.18.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/karma.conf.js +32 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +6 -22
  4. package/src/lib/caseNote/caseNote.component.css +20 -0
  5. package/src/lib/caseNote/caseNote.component.html +188 -0
  6. package/src/lib/caseNote/caseNote.component.ts +265 -0
  7. package/src/lib/common-dialog/common-dialog.component.css +10 -0
  8. package/src/lib/common-dialog/common-dialog.component.html +23 -0
  9. package/src/lib/common-dialog/common-dialog.component.spec.ts +25 -0
  10. package/src/lib/common-dialog/common-dialog.component.ts +21 -0
  11. package/src/lib/common-dialog/common-dialog.module.ts +22 -0
  12. package/src/lib/common-dialog/common-dialog.service.ts +35 -0
  13. package/src/lib/contact/contact.component.css +20 -0
  14. package/src/lib/contact/contact.component.html +124 -0
  15. package/src/lib/contact/contact.component.ts +176 -0
  16. package/src/lib/email-notification.service.ts +42 -0
  17. package/src/lib/email.services.ts +51 -0
  18. package/src/lib/http.service.ts +34 -0
  19. package/src/lib/intake.service.ts +82 -0
  20. package/src/lib/loader.service.ts +11 -0
  21. package/src/lib/safetyPlan/serviceProvider.component.ts +94 -0
  22. package/src/lib/safetyPlan/victimSafetyPlan.component.css +27 -0
  23. package/src/lib/safetyPlan/victimSafetyPlan.component.html +85 -0
  24. package/src/lib/safetyPlan/victimSafetyPlan.component.ts +178 -0
  25. package/src/lib/safetyPlan/victimSafetyPlanDetail.component.html +234 -0
  26. package/src/lib/safetyPlan/victimSafetyPlanDetail.component.ts +492 -0
  27. package/src/lib/shared/app.shared.module.ts +111 -0
  28. package/src/lib/shared/validators/date.validator.ts +73 -0
  29. package/src/lib/shared/validators/index.ts +1 -0
  30. package/src/lib/smart-victim-delete-confirm.component.ts +35 -0
  31. package/src/lib/smart-victim-detail/smart-victim-detail.component.css +43 -0
  32. package/src/lib/smart-victim-detail/smart-victim-detail.component.html +869 -0
  33. package/src/lib/smart-victim-detail/smart-victim-detail.component.spec.ts +25 -0
  34. package/src/lib/smart-victim-detail/smart-victim-detail.component.ts +1384 -0
  35. package/src/lib/smart-victim.component.css +192 -0
  36. package/src/lib/smart-victim.component.html +138 -0
  37. package/src/lib/smart-victim.component.spec.ts +25 -0
  38. package/src/lib/smart-victim.component.ts +329 -0
  39. package/src/lib/smart-victim.model.ts +301 -0
  40. package/src/lib/smart-victim.module.ts +110 -0
  41. package/src/lib/smart-victim.service.spec.ts +12 -0
  42. package/src/lib/smart-victim.service.ts +557 -0
  43. package/src/lib/victim-routing.module.ts +35 -0
  44. package/{lib/victimSearch/VictimSearchFilter.d.ts → src/lib/victimSearch/VictimSearchFilter.ts} +9 -7
  45. package/src/lib/victimSearch/victimSearchForm.component.html +35 -0
  46. package/src/lib/victimSearch/victimSearchForm.component.ts +41 -0
  47. package/{public-api.d.ts → src/public-api.ts} +12 -7
  48. package/src/test.ts +22 -0
  49. package/tsconfig.lib.json +37 -0
  50. package/tsconfig.spec.json +17 -0
  51. package/tslint.json +17 -0
  52. package/esm2022/csmart-ngc-smart-victim.mjs +0 -5
  53. package/esm2022/lib/caseNote/caseNote.component.mjs +0 -194
  54. package/esm2022/lib/common-dialog/common-dialog.component.mjs +0 -23
  55. package/esm2022/lib/common-dialog/common-dialog.module.mjs +0 -34
  56. package/esm2022/lib/common-dialog/common-dialog.service.mjs +0 -33
  57. package/esm2022/lib/contact/contact.component.mjs +0 -140
  58. package/esm2022/lib/email.services.mjs +0 -42
  59. package/esm2022/lib/intake.service.mjs +0 -57
  60. package/esm2022/lib/safetyPlan/serviceProvider.component.mjs +0 -99
  61. package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +0 -116
  62. package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +0 -340
  63. package/esm2022/lib/shared/app.shared.module.mjs +0 -215
  64. package/esm2022/lib/shared/validators/date.validator.mjs +0 -59
  65. package/esm2022/lib/shared/validators/index.mjs +0 -2
  66. package/esm2022/lib/smart-victim-delete-confirm.component.mjs +0 -44
  67. package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +0 -1104
  68. package/esm2022/lib/smart-victim.component.mjs +0 -316
  69. package/esm2022/lib/smart-victim.model.mjs +0 -133
  70. package/esm2022/lib/smart-victim.module.mjs +0 -128
  71. package/esm2022/lib/smart-victim.service.mjs +0 -352
  72. package/esm2022/lib/victim-routing.module.mjs +0 -41
  73. package/esm2022/lib/victimSearch/VictimSearchFilter.mjs +0 -3
  74. package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +0 -38
  75. package/esm2022/public-api.mjs +0 -11
  76. package/fesm2022/csmart-ngc-smart-victim.mjs +0 -3263
  77. package/fesm2022/csmart-ngc-smart-victim.mjs.map +0 -1
  78. package/index.d.ts +0 -5
  79. package/lib/caseNote/caseNote.component.d.ts +0 -51
  80. package/lib/common-dialog/common-dialog.component.d.ts +0 -14
  81. package/lib/common-dialog/common-dialog.module.d.ts +0 -8
  82. package/lib/common-dialog/common-dialog.service.d.ts +0 -11
  83. package/lib/contact/contact.component.d.ts +0 -40
  84. package/lib/email.services.d.ts +0 -11
  85. package/lib/intake.service.d.ts +0 -57
  86. package/lib/safetyPlan/serviceProvider.component.d.ts +0 -19
  87. package/lib/safetyPlan/victimSafetyPlan.component.d.ts +0 -54
  88. package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +0 -62
  89. package/lib/shared/app.shared.module.d.ts +0 -33
  90. package/lib/shared/validators/date.validator.d.ts +0 -9
  91. package/lib/shared/validators/index.d.ts +0 -1
  92. package/lib/smart-victim-delete-confirm.component.d.ts +0 -12
  93. package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +0 -129
  94. package/lib/smart-victim.component.d.ts +0 -69
  95. package/lib/smart-victim.model.d.ts +0 -205
  96. package/lib/smart-victim.module.d.ts +0 -49
  97. package/lib/smart-victim.service.d.ts +0 -71
  98. package/lib/victim-routing.module.d.ts +0 -7
  99. package/lib/victimSearch/victimSearchForm.component.d.ts +0 -14
@@ -1,316 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import { Component, ViewChild, Input, Inject } from '@angular/core';
3
- import { ActivatedRoute, Router } from '@angular/router';
4
- import { MatTableDataSource } from '@angular/material/table';
5
- import { MatSort } from '@angular/material/sort';
6
- import { MatDialog } from '@angular/material/dialog';
7
- import { AccessType, } from "@csmart/ngc-smart-core";
8
- import { NgcSmartVictimService } from './smart-victim.service';
9
- import { VictimListFilter, SMART_WARRANT_URL } from './smart-victim.model';
10
- //import { SmartVictimDetailComponent } from './smart-victim-detail/smart-victim-detail.component';
11
- import { IntakeStep, IntakeServicesComponent, } from './intake.service';
12
- import { MatPaginator } from '@angular/material/paginator';
13
- import { MatSnackBar } from '@angular/material/snack-bar';
14
- import * as i0 from "@angular/core";
15
- import * as i1 from "@angular/material/dialog";
16
- import * as i2 from "./smart-victim.service";
17
- import * as i3 from "@angular/router";
18
- import * as i4 from "@angular/material/snack-bar";
19
- import * as i5 from "./intake.service";
20
- import * as i6 from "@angular/common";
21
- import * as i7 from "@angular/material/button";
22
- import * as i8 from "@angular/material/card";
23
- import * as i9 from "@angular/material/icon";
24
- import * as i10 from "@angular/material/paginator";
25
- import * as i11 from "@angular/material/table";
26
- import * as i12 from "@csmart/ngc-smart-core";
27
- import * as i13 from "./smart-victim-detail/smart-victim-detail.component";
28
- import * as i14 from "./victimSearch/victimSearchForm.component";
29
- export class NgcSmartVictimComponent {
30
- constructor(dialog, victimService, router, route, snackBar, intakeService, smartWarrantUrl, document) {
31
- this.dialog = dialog;
32
- this.victimService = victimService;
33
- this.router = router;
34
- this.route = route;
35
- this.snackBar = snackBar;
36
- this.intakeService = intakeService;
37
- this.smartWarrantUrl = smartWarrantUrl;
38
- this.document = document;
39
- this.appModuleId = '';
40
- this.activatedRoute = null;
41
- this.victims = [];
42
- this.victimDetail = {};
43
- this.showDetail = false;
44
- this.victimListFilter = new VictimListFilter();
45
- this.victimListDataSource = new MatTableDataSource();
46
- this.doSpin = false;
47
- this.showListFlag = false;
48
- this.msg = "";
49
- this.isIntake = false;
50
- }
51
- // private onChange(filter: VictimListFilter) {
52
- // console.log('filter in onchange');
53
- // console.log(filter);
54
- // this.getVictimList(filter);
55
- // }
56
- applyFilter(filterValue) {
57
- this.victimListDataSource.filter = filterValue.trim().toLowerCase();
58
- }
59
- addRecord() {
60
- this.showDetail = true;
61
- this.showAdd = false;
62
- this.victimDetail = null;
63
- this.showListFlag = false;
64
- }
65
- editVictimDetail(record) {
66
- console.log("victim edit record");
67
- console.log(record);
68
- console.log(record.victimId);
69
- this.victimDetail = record;
70
- this.showDetail = true;
71
- this.showAdd = false;
72
- this.showListFlag = false;
73
- }
74
- save(detail) {
75
- this.showDetail = false;
76
- this.showAdd = true;
77
- this.showListFlag = true;
78
- }
79
- cancel() {
80
- this.showDetail = false;
81
- this.victimDetail = {};
82
- }
83
- ngAfterViewInit() {
84
- this.victimListDataSource.paginator = this.paginator;
85
- this.victimListDataSource.sort = this.sort;
86
- }
87
- ngOnChanges() {
88
- this.updateAccessControlConfig = {
89
- accessType: AccessType.UPDATE,
90
- appModuleId: this.appModuleId,
91
- roleId: null,
92
- route: this.activatedRoute.snapshot,
93
- };
94
- this.createAccessControlConfig = {
95
- accessType: AccessType.CREATE,
96
- appModuleId: this.appModuleId,
97
- roleId: null,
98
- route: this.activatedRoute.snapshot,
99
- };
100
- this.deleteAccessControlConfig = {
101
- accessType: AccessType.DELETE,
102
- appModuleId: this.appModuleId,
103
- roleId: null,
104
- route: this.activatedRoute.snapshot,
105
- };
106
- }
107
- ngOnInit() {
108
- const queryParams = this.route.snapshot.queryParams;
109
- if (queryParams['routeTo']) {
110
- this.router.navigate([queryParams['routeTo']]);
111
- }
112
- const selData = this.route.snapshot.data;
113
- this.selectedOffender = selData['selectedOffender'];
114
- var myPath = this.router.url.slice(-10);
115
- console.log("offender id at smart-victim");
116
- console.log(this.offenderId);
117
- console.log("staff id at smart-victim");
118
- console.log(this.staffId);
119
- console.log("insakeFlag at smart-victim");
120
- console.log(this.intakeFlag);
121
- console.log("smart-victim ngOnInit");
122
- console.log(this.intakeFlag);
123
- console.log(myPath);
124
- // if (this.intakeFlag == "true") {
125
- // this.isIntake = true;
126
- // }
127
- this.isIntake = this.selectedOffender.intakeFlag;
128
- this.displayedColumns = ["lastName", "firstName"];
129
- if (this.showRelationshipColumn == true ||
130
- myPath == "victimList" ||
131
- myPath == "victimHome") {
132
- this.displayedColumns.push("relationship");
133
- }
134
- if (this.showOffenderNameColumn == true) {
135
- this.displayedColumns.push("offenderName");
136
- }
137
- if (this.showOffenderPhoneColumn == true ||
138
- myPath == "victimList" ||
139
- myPath == "victimHome") {
140
- this.displayedColumns.push("homePhone");
141
- }
142
- this.displayedColumns.push("victimId");
143
- if (this.showSearchForm == true) {
144
- this.showListFlag = false;
145
- }
146
- console.log("this.showSearchForm");
147
- console.log(this.showSearchForm);
148
- console.log("myPath");
149
- console.log(myPath);
150
- if (this.showSearchForm == false ||
151
- myPath == "victimList" ||
152
- myPath == "victimHome") {
153
- var myOffenderId;
154
- if (this.offenderId) {
155
- myOffenderId = this.offenderId;
156
- }
157
- else {
158
- console.log("back from previous page");
159
- this.showAdd = true;
160
- this.showRelationshipColumn = true;
161
- //this.displayedColumns.push("relationship");
162
- this.showOffenderPhoneColumn = true;
163
- // this.displayedColumns.push("homePhone");
164
- this.accessByModule = "true";
165
- this.showEdit = "true";
166
- this.showCaseNote = "true";
167
- this.showSafetyPlan = "true";
168
- myOffenderId = selData.selectedOffender.offenderId;
169
- }
170
- const victimListFilter = {
171
- offenderId: myOffenderId,
172
- lastName: null,
173
- firstName: null,
174
- pdid: null,
175
- birthDate: null,
176
- };
177
- console.log("victimListFilter in smar-victim componenet");
178
- console.log(victimListFilter);
179
- this.victimService
180
- .getVictimListByFilter(victimListFilter)
181
- .subscribe((data) => {
182
- this.victims = data;
183
- this.victimListDataSource.data = data;
184
- console.log("victim data at line 245");
185
- console.log(this.victims);
186
- console.log("showListFlag");
187
- console.log(this.showListFlag);
188
- this.showListFlag = true;
189
- if (data.length == 0) {
190
- this.msg = "No Record Found!";
191
- }
192
- });
193
- }
194
- else {
195
- console.log("find filter");
196
- console.log(this.victimListFilter);
197
- if (this.showListFlag === true) {
198
- if (this.victimListFilter != null) {
199
- this.victimService
200
- .getVictimListByFilter(this.victimListFilter)
201
- .subscribe((data) => {
202
- this.victims = data;
203
- this.victimListDataSource.data = data;
204
- console.log("victim data at line 279");
205
- console.log(data);
206
- });
207
- }
208
- }
209
- }
210
- }
211
- // phone number format on the victim list
212
- formatPhoneNumber(phoneNumberString) {
213
- if (!phoneNumberString)
214
- return "";
215
- var cleaned = ("" + phoneNumberString).replace(/\D/g, "");
216
- var match = cleaned.match(/^(\d{3})(\d{3})(\d{4})$/);
217
- if (match) {
218
- return "(" + match[1] + ") " + match[2] + "-" + match[3];
219
- }
220
- return "";
221
- }
222
- saveIntake() {
223
- if (!this.isIntake) {
224
- return;
225
- }
226
- const intakeStep = {
227
- intakeStepId: IntakeStep.VictimInformation,
228
- offenderId: this.offenderId,
229
- modifiedBy: this.staffId,
230
- };
231
- this.intakeService
232
- .updateIntakeSteps(this.offenderId, intakeStep)
233
- .subscribe((res) => {
234
- console.log("save intake step.");
235
- this.snackBar.open("Status Saved.", "", {
236
- duration: 3000,
237
- });
238
- //this.router.navigate(['/warrant '], { queryParams: { intake: 1 } });
239
- this.document.location.href =
240
- `${this.smartWarrantUrl}/?offenderId=${this.offenderId}&intakeFlag=${this.isIntake}&routeTo=warrant`;
241
- });
242
- }
243
- goToCaseNote(victimId) {
244
- this.router.navigate(["casenote", victimId, this.offenderId]);
245
- }
246
- goToSaftyPlan(victimId) {
247
- this.router.navigate(["saftyPlan", victimId]);
248
- }
249
- getVictimList(filter) {
250
- this.victimListFilter = filter;
251
- console.log("this.victimListFilter inside getVictimList");
252
- console.log(this.victimListFilter);
253
- this.doSpin = true;
254
- this.victimService.getVictimListByFilter(filter).subscribe((data) => {
255
- this.doSpin = !this.doSpin;
256
- if (data.length > 0) {
257
- this.showListFlag = true;
258
- this.victimListDataSource.data = data;
259
- }
260
- else {
261
- this.msg = "No record found!";
262
- }
263
- }, (err) => {
264
- this.doSpin = !this.doSpin;
265
- });
266
- }
267
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgcSmartVictimComponent, deps: [{ token: i1.MatDialog }, { token: i2.NgcSmartVictimService }, { token: i3.Router }, { token: i3.ActivatedRoute }, { token: i4.MatSnackBar }, { token: i5.IntakeServicesComponent }, { token: SMART_WARRANT_URL }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component }); }
268
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: NgcSmartVictimComponent, selector: "csmart-victim", inputs: { 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" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"showSearchForm\">\r\n <app-victim-search-form\r\n (onSearch)=\"getVictimList($event)\">\r\n </app-victim-search-form>\r\n</div>\r\n\r\n<div *ngIf=\"showDetail\">\r\n <csmart-victim-detail [victimDetail]=\"victimDetail\"\r\n [staffId]=\"staffId\"\r\n [offenderId] =\"offenderId\"\r\n [isIntake]=\"isIntake\"\r\n (onSave)=\"save($event)\"\r\n (onCancel)=\"cancel()\" >\r\n</csmart-victim-detail>\r\n</div>\r\n<div class=\"main-container\">\r\n <mat-card id=\"divVictim\" class=\"smart-card-table\">\r\n <div class=\"smart-action-content\">\r\n <button mat-stroked-button color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"createAccessControlConfig\"\r\n *ngIf=\"showAdd\"\r\n class=\"smart-add-button\"\r\n (click)=\"addRecord()\">\r\n <mat-icon>add</mat-icon>\r\n Add Victim\r\n </button>\r\n <button\r\n mat-stroked-button\r\n class=\"smart-add-button\"\r\n *ngIf=\"isIntake\"\r\n color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"saveIntake()\">\r\n Continue\r\n </button>\r\n </div>\r\n <div *ngIf=\"victimListDataSource.data.length > 0\">\r\n <mat-table #table [dataSource]=\"victimListDataSource\" >\r\n\r\n <ng-container matColumnDef=\"lastName\">\r\n <mat-header-cell *matHeaderCellDef>Victim Last Name</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.lastName}} </mat-cell>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"firstName\">\r\n <mat-header-cell *matHeaderCellDef >Victim First Name</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.firstName}} </mat-cell>\r\n </ng-container>\r\n\r\n <div *ngIf=\"showRelationshipColumn\">\r\n <ng-container matColumnDef=\"relationship\">\r\n <mat-header-cell *matHeaderCellDef >Relationship to Offender</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.relationship}} </mat-cell>\r\n </ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"showOffenderPhoneColumn\">\r\n <ng-container matColumnDef=\"homePhone\">\r\n <mat-header-cell *matHeaderCellDef >Phone Number</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" >\r\n Home phone: {{formatPhoneNumber(row.homePhone)}}<br>\r\n Cell Phone: {{formatPhoneNumber(row.cellPhone)}}<br>\r\n Work Phone: {{formatPhoneNumber(row.workPhone)}}\r\n\r\n </mat-cell>\r\n </ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"showOffenderNameColumn\">\r\n <ng-container matColumnDef=\"offenderName\">\r\n <mat-header-cell *matHeaderCellDef>Offender Name</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.offenderName}} </mat-cell>\r\n </ng-container>\r\n </div>\r\n\r\n <ng-container matColumnDef=\"victimId\">\r\n <mat-header-cell *matHeaderCellDef ></mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" >\r\n\r\n <!-- <div *ngIf=\"accessByModule\">\r\n <mat-checkbox></mat-checkbox>\r\n </div> -->\r\n\r\n <div *ngIf=\"showEdit\">\r\n <button class=\"edit-btn\" mat-icon-button color=\"primary\" matTooltip=\"View/Edit Victim\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"editVictimDetail(row)\">\r\n <i class=\"material-icons\">mode_edit</i>\r\n </button>\r\n </div>\r\n\r\n\r\n\r\n &nbsp;&nbsp;\r\n\r\n <div *ngIf=\"showCaseNote\">\r\n <button type=\"button\" matTooltip=\"CaseNote\" mat-stroked-button color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"goToCaseNote(row.victimId)\">\r\n <span class=\"glyphicon glyphicon-pencil\" ></span>&nbsp;Case Note\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;\r\n\r\n <div *ngIf=\"showSafetyPlan\">\r\n <button type=\"button\" matTooltip=\"safety plan\" mat-stroked-button color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"goToSaftyPlan(row.victimId)\">\r\n <span class=\"glyphicon glyphicon-pencil\" ></span>&nbsp;Safety Plan\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;\r\n\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <mat-header-row *matHeaderRowDef=\"displayedColumns\" class=\"example-header-row\"></mat-header-row>\r\n <mat-row *matRowDef=\"let row; columns: displayedColumns\" class=\"example-row\"></mat-row>\r\n </mat-table>\r\n <mat-paginator #paginator [pageSize]=\"10\" [pageSizeOptions]=\"[5, 10, 25, 100]\"></mat-paginator>\r\n </div>\r\n </mat-card>\r\n <div>\r\n <b>{{msg}}</b>\r\n </div>\r\n</div>\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;flex-direction:column}.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;-ms-hyphens:auto;-moz-hyphens:auto;-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;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.smart-card{background-color:var(--mdc-elevated-card-container-color);border:1px solid #ccc;border-radius:8px;box-shadow:0 4px 8px #0000001a;padding:16px 0 16px 2px;width:100%}.smart-card-header{display:flex;flex-direction:column;align-items:start}.smart-label{font-size:16px!important}.smart-card-table{margin:16px 0}.smart-flex-container{display:flex!important;justify-content:space-between;flex-wrap:wrap}.smart-action-content{display:flex;justify-content:flex-end;margin:12px}.smart-button{margin:0 4px}.smart-add-button{margin:0 4px;font-size:14px!important}.material-icons{vertical-align:baseline!important}.smart-paginator{display:flex!important}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i7.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i8.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "component", type: i11.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i11.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i11.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i11.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i11.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i11.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i11.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i11.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i11.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i11.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i12.SmartAccessControlDirective, selector: "[accessControl]", inputs: ["accessControlConfig"] }, { kind: "component", type: i13.SmartVictimDetailComponent, selector: "csmart-victim-detail", inputs: ["victimDetail", "staffId", "offenderId", "isIntake"], outputs: ["onSave", "onCancel"] }, { kind: "component", type: i14.VictimSearchFormComponent, selector: "app-victim-search-form", outputs: ["onSearch"] }] }); }
269
- }
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgcSmartVictimComponent, decorators: [{
271
- type: Component,
272
- args: [{ selector: "csmart-victim", template: "<div *ngIf=\"showSearchForm\">\r\n <app-victim-search-form\r\n (onSearch)=\"getVictimList($event)\">\r\n </app-victim-search-form>\r\n</div>\r\n\r\n<div *ngIf=\"showDetail\">\r\n <csmart-victim-detail [victimDetail]=\"victimDetail\"\r\n [staffId]=\"staffId\"\r\n [offenderId] =\"offenderId\"\r\n [isIntake]=\"isIntake\"\r\n (onSave)=\"save($event)\"\r\n (onCancel)=\"cancel()\" >\r\n</csmart-victim-detail>\r\n</div>\r\n<div class=\"main-container\">\r\n <mat-card id=\"divVictim\" class=\"smart-card-table\">\r\n <div class=\"smart-action-content\">\r\n <button mat-stroked-button color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"createAccessControlConfig\"\r\n *ngIf=\"showAdd\"\r\n class=\"smart-add-button\"\r\n (click)=\"addRecord()\">\r\n <mat-icon>add</mat-icon>\r\n Add Victim\r\n </button>\r\n <button\r\n mat-stroked-button\r\n class=\"smart-add-button\"\r\n *ngIf=\"isIntake\"\r\n color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"saveIntake()\">\r\n Continue\r\n </button>\r\n </div>\r\n <div *ngIf=\"victimListDataSource.data.length > 0\">\r\n <mat-table #table [dataSource]=\"victimListDataSource\" >\r\n\r\n <ng-container matColumnDef=\"lastName\">\r\n <mat-header-cell *matHeaderCellDef>Victim Last Name</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.lastName}} </mat-cell>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"firstName\">\r\n <mat-header-cell *matHeaderCellDef >Victim First Name</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.firstName}} </mat-cell>\r\n </ng-container>\r\n\r\n <div *ngIf=\"showRelationshipColumn\">\r\n <ng-container matColumnDef=\"relationship\">\r\n <mat-header-cell *matHeaderCellDef >Relationship to Offender</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.relationship}} </mat-cell>\r\n </ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"showOffenderPhoneColumn\">\r\n <ng-container matColumnDef=\"homePhone\">\r\n <mat-header-cell *matHeaderCellDef >Phone Number</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" >\r\n Home phone: {{formatPhoneNumber(row.homePhone)}}<br>\r\n Cell Phone: {{formatPhoneNumber(row.cellPhone)}}<br>\r\n Work Phone: {{formatPhoneNumber(row.workPhone)}}\r\n\r\n </mat-cell>\r\n </ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"showOffenderNameColumn\">\r\n <ng-container matColumnDef=\"offenderName\">\r\n <mat-header-cell *matHeaderCellDef>Offender Name</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" > {{row.offenderName}} </mat-cell>\r\n </ng-container>\r\n </div>\r\n\r\n <ng-container matColumnDef=\"victimId\">\r\n <mat-header-cell *matHeaderCellDef ></mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" >\r\n\r\n <!-- <div *ngIf=\"accessByModule\">\r\n <mat-checkbox></mat-checkbox>\r\n </div> -->\r\n\r\n <div *ngIf=\"showEdit\">\r\n <button class=\"edit-btn\" mat-icon-button color=\"primary\" matTooltip=\"View/Edit Victim\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"editVictimDetail(row)\">\r\n <i class=\"material-icons\">mode_edit</i>\r\n </button>\r\n </div>\r\n\r\n\r\n\r\n &nbsp;&nbsp;\r\n\r\n <div *ngIf=\"showCaseNote\">\r\n <button type=\"button\" matTooltip=\"CaseNote\" mat-stroked-button color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"goToCaseNote(row.victimId)\">\r\n <span class=\"glyphicon glyphicon-pencil\" ></span>&nbsp;Case Note\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;\r\n\r\n <div *ngIf=\"showSafetyPlan\">\r\n <button type=\"button\" matTooltip=\"safety plan\" mat-stroked-button color=\"primary\"\r\n accessControl\r\n [accessControlConfig]=\"updateAccessControlConfig\"\r\n (click)=\"goToSaftyPlan(row.victimId)\">\r\n <span class=\"glyphicon glyphicon-pencil\" ></span>&nbsp;Safety Plan\r\n </button>\r\n </div>\r\n &nbsp;&nbsp;\r\n\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <mat-header-row *matHeaderRowDef=\"displayedColumns\" class=\"example-header-row\"></mat-header-row>\r\n <mat-row *matRowDef=\"let row; columns: displayedColumns\" class=\"example-row\"></mat-row>\r\n </mat-table>\r\n <mat-paginator #paginator [pageSize]=\"10\" [pageSizeOptions]=\"[5, 10, 25, 100]\"></mat-paginator>\r\n </div>\r\n </mat-card>\r\n <div>\r\n <b>{{msg}}</b>\r\n </div>\r\n</div>\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;flex-direction:column}.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;-ms-hyphens:auto;-moz-hyphens:auto;-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;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.smart-card{background-color:var(--mdc-elevated-card-container-color);border:1px solid #ccc;border-radius:8px;box-shadow:0 4px 8px #0000001a;padding:16px 0 16px 2px;width:100%}.smart-card-header{display:flex;flex-direction:column;align-items:start}.smart-label{font-size:16px!important}.smart-card-table{margin:16px 0}.smart-flex-container{display:flex!important;justify-content:space-between;flex-wrap:wrap}.smart-action-content{display:flex;justify-content:flex-end;margin:12px}.smart-button{margin:0 4px}.smart-add-button{margin:0 4px;font-size:14px!important}.material-icons{vertical-align:baseline!important}.smart-paginator{display:flex!important}\n"] }]
273
- }], ctorParameters: () => [{ type: i1.MatDialog }, { type: i2.NgcSmartVictimService }, { type: i3.Router }, { type: i3.ActivatedRoute }, { type: i4.MatSnackBar }, { type: i5.IntakeServicesComponent }, { type: undefined, decorators: [{
274
- type: Inject,
275
- args: [SMART_WARRANT_URL]
276
- }] }, { type: undefined, decorators: [{
277
- type: Inject,
278
- args: [DOCUMENT]
279
- }] }], propDecorators: { offenderId: [{
280
- type: Input
281
- }], staffId: [{
282
- type: Input
283
- }], staffRole: [{
284
- type: Input
285
- }], showCaseNote: [{
286
- type: Input
287
- }], showSafetyPlan: [{
288
- type: Input
289
- }], showAdd: [{
290
- type: Input
291
- }], showEdit: [{
292
- type: Input
293
- }], showRelationshipColumn: [{
294
- type: Input
295
- }], showOffenderNameColumn: [{
296
- type: Input
297
- }], showOffenderPhoneColumn: [{
298
- type: Input
299
- }], showSearchForm: [{
300
- type: Input
301
- }], accessByModule: [{
302
- type: Input
303
- }], intakeFlag: [{
304
- type: Input
305
- }], appModuleId: [{
306
- type: Input
307
- }], activatedRoute: [{
308
- type: Input
309
- }], paginator: [{
310
- type: ViewChild,
311
- args: [MatPaginator]
312
- }], sort: [{
313
- type: ViewChild,
314
- args: [MatSort]
315
- }] } });
316
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nYy1zbWFydC12aWN0aW0vc3JjL2xpYi9zbWFydC12aWN0aW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmdjLXNtYXJ0LXZpY3RpbS9zcmMvbGliL3NtYXJ0LXZpY3RpbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFZLE1BQU0saUJBQWlCLENBQUM7QUFDckQsT0FBTyxFQUFFLFNBQVMsRUFBcUIsU0FBUyxFQUFFLEtBQUssRUFBeUIsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzdHLE9BQU8sRUFBRSxjQUFjLEVBQUMsTUFBTSxFQUFFLE1BQU0saUJBQWl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VwiKTtcclxuICAgIH1cclxuXHJcbiAgICB0aGlzLmRpc3BsYXllZENvbHVtbnMucHVzaChcInZpY3RpbUlkXCIpO1xyXG5cclxuICAgIGlmICh0aGlzLnNob3dTZWFyY2hGb3JtID09IHRydWUpIHtcclxuICAgICAgdGhpcy5zaG93TGlzdEZsYWcgPSBmYWxzZTtcclxuICAgIH1cclxuXHJcbiAgICBjb25zb2xlLmxvZyhcInRoaXMuc2hvd1NlYXJjaEZvcm1cIik7XHJcbiAgICBjb25zb2xlLmxvZyh0aGlzLnNob3dTZWFyY2hGb3JtKTtcclxuICAgIGNvbnNvbGUubG9nKFwibXlQYXRoXCIpO1xyXG4gICAgY29uc29sZS5sb2cobXlQYXRoKTtcclxuXHJcbiAgICBpZiAoXHJcbiAgICAgIHRoaXMuc2hvd1NlYXJjaEZvcm0gPT0gZmFsc2UgfHxcclxuICAgICAgbXlQYXRoID09IFwidmljdGltTGlzdFwiIHx8XHJcbiAgICAgIG15UGF0aCA9PSBcInZpY3RpbUhvbWVcIlxyXG4gICAgKSB7XHJcbiAgICAgIHZhciBteU9mZmVuZGVySWQ7XHJcbiAgICAgIGlmICh0aGlzLm9mZmVuZGVySWQpIHtcclxuICAgICAgICBteU9mZmVuZGVySWQgPSB0aGlzLm9mZmVuZGVySWQ7XHJcbiAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgY29uc29sZS5sb2coXCJiYWNrIGZyb20gcHJldmlvdXMgcGFnZVwiKTtcclxuICAgICAgICB0aGlzLnNob3dBZGQgPSB0cnVlO1xyXG4gICAgICAgIHRoaXMuc2hvd1JlbGF0aW9uc2hpcENvbHVtbiA9IHRydWU7XHJcbiAgICAgICAgLy90aGlzLmRpc3BsYXllZENvbHVtbnMucHVzaChcInJlbGF0aW9uc2hpcFwiKTtcclxuICAgICAgICB0aGlzLnNob3dPZmZlbmRlclBob25lQ29sdW1uID0gdHJ1ZTtcclxuICAgICAgICAvLyB0aGlzLmRpc3BsYXllZENvbHVtbnMucHVza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cInZpY3RpbSBkYXRhIGF0IGxpbmUgMjQ1XCIpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2codGhpcy52aWN0aW1zKTtcclxuICAgICAgICAgIGNvbnNvbGUubG9nKFwic2hvd0xpc3RGbGFnXCIpO1xyXG4gICAgICAgICAgY29uc29sZS5sb2codGhpcy5zaG93TGlzdEZsYWcpO1xyXG4gICAgICAgICAgdGhpcy5zaG93TGlzdEZsYWcgPSB0cnVlO1xyXG4gICAgICAgICAgaWYgKGRhdGEubGVuZ3RoID09IDApIHtcclxuICAgICAgICAgICAgdGhpcy5tc2cgPSBcIk5vIFJlY29yZCBGb3VuZCFcIjtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9KTtcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgIGNvbnNvbGUubG9nKFwiZmluZCBmaWx0ZXJcIik7XHJcbiAgICAgIGNvbnNvbGUubG9nKHRoaXMudmljdGltTGlzdEZpbHRlcik7XHJcblxyXG4gICAgICBpZiAodGhpcy5zaG93TGlzdEZsYWcgPT09IHRydWUpIHtcclxuICAgICAgICBpZiAodGhpcy52aWN0aW1MaXN0RmlsdGVyICE9IG51bGwpIHtcclxuICAgICAgICAgIHRoaXMudmljdGltU2VydmljZVxyXG4gICAgICAgICAgICAuZ2V0VmljdGltTGlzdEJ5RmlsdGVyKHRoaXMudmljdGltTGlzdEZpbHRlcilcclxuICAgICAgICAgICAgLnN1YnNjcmliZSgoZGF0YTogVmljdGltW10pID0+IHtcclxuICAgICAgICAgICAgICB0aGlzLnZpY3RpbXMgPSBkYXRhO1xyXG4gICAgICAgICAgICAgIHRoaXMudmljdGltTGlzdERhdGFTb3VyY2UuZGF0YSA9IGRhdGE7XHJcblxyXG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKFwidmljdGltIGRhdGEgYXQgbGluZSAyNzlcIik7XHJcbiAgICAgICAgICAgICAgY29uc29sZS5sb2coZGF0YSk7XHJcbiAgICAgICAgICAgIH0pO1xyXG4gICAgICAg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vU3BpbiA9IHRydWU7XHJcbiAgICB0aGlzLnZpY3RpbVNlcnZpY2UuZ2V0VmljdGltTGlzdEJ5RmlsdGVyKGZpbHRlcikuc3Vic2NyaWJlKFxyXG4gICAgICAoZGF0YTogVmljdGltW10pID0+IHtcclxuICAgICAgIHRoaXMuZG9TcGluID0gIXRoaXMuZG9TcGluO1xyXG5cclxuICAgICAgICBpZiAoZGF0YS5sZW5ndGggPiAwKSB7XHJcbiAgICAgICAgICB0aGlzLnNob3dMaXN0RmxhZyA9IHRydWU7XHJcbiAgICAgICAgICB0aGlzLnZpY3RpbUxpc3REYXRhU291cmNlLmRhdGEgPSBkYXRhO1xyXG5cclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgdGhpcy5tc2cgPSBcIk5vIHJlY29yZCBmb3VuZCFcIjtcclxuICAgICAgICB9XHJcbiAgICAgIH0sXHJcbiAgICAgIChlcnIpID0+IHtcclxuICAgICAgICB0aGlzLmRvU3BpbiA9ICF0aGlzLmRvU3BpbjtcclxuICAgICAgfVxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIiwiPGRpdiAqbmdJZj1cInNob3dTZWFyY2hGb3JtXCI+XHJcbiAgICA8YXBwLXZpY3RpbS1zZWFyY2gtZm9ybVxyXG4gICAgKG9uU2VhcmNoKT1cImdldFZpY3RpbUxpc3QoJGV2ZW50KVwiPlxyXG4gICAgPC9hcHAtdmljdGltLXNlYXJjaC1mb3JtPlxyXG48L2Rpdj5cclxuXHJcbjxkaXYgKm5nSWY9XCJzaG93RGV0YWlsXCI+XHJcbiAgPGNzbWFydC12aWN0aW0tZGV0YWlsIFt2aWN0aW1EZXRhaWxdPVwidmljdGltRGV0YWlsXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgW3N0YWZmSWRdPVwic3RhZmZJZFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtvZmZlbmRlcklkXSA9XCJvZmZlbmRlcklkXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgW2lzSW50YWtlXT1cImlzSW50YWtlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgKG9uU2F2ZSk9XCJzYXZlKCRldmVudClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAob25DYW5jZWwpPVwiY2FuY2VsKClcIiA+XHJcbjwvY3NtYXJ0LXZpY3RpbS1kZXRhaWw+XHJcbjwvZGl2PlxyXG48ZGl2IGNsYXNzPVwibWFpbi1jb250YWluZXJcIj5cclxuICAgIDxtYXQtY2FyZCBpZD1cImRpdlZpY3RpbVwiIGNsYXNzPVwic21hcnQtY2FyZC10YWJsZVwiPlxyXG4gICAgICA8ZGl2IGNsYXNzPVwic21hcnQtYWN0aW9uLWNvbnRlbnRcIj5cclxuICAgICAgICA8YnV0dG9uIG1hdC1zdHJva2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIlxyXG4gICAgICAgICAgYWNjZXNzQ29udHJvbFxyXG4gICAgICAgICAgW2FjY2Vzc0NvbnRyb2xDb25maWddPVwiY3JlYXRlQWNjZXNzQ29udHJvbENvbmZpZ1wiXHJcbiAgICAgICAgICAqbmdJZj1cInNob3dBZGRcIlxyXG4gICAgICAgICAgY2xhc3M9XCJzbWFydC1hZGQtYnV0dG9uXCJcclxuICAgICAgICAgIChjbGljayk9XCJhZGRSZWNvcmQoKVwiPlxyXG4gICAgICAgICAgPG1hdC1pY29uPmFkZDwvbWF0LWljb24+XHJcbiAgICAgICAgICBBZGQgVmljdGltXHJcbiAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgPGJ1dHRvblxyXG4gICAgICAgICAgbWF0LXN0cm9rZWQtYnV0dG9uXHJcbiAgICAgICAgICBjbGFzcz1cInNtYXJ0LWFkZC1idXR0b25cIlxyXG4gICAgICAgICAgKm5nSWY9XCJpc0ludGFrZVwiXHJcbiAgICAgICAgICBjb2xvcj1cInByaW1hcnlcIlxyXG4gICAgICAgICAgYWNjZXNzQ29udHJvbFxyXG4gICAgICAgICAgW2FjY2V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ICAqbmdJZj1cInNob3dSZWxhdGlvbnNoaXBDb2x1bW5cIj5cclxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwicmVsYXRpb25zaGlwXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiA+UmVsYXRpb25zaGlwIHRvIE9mZmVuZGVyPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IHJvd1wiID4ge3tyb3cucmVsYXRpb25zaGlwfX0gPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgIDxkaXYgICpuZ0lmPVwic2hvd09mZmVuZGVyUGhvbmVDb2x1bW5cIj5cclxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwiaG9tZVBob25lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiA+UGhvbmUgTnVtYmVyPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IHJvd1wiID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgSG9tZSBwaG9uZToge3tmb3JtYXRQaG9uZU51bWJlcihyb3cuaG9tZVBob25lKX19PGJyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBDZWxsIFBob25lOiB7e2Zvcm1hdFBob25lTnVtYmVyKHJvdy5jZWxsUGhvbmUpfX08YnI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFdvcmsgUGhvbmU6IHt7Zm9ybWF0UGhvbmVOdW1iZXIocm93LndvcmtQaG9uZSl9fVxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93T2ZmZW5kZXJOYW1lQ29sdW1uXCI+XHJcbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIG1hdENvbHVtbkRlZj1cIm9mZmVuZGVyTmFtZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmPk9mZmVuZGVyIE5hbWU8L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1jZWxsICptYXRDZWxsRGVmPVwibGV0IHJvd1wiID4ge3tyb3cub2ZmZW5kZXJOYW1lfX0gPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwidmljdGltSWRcIj5cclxuICAgICAgICAgICAgICA8bWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmID48L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiA+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDwhLS0gPGRpdiAgKm5nSWY9XCJhY2Nlc3NCeU1vZHVsZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWNoZWNrYm94PjwvbWF0LWNoZWNrYm94PlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PiAtLT5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCJzaG93RWRpdFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiZWRpdC1idG5cIiAgbWF0LWljb24tYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiICBtYXRUb29sdGlwPVwiVmlldy9FZGl0IFZpY3RpbVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhY2Nlc3NDb250cm9sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYWNjZXNzQ29udHJvbENvbmZpZ109XCJ1cGRhdGVBY2Nlc3NDb250cm9sQ29uZmlnXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJlZGl0VmljdGltRGV0YWlsKHJvdylcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwibWF0ZXJpYWwtaWNvbnNcIj5tb2RlX2VkaXQ8L2k+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuXHJcblxyXG4gICAgICAgICAgICAgICAgICAgICZuYnNwOyZuYnNwO1xyXG5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2ICAqbmdJZj1cInNob3dDYXNlTm90ZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiBtYXRUb29sdGlwPVwiQ2FzZU5vdGVcIiAgbWF0LXN0cm9rZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFjY2Vzc0NvbnRyb2xcclxuICAgICAgICAgICAgICAgICAgICAgICAgW2FjY2Vzc0NvbnRyb2xDb25maWddPVwidXBkYXRlQWNjZXNzQ29udHJvbENvbmZpZ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJnb1RvQ2FzZU5vdGUocm93LnZpY3RpbUlkKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImdseXBoaWNvbiBnbHlwaGljb24tcGVuY2lsXCIgPjwvc3Bhbj4mbmJzcDtDYXNlIE5vdGVcclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAmbmJzcDsmbmJzcDtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICAqbmdJZj1cInNob3dTYWZldHlQbGFuXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCIgIG1hdFRvb2x0aXA9XCJzYWZldHkgcGxhblwiIG1hdC1zdHJva2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgYWNjZXNzQ29udHJvbFxyXG4gICAgICAgICAgICAgICAgICAgICAgW2FjY2Vzc0NvbnRyb2xDb25maWddPVwidXBkYXRlQWNjZXNzQ29udHJvbENvbmZpZ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZ29Ub1NhZnR5UGxhbihyb3cudmljdGltSWQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImdseXBoaWNvbiBnbHlwaGljb24tcGVuY2lsXCIgPjwvc3Bhbj4mbmJzcDtTYWZldHkgUGxhblxyXG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICZuYnNwOyZuYnNwO1xyXG5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWNlbGw+XHJcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICAgICAgPG1hdC1oZWFkZXItcm93ICptYXRIZWFkZXJSb3dEZWY9XCJkaXNwbGF5ZWRDb2x1bW5zXCIgY2xhc3M9XCJleGFtcGxlLWhlYWRlci1yb3dcIj48L21hdC1oZWFkZXItcm93PlxyXG4gICAgICAgICAgICA8bWF0LXJvdyAqbWF0Um93RGVmPVwibGV0IHJvdzsgY29sdW1uczogZGlzcGxheWVkQ29sdW1uc1wiIGNsYXNzPVwiZXhhbXBsZS1yb3dcIj48L21hdC1yb3c+XHJcbiAgICAgICAgPC9tYXQtdGFibGU+XHJcbiAgICAgICAgPG1hdC1wYWdpbmF0b3IgI3BhZ2luYXRvciBbcGFnZVNpemVdPVwiMTBcIiBbcGFnZVNpemVPcHRpb25zXT1cIls1LCAxMCwgMjUsIDEwMF1cIj48L21hdC1wYWdpbmF0b3I+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9tYXQtY2FyZD5cclxuICAgIDxkaXY+XHJcbiAgICAgICAgPGI+e3ttc2d9fTwvYj5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -1,133 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const SMART_OFFENDER_SERVICE_URL = new InjectionToken('smart offender service url');
3
- export const SMART_LOOKUP_SERVICE_URL = new InjectionToken('smart lookup service url');
4
- export const SMART_VICTIM_SERVICE_URL = new InjectionToken('smart victim service url');
5
- export const SMART_WARRANT_URL = new InjectionToken('smart warrant web url');
6
- export class VictimListFilter {
7
- }
8
- export class VictimAdvocate {
9
- constructor(victimAdvocateId, lastName, firstName, prefixId, suffixId, addressId, noPhoneFlag, homePhone, workPhone, cellPhone, email, modifiedBy) {
10
- this.victimAdvocateId = victimAdvocateId;
11
- this.lastName = lastName;
12
- this.firstName = firstName;
13
- this.prefixId = prefixId;
14
- this.suffixId = suffixId;
15
- this.addressId = addressId;
16
- this.noPhoneFlag = noPhoneFlag;
17
- this.homePhone = homePhone;
18
- this.workPhone = workPhone;
19
- this.cellPhone = cellPhone;
20
- this.email = email;
21
- this.modifiedBy = modifiedBy;
22
- }
23
- }
24
- export class VictimWeaponUse {
25
- constructor(
26
- // public victimWeaponUseId: number,
27
- victimId, weaponTypeId, otherWeapon, modifiedBy) {
28
- this.victimId = victimId;
29
- this.weaponTypeId = weaponTypeId;
30
- this.otherWeapon = otherWeapon;
31
- this.modifiedBy = modifiedBy;
32
- }
33
- }
34
- export class VictimDrugUse {
35
- constructor(
36
- //public victimDrugUseId: number,
37
- victimId, drugTypeId, otherDrug, modifiedBy) {
38
- this.victimId = victimId;
39
- this.drugTypeId = drugTypeId;
40
- this.otherDrug = otherDrug;
41
- this.modifiedBy = modifiedBy;
42
- }
43
- }
44
- export class VictimSupport {
45
- constructor(
46
- // public victimSupportId: number,
47
- victimId, victimSupportTypeId, modifiedBy) {
48
- this.victimId = victimId;
49
- this.victimSupportTypeId = victimSupportTypeId;
50
- this.modifiedBy = modifiedBy;
51
- }
52
- }
53
- export class VictimGuardian {
54
- constructor(victimGuardianId, lastName, firstName, prefixId, suffixId, birthDate, addressId, noPhoneFlag, homePhone, workPhone, cellPhone, email, modifiedBy) {
55
- this.victimGuardianId = victimGuardianId;
56
- this.lastName = lastName;
57
- this.firstName = firstName;
58
- this.prefixId = prefixId;
59
- this.suffixId = suffixId;
60
- this.birthDate = birthDate;
61
- this.addressId = addressId;
62
- this.noPhoneFlag = noPhoneFlag;
63
- this.homePhone = homePhone;
64
- this.workPhone = workPhone;
65
- this.cellPhone = cellPhone;
66
- this.email = email;
67
- this.modifiedBy = modifiedBy;
68
- }
69
- }
70
- export class Victim {
71
- constructor(victimId, offenderId, underSupervisionFlag, victimOffenderRelationshipTypeId, lastName, firstName, middleName, prefixId, suffixId, birthDate, genderCode, homePhone, workPhone, cellPhone, email, addressId, minorFlag, victimAdvocateFlag, guardianFirstName, guardianLastName, guardianPrefixId, guardianSuffixId, guardianNoPhoneFlag, guardianHomePhone, guardianWorkPhone, guardianCellPhone, guardianEmail, guardianAddressId, guardianBirthDate, advocateFirstName, advocateLastName, advocatePrefixId, advocateSuffixId, advocateNoPhoneFlag, advocateHomePhone, advocateWorkPhone, advocateCellPhone, advocateEmail, advocateAddressId, emergencyContact, emergencyContactPhone, commonChildrenFlag, commonChildrenNumber, cpoExpirationFlag, cpoExpirationDate, supportInPlaceFlag, weaponInvolvedFlag, drugUseFlag, alcoholUseFlag, accessRisk, modifiedBy, relationship, vVictimAdvocate, vVictimGuardian, victimSupports, victimWeaponUses, victimDrugUses, allowCsosaContactFlag, liveWithOffenderFlag) {
72
- this.victimId = victimId;
73
- this.offenderId = offenderId;
74
- this.underSupervisionFlag = underSupervisionFlag;
75
- this.victimOffenderRelationshipTypeId = victimOffenderRelationshipTypeId;
76
- this.lastName = lastName;
77
- this.firstName = firstName;
78
- this.middleName = middleName;
79
- this.prefixId = prefixId;
80
- this.suffixId = suffixId;
81
- this.birthDate = birthDate;
82
- this.genderCode = genderCode;
83
- this.homePhone = homePhone;
84
- this.workPhone = workPhone;
85
- this.cellPhone = cellPhone;
86
- this.email = email;
87
- this.addressId = addressId;
88
- this.minorFlag = minorFlag;
89
- this.victimAdvocateFlag = victimAdvocateFlag;
90
- this.guardianFirstName = guardianFirstName;
91
- this.guardianLastName = guardianLastName;
92
- this.guardianPrefixId = guardianPrefixId;
93
- this.guardianSuffixId = guardianSuffixId;
94
- this.guardianNoPhoneFlag = guardianNoPhoneFlag;
95
- this.guardianHomePhone = guardianHomePhone;
96
- this.guardianWorkPhone = guardianWorkPhone;
97
- this.guardianCellPhone = guardianCellPhone;
98
- this.guardianEmail = guardianEmail;
99
- this.guardianAddressId = guardianAddressId;
100
- this.guardianBirthDate = guardianBirthDate;
101
- this.advocateFirstName = advocateFirstName;
102
- this.advocateLastName = advocateLastName;
103
- this.advocatePrefixId = advocatePrefixId;
104
- this.advocateSuffixId = advocateSuffixId;
105
- this.advocateNoPhoneFlag = advocateNoPhoneFlag;
106
- this.advocateHomePhone = advocateHomePhone;
107
- this.advocateWorkPhone = advocateWorkPhone;
108
- this.advocateCellPhone = advocateCellPhone;
109
- this.advocateEmail = advocateEmail;
110
- this.advocateAddressId = advocateAddressId;
111
- this.emergencyContact = emergencyContact;
112
- this.emergencyContactPhone = emergencyContactPhone;
113
- this.commonChildrenFlag = commonChildrenFlag;
114
- this.commonChildrenNumber = commonChildrenNumber;
115
- this.cpoExpirationFlag = cpoExpirationFlag;
116
- this.cpoExpirationDate = cpoExpirationDate;
117
- this.supportInPlaceFlag = supportInPlaceFlag;
118
- this.weaponInvolvedFlag = weaponInvolvedFlag;
119
- this.drugUseFlag = drugUseFlag;
120
- this.alcoholUseFlag = alcoholUseFlag;
121
- this.accessRisk = accessRisk;
122
- this.modifiedBy = modifiedBy;
123
- this.relationship = relationship;
124
- this.vVictimAdvocate = vVictimAdvocate;
125
- this.vVictimGuardian = vVictimGuardian;
126
- this.victimSupports = victimSupports;
127
- this.victimWeaponUses = victimWeaponUses;
128
- this.victimDrugUses = victimDrugUses;
129
- this.allowCsosaContactFlag = allowCsosaContactFlag;
130
- this.liveWithOffenderFlag = liveWithOffenderFlag;
131
- }
132
- }
133
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmdjLXNtYXJ0LXZpY3RpbS9zcmMvbGliL3NtYXJ0LXZpY3RpbS5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRy9DLE1BQU0sQ0FBQyxNQUFNLDBCQUEwQixHQUFHLElBQUksY0FBYyxDQUFTLDRCQUE0QixDQUFDLENBQUM7QUFDbkcsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQUcsSUFBSSxjQUFjLENBQVMsMEJBQTBCLENBQUMsQ0FBQztBQUMvRixNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FBRyxJQUFJLG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HN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIGNlbGxQaG9uZTogc3RyaW5nLFxyXG5cclxuICAgICAgICBwdWJsaWMgZW1haWw6IHN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIG1vZGlmaWVkQnk6IG51bWJlclxyXG5cclxuICAgICAgIFxyXG4pIHsgfVxyXG59XHJcblxyXG5cclxuZXhwb3J0IGNsYXNzIFZpY3RpbVdlYXBvblVzZSB7XHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgIC8vIHB1YmxpYyB2aWN0aW1XZWFwb25Vc2VJZDogbnVtYmVyLFxyXG5cclxuICAgICAgICBwdWJsaWMgdmljdGltSWQ6IG51bWJlcixcclxuXHJcbiAgICAgICAgcHVibGljIHdlYXBvblR5cGVJZDogc3RyaW5nLFxyXG5cclxuICAgICAgICBwdWJsaWMgb3RoZXJXZWFwb246IHN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIG1vZGlmaWVkQnk6IG51bWJlclxyXG5cclxuICAgICAgICApIHsgfVxyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgVmljdGltRHJ1Z1VzZSB7XHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgICAvL3B1YmxpYyB2aWN0aW1EcnVnVXNlSWQ6IG51bWJlcixcclxuXHJcbiAgICAgICAgcHVibGljIHZpY3RpbUlkOiBudW1iZXIsXHJcblxyXG4gICAgICAgIHB1YmxpYyBkcnVnVHlwZUlkOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIHB1YmxpYyBvdGhlckRydWc6IHN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIG1vZGlmaWVkQnk6IG51bWJlclxyXG5cclxuICAgICkgeyB9XHJcbn1cclxuXHJcblxyXG5cclxuXHJcbmV4cG9ydCBjbGFzcyBWaWN0aW1TdXBwb3J0IHtcclxuICAgIGNvbnN0cnVjdG9yKFxyXG4gICAgICAgLy8gcHVibGljIHZpY3RpbVN1cHBvcnRJZDogbnVtYmVyLFxyXG5cclxuICAgICAgICBwdWJsaWMgdmljdGltSWQ6IG51bWJlcixcclxuXHJcbiAgICAgICAgcHVibGljIHZpY3RpbVN1cHBvcnRUeXBlSWQ6IHN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIG1vZGlmaWVkQnk6IG51bWJlclxyXG5cclxuICAgICAgKSB7IH1cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIFZpY3RpbUd1YXJkaWFuIHtcclxuICAgIGNvbnN0cnVjdG9yKHB1YmxpYyB2aWN0aW1HdWFyZGlhbklkOiBudW1iZXIsXHJcblxyXG4gICAgICAgIHB1YmxpYyBsYXN0TmFtZTogc3RyaW5nLFxyXG5cclxuICAgICAgICBwdWJsaWMgZmlyc3ROYW1lOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIHB1YmxpYyBwcmVmaXhJZDogc3RyaW5nLFxyXG5cclxuICAgICAgICBwdWJsaWMgc3VmZml4SWQ6IHN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIGJpcnRoRGF0ZTogc3RyaW5nLFxyXG5cclxuICAgICAgICBwdWJsaWMgYWRkcmVzc0lkOiBudW1iZXIsXHJcblxyXG4gICAgICAgIHB1YmxpYyBub1Bob25lRmxhZzogYm9vbGVhbixcclxuXHJcbiAgICAgICAgcHVibGljIGhvbWVQaG9uZTogc3RyaW5nLFxyXG5cclxuICAgICAgICBwdWJsaWMgd29ya1Bob25lOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIHB1YmxpYyBjZWxsUGhvbmU6IHN0cmluZyxcclxuXHJcbiAgICAgICAgcHVibGljIGVtYWlsOiBzdHJpbmcsXHJcblxyXG4gICAgICAgIHB1YmxpYyBtb2RpZmllZEJ5OiBudW1iZXJcclxuICAgICAgICBcclxuICAgICAgICBcclxuXHJcbiAgICAgICApIHsgfVxyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIENhc2VOb3RlIHtcclxuICAgIHZpY3RpbUlkOiBudW1iZXI7XHJcbiAgICB2aWN0aW1DYXNlTm90ZUlkOiBudW1iZXI7XHJcbiAgICBjYXNlTm90ZURhdGU6IERhdGU7XHJcbiAgICBjb250YWN0VHlwZUlkOiBzdHJpbmc7XHJcbiAgICBjb250YWN0VHlwZTogc3RyaW5nO1xyXG4gICAgdmljdGltQ29udGFjdFB1cnBvc2VJZDogc3RyaW5nO1xyXG4gICAgdmljdGltQ29udGFjdFB1cnBvc2U6IHN0cmluZztcclxuICAgIGNvbW1lbnQ6IHN0cmluZztcclxuICAgIG1vZGlmaWVkQnk6IG51bWJlcjtcclxuICAgIHZpY3RpbUZpcnN0TmFtZTogc3RyaW5nO1xyXG4gICAgdmljdGltTGFzdE5hbWU6IHN0cmluZztcclxuICBcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBDb250YWN0IHtcclxuICAgIHZpY3RpbUlkOiBudW1iZXI7XHJcbiAgICB2aWN0aW1Db250YWN0SWQ6IG51bWJlcjtcclxuICAgIGNvbnRhY3REYXRlOiBEYXRlO1xyXG4gICAgdmljdGltQ29udGFjdE1ldGhvZElkOiBzdHJpbmc7XHJcbiAgICBjb250YWN0TWV0aG9kOiBzdHJpbmc7XHJcbiAgICBjb250YWN0ZWRCeTogbnVtYmVyO1xyXG4gICAgY29udGFjdGVkQnlOYW1lOiBzdHJpbmc7XHJcbiAgICBuZXh0Q29udGFjdERhdGU6IERhdGU7XHJcbiAgICBjb21tZW50OiBzdHJpbmc7XHJcbiAgICBtb2RpZmllZEJ5OiBudW1iZXI7XHJcblxyXG4gIFxyXG59XHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBWaWN0aW1TYWZldHlQbGFuIHtcclxuICAgIHZpY3RpbUlkOiBudW1iZXI7XHJcbiAgICBmdWxsTmFtZTogc3RyaW5nO1xyXG4gICAgdmljdGltU2VydmljZUlkOiBudW1iZXI7XHJcbiAgICBnb2FsOnN0cmluZztcclxuICAgIGNvbW1lbnQ6IHN0cmluZztcclxuICAgIG1vZ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