@csmart/ngc-smart-victim 1.18.12 → 1.18.14
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/csmart-ngc-smart-victim.mjs +5 -0
- package/esm2022/lib/caseNote/caseNote.component.mjs +194 -0
- package/esm2022/lib/common-dialog/common-dialog.component.mjs +23 -0
- package/esm2022/lib/common-dialog/common-dialog.module.mjs +34 -0
- package/esm2022/lib/common-dialog/common-dialog.service.mjs +33 -0
- package/esm2022/lib/contact/contact.component.mjs +140 -0
- package/esm2022/lib/email.services.mjs +42 -0
- package/esm2022/lib/intake.service.mjs +57 -0
- package/esm2022/lib/safetyPlan/serviceProvider.component.mjs +99 -0
- package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
- package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
- package/esm2022/lib/shared/app.shared.module.mjs +215 -0
- package/esm2022/lib/shared/validators/date.validator.mjs +59 -0
- package/esm2022/lib/shared/validators/index.mjs +2 -0
- package/esm2022/lib/smart-victim-delete-confirm.component.mjs +44 -0
- package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +1155 -0
- package/esm2022/lib/smart-victim.component.mjs +317 -0
- package/esm2022/lib/smart-victim.model.mjs +142 -0
- package/esm2022/lib/smart-victim.module.mjs +128 -0
- package/esm2022/lib/smart-victim.service.mjs +370 -0
- package/esm2022/lib/victim-routing.module.mjs +41 -0
- package/esm2022/lib/victimSearch/VictimSearchFilter.mjs +3 -0
- package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +38 -0
- package/esm2022/public-api.mjs +11 -0
- package/fesm2022/csmart-ngc-smart-victim.mjs +3342 -0
- package/fesm2022/csmart-ngc-smart-victim.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/caseNote/caseNote.component.d.ts +51 -0
- package/lib/common-dialog/common-dialog.component.d.ts +14 -0
- package/lib/common-dialog/common-dialog.module.d.ts +8 -0
- package/lib/common-dialog/common-dialog.service.d.ts +11 -0
- package/lib/contact/contact.component.d.ts +40 -0
- package/lib/email.services.d.ts +11 -0
- package/lib/intake.service.d.ts +57 -0
- package/lib/safetyPlan/serviceProvider.component.d.ts +19 -0
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +54 -0
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +62 -0
- package/lib/shared/app.shared.module.d.ts +33 -0
- package/lib/shared/validators/date.validator.d.ts +9 -0
- package/lib/shared/validators/index.d.ts +1 -0
- package/lib/smart-victim-delete-confirm.component.d.ts +12 -0
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +129 -0
- package/lib/smart-victim.component.d.ts +69 -0
- package/lib/smart-victim.model.d.ts +211 -0
- package/lib/smart-victim.module.d.ts +49 -0
- package/lib/smart-victim.service.d.ts +71 -0
- package/lib/victim-routing.module.d.ts +7 -0
- package/{src/lib/victimSearch/VictimSearchFilter.ts → lib/victimSearch/VictimSearchFilter.d.ts} +7 -9
- package/lib/victimSearch/victimSearchForm.component.d.ts +14 -0
- package/package.json +21 -6
- package/{src/public-api.ts → public-api.d.ts} +7 -12
- package/karma.conf.js +0 -32
- package/ng-package.json +0 -7
- package/src/lib/caseNote/caseNote.component.css +0 -22
- package/src/lib/caseNote/caseNote.component.html +0 -188
- package/src/lib/caseNote/caseNote.component.ts +0 -265
- package/src/lib/common-dialog/common-dialog.component.css +0 -10
- package/src/lib/common-dialog/common-dialog.component.html +0 -23
- package/src/lib/common-dialog/common-dialog.component.spec.ts +0 -25
- package/src/lib/common-dialog/common-dialog.component.ts +0 -21
- package/src/lib/common-dialog/common-dialog.module.ts +0 -22
- package/src/lib/common-dialog/common-dialog.service.ts +0 -35
- package/src/lib/contact/contact.component.css +0 -22
- package/src/lib/contact/contact.component.html +0 -124
- package/src/lib/contact/contact.component.ts +0 -176
- package/src/lib/email-notification.service.ts +0 -42
- package/src/lib/email.services.ts +0 -51
- package/src/lib/http.service.ts +0 -34
- package/src/lib/intake.service.ts +0 -82
- package/src/lib/loader.service.ts +0 -11
- package/src/lib/safetyPlan/serviceProvider.component.ts +0 -94
- package/src/lib/safetyPlan/victimSafetyPlan.component.css +0 -27
- package/src/lib/safetyPlan/victimSafetyPlan.component.html +0 -85
- package/src/lib/safetyPlan/victimSafetyPlan.component.ts +0 -178
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.html +0 -234
- package/src/lib/safetyPlan/victimSafetyPlanDetail.component.ts +0 -492
- package/src/lib/shared/app.shared.module.ts +0 -111
- package/src/lib/shared/validators/date.validator.ts +0 -73
- package/src/lib/shared/validators/index.ts +0 -1
- package/src/lib/smart-victim-delete-confirm.component.ts +0 -35
- package/src/lib/smart-victim-detail/smart-victim-detail.component.css +0 -43
- package/src/lib/smart-victim-detail/smart-victim-detail.component.html +0 -876
- package/src/lib/smart-victim-detail/smart-victim-detail.component.spec.ts +0 -25
- package/src/lib/smart-victim-detail/smart-victim-detail.component.ts +0 -1469
- package/src/lib/smart-victim.component.css +0 -245
- package/src/lib/smart-victim.component.html +0 -132
- package/src/lib/smart-victim.component.spec.ts +0 -25
- package/src/lib/smart-victim.component.ts +0 -333
- package/src/lib/smart-victim.model.ts +0 -311
- package/src/lib/smart-victim.module.ts +0 -110
- package/src/lib/smart-victim.service.spec.ts +0 -12
- package/src/lib/smart-victim.service.ts +0 -576
- package/src/lib/victim-routing.module.ts +0 -36
- package/src/lib/victimSearch/victimSearchForm.component.html +0 -35
- package/src/lib/victimSearch/victimSearchForm.component.ts +0 -41
- package/src/test.ts +0 -16
- package/tsconfig.lib.json +0 -36
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -17
@@ -1,35 +0,0 @@
|
|
1
|
-
import { Component, OnInit, Inject } from '@angular/core';
|
2
|
-
import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material/dialog';
|
3
|
-
|
4
|
-
@Component({
|
5
|
-
selector: 'csmart-victim-delete-confirm',
|
6
|
-
template: `
|
7
|
-
<h1 mat-dialog-title>Delete Confirmation</h1>
|
8
|
-
<div mat-dialog-content>
|
9
|
-
<p>Are you sure you want to delete this item?</p>
|
10
|
-
</div>
|
11
|
-
<div mat-dialog-actions class="actions">
|
12
|
-
<button mat-flat-button color="primary" (click)="onNoClick()">No</button>
|
13
|
-
<button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
|
14
|
-
</div>
|
15
|
-
`,
|
16
|
-
styles: [`
|
17
|
-
.actions{
|
18
|
-
display: flex;
|
19
|
-
justify-content: space-between;
|
20
|
-
}
|
21
|
-
`]
|
22
|
-
})
|
23
|
-
export class SmartVictimDeleteConfirmComponent implements OnInit {
|
24
|
-
|
25
|
-
constructor( public dialogRef: MatDialogRef<SmartVictimDeleteConfirmComponent>,
|
26
|
-
@Inject(MAT_DIALOG_DATA) public data: any) { }
|
27
|
-
|
28
|
-
onNoClick(): void {
|
29
|
-
this.dialogRef.close();
|
30
|
-
}
|
31
|
-
|
32
|
-
ngOnInit() {
|
33
|
-
}
|
34
|
-
|
35
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
|
2
|
-
mat-form-field {
|
3
|
-
width: 100%;
|
4
|
-
}
|
5
|
-
.container{
|
6
|
-
margin: 16px;
|
7
|
-
display: grid;
|
8
|
-
grid-template-columns: repeat(2, 1fr);
|
9
|
-
grid-gap: 10px;
|
10
|
-
grid-auto-rows: minmax(50px, auto);
|
11
|
-
justify-items: stretch;
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
@media only screen and (max-width: 1120px) {
|
16
|
-
.container{
|
17
|
-
display: grid;
|
18
|
-
grid-template-columns: 1fr 1fr;
|
19
|
-
grid-row-gap: 15px;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
@media only screen and (max-width: 675px) {
|
24
|
-
.container{
|
25
|
-
display: flex;
|
26
|
-
flex-direction: column;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
#outer
|
31
|
-
{
|
32
|
-
width:100%;
|
33
|
-
text-align: center;
|
34
|
-
}
|
35
|
-
.inner
|
36
|
-
{
|
37
|
-
display: inline-block;
|
38
|
-
}
|
39
|
-
.tp-radio-group {
|
40
|
-
display:flex ;
|
41
|
-
justify-content: space-between;
|
42
|
-
}
|
43
|
-
|