@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,215 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
3
- import { CdkTableModule } from '@angular/cdk/table';
4
- import { MatNativeDateModule, MatRippleModule } from '@angular/material/core';
5
- import { MatIconModule } from '@angular/material/icon';
6
- // import {
7
- // MatButtonModule, MatCardModule, MatCheckboxModule, MatToolbarModule, MatSelectModule, MatDatepickerModule,
8
- // MatProgressSpinnerModule, MatGridListModule, MatTableModule, MatSidenavModule, MatRadioModule, MatPaginatorModule,
9
- // // tslint:disable-next-line:whitespace
10
- // MatNativeDateModule, MatSliderModule, MatDialogModule, MatChipsModule,MatSortModule,
11
- // MatTabsModule, MatRippleModule, MatListModule, MatInputModule, MatFormFieldModule, MatStepperModule, MatExpansionModule,
12
- // } from '@angular/material';
13
- import { MatSnackBarModule } from '@angular/material/snack-bar';
14
- import { MatButtonModule } from '@angular/material/button';
15
- import { MatCardModule } from '@angular/material/card';
16
- import { MatCheckboxModule } from '@angular/material/checkbox';
17
- import { MatDatepickerModule } from '@angular/material/datepicker';
18
- import { MatDialogModule } from '@angular/material/dialog';
19
- import { MatExpansionModule } from '@angular/material/expansion';
20
- import { MatGridListModule } from '@angular/material/grid-list';
21
- import { MatInputModule } from '@angular/material/input';
22
- import { MatListModule } from '@angular/material/list';
23
- import { MatPaginatorModule } from '@angular/material/paginator';
24
- import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
25
- import { MatRadioModule } from '@angular/material/radio';
26
- import { MatSelectModule } from '@angular/material/select';
27
- import { MatSidenavModule } from '@angular/material/sidenav';
28
- import { MatSliderModule } from '@angular/material/slider';
29
- import { MatSortModule } from '@angular/material/sort';
30
- import { MatTableModule } from '@angular/material/table';
31
- import { MatTabsModule } from '@angular/material/tabs';
32
- import { MatToolbarModule } from '@angular/material/toolbar';
33
- import { MatStepperModule } from "@angular/material/stepper";
34
- import { MatChipsModule } from "@angular/material/chips";
35
- import { SmartUiModule } from '@csmart/smart-ui';
36
- import * as i0 from "@angular/core";
37
- export class SharedModule {
38
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
39
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: SharedModule, imports: [MatButtonModule,
40
- MatCardModule,
41
- MatCheckboxModule,
42
- MatToolbarModule,
43
- MatSelectModule,
44
- MatDatepickerModule,
45
- MatNativeDateModule,
46
- MatDialogModule,
47
- MatTabsModule,
48
- MatListModule,
49
- MatInputModule,
50
- MatStepperModule,
51
- BrowserAnimationsModule,
52
- MatGridListModule,
53
- MatProgressSpinnerModule,
54
- MatTableModule,
55
- MatSidenavModule,
56
- MatRadioModule,
57
- MatIconModule,
58
- MatSliderModule,
59
- MatChipsModule,
60
- MatSnackBarModule,
61
- CdkTableModule,
62
- MatSortModule,
63
- MatPaginatorModule,
64
- MatExpansionModule,
65
- MatRippleModule,
66
- SmartUiModule], exports: [MatButtonModule,
67
- MatCardModule,
68
- MatCheckboxModule,
69
- MatToolbarModule,
70
- MatSelectModule,
71
- MatDatepickerModule,
72
- MatNativeDateModule,
73
- MatDialogModule,
74
- MatTabsModule,
75
- MatListModule,
76
- MatInputModule,
77
- MatStepperModule,
78
- BrowserAnimationsModule,
79
- MatGridListModule,
80
- MatProgressSpinnerModule,
81
- MatTableModule,
82
- MatSidenavModule,
83
- MatRadioModule,
84
- MatIconModule,
85
- MatSliderModule,
86
- MatChipsModule,
87
- MatSnackBarModule,
88
- CdkTableModule,
89
- MatSortModule,
90
- MatPaginatorModule,
91
- MatExpansionModule,
92
- MatRippleModule,
93
- SmartUiModule] }); }
94
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SharedModule, imports: [MatButtonModule,
95
- MatCardModule,
96
- MatCheckboxModule,
97
- MatToolbarModule,
98
- MatSelectModule,
99
- MatDatepickerModule,
100
- MatNativeDateModule,
101
- MatDialogModule,
102
- MatTabsModule,
103
- MatListModule,
104
- MatInputModule,
105
- MatStepperModule,
106
- BrowserAnimationsModule,
107
- MatGridListModule,
108
- MatProgressSpinnerModule,
109
- MatTableModule,
110
- MatSidenavModule,
111
- MatRadioModule,
112
- MatIconModule,
113
- MatSliderModule,
114
- MatChipsModule,
115
- MatSnackBarModule,
116
- CdkTableModule,
117
- MatSortModule,
118
- MatPaginatorModule,
119
- MatExpansionModule,
120
- MatRippleModule,
121
- SmartUiModule, MatButtonModule,
122
- MatCardModule,
123
- MatCheckboxModule,
124
- MatToolbarModule,
125
- MatSelectModule,
126
- MatDatepickerModule,
127
- MatNativeDateModule,
128
- MatDialogModule,
129
- MatTabsModule,
130
- MatListModule,
131
- MatInputModule,
132
- MatStepperModule,
133
- BrowserAnimationsModule,
134
- MatGridListModule,
135
- MatProgressSpinnerModule,
136
- MatTableModule,
137
- MatSidenavModule,
138
- MatRadioModule,
139
- MatIconModule,
140
- MatSliderModule,
141
- MatChipsModule,
142
- MatSnackBarModule,
143
- CdkTableModule,
144
- MatSortModule,
145
- MatPaginatorModule,
146
- MatExpansionModule,
147
- MatRippleModule,
148
- SmartUiModule] }); }
149
- }
150
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SharedModule, decorators: [{
151
- type: NgModule,
152
- args: [{
153
- imports: [
154
- MatButtonModule,
155
- MatCardModule,
156
- MatCheckboxModule,
157
- MatToolbarModule,
158
- MatSelectModule,
159
- MatDatepickerModule,
160
- MatNativeDateModule,
161
- MatDialogModule,
162
- MatTabsModule,
163
- MatListModule,
164
- MatInputModule,
165
- MatStepperModule,
166
- BrowserAnimationsModule,
167
- MatGridListModule,
168
- MatProgressSpinnerModule,
169
- MatTableModule,
170
- MatSidenavModule,
171
- MatRadioModule,
172
- MatIconModule,
173
- MatSliderModule,
174
- MatChipsModule,
175
- MatSnackBarModule,
176
- CdkTableModule,
177
- MatSortModule,
178
- MatPaginatorModule,
179
- MatExpansionModule,
180
- MatRippleModule,
181
- SmartUiModule
182
- ],
183
- exports: [
184
- MatButtonModule,
185
- MatCardModule,
186
- MatCheckboxModule,
187
- MatToolbarModule,
188
- MatSelectModule,
189
- MatDatepickerModule,
190
- MatNativeDateModule,
191
- MatDialogModule,
192
- MatTabsModule,
193
- MatListModule,
194
- MatInputModule,
195
- MatStepperModule,
196
- BrowserAnimationsModule,
197
- MatGridListModule,
198
- MatProgressSpinnerModule,
199
- MatTableModule,
200
- MatSidenavModule,
201
- MatRadioModule,
202
- MatIconModule,
203
- MatSliderModule,
204
- MatChipsModule,
205
- MatSnackBarModule,
206
- CdkTableModule,
207
- MatSortModule,
208
- MatPaginatorModule,
209
- MatExpansionModule,
210
- MatRippleModule,
211
- SmartUiModule
212
- ]
213
- }]
214
- }] });
215
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLnNoYXJlZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ2Mtc21hcnQtdmljdGltL3NyYy9saWIvc2hhcmVkL2FwcC5zaGFyZWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sc0NBQXNDLENBQUM7QUFJL0UsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLG9CQUFvQixDQUFDO0FBQ2xELE9BQU8sRUFBYyxtQkFBbUIsRUFBRSxlQUFlLEVBQW9DLE1BQU0sd0JBQXdCLENBQUM7QUFDNUgsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBR3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ICAgICBCcm93c2VyQW5pbWF0aW9uc01vZHVsZSxcclxuICAgICAgICBNYXRHcmlkTGlzdE1vZHVsZSxcclxuICAgICAgICBNYXRQcm9ncmVzc1NwaW5uZXJNb2R1bGUsXHJcbiAgICAgICAgTWF0VGFibGVNb2R1bGUsXHJcbiAgICAgICAgTWF0U2lkZW5hdk1vZHVsZSxcclxuICAgICAgICBNYXRSYWRpb01vZHVsZSxcclxuICAgICAgICBNYXRJY29uTW9kdWxlLFxyXG4gICAgICAgIE1hdFNsaWRlck1vZHVsZSxcclxuICAgICAgICBNYXRDaGlwc01vZHVsZSxcclxuICAgICAgICBNYXRTbmFja0Jhck1vZHVsZSxcclxuICAgICAgICBDZGtUYWJsZU1vZHVsZSxcclxuICAgICAgICBNYXRTb3J0TW9kdWxlLFxyXG4gICAgICAgIE1hdFBhZ2luYXRvck1vZHVsZSxcclxuICAgICAgICBNYXRFeHBhbnNpb25Nb2R1bGUsXHJcbiAgICAgICAgTWF0UmlwcGxlTW9kdWxlLFxyXG4gICAgICAgIFNtYXJ0VWlNb2R1bGVcclxuICAgIF0sXHJcbiAgICBleHBvcnRzOiBbXHJcbiAgICAgICAgTWF0QnV0dG9uTW9kdWxlLFxyXG4gICAgICAgIE1hdENhcmRNb2R1bGUsXHJcbiAgICAgICAgTWF0Q2hlY2tib3hNb2R1bGUsXHJcbiAgICAgICAgTWF0VG9vbGJhck1vZHVsZSxcclxuICAgICAgICBNYXRTZWxlY3RNb2R1bGUsXHJcbiAgICAgICAgTWF0RGF0ZXBpY2tlck1vZHVsZSxcclxuICAgICAgICBNYXROYXRpdmVEYXRlTW9kdWxlLFxyXG4gICAgICAgIE1hdERpYWxvZ01vZHVsZSxcclxuICAgICAgICBNYXRUYWJzTW9kdWxlLFxyXG4gICAgICAgIE1hdExpc3RNb2R1bGUsXHJcbiAgICAgICAgTWF0SW5wdXRNb2R1bGUsXHJcbiAgICAgICAgTWF0U3RlcHBlck1vZHVsZSxcclxuICAgICAgICBCcm93c2VyQW5pbWF0aW9uc01vZHVsZSxcclxuICAgICAgICBNYXRHcmlkTGlzdE1vZHVsZSxcclxuICAgICAgICBNYXRQcm9ncmVzc1NwaW5uZXJNb2R1bGUsXHJcbiAgICAgICAgTWF0VGFibGVNb2R1bGUsXHJcbiAgICAgICAgTWF0U2lkZW5hdk1vZHVsZSxcclxuICAgICAgICBNYXRSYWRpb01vZHVsZSxcclxuICAgICAgICBNYXRJY29uTW9kdWxlLFxyXG4gICAgICAgIE1hdFNsaWRlck1vZHVsZSxcclxuICAgICAgICBNYXRDaGlwc01vZHVsZSxcclxuICAgICAgICBNYXRTbmFja0Jhck1vZHVsZSxcclxuICAgICAgICBDZGtUYWJsZU1vZHVsZSxcclxuICAgICAgICBNYXRTb3J0TW9kdWxlLFxyXG4gICAgICAgIE1hdFBhZ2luYXRvck1vZHVsZSxcclxuICAgICAgICBNYXRFeHBhbnNpb25Nb2R1bGUsXHJcbiAgICAgICAgTWF0UmlwcGxlTW9kdWxlLFxyXG4gICAgICAgIFNtYXJ0VWlNb2R1bGVcclxuICAgIF1cclxufVxyXG4pXHJcbmV4cG9ydCBjbGFzcyBTaGFyZWRNb2R1bGUgeyB9XHJcbiJdfQ==
@@ -1,59 +0,0 @@
1
- export function dateValidator() {
2
- return (control) => {
3
- const dateStr = control.value;
4
- const invalidObj = { 'date': 'future Date is Not Allowed' };
5
- const date = new Date(dateStr);
6
- if (date > new Date()) {
7
- return invalidObj;
8
- }
9
- return null;
10
- };
11
- }
12
- export function passDateValidator() {
13
- return (control) => {
14
- const dateStr = control.value;
15
- const invalidObj = { 'date': 'Pass Date is Not Allowed' };
16
- const date = new Date(dateStr);
17
- if (date < new Date()) {
18
- return invalidObj;
19
- }
20
- return null;
21
- };
22
- }
23
- export function dateLessThan(dateField1, dateField2, validatorField) {
24
- return (c) => {
25
- const date1 = c.get(dateField1).value;
26
- const date2 = c.get(dateField2).value;
27
- console.log('date1');
28
- console.log(date1);
29
- console.log('date2');
30
- console.log(date2);
31
- //const invalidObj = { 'dateRule': 'date is Not Allowed' };
32
- if ((date1 !== null && date2 !== null) && date1 > date2) {
33
- console.log(validatorField);
34
- return validatorField;
35
- //return invalidObj;
36
- }
37
- console.log('return null');
38
- return null;
39
- };
40
- }
41
- export function greaterLessThan(dateField1, dateField2, validatorField) {
42
- return (c) => {
43
- const date1 = c.get(dateField1).value;
44
- const date2 = c.get(dateField2).value;
45
- console.log('end date');
46
- console.log(date1);
47
- console.log('ver date');
48
- console.log(date2);
49
- //const invalidObj = { 'dateRule': 'date is Not Allowed' };
50
- if ((date1 !== null && date2 !== null) && date1 < date2) {
51
- console.log(validatorField);
52
- return validatorField;
53
- //return invalidObj;
54
- }
55
- console.log('return null');
56
- return null;
57
- };
58
- }
59
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS52YWxpZGF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ2Mtc21hcnQtdmljdGltL3NyYy9saWIvc2hhcmVkL3ZhbGlkYXRvcnMvZGF0ZS52YWxpZGF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxVQUFVLGFBQWE7SUFDM0IsT0FBTyxDQUFDLE9BQXdCLEVBQXdCLEVBQUU7UUFDeEQsTUFBTSxPQUFPLEdBQUcsT0FBTyxDQUFDLEtBQUssQ0FBQztRQUM5QixNQUFNLFVBQVUsR0FBRyxFQUFFLE1BQU0sRUFBRSw0QkFBNEIsRUFBRSxDQUFDO1FBQzVELE1BQU0sSUFBSSxHQUFHLElBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQy9CLElBQUksSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFLEVBQUUsQ0FBQztZQUN0QixPQUFPLFVBQVUsQ0FBQztRQUNwQixDQUFDO1FBQ0QsT0FBTyxJQUFJLENBQUM7SU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+0,0 @@
1
- export * from './date.validator';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ2Mtc21hcnQtdmljdGltL3NyYy9saWIvc2hhcmVkL3ZhbGlkYXRvcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGF0ZS52YWxpZGF0b3InOyJdfQ==
@@ -1,44 +0,0 @@
1
- import { Component, Inject } from '@angular/core';
2
- import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/dialog";
5
- import * as i2 from "@angular/material/button";
6
- export class SmartVictimDeleteConfirmComponent {
7
- constructor(dialogRef, data) {
8
- this.dialogRef = dialogRef;
9
- this.data = data;
10
- }
11
- onNoClick() {
12
- this.dialogRef.close();
13
- }
14
- ngOnInit() {
15
- }
16
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SmartVictimDeleteConfirmComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
17
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: SmartVictimDeleteConfirmComponent, selector: "csmart-victim-delete-confirm", ngImport: i0, template: `
18
- <h1 mat-dialog-title>Delete Confirmation</h1>
19
- <div mat-dialog-content>
20
- <p>Are you sure you want to delete this item?</p>
21
- </div>
22
- <div mat-dialog-actions class="actions">
23
- <button mat-flat-button color="primary" (click)="onNoClick()">No</button>
24
- <button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
25
- </div>
26
- `, isInline: true, styles: [".actions{display:flex;justify-content:space-between}\n"], dependencies: [{ kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] }); }
27
- }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SmartVictimDeleteConfirmComponent, decorators: [{
29
- type: Component,
30
- args: [{ selector: 'csmart-victim-delete-confirm', template: `
31
- <h1 mat-dialog-title>Delete Confirmation</h1>
32
- <div mat-dialog-content>
33
- <p>Are you sure you want to delete this item?</p>
34
- </div>
35
- <div mat-dialog-actions class="actions">
36
- <button mat-flat-button color="primary" (click)="onNoClick()">No</button>
37
- <button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
38
- </div>
39
- `, styles: [".actions{display:flex;justify-content:space-between}\n"] }]
40
- }], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
41
- type: Inject,
42
- args: [MAT_DIALOG_DATA]
43
- }] }] });
44
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLWRlbGV0ZS1jb25maXJtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4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