@csmart/ngc-smart-victim 1.18.30 → 1.18.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1604,7 +1604,9 @@ class SmartVictimDetailComponent {
1604
1604
  this.router.navigate(['victimHome']);
1605
1605
  }
1606
1606
  else {
1607
- this.router.navigate(['victimList']);
1607
+ console.log('19966 - navigating to victim');
1608
+ console.log(this.offenderId);
1609
+ this.router.navigate(['victim']);
1608
1610
  }
1609
1611
  //this.onSave.emit(this.victimDetail);
1610
1612
  });
@@ -2135,28 +2137,28 @@ class SmartVictimDeleteConfirmComponent {
2135
2137
  ngOnInit() {
2136
2138
  }
2137
2139
  /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SmartVictimDeleteConfirmComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
2138
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: SmartVictimDeleteConfirmComponent, selector: "csmart-victim-delete-confirm", ngImport: i0, template: `
2139
- <h1 mat-dialog-title>Delete Confirmation</h1>
2140
- <div mat-dialog-content>
2141
- <p>Are you sure you want to delete this item?</p>
2142
- </div>
2143
- <div mat-dialog-actions class="actions">
2144
- <button mat-flat-button color="primary" (click)="onNoClick()">No</button>
2145
- <button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
2146
- </div>
2140
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.1.0", type: SmartVictimDeleteConfirmComponent, selector: "csmart-victim-delete-confirm", ngImport: i0, template: `
2141
+ <h1 mat-dialog-title>Delete Confirmation</h1>
2142
+ <div mat-dialog-content>
2143
+ <p>Are you sure you want to delete this item?</p>
2144
+ </div>
2145
+ <div mat-dialog-actions class="actions">
2146
+ <button mat-flat-button color="primary" (click)="onNoClick()">No</button>
2147
+ <button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
2148
+ </div>
2147
2149
  `, isInline: true, styles: [".actions{display:flex;justify-content:space-between}\n"], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] }); }
2148
2150
  }
2149
2151
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SmartVictimDeleteConfirmComponent, decorators: [{
2150
2152
  type: Component,
2151
- args: [{ selector: 'csmart-victim-delete-confirm', template: `
2152
- <h1 mat-dialog-title>Delete Confirmation</h1>
2153
- <div mat-dialog-content>
2154
- <p>Are you sure you want to delete this item?</p>
2155
- </div>
2156
- <div mat-dialog-actions class="actions">
2157
- <button mat-flat-button color="primary" (click)="onNoClick()">No</button>
2158
- <button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
2159
- </div>
2153
+ args: [{ selector: 'csmart-victim-delete-confirm', template: `
2154
+ <h1 mat-dialog-title>Delete Confirmation</h1>
2155
+ <div mat-dialog-content>
2156
+ <p>Are you sure you want to delete this item?</p>
2157
+ </div>
2158
+ <div mat-dialog-actions class="actions">
2159
+ <button mat-flat-button color="primary" (click)="onNoClick()">No</button>
2160
+ <button mat-flat-button color="warn" [mat-dialog-close]='"YES"' cdkFocusInitial>Yes</button>
2161
+ </div>
2160
2162
  `, styles: [".actions{display:flex;justify-content:space-between}\n"] }]
2161
2163
  }], ctorParameters: () => [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
2162
2164
  type: Inject,