@prutech/compliance 1.0.232 → 1.0.234

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/esm2020/lib/conciliation-appointment-work-list/actions/conciliation-appointment-work-list.actions.mjs +22 -1
  2. package/esm2020/lib/conciliation-appointment-work-list/components/context-menu/conciliation-context-menu.component.mjs +26 -3
  3. package/esm2020/lib/conciliation-appointment-work-list/components/outreach-history-grid-dialogbox/outreach-history-grid-dialogbox.component.mjs +30 -0
  4. package/esm2020/lib/conciliation-appointment-work-list/components/schedule-call-back-action/schedule-call-back-action.component.mjs +19 -4
  5. package/esm2020/lib/conciliation-appointment-work-list/conciliation-appointment-work-list.module.mjs +5 -2
  6. package/esm2020/lib/conciliation-appointment-work-list/constants/menu-items.mjs +15 -2
  7. package/esm2020/lib/conciliation-appointment-work-list/constants/slot-time.mjs +3 -0
  8. package/esm2020/lib/conciliation-appointment-work-list/models/conciliation-work-list-item.model.mjs +2 -1
  9. package/esm2020/lib/conciliation-appointment-work-list/models/federal-holidays-model.mjs +9 -0
  10. package/esm2020/lib/conciliation-appointment-work-list/models/schedule-call-back-action.formmodel.mjs +36 -9
  11. package/esm2020/lib/conciliation-appointment-work-list/services/conciliation-appointment-work-list.service.mjs +13 -2
  12. package/esm2020/lib/ftr-work-list/constants/column-defs.mjs +16 -1
  13. package/esm2020/lib/ftr-work-list/models/ftr-work-list-item.model.mjs +4 -1
  14. package/esm2020/lib/noi-work-list/actions/noi-work-list.actions.mjs +25 -4
  15. package/esm2020/lib/noi-work-list/components/context-menu/context-menu.component.mjs +38 -2
  16. package/esm2020/lib/noi-work-list/constants/column-defs.mjs +4 -1
  17. package/esm2020/lib/noi-work-list/constants/menu-items.mjs +6 -2
  18. package/esm2020/lib/noi-work-list/effects/noi-work-list.effect.mjs +32 -3
  19. package/esm2020/lib/noi-work-list/services/noi-work-list.service.mjs +8 -2
  20. package/esm2020/lib/pre-noi-work-list/components/pre-noi-context-menu/pre-noi-context-menu.component.mjs +25 -2
  21. package/esm2020/lib/pre-noi-work-list/constants/menu-actions-defs.mjs +3 -1
  22. package/esm2020/lib/pre-noi-work-list/constants/menu-items.mjs +15 -2
  23. package/esm2020/lib/pre-noi-work-list/models/pre-noi-work-list-item.model.mjs +2 -1
  24. package/esm2020/lib/shared/constants/conciliation/menu-action-defs.mjs +5 -1
  25. package/fesm2015/prutech-compliance.mjs +316 -18
  26. package/fesm2015/prutech-compliance.mjs.map +1 -1
  27. package/fesm2020/prutech-compliance.mjs +319 -18
  28. package/fesm2020/prutech-compliance.mjs.map +1 -1
  29. package/lib/conciliation-appointment-work-list/actions/conciliation-appointment-work-list.actions.d.ts +21 -2
  30. package/lib/conciliation-appointment-work-list/components/context-menu/conciliation-context-menu.component.d.ts +1 -0
  31. package/lib/conciliation-appointment-work-list/components/outreach-history-grid-dialogbox/outreach-history-grid-dialogbox.component.d.ts +12 -0
  32. package/lib/conciliation-appointment-work-list/components/schedule-call-back-action/schedule-call-back-action.component.d.ts +4 -0
  33. package/lib/conciliation-appointment-work-list/conciliation-appointment-work-list.module.d.ts +14 -13
  34. package/lib/conciliation-appointment-work-list/constants/slot-time.d.ts +2 -0
  35. package/lib/conciliation-appointment-work-list/models/conciliation-work-list-item.model.d.ts +1 -0
  36. package/lib/conciliation-appointment-work-list/models/federal-holidays-model.d.ts +6 -0
  37. package/lib/conciliation-appointment-work-list/services/conciliation-appointment-work-list.service.d.ts +4 -0
  38. package/lib/ftr-work-list/models/ftr-work-list-item.model.d.ts +3 -0
  39. package/lib/noi-work-list/actions/noi-work-list.actions.d.ts +19 -1
  40. package/lib/noi-work-list/components/context-menu/context-menu.component.d.ts +1 -0
  41. package/lib/noi-work-list/effects/noi-work-list.effect.d.ts +3 -0
  42. package/lib/noi-work-list/services/noi-work-list.service.d.ts +2 -0
  43. package/lib/pre-noi-work-list/components/pre-noi-context-menu/pre-noi-context-menu.component.d.ts +1 -0
  44. package/lib/pre-noi-work-list/constants/menu-actions-defs.d.ts +2 -0
  45. package/lib/pre-noi-work-list/models/pre-noi-work-list-item.model.d.ts +1 -0
  46. package/lib/shared/constants/conciliation/menu-action-defs.d.ts +4 -0
  47. package/package.json +1 -1
@@ -1520,6 +1520,9 @@ var ConciliationAppointmentWorkListActionTypes;
1520
1520
  ConciliationAppointmentWorkListActionTypes["PrintDocument"] = "[FIA1187 Document] Print";
1521
1521
  ConciliationAppointmentWorkListActionTypes["PrintDocumentSuccess"] = "[FIA1187 Document] Print Success";
1522
1522
  ConciliationAppointmentWorkListActionTypes["PrintDocumentFail"] = "[FIA1187 Document] Print Fail";
1523
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysList"] = "[Conciliation Federal Holidays List] Load";
1524
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListSuccess"] = "[Conciliation Federal Holidays List] Load Success";
1525
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListFail"] = "[Conciliation Federal Holidays List] Load Fail";
1523
1526
  })(ConciliationAppointmentWorkListActionTypes || (ConciliationAppointmentWorkListActionTypes = {}));
1524
1527
  class LoadConciliationWorkListAction {
1525
1528
  constructor(payload) {
@@ -1661,6 +1664,24 @@ class PrintDocumentFailAction {
1661
1664
  this.payload = payload;
1662
1665
  this.type = ConciliationAppointmentWorkListActionTypes.PrintDocumentFail;
1663
1666
  }
1667
+ }
1668
+ class LoadFederalHolidaysListAction {
1669
+ constructor(payload) {
1670
+ this.payload = payload;
1671
+ this.type = ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysList;
1672
+ }
1673
+ }
1674
+ class LoadFederalHolidaysListSuccessAction {
1675
+ constructor(payload) {
1676
+ this.payload = payload;
1677
+ this.type = ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysListSuccess;
1678
+ }
1679
+ }
1680
+ class LoadFederalHolidaysListFailAction {
1681
+ constructor(payload) {
1682
+ this.payload = payload;
1683
+ this.type = ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysListFail;
1684
+ }
1664
1685
  }
1665
1686
 
1666
1687
  const adapter$G = createEntityAdapter({
@@ -1997,6 +2018,7 @@ class ConciliationWorkListItemModel {
1997
2018
  this.r1OutreachId = get(data, 'r1OutreachId');
1998
2019
  this.outreachId = get(data, 'outreachId');
1999
2020
  this.isTieriiCompleted = get(data, 'isTieriiCompleted');
2021
+ this.showOnlyCaseSummay = get(data, 'showOnlyCaseSummay');
2000
2022
  }
2001
2023
  }
2002
2024
 
@@ -2048,6 +2070,14 @@ class ConciliationLookupModel {
2048
2070
  }
2049
2071
  }
2050
2072
 
2073
+ class FederalHolidaysModel {
2074
+ constructor(data) {
2075
+ this.id = get(data, 'id');
2076
+ this.HolidayName = get(data, 'HolidayName');
2077
+ this.HolidayDate = get(data, 'HolidayDate');
2078
+ }
2079
+ }
2080
+
2051
2081
  class ConciliationAppointmentWorkListService {
2052
2082
  constructor(http, store, environment) {
2053
2083
  this.http = http;
@@ -2060,6 +2090,7 @@ class ConciliationAppointmentWorkListService {
2060
2090
  this.lookupData = store.pipe(select(getSelectedLookupModel$1));
2061
2091
  this.lookupDataLoading = store.pipe(select(getLoadingLookupModels$1));
2062
2092
  this.loadingLDSSDocument = this.store.pipe(select(getLoadingLDSSDocument));
2093
+ // this.holidaysList = store.pipe(select(fromReducer.getHolidaysList));
2063
2094
  }
2064
2095
  dispatchLoadConciliationWorkList() {
2065
2096
  this.store.dispatch(new LoadConciliationWorkListAction());
@@ -2133,6 +2164,15 @@ class ConciliationAppointmentWorkListService {
2133
2164
  .pipe(map$1((data) => get(data, 'responseObject')));
2134
2165
  }
2135
2166
  }
2167
+ dispatchLoadFederalHolidaysList() {
2168
+ this.store.dispatch(new LoadFederalHolidaysListAction());
2169
+ }
2170
+ loadFederalHolidays() {
2171
+ return this.http.get(`${get(this.environment, 'assignmentQueryService')}Conciliation/GetFederalHolidys`)
2172
+ .pipe(map$1((data) => {
2173
+ return map$1(get(data, 'responseObject'), (list) => new FederalHolidaysModel(list));
2174
+ }));
2175
+ }
2136
2176
  }
2137
2177
  ConciliationAppointmentWorkListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConciliationAppointmentWorkListService, deps: [{ token: i1.HttpClient }, { token: i2.Store }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
2138
2178
  ConciliationAppointmentWorkListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConciliationAppointmentWorkListService });
@@ -4016,6 +4056,9 @@ class FtrWorkListItemModel {
4016
4056
  this.isFTR = get(data, 'isFTR');
4017
4057
  this.wlFtrId = get(data, 'wlFtrId');
4018
4058
  this.jobCenter = get(data, 'jobCenter');
4059
+ this.providerAssignment = get(data, 'providerAssignment');
4060
+ this.assignmentSiteName = get(data, 'assignmentSiteName');
4061
+ this.infractionDate = get(data, 'infractionDate');
4019
4062
  }
4020
4063
  }
4021
4064
 
@@ -4335,6 +4378,21 @@ const columnDefs$9 = [
4335
4378
  {
4336
4379
  headerName: 'Individual Status', field: 'individualStatus.value', sortable: true, resizable: true, filter: true,
4337
4380
  },
4381
+ {
4382
+ headerName: 'Provider Assignment', field: 'providerAssignment', sortable: true, resizable: true, filter: true,
4383
+ },
4384
+ {
4385
+ headerName: 'Assignment Site Name', field: 'assignmentSiteName', sortable: true, resizable: true, filter: true,
4386
+ },
4387
+ {
4388
+ headerName: 'Infraction Date', field: 'infractionDate', sortable: true, resizable: true, valueFormatter: dateOnlyFormatter, filter: 'agDateColumnFilter',
4389
+ filterParams: {
4390
+ comparator: dateComparatorFn,
4391
+ filterOptions: dateFilterOptions,
4392
+ buttons: ['clear', 'apply'],
4393
+ suppressAndOrCondition: true,
4394
+ },
4395
+ }
4338
4396
  ];
4339
4397
 
4340
4398
  class FtrWorkSheetComponent {
@@ -9924,7 +9982,11 @@ const reScheduleCallBackActionId$1 = 4;
9924
9982
  const scheduleCallBackActionId$1 = 3;
9925
9983
  const reAssignActionId$1 = 5;
9926
9984
  const conferenceByPhoneActionId$1 = 3;
9927
- const updateStatusActionId$1 = 3;
9985
+ const updateStatusActionId$1 = 3;
9986
+ const manualNOICompletedId = 8;
9987
+ const commentDialogBoxNOIId = 4;
9988
+ const showCasesummaryId$1 = 7;
9989
+ const showOutreachHistoryId$1 = 8;
9928
9990
 
9929
9991
  function getGrantOption$2(payload) {
9930
9992
  const infractionAt = get(payload, 'infractionAt.lookupId');
@@ -10334,6 +10396,19 @@ const menuItems$5 = [
10334
10396
  },
10335
10397
  ],
10336
10398
  },
10399
+ {
10400
+ label: 'View',
10401
+ items: [
10402
+ {
10403
+ name: 'Case Summary',
10404
+ route: toString(showCasesummaryId$1),
10405
+ },
10406
+ {
10407
+ name: 'Outreach History',
10408
+ route: toString(showOutreachHistoryId$1),
10409
+ },
10410
+ ],
10411
+ },
10337
10412
  ];
10338
10413
 
10339
10414
  class SaveConciliationStatusPayload {
@@ -10380,23 +10455,50 @@ const goodCauseConfirmMessage$2 = 'Wants to send the client back?';
10380
10455
 
10381
10456
  const scheduleOrRescheduleActionFormModel = {
10382
10457
  editTemplate: [
10458
+ // {
10459
+ // label: 'Appointment Date',
10460
+ // name: 'apptDate',
10461
+ // type: PtDynamicElement.Input,
10462
+ // flex: 50,
10463
+ // appearance: 'outline',
10464
+ // showLabelAbove: true,
10465
+ // disabled: true,
10466
+ // },
10467
+ // {
10468
+ // label: 'Appointment Time',
10469
+ // name: 'apptTime',
10470
+ // type: PtDynamicElement.Input,
10471
+ // flex: 50,
10472
+ // appearance: 'outline',
10473
+ // showLabelAbove: true,
10474
+ // disabled: true,
10475
+ // },
10383
10476
  {
10384
- label: 'Appointment Date',
10477
+ label: 'Date 1',
10385
10478
  name: 'apptDate',
10386
- type: PtDynamicElement.Input,
10479
+ type: PtDynamicElement.Datepicker,
10387
10480
  flex: 50,
10388
10481
  appearance: 'outline',
10389
10482
  showLabelAbove: true,
10390
- disabled: true,
10483
+ required: true,
10391
10484
  },
10392
10485
  {
10393
- label: 'Appointment Time',
10394
- name: 'apptTime',
10395
- type: PtDynamicElement.Input,
10396
- flex: 50,
10486
+ label: 'Hours',
10487
+ name: 'hour1',
10488
+ type: PtDynamicElement.Select,
10489
+ flex: 25,
10397
10490
  appearance: 'outline',
10398
10491
  showLabelAbove: true,
10399
- disabled: true,
10492
+ required: true,
10493
+ },
10494
+ {
10495
+ label: 'Minutes',
10496
+ name: 'minute1',
10497
+ type: PtDynamicElement.Select,
10498
+ flex: 25,
10499
+ appearance: 'outline',
10500
+ showLabelAbove: true,
10501
+ required: true,
10400
10502
  },
10401
10503
  {
10402
10504
  label: 'Phone Number',
@@ -10437,6 +10539,9 @@ const hoursExceededWarningMessage = 'Max hours per day exceeded';
10437
10539
  const coreAssignmentCategory = 1;
10438
10540
  const apptCancelledReason = 55582;
10439
10541
 
10542
+ const timeHourslots = ['08', '09', '10', '11', '12', '13', '14', '15', '16', '17'];
10543
+ const timeMinSlots = ['00', '15', '30', '45'];
10544
+
10440
10545
  class ScheduleCallBackActionComponent extends AbstractComponent {
10441
10546
  constructor(dialogRef, dialog, dynamicFormService, environment, manageAppointmentsService,
10442
10547
  // tslint:disable-next-line:no-any
@@ -10452,7 +10557,8 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10452
10557
  this.inPersonCtrlName = 'person';
10453
10558
  this.otherReasonCtrlName = 'otherReason';
10454
10559
  this.apptDateCtrlName = 'apptDate';
10455
- this.apptTimeCtrlName = 'apptTime';
10560
+ this.apptTimeCtrlName = 'hour1';
10561
+ this.apptMinuteCtrlName = 'minute1';
10456
10562
  this.showInPerson = true;
10457
10563
  this.showApptScheduler = true;
10458
10564
  this.elements =
@@ -10465,6 +10571,19 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10465
10571
  get isDisabled() {
10466
10572
  return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
10467
10573
  }
10574
+ filterWeekends(val) {
10575
+ }
10576
+ initElements() {
10577
+ const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
10578
+ set(apptDateElement, 'min', new Date());
10579
+ const today = new Date();
10580
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
10581
+ // this.filteredDates = this.filterWeekends()
10582
+ const apptTimeElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptTimeCtrlName);
10583
+ set(apptTimeElement, 'selections', timeHourslots);
10584
+ const apptMinuteElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptMinuteCtrlName);
10585
+ set(apptMinuteElement, 'selections', timeMinSlots);
10586
+ }
10468
10587
  setApptDateTime(apptDateTime) {
10469
10588
  const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
10470
10589
  const apptTimeElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptTimeCtrlName);
@@ -10510,10 +10629,10 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10510
10629
  }
10511
10630
  }
10512
10631
  ScheduleCallBackActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScheduleCallBackActionComponent, deps: [{ token: i1$1.MatDialogRef }, { token: i1$1.MatDialog }, { token: i2$2.PtDynamicFormsService }, { token: 'environment' }, { token: i3$4.ManageAppointmentsService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
10513
- ScheduleCallBackActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ScheduleCallBackActionComponent, selector: "lib-schedule-call-back-action", viewQueries: [{ propertyName: "dynamicForm", first: true, predicate: ["dynamicForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<prutech-dialog-box class=\"prutech-dialog-box\">\r\n <div class=\"header\">{{ data?.isReSchedule ? 'Re-schedule Call Back' : 'Schedule Call Back' }}</div>\r\n <div class=\"body prutech-dialog-content\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\" fxLayoutGap=\"10px\">\r\n <div *ngIf=\"showApptScheduler\">\r\n <button mat-stroked-button color=\"primary\" (click)=\"openAppointmentScheduler()\">Appointment Scheduler</button>\r\n </div>\r\n <prutech-dynamic-forms *ngIf=\"elements\" [elements]=\"elements\" #dynamicForm>\r\n <ng-template let-element ngFor [ngForOf]=\"elements\">\r\n <ng-template let-control=\"control\" [tdDynamicFormsError]=\"element.name\">\r\n <span *ngIf=\"control.touched || !control.pristine\">\r\n <span *ngIf=\"control.hasError('required')\">Required</span>\r\n <span *ngIf=\"control.hasError('invalidSelection')\">Invalid Selection</span>\r\n </span>\r\n </ng-template>\r\n </ng-template>\r\n </prutech-dynamic-forms>\r\n </div>\r\n <div class=\"dialogboxfooter\">\r\n <button mat-flat-button (click)=\"closeModal(false)\">EXIT</button>\r\n <button mat-flat-button color=\"primary\" (click)=\"closeModal(true)\" [disabled]=\"isDisabled\"> SUBMIT\r\n </button>\r\n </div>\r\n</prutech-dialog-box>", styles: [""], components: [{ type: i2$2.DialogBoxComponent, selector: "prutech-dialog-box" }, { type: i4.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"] }, { type: i2$2.PtDynamicFormsComponent, selector: "prutech-dynamic-forms", inputs: ["formControls", "elements"], outputs: ["init"] }], directives: [{ type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$2.PtDynamicFormsErrorTemplateDirective, selector: "[tdDynamicFormsError]ng-template", inputs: ["tdDynamicFormsError"] }] });
10632
+ ScheduleCallBackActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ScheduleCallBackActionComponent, selector: "lib-schedule-call-back-action", viewQueries: [{ propertyName: "dynamicForm", first: true, predicate: ["dynamicForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<prutech-dialog-box class=\"prutech-dialog-box\">\r\n <div class=\"header\">{{ data?.isReSchedule ? 'Re-schedule Call Back' : 'Schedule Call Back' }}</div>\r\n <div class=\"body prutech-dialog-content\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\" fxLayoutGap=\"10px\">\r\n <!-- <div *ngIf=\"showApptScheduler\">\r\n <button mat-stroked-button color=\"primary\" (click)=\"openAppointmentScheduler()\">Appointment Scheduler</button>\r\n </div> -->\r\n <prutech-dynamic-forms (init)=\"initElements()\" *ngIf=\"elements\" [elements]=\"elements\" #dynamicForm>\r\n <ng-template let-element ngFor [ngForOf]=\"elements\">\r\n <ng-template let-control=\"control\" [tdDynamicFormsError]=\"element.name\">\r\n <span *ngIf=\"control.touched || !control.pristine\">\r\n <span *ngIf=\"control.hasError('required')\">Required</span>\r\n <span *ngIf=\"control.hasError('invalidSelection')\">Invalid Selection</span>\r\n </span>\r\n </ng-template>\r\n </ng-template>\r\n </prutech-dynamic-forms>\r\n </div>\r\n <div class=\"dialogboxfooter\">\r\n <button mat-flat-button (click)=\"closeModal(false)\">EXIT</button>\r\n <button mat-flat-button color=\"primary\" (click)=\"closeModal(true)\" [disabled]=\"isDisabled\"> SUBMIT\r\n </button>\r\n </div>\r\n</prutech-dialog-box>", styles: [""], components: [{ type: i2$2.DialogBoxComponent, selector: "prutech-dialog-box" }, { type: i2$2.PtDynamicFormsComponent, selector: "prutech-dynamic-forms", inputs: ["formControls", "elements"], outputs: ["init"] }, { type: i4.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"] }], directives: [{ type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i5.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2$2.PtDynamicFormsErrorTemplateDirective, selector: "[tdDynamicFormsError]ng-template", inputs: ["tdDynamicFormsError"] }] });
10514
10633
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ScheduleCallBackActionComponent, decorators: [{
10515
10634
  type: Component,
10516
- args: [{ selector: 'lib-schedule-call-back-action', template: "<prutech-dialog-box class=\"prutech-dialog-box\">\r\n <div class=\"header\">{{ data?.isReSchedule ? 'Re-schedule Call Back' : 'Schedule Call Back' }}</div>\r\n <div class=\"body prutech-dialog-content\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\" fxLayoutGap=\"10px\">\r\n <div *ngIf=\"showApptScheduler\">\r\n <button mat-stroked-button color=\"primary\" (click)=\"openAppointmentScheduler()\">Appointment Scheduler</button>\r\n </div>\r\n <prutech-dynamic-forms *ngIf=\"elements\" [elements]=\"elements\" #dynamicForm>\r\n <ng-template let-element ngFor [ngForOf]=\"elements\">\r\n <ng-template let-control=\"control\" [tdDynamicFormsError]=\"element.name\">\r\n <span *ngIf=\"control.touched || !control.pristine\">\r\n <span *ngIf=\"control.hasError('required')\">Required</span>\r\n <span *ngIf=\"control.hasError('invalidSelection')\">Invalid Selection</span>\r\n </span>\r\n </ng-template>\r\n </ng-template>\r\n </prutech-dynamic-forms>\r\n </div>\r\n <div class=\"dialogboxfooter\">\r\n <button mat-flat-button (click)=\"closeModal(false)\">EXIT</button>\r\n <button mat-flat-button color=\"primary\" (click)=\"closeModal(true)\" [disabled]=\"isDisabled\"> SUBMIT\r\n </button>\r\n </div>\r\n</prutech-dialog-box>", styles: [""] }]
10635
+ args: [{ selector: 'lib-schedule-call-back-action', template: "<prutech-dialog-box class=\"prutech-dialog-box\">\r\n <div class=\"header\">{{ data?.isReSchedule ? 'Re-schedule Call Back' : 'Schedule Call Back' }}</div>\r\n <div class=\"body prutech-dialog-content\" fxLayout=\"column\" fxLayoutAlign=\"start stretch\" fxLayoutGap=\"10px\">\r\n <!-- <div *ngIf=\"showApptScheduler\">\r\n <button mat-stroked-button color=\"primary\" (click)=\"openAppointmentScheduler()\">Appointment Scheduler</button>\r\n </div> -->\r\n <prutech-dynamic-forms (init)=\"initElements()\" *ngIf=\"elements\" [elements]=\"elements\" #dynamicForm>\r\n <ng-template let-element ngFor [ngForOf]=\"elements\">\r\n <ng-template let-control=\"control\" [tdDynamicFormsError]=\"element.name\">\r\n <span *ngIf=\"control.touched || !control.pristine\">\r\n <span *ngIf=\"control.hasError('required')\">Required</span>\r\n <span *ngIf=\"control.hasError('invalidSelection')\">Invalid Selection</span>\r\n </span>\r\n </ng-template>\r\n </ng-template>\r\n </prutech-dynamic-forms>\r\n </div>\r\n <div class=\"dialogboxfooter\">\r\n <button mat-flat-button (click)=\"closeModal(false)\">EXIT</button>\r\n <button mat-flat-button color=\"primary\" (click)=\"closeModal(true)\" [disabled]=\"isDisabled\"> SUBMIT\r\n </button>\r\n </div>\r\n</prutech-dialog-box>", styles: [""] }]
10517
10636
  }], ctorParameters: function () {
10518
10637
  return [{ type: i1$1.MatDialogRef }, { type: i1$1.MatDialog }, { type: i2$2.PtDynamicFormsService }, { type: undefined, decorators: [{
10519
10638
  type: Inject,
@@ -11267,6 +11386,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
11267
11386
  args: ['dynamicForm', { static: false }]
11268
11387
  }] } });
11269
11388
 
11389
+ class OutreachHistoryGridDialogboxComponent {
11390
+ constructor(dilogref, data) {
11391
+ this.dilogref = dilogref;
11392
+ this.data = data;
11393
+ }
11394
+ ngOnInit() {
11395
+ console.log(this.data);
11396
+ }
11397
+ closeModal() {
11398
+ this.dilogref.close();
11399
+ }
11400
+ }
11401
+ OutreachHistoryGridDialogboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OutreachHistoryGridDialogboxComponent, deps: [{ token: i1$1.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
11402
+ OutreachHistoryGridDialogboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: OutreachHistoryGridDialogboxComponent, selector: "lib-outreach-history-grid-dialogbox", ngImport: i0, template: "<prutech-dialog-box>\r\n <div class=\"header\">Outreach History</div>\r\n\r\n <div class=\"body\">\r\n <div>\r\n <lib-outreach-history-grid [wlConciliationId]=\"data.data\"></lib-outreach-history-grid>\r\n </div>\r\n </div>\r\n <div class=\"dialogboxfooter\" fxLayoutGap=\"20px\">\r\n <button mat-flat-button (click)=\"closeModal()\">EXIT</button>\r\n </div>\r\n</prutech-dialog-box>", styles: [""], components: [{ type: i2$2.DialogBoxComponent, selector: "prutech-dialog-box" }, { type: OutreachHistoryGridComponent$3, selector: "lib-outreach-history-grid", inputs: ["wlConciliationId"] }, { type: i4.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"] }], directives: [{ type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }] });
11403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: OutreachHistoryGridDialogboxComponent, decorators: [{
11404
+ type: Component,
11405
+ args: [{ selector: 'lib-outreach-history-grid-dialogbox', template: "<prutech-dialog-box>\r\n <div class=\"header\">Outreach History</div>\r\n\r\n <div class=\"body\">\r\n <div>\r\n <lib-outreach-history-grid [wlConciliationId]=\"data.data\"></lib-outreach-history-grid>\r\n </div>\r\n </div>\r\n <div class=\"dialogboxfooter\" fxLayoutGap=\"20px\">\r\n <button mat-flat-button (click)=\"closeModal()\">EXIT</button>\r\n </div>\r\n</prutech-dialog-box>", styles: [""] }]
11406
+ }], ctorParameters: function () {
11407
+ return [{ type: i1$1.MatDialogRef }, { type: undefined, decorators: [{
11408
+ type: Inject,
11409
+ args: [MAT_DIALOG_DATA]
11410
+ }] }];
11411
+ } });
11412
+
11270
11413
  class ConciliationContextMenuComponent extends AbstractComponent {
11271
11414
  constructor(dialog, lookupsService, tabService, router, userService, conciliationWorkListService, environment, route) {
11272
11415
  super();
@@ -11328,6 +11471,11 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11328
11471
  return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => actionItem.route !== '5') });
11329
11472
  });
11330
11473
  }
11474
+ if (get(this.params, 'data.showOnlyCaseSummay')) {
11475
+ this.menuItems = map(this.menuItems, (item) => {
11476
+ return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => ((actionItem.route !== '8'))) });
11477
+ });
11478
+ }
11331
11479
  }
11332
11480
  getUpdatedMenuItems() {
11333
11481
  return map(this.menuItems, (item) => {
@@ -11343,6 +11491,7 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11343
11491
  });
11344
11492
  }
11345
11493
  doAction(event) {
11494
+ const caseId = get(this.params, 'data.cmsCaseId');
11346
11495
  switch (event.route) {
11347
11496
  case toString(goodCauseGrantedActionId$2):
11348
11497
  this.openGoodCauseGrantedDialog(get(this.params, 'data'));
@@ -11363,6 +11512,11 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11363
11512
  case toString(reAssignActionId$1):
11364
11513
  this.openReAssignDialog(get(this.params, 'data'));
11365
11514
  break;
11515
+ case toString(showCasesummaryId$1):
11516
+ this.router.navigate(['case-summary/' + caseId]);
11517
+ case toString(showOutreachHistoryId$1):
11518
+ this.openOutreachHistoryDialog(get(this.params, 'data'));
11519
+ break;
11366
11520
  default:
11367
11521
  break;
11368
11522
  }
@@ -11473,6 +11627,16 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11473
11627
  }
11474
11628
  });
11475
11629
  }
11630
+ openOutreachHistoryDialog(item) {
11631
+ var _a;
11632
+ const dialogRef = (_a = this.dialog) === null || _a === void 0 ? void 0 : _a.open(OutreachHistoryGridDialogboxComponent, {
11633
+ width: formDialogSize,
11634
+ disableClose: true,
11635
+ data: {
11636
+ data: item.wlConciliationId
11637
+ },
11638
+ });
11639
+ }
11476
11640
  openGoodCauseGrantedDialog(item) {
11477
11641
  var _a, _b;
11478
11642
  if ((item === null || item === void 0 ? void 0 : item.originalCategoryId) === csAppointments || (item === null || item === void 0 ? void 0 : item.originalCategoryId) === csAssignments ||
@@ -12767,7 +12931,8 @@ ConciliationAppointmentWorkListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVers
12767
12931
  ReAssignDailogboxComponent$1,
12768
12932
  WantToSendClientBackDialogboxComponent$1,
12769
12933
  AssignmentsStillActiveDailogboxComponent,
12770
- OutreachHistoryGridComponent$3], imports: [CommonModule,
12934
+ OutreachHistoryGridComponent$3,
12935
+ OutreachHistoryGridDialogboxComponent], imports: [CommonModule,
12771
12936
  ConciliationListRoutingModule, i2.StoreFeatureModule, i2$1.EffectsFeatureModule, i3$2.AgGridModule, MaterialModule,
12772
12937
  CoreModule,
12773
12938
  TabsModule, i3.ToastrModule, DynamicFormsModule,
@@ -12841,6 +13006,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
12841
13006
  WantToSendClientBackDialogboxComponent$1,
12842
13007
  AssignmentsStillActiveDailogboxComponent,
12843
13008
  OutreachHistoryGridComponent$3,
13009
+ OutreachHistoryGridDialogboxComponent,
12844
13010
  ],
12845
13011
  entryComponents: [
12846
13012
  ScheduleCallBackActionComponent,
@@ -12866,6 +13032,9 @@ var NoiWorkListActionTypes;
12866
13032
  NoiWorkListActionTypes["LoadNoiWorkList"] = "[NOI] Load List";
12867
13033
  NoiWorkListActionTypes["LoadNoiWorkListSuccess"] = "[NOI] Load List Success";
12868
13034
  NoiWorkListActionTypes["LoadNoiWorkListFail"] = "[NOI] Load List Fail";
13035
+ NoiWorkListActionTypes["SaveManualNOIStatus"] = "[NOI] Save Manual NOI Status";
13036
+ NoiWorkListActionTypes["SaveManualNOIStatusSuccess"] = "[NOI] Save Manual NOI Success";
13037
+ NoiWorkListActionTypes["SaveManualNOIStatusFail"] = "[NOI] Save Manual NOI Fail";
12869
13038
  NoiWorkListActionTypes["SaveStatus"] = "[NOI] Save Status";
12870
13039
  NoiWorkListActionTypes["SaveStatusSuccess"] = "[NOI] Save Status Success";
12871
13040
  NoiWorkListActionTypes["SaveStatusFail"] = "[NOI] Save Status Fail";
@@ -12896,19 +13065,19 @@ class LoadNoiWorkListFailAction {
12896
13065
  class SaveNoiStatusAction {
12897
13066
  constructor(payload) {
12898
13067
  this.payload = payload;
12899
- this.type = NoiWorkListActionTypes.SaveStatus;
13068
+ this.type = NoiWorkListActionTypes.SaveManualNOIStatus;
12900
13069
  }
12901
13070
  }
12902
13071
  class SaveNoiStatusSuccessAction {
12903
13072
  constructor(payload) {
12904
13073
  this.payload = payload;
12905
- this.type = NoiWorkListActionTypes.SaveStatusSuccess;
13074
+ this.type = NoiWorkListActionTypes.SaveManualNOIStatusSuccess;
12906
13075
  }
12907
13076
  }
12908
13077
  class SaveNoiStatusFailAction {
12909
13078
  constructor(payload) {
12910
13079
  this.payload = payload;
12911
- this.type = NoiWorkListActionTypes.SaveStatusFail;
13080
+ this.type = NoiWorkListActionTypes.SaveManualNOIStatusFail;
12912
13081
  }
12913
13082
  }
12914
13083
  class OpenAppointmentDialogAction$2 {
@@ -12940,6 +13109,24 @@ class SaveConferenceByPhoneFailAction {
12940
13109
  this.payload = payload;
12941
13110
  this.type = NoiWorkListActionTypes.SaveConferenceByPhoneFail;
12942
13111
  }
13112
+ }
13113
+ class saveManualNOIAction {
13114
+ constructor(payload) {
13115
+ this.payload = payload;
13116
+ this.type = NoiWorkListActionTypes.SaveManualNOIStatus;
13117
+ }
13118
+ }
13119
+ class SaveManualNOISuccessAction {
13120
+ constructor(payload) {
13121
+ this.payload = payload;
13122
+ this.type = NoiWorkListActionTypes.SaveManualNOIStatusSuccess;
13123
+ }
13124
+ }
13125
+ class SaveManualNOIStatusFailAction {
13126
+ constructor(payload) {
13127
+ this.payload = payload;
13128
+ this.type = NoiWorkListActionTypes.SaveManualNOIStatusFail;
13129
+ }
12943
13130
  }
12944
13131
 
12945
13132
  const adapter$t = createEntityAdapter({
@@ -13065,12 +13252,18 @@ class NoiWorkListService {
13065
13252
  dispatchSaveStatus(payload) {
13066
13253
  this.store.dispatch(new SaveNoiStatusAction(payload));
13067
13254
  }
13255
+ dispatchSaveManualNOIStatus(payload) {
13256
+ this.store.dispatch(new saveManualNOIAction(payload));
13257
+ }
13068
13258
  loadWorkList() {
13069
13259
  return this.http.get(`${get(this.environment, 'assignmentQueryService')}Conciliation/GetNOIWorklist`).pipe(map$1((data) => new NoiWorkListItemModel(get(data, 'responseObject'))));
13070
13260
  }
13071
13261
  saveStatus(payload) {
13072
13262
  return this.http.post(`${get(this.environment, 'assignmentCommandService')}Conciliation/SubmitNOIWokrListStatus`, payload).pipe(map$1((data) => payload));
13073
13263
  }
13264
+ SaveManualNOIStatus(payload) {
13265
+ return this.http.post(`${get(this.environment, 'assignmentCommandService')}Conciliation/SubmitManualStatusNOIWokrList`, payload).pipe(map$1((data) => payload));
13266
+ }
13074
13267
  dispatchSaveConferenceByPhone(statusObj) {
13075
13268
  this.store.dispatch(new SaveConferenceByPhoneAction(statusObj));
13076
13269
  }
@@ -13155,6 +13348,26 @@ class NoiWorkListEffect {
13155
13348
  this.savFailAction$ = this.actions$.pipe(ofType(NoiWorkListActionTypes.SaveConferenceByPhoneFail), map$1((action) => get(action, 'payload')), tap((response) => {
13156
13349
  handleLoadFail(this.toastr, map(get(response, 'seamsErrorCodes'), 'value'));
13157
13350
  }));
13351
+ this.SaveManualNOIStatus$ = this.actions$.pipe(ofType(NoiWorkListActionTypes.SaveManualNOIStatus), map$1((action) => action.payload), switchMap((payload) => {
13352
+ return this.noiWorkListService.SaveManualNOIStatus(payload).pipe(map$1((data) => {
13353
+ if (data) {
13354
+ return new SaveManualNOISuccessAction(data);
13355
+ }
13356
+ else {
13357
+ return new SaveManualNOISuccessAction(undefined);
13358
+ }
13359
+ }), catchError((err) => {
13360
+ return of(new SaveManualNOIStatusFailAction(new SeamsHttpResponse(get(err, 'error'))));
13361
+ }));
13362
+ }));
13363
+ this.SaveManualNOIStatusSuccessAction$ = this.actions$.pipe(ofType(NoiWorkListActionTypes.SaveManualNOIStatusSuccess), map$1((action) => {
13364
+ // handleSuccess(this.toastr);
13365
+ handleSuccess(this.toastr);
13366
+ this.noiWorkListService.dispatchLoadNoiWorkList();
13367
+ }));
13368
+ this.saveManaulNOIStatusFailAction$ = this.actions$.pipe(ofType(NoiWorkListActionTypes.SaveManualNOIStatusFail), map$1((action) => get(action, 'payload')), tap((response) => {
13369
+ handleLoadFail(this.toastr, map(get(response, 'seamsErrorCodes'), 'value'));
13370
+ }));
13158
13371
  }
13159
13372
  }
13160
13373
  NoiWorkListEffect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoiWorkListEffect, deps: [{ token: NoiWorkListService }, { token: ConciliationAppointmentWorkListService }, { token: i3.ToastrService }, { token: i1$1.MatDialog }, { token: i1$2.Router }, { token: i2$1.Actions }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -13183,9 +13396,18 @@ __decorate([
13183
13396
  __decorate([
13184
13397
  Effect({ dispatch: false })
13185
13398
  ], NoiWorkListEffect.prototype, "savFailAction$", void 0);
13399
+ __decorate([
13400
+ Effect()
13401
+ ], NoiWorkListEffect.prototype, "SaveManualNOIStatus$", void 0);
13402
+ __decorate([
13403
+ Effect({ dispatch: false })
13404
+ ], NoiWorkListEffect.prototype, "SaveManualNOIStatusSuccessAction$", void 0);
13405
+ __decorate([
13406
+ Effect({ dispatch: false })
13407
+ ], NoiWorkListEffect.prototype, "saveManaulNOIStatusFailAction$", void 0);
13186
13408
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoiWorkListEffect, decorators: [{
13187
13409
  type: Injectable
13188
- }], ctorParameters: function () { return [{ type: NoiWorkListService }, { type: ConciliationAppointmentWorkListService }, { type: i3.ToastrService }, { type: i1$1.MatDialog }, { type: i1$2.Router }, { type: i2$1.Actions }]; }, propDecorators: { loadWorkList$: [], saveStatus$: [], loadFtrWorkListFailAction$: [], saveStatusSuccess$: [], openDialog$: [], savePreConciliationworks$: [], savSuccessAction$: [], savFailAction$: [] } });
13410
+ }], ctorParameters: function () { return [{ type: NoiWorkListService }, { type: ConciliationAppointmentWorkListService }, { type: i3.ToastrService }, { type: i1$1.MatDialog }, { type: i1$2.Router }, { type: i2$1.Actions }]; }, propDecorators: { loadWorkList$: [], saveStatus$: [], loadFtrWorkListFailAction$: [], saveStatusSuccess$: [], openDialog$: [], savePreConciliationworks$: [], savSuccessAction$: [], savFailAction$: [], SaveManualNOIStatus$: [], SaveManualNOIStatusSuccessAction$: [], saveManaulNOIStatusFailAction$: [] } });
13189
13411
 
13190
13412
  const actionsLabel$4 = 'Actions';
13191
13413
  const menuItems$4 = [
@@ -13204,6 +13426,10 @@ const menuItems$4 = [
13204
13426
  name: 'Conference by phone',
13205
13427
  route: toString(conferenceByPhoneActionId$1),
13206
13428
  },
13429
+ {
13430
+ name: 'Manual NOI Completed',
13431
+ route: toString(manualNOICompletedId),
13432
+ },
13207
13433
  ],
13208
13434
  },
13209
13435
  ];
@@ -13483,6 +13709,11 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13483
13709
  return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => actionItem.route !== toString(goodCauseGrantedActionId$2) && actionItem.route !== toString(goodCauseNotGrantedActionId$2)) });
13484
13710
  });
13485
13711
  }
13712
+ if (!get(this.params, 'data.isManualNOI_Type')) {
13713
+ this.menuItems = map(this.menuItems, (item) => {
13714
+ return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => actionItem.route !== toString(manualNOICompletedId)) });
13715
+ });
13716
+ }
13486
13717
  }
13487
13718
  doAction(event) {
13488
13719
  switch (event.route) {
@@ -13497,6 +13728,9 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13497
13728
  case toString(conferenceByPhoneActionId$1):
13498
13729
  this.openConferenceByPhoneDialog(get(this.params, 'data'));
13499
13730
  break;
13731
+ case toString(manualNOICompletedId):
13732
+ this.openManualNOIDialog(get(this.params, 'data'));
13733
+ break;
13500
13734
  default:
13501
13735
  break;
13502
13736
  }
@@ -13602,6 +13836,30 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13602
13836
  }
13603
13837
  });
13604
13838
  }
13839
+ openManualNOIDialog(item) {
13840
+ const dialogRef = this.dialog.open(CommentActionDialogComponent, {
13841
+ width: dialogSize$1,
13842
+ disableClose: true,
13843
+ data: {
13844
+ header: 'MANUAL NOI',
13845
+ message: '',
13846
+ buttonLabel: 'SUBMIT',
13847
+ isRequired: true,
13848
+ },
13849
+ });
13850
+ dialogRef.afterClosed().pipe(takeUntil(this.componentDestroyed)).subscribe((res) => {
13851
+ if (!!res) {
13852
+ console.log(res);
13853
+ // TODO: send data to BE
13854
+ this.noiWorkListService.dispatchSaveManualNOIStatus(new SaveNoiStatusPayload({
13855
+ isManualNOI: true,
13856
+ actionId: commentDialogBoxNOIId,
13857
+ wlNOIId: item.wlNOIId,
13858
+ comments: res.comments,
13859
+ }));
13860
+ }
13861
+ });
13862
+ }
13605
13863
  afterOnDestroy() {
13606
13864
  //
13607
13865
  }
@@ -13675,6 +13933,9 @@ const columnDefs$4 = [
13675
13933
  {
13676
13934
  headerName: 'Job Center', field: 'jobCenter', sortable: true, resizable: true, filter: true, suppressSizeToFit: true, width: 150,
13677
13935
  },
13936
+ {
13937
+ headerName: 'Manual Comment', field: 'manualComment', sortable: true, resizable: true, filter: true, suppressSizeToFit: true, width: 150,
13938
+ },
13678
13939
  ];
13679
13940
 
13680
13941
  class NoiWorkSheetComponent {
@@ -29850,6 +30111,7 @@ class PreNoiWorkListItemModel {
29850
30111
  this.isGoodCauseflag = get(data, 'isGoodCauseflag');
29851
30112
  this.infractionSite = get(data, 'infractionSite');
29852
30113
  this.canRecordOutreach = get(data, 'canRecordOutreach');
30114
+ this.showOnlyCaseSummay = get(data, 'showOnlyCaseSummay');
29853
30115
  }
29854
30116
  }
29855
30117
 
@@ -29954,7 +30216,9 @@ const reScheduleCallBackActionId = 4;
29954
30216
  const scheduleCallBackActionId = 3;
29955
30217
  const reAssignActionId = 4;
29956
30218
  const conferenceByPhoneActionId = 3;
29957
- const updateStatusActionId = 3;
30219
+ const updateStatusActionId = 3;
30220
+ const showCasesummaryId = 7;
30221
+ const showOutreachHistoryId = 8;
29958
30222
 
29959
30223
  const actionsLabel$1 = 'Actions';
29960
30224
  const menuItems$1 = [
@@ -29983,6 +30247,19 @@ const menuItems$1 = [
29983
30247
  },
29984
30248
  ],
29985
30249
  },
30250
+ {
30251
+ label: 'View',
30252
+ items: [
30253
+ {
30254
+ name: 'Case Summary',
30255
+ route: toString(showCasesummaryId),
30256
+ },
30257
+ {
30258
+ name: 'Outreach History',
30259
+ route: toString(showOutreachHistoryId),
30260
+ },
30261
+ ],
30262
+ },
29986
30263
  ];
29987
30264
 
29988
30265
  class SavePreNoiStatusPayload {
@@ -30542,9 +30819,15 @@ class PreNoiContextMenuComponent extends AbstractComponent {
30542
30819
  return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => actionItem.name !== 'Record OutReach') });
30543
30820
  });
30544
30821
  }
30822
+ if (preNoiItem.showOnlyCaseSummay) {
30823
+ this.menuItems = map(this.menuItems, (item) => {
30824
+ return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => ((actionItem.route !== '8'))) });
30825
+ });
30826
+ }
30545
30827
  return this.menuItems;
30546
30828
  }
30547
30829
  doAction(event) {
30830
+ const caseId = get(this.params, 'data.cmsCaseId');
30548
30831
  switch (event.route) {
30549
30832
  case toString(goodCauseGrantedActionId$1):
30550
30833
  this.openGoodCauseGrantedDialog(get(this.params, 'data'));
@@ -30562,10 +30845,25 @@ class PreNoiContextMenuComponent extends AbstractComponent {
30562
30845
  case toString(updateStatusActionId):
30563
30846
  this.openUpdateStatusDialog(get(this.params, 'data'));
30564
30847
  break;
30848
+ case toString(showCasesummaryId):
30849
+ this.router.navigate(['case-summary/' + caseId]);
30850
+ case toString(showOutreachHistoryId):
30851
+ this.openOutreachHistoryDialog(get(this.params, 'data'));
30852
+ break;
30565
30853
  default:
30566
30854
  break;
30567
30855
  }
30568
30856
  }
30857
+ openOutreachHistoryDialog(data) {
30858
+ var _a;
30859
+ const dialogRef = (_a = this.dialog) === null || _a === void 0 ? void 0 : _a.open(OutreachHistoryGridDialogboxComponent, {
30860
+ width: dialogSize$1,
30861
+ disableClose: true,
30862
+ data: {
30863
+ data: data.wlPreNoiId
30864
+ },
30865
+ });
30866
+ }
30569
30867
  openUpdateStatusDialog(item) {
30570
30868
  const dialogRef = this.dialog.open(UpdateStatusDialogboxComponent, {
30571
30869
  width: dialogSize$1,