@prutech/compliance 1.0.241 → 1.0.242

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/esm2020/lib/conciliation-appointment-work-list/actions/conciliation-appointment-work-list.actions.mjs +4 -4
  2. package/esm2020/lib/conciliation-appointment-work-list/components/context-menu/conciliation-context-menu.component.mjs +11 -3
  3. package/esm2020/lib/conciliation-appointment-work-list/components/schedule-call-back-action/schedule-call-back-action.component.mjs +27 -20
  4. package/esm2020/lib/conciliation-appointment-work-list/conciliation-appointment-work-list.component.mjs +2 -1
  5. package/esm2020/lib/conciliation-appointment-work-list/effects/conciliation-appointment-work-list.effect.mjs +16 -3
  6. package/esm2020/lib/conciliation-appointment-work-list/models/federal-holidays-model.mjs +7 -4
  7. package/esm2020/lib/conciliation-appointment-work-list/reducers/federal-holidays-list.reducer.mjs +33 -0
  8. package/esm2020/lib/conciliation-appointment-work-list/reducers/root.reducer.mjs +8 -1
  9. package/esm2020/lib/conciliation-appointment-work-list/services/conciliation-appointment-work-list.service.mjs +4 -4
  10. package/esm2020/lib/conciliation-appointment-work-list/state/federal-holidays-list.state.mjs +10 -0
  11. package/esm2020/lib/noi-work-list/components/conference-by-phone-dialogbox/conference-by-phone-dialogbox.component.mjs +39 -6
  12. package/esm2020/lib/noi-work-list/components/context-menu/context-menu.component.mjs +6 -2
  13. package/esm2020/lib/noi-work-list/models/conference-by-phone-formmodel.mjs +2 -2
  14. package/esm2020/lib/noi-work-list/noi-work-list.component.mjs +11 -8
  15. package/esm2020/lib/noi-work-list/noi-work-list.module.mjs +4 -3
  16. package/esm2020/lib/telephone-settled-conference/components/context-menu/context-menu.component.mjs +6 -1
  17. package/esm2020/lib/telephone-settled-conference/components/re-schedule-call-back-action/re-schedule-call-back-action.component.mjs +24 -2
  18. package/esm2020/lib/telephone-settled-conference/models/conference-by-phone-formmodel.mjs +2 -2
  19. package/esm2020/lib/telephone-settled-conference/telephone-settled-conference.component.mjs +15 -8
  20. package/fesm2015/prutech-compliance.mjs +220 -79
  21. package/fesm2015/prutech-compliance.mjs.map +1 -1
  22. package/fesm2020/prutech-compliance.mjs +227 -79
  23. package/fesm2020/prutech-compliance.mjs.map +1 -1
  24. package/lib/conciliation-appointment-work-list/actions/conciliation-appointment-work-list.actions.d.ts +3 -3
  25. package/lib/conciliation-appointment-work-list/components/context-menu/conciliation-context-menu.component.d.ts +2 -0
  26. package/lib/conciliation-appointment-work-list/components/schedule-call-back-action/schedule-call-back-action.component.d.ts +7 -4
  27. package/lib/conciliation-appointment-work-list/effects/conciliation-appointment-work-list.effect.d.ts +1 -0
  28. package/lib/conciliation-appointment-work-list/models/federal-holidays-model.d.ts +5 -3
  29. package/lib/conciliation-appointment-work-list/reducers/federal-holidays-list.reducer.d.ts +5 -0
  30. package/lib/conciliation-appointment-work-list/reducers/root.reducer.d.ts +8 -0
  31. package/lib/conciliation-appointment-work-list/services/conciliation-appointment-work-list.service.d.ts +1 -1
  32. package/lib/conciliation-appointment-work-list/state/federal-holidays-list.state.d.ts +8 -0
  33. package/lib/noi-work-list/components/conference-by-phone-dialogbox/conference-by-phone-dialogbox.component.d.ts +7 -0
  34. package/lib/noi-work-list/components/context-menu/context-menu.component.d.ts +1 -0
  35. package/lib/noi-work-list/noi-work-list.component.d.ts +3 -1
  36. package/lib/telephone-settled-conference/components/context-menu/context-menu.component.d.ts +1 -0
  37. package/lib/telephone-settled-conference/components/re-schedule-call-back-action/re-schedule-call-back-action.component.d.ts +4 -0
  38. package/lib/telephone-settled-conference/telephone-settled-conference.component.d.ts +4 -1
  39. package/package.json +1 -1
@@ -150,11 +150,11 @@ class ResetReviewDetailsAction {
150
150
  }
151
151
  }
152
152
 
153
- const adapter$H = createEntityAdapter({
153
+ const adapter$I = createEntityAdapter({
154
154
  selectId: (preConciliationWorkListItem) => preConciliationWorkListItem.preConciliationId,
155
155
  sortComparer: false,
156
156
  });
157
- const initialState$F = adapter$H.getInitialState({
157
+ const initialState$G = adapter$I.getInitialState({
158
158
  loadingPreConciliationWorkList: undefined,
159
159
  loadingDetails: false,
160
160
  isWithdrawal: undefined,
@@ -163,7 +163,7 @@ const initialState$F = adapter$H.getInitialState({
163
163
  errors: undefined,
164
164
  });
165
165
 
166
- function reducer$H(state = initialState$F, action) {
166
+ function reducer$I(state = initialState$G, action) {
167
167
  switch (action.type) {
168
168
  case PreConciliationWorkListActionTypes.SaveStatus:
169
169
  case PreConciliationWorkListActionTypes.LoadPreConciliationWorkList: {
@@ -173,8 +173,8 @@ function reducer$H(state = initialState$F, action) {
173
173
  });
174
174
  }
175
175
  case PreConciliationWorkListActionTypes.LoadPreConciliationWorkListSuccess: {
176
- const actOnState = adapter$H.removeAll(state);
177
- return adapter$H.addMany(get(action, 'payload.workList'), Object.assign(Object.assign({}, actOnState), { loadingPreConciliationWorkList: false, actions: get(action, 'payload.actions'), isWithdrawal: get(action, 'payload.isWithdrawal'), errors: undefined }));
176
+ const actOnState = adapter$I.removeAll(state);
177
+ return adapter$I.addMany(get(action, 'payload.workList'), Object.assign(Object.assign({}, actOnState), { loadingPreConciliationWorkList: false, actions: get(action, 'payload.actions'), isWithdrawal: get(action, 'payload.isWithdrawal'), errors: undefined }));
178
178
  }
179
179
  case PreConciliationWorkListActionTypes.SaveStatusSuccess: {
180
180
  return assign({}, state, {
@@ -222,23 +222,23 @@ function reducer$H(state = initialState$F, action) {
222
222
  }
223
223
  // tslint:disable:no-any
224
224
  const getLoadingPreConciliationWorkList = (state) => state.loadingPreConciliationWorkList;
225
- const getErrors$H = (state) => state.errors;
225
+ const getErrors$I = (state) => state.errors;
226
226
  const getLoadingDetails$6 = (state) => state.loadingDetails;
227
227
  const getReviewDetails = (state) => state.reviewDetails;
228
228
  const getActions$3 = (state) => state.actions;
229
229
  const getIsWithdrawal = (state) => state.isWithdrawal;
230
230
  const reducers$s = {
231
- preConciliationWorkList: reducer$H,
231
+ preConciliationWorkList: reducer$I,
232
232
  };
233
233
  const getPreConciliationWorkListState = createFeatureSelector('preConciliationWorkList');
234
234
  const getPreConciliationWorkListEntitiesState = createSelector(getPreConciliationWorkListState, (state) => state.preConciliationWorkList);
235
235
  const getPreConciliationWorkListLoading = createSelector(getPreConciliationWorkListEntitiesState, getLoadingPreConciliationWorkList);
236
236
  const getPreConciliationReviewDetails = createSelector(getPreConciliationWorkListEntitiesState, getReviewDetails);
237
237
  const getPreConciliationReviewDetailsLoading = createSelector(getPreConciliationWorkListEntitiesState, getLoadingDetails$6);
238
- const getPreConciliationWorkListErrorMessages = createSelector(getPreConciliationWorkListEntitiesState, getErrors$H);
238
+ const getPreConciliationWorkListErrorMessages = createSelector(getPreConciliationWorkListEntitiesState, getErrors$I);
239
239
  const getPreConciliationWorkListActions = createSelector(getPreConciliationWorkListEntitiesState, getActions$3);
240
240
  const getPreConciliationWorkListIsWithdrawal = createSelector(getPreConciliationWorkListEntitiesState, getIsWithdrawal);
241
- const { selectIds: getpreConciliationWorkListIds, selectEntities: getpreConciliationWorkListEntities, selectAll: getAllPreConciliationWorkListEntities, } = adapter$H.getSelectors(getPreConciliationWorkListEntitiesState);
241
+ const { selectIds: getpreConciliationWorkListIds, selectEntities: getpreConciliationWorkListEntities, selectAll: getAllPreConciliationWorkListEntities, } = adapter$I.getSelectors(getPreConciliationWorkListEntitiesState);
242
242
 
243
243
  class ReviewDetails {
244
244
  constructor(data) {
@@ -1529,9 +1529,9 @@ var ConciliationAppointmentWorkListActionTypes;
1529
1529
  ConciliationAppointmentWorkListActionTypes["PrintDocument"] = "[FIA1187 Document] Print";
1530
1530
  ConciliationAppointmentWorkListActionTypes["PrintDocumentSuccess"] = "[FIA1187 Document] Print Success";
1531
1531
  ConciliationAppointmentWorkListActionTypes["PrintDocumentFail"] = "[FIA1187 Document] Print Fail";
1532
- ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysList"] = "[Conciliation Federal Holidays List] Load";
1533
- ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListSuccess"] = "[Conciliation Federal Holidays List] Load Success";
1534
- ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListFail"] = "[Conciliation Federal Holidays List] Load Fail";
1532
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysList"] = "[Federal Holidays List] Load";
1533
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListSuccess"] = "[Federal Holidays List] Load Success";
1534
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListFail"] = "[Federal Holidays List] Load Fail";
1535
1535
  })(ConciliationAppointmentWorkListActionTypes || (ConciliationAppointmentWorkListActionTypes = {}));
1536
1536
  class LoadConciliationWorkListAction {
1537
1537
  constructor(payload) {
@@ -1693,11 +1693,11 @@ class LoadFederalHolidaysListFailAction {
1693
1693
  }
1694
1694
  }
1695
1695
 
1696
- const adapter$G = createEntityAdapter({
1696
+ const adapter$H = createEntityAdapter({
1697
1697
  selectId: (workListItem) => workListItem.wlConciliationId,
1698
1698
  sortComparer: false,
1699
1699
  });
1700
- const initialState$E = adapter$G.getInitialState({
1700
+ const initialState$F = adapter$H.getInitialState({
1701
1701
  loadingConciliationWorkList: undefined,
1702
1702
  saveStatus: undefined,
1703
1703
  actions: undefined,
@@ -1705,7 +1705,7 @@ const initialState$E = adapter$G.getInitialState({
1705
1705
  loadingLDSSDocument: undefined,
1706
1706
  });
1707
1707
 
1708
- function reducer$G(state = initialState$E, action) {
1708
+ function reducer$H(state = initialState$F, action) {
1709
1709
  switch (action.type) {
1710
1710
  case ConciliationAppointmentWorkListActionTypes.PrintDocument: {
1711
1711
  return assign({}, state, {
@@ -1724,8 +1724,8 @@ function reducer$G(state = initialState$E, action) {
1724
1724
  });
1725
1725
  }
1726
1726
  case ConciliationAppointmentWorkListActionTypes.LoadConciliationWorkListSuccess: {
1727
- const actOnState = adapter$G.removeAll(state);
1728
- return adapter$G.addMany(get(action, 'payload.workListItems'), Object.assign(Object.assign({}, actOnState), { actions: get(action, 'payload.actions'), loadingConciliationWorkList: false, errors: undefined }));
1727
+ const actOnState = adapter$H.removeAll(state);
1728
+ return adapter$H.addMany(get(action, 'payload.workListItems'), Object.assign(Object.assign({}, actOnState), { actions: get(action, 'payload.actions'), loadingConciliationWorkList: false, errors: undefined }));
1729
1729
  }
1730
1730
  case ConciliationAppointmentWorkListActionTypes.SubmitBatchPoolAppointmentSuccess:
1731
1731
  {
@@ -1796,7 +1796,7 @@ function reducer$G(state = initialState$E, action) {
1796
1796
  });
1797
1797
  }
1798
1798
  case ConciliationAppointmentWorkListActionTypes.LoadConciliationWorkListFail: {
1799
- const actOnState = adapter$G.removeAll(state);
1799
+ const actOnState = adapter$H.removeAll(state);
1800
1800
  return assign({}, actOnState, {
1801
1801
  loadingConciliationWorkList: false,
1802
1802
  errors: action.payload,
@@ -1814,15 +1814,15 @@ function reducer$G(state = initialState$E, action) {
1814
1814
  }
1815
1815
  }
1816
1816
  const getLoadingConciliationWorkList = (state) => state.loadingConciliationWorkList;
1817
- const getErrors$G = (state) => state.errors;
1817
+ const getErrors$H = (state) => state.errors;
1818
1818
  const getActions$2 = (state) => state.actions;
1819
1819
  const getLoadingLDSSDocument$1 = (state) => state.loadingLDSSDocument;
1820
1820
 
1821
- const adapter$F = createEntityAdapter({
1821
+ const adapter$G = createEntityAdapter({
1822
1822
  selectId: (item) => item.outreachHistoryId,
1823
1823
  sortComparer: false,
1824
1824
  });
1825
- const initialState$D = adapter$F.getInitialState({
1825
+ const initialState$E = adapter$G.getInitialState({
1826
1826
  loadingITARequest: undefined,
1827
1827
  errors: undefined,
1828
1828
  canAdd: undefined,
@@ -1853,7 +1853,7 @@ class LoadOutreachHistoryListFailAction$3 {
1853
1853
  }
1854
1854
  }
1855
1855
 
1856
- function reducer$F(state = initialState$D, action) {
1856
+ function reducer$G(state = initialState$E, action) {
1857
1857
  switch (action.type) {
1858
1858
  case OutreachHistoryListActionTypes$3.LoadOutreachHistoryList: {
1859
1859
  return assign({}, state, {
@@ -1863,8 +1863,8 @@ function reducer$F(state = initialState$D, action) {
1863
1863
  });
1864
1864
  }
1865
1865
  case OutreachHistoryListActionTypes$3.LoadOutreachHistoryListSuccess: {
1866
- const actOnState = adapter$F.removeAll(state);
1867
- return adapter$F.addMany(get(action, 'payload'), Object.assign(Object.assign({}, actOnState), { loadingITARequest: false, errors: undefined, canAdd: get(action, 'payload.canInitiateITARequest') }));
1866
+ const actOnState = adapter$G.removeAll(state);
1867
+ return adapter$G.addMany(get(action, 'payload'), Object.assign(Object.assign({}, actOnState), { loadingITARequest: false, errors: undefined, canAdd: get(action, 'payload.canInitiateITARequest') }));
1868
1868
  }
1869
1869
  case OutreachHistoryListActionTypes$3.LoadOutreachHistoryListFail: {
1870
1870
  return assign({}, state, {
@@ -1879,14 +1879,14 @@ function reducer$F(state = initialState$D, action) {
1879
1879
  }
1880
1880
  }
1881
1881
  const getLoadingOutreachHistoryList$3 = (state) => state.loadingITARequest;
1882
- const getErrors$F = (state) => state.errors;
1882
+ const getErrors$G = (state) => state.errors;
1883
1883
  const getCanAdd$7 = (state) => state.canAdd;
1884
1884
 
1885
- const adapter$E = createEntityAdapter({
1885
+ const adapter$F = createEntityAdapter({
1886
1886
  selectId: (letter) => letter.id,
1887
1887
  sortComparer: false,
1888
1888
  });
1889
- const initialGenerateGoodCauseLetterState = adapter$E.getInitialState({
1889
+ const initialGenerateGoodCauseLetterState = adapter$F.getInitialState({
1890
1890
  selectedCourseId: undefined,
1891
1891
  loadingGenerateGoodCauseLetter: undefined,
1892
1892
  errors: undefined,
@@ -1918,18 +1918,18 @@ class LoadGenerateGoodCauseLetterFailAction {
1918
1918
  }
1919
1919
  }
1920
1920
 
1921
- function reducer$E(state = initialGenerateGoodCauseLetterState, action) {
1921
+ function reducer$F(state = initialGenerateGoodCauseLetterState, action) {
1922
1922
  switch (action.type) {
1923
1923
  case GenerateGoodCauseLetterActionTypes.LoadGenerateGoodCauseLetter: {
1924
- const actOnState = adapter$E.removeAll(state);
1924
+ const actOnState = adapter$F.removeAll(state);
1925
1925
  return assign({}, actOnState, {
1926
1926
  loadingGenerateGoodCauseLetter: true,
1927
1927
  errors: undefined,
1928
1928
  });
1929
1929
  }
1930
1930
  case GenerateGoodCauseLetterActionTypes.LoadGenerateGoodCauseLetterSuccess: {
1931
- const actOnState = adapter$E.removeAll(state);
1932
- return adapter$E.addOne(get(action, 'payload'), Object.assign(Object.assign({}, actOnState), { selectedCourseId: get(action, 'payload.id'), loadingGenerateGoodCauseLetter: false, errors: undefined }));
1931
+ const actOnState = adapter$F.removeAll(state);
1932
+ return adapter$F.addOne(get(action, 'payload'), Object.assign(Object.assign({}, actOnState), { selectedCourseId: get(action, 'payload.id'), loadingGenerateGoodCauseLetter: false, errors: undefined }));
1933
1933
  }
1934
1934
  case GenerateGoodCauseLetterActionTypes.LoadGenerateGoodCauseLetterFail: {
1935
1935
  return assign({}, state, {
@@ -1943,23 +1943,59 @@ function reducer$E(state = initialGenerateGoodCauseLetterState, action) {
1943
1943
  }
1944
1944
  }
1945
1945
  const getLoadingProgram$1 = (state) => state.loadingGenerateGoodCauseLetter;
1946
- const getErrors$E = (state) => state.errors;
1946
+ const getErrors$F = (state) => state.errors;
1947
1947
  const getSelectedProgramId$1 = (state) => state.selectedCourseId;
1948
1948
 
1949
+ const adapter$E = createEntityAdapter({
1950
+ selectId: (item) => item.holidayId,
1951
+ sortComparer: false,
1952
+ });
1953
+ const initialState$D = adapter$E.getInitialState({
1954
+ loadingHolidayList: undefined,
1955
+ errors: undefined,
1956
+ });
1957
+
1958
+ function reducer$E(state = initialState$D, action) {
1959
+ switch (action.type) {
1960
+ case ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysList: {
1961
+ return assign({}, state, {
1962
+ loadingHolidayList: true,
1963
+ errors: undefined,
1964
+ });
1965
+ }
1966
+ case ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysListSuccess: {
1967
+ const actOnState = adapter$E.removeAll(state);
1968
+ return adapter$E.addMany(get(action, 'payload'), Object.assign(Object.assign({}, actOnState), { loadingHolidayList: false, errors: undefined }));
1969
+ }
1970
+ case ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysListFail: {
1971
+ return assign({}, state, {
1972
+ loadingHolidayList: false,
1973
+ errors: action.payload,
1974
+ });
1975
+ }
1976
+ default: {
1977
+ return state;
1978
+ }
1979
+ }
1980
+ }
1981
+ const getLoadingHolidayList = (state) => state.loadingHolidayList;
1982
+ const getErrors$E = (state) => state.errors;
1983
+
1949
1984
  const reducers$r = {
1950
- GenerateGoodCauseLetter: reducer$E,
1951
- conciliationWorkList: reducer$G,
1985
+ GenerateGoodCauseLetter: reducer$F,
1986
+ conciliationWorkList: reducer$H,
1952
1987
  statuslookUp: LookupModelsReducer$1,
1953
- OutreachHistoryList: reducer$F,
1988
+ OutreachHistoryList: reducer$G,
1989
+ GetHolidaysList: reducer$E,
1954
1990
  };
1955
1991
  // tslint:disable:no-any
1956
1992
  const getConciliationWorkListState = createFeatureSelector('conciliationWorkList');
1957
1993
  const getConciliationWorkListEntitiesState = createSelector(getConciliationWorkListState, (state) => state.conciliationWorkList);
1958
1994
  const getConciliationWorkListLoading = createSelector(getConciliationWorkListEntitiesState, getLoadingConciliationWorkList);
1959
- const getConciliationWorkListErrorMessages = createSelector(getConciliationWorkListEntitiesState, getErrors$G);
1995
+ const getConciliationWorkListErrorMessages = createSelector(getConciliationWorkListEntitiesState, getErrors$H);
1960
1996
  const getLoadingLDSSDocument = createSelector(getConciliationWorkListEntitiesState, getLoadingLDSSDocument$1);
1961
1997
  const getConciliationWorkListActions = createSelector(getConciliationWorkListEntitiesState, getActions$2);
1962
- const { selectIds: getConciliationWorkListIds, selectEntities: getConciliationWorkListEntities, selectAll: getAllConciliationWorkList, } = adapter$G.getSelectors(getConciliationWorkListEntitiesState);
1998
+ const { selectIds: getConciliationWorkListIds, selectEntities: getConciliationWorkListEntities, selectAll: getAllConciliationWorkList, } = adapter$H.getSelectors(getConciliationWorkListEntitiesState);
1963
1999
  const getLookupModelsEntitiesState$1 = createSelector(getConciliationWorkListState, (state) => state.statuslookUp);
1964
2000
  const getLoadingLookupModels$1 = createSelector(getLookupModelsEntitiesState$1, getLoadingLookupModelsDetails$1);
1965
2001
  const getLookupModelsErrorMessages$1 = createSelector(getLookupModelsEntitiesState$1, getLookupModelsErrors$1);
@@ -1971,14 +2007,18 @@ const getSelectedLookupModel$1 = createSelector(getAllLookupModels$1, (lookupEnt
1971
2007
  //
1972
2008
  const getOutreachHistoryListEntitiesState$3 = createSelector(getConciliationWorkListState, (state) => state.OutreachHistoryList);
1973
2009
  const getOutreachHistoryListLoading$3 = createSelector(getOutreachHistoryListEntitiesState$3, getLoadingOutreachHistoryList$3);
1974
- const getOutreachHistoryListErrorMessages$3 = createSelector(getOutreachHistoryListEntitiesState$3, getErrors$F);
2010
+ const getOutreachHistoryListErrorMessages$3 = createSelector(getOutreachHistoryListEntitiesState$3, getErrors$G);
1975
2011
  const getCanAdd$6 = createSelector(getOutreachHistoryListEntitiesState$3, getCanAdd$7);
1976
- const { selectIds: getOutreachHistoryListIds$3, selectEntities: getOutreachHistoryListEntities$3, selectAll: getAllOutreachHistoryList$3, } = adapter$F.getSelectors(getOutreachHistoryListEntitiesState$3);
2012
+ const { selectIds: getOutreachHistoryListIds$3, selectEntities: getOutreachHistoryListEntities$3, selectAll: getAllOutreachHistoryList$3, } = adapter$G.getSelectors(getOutreachHistoryListEntitiesState$3);
2013
+ const getFederalHolidaysListEntitiesState = createSelector(getConciliationWorkListState, (state) => state.GetHolidaysList);
2014
+ const getHolidayListLoading = createSelector(getFederalHolidaysListEntitiesState, getLoadingHolidayList);
2015
+ const getHolidayListErrorMessages = createSelector(getFederalHolidaysListEntitiesState, getErrors$E);
2016
+ const { selectIds: getHolidayListIds, selectEntities: getHolidayListEntities, selectAll: getAllHolidaysList, } = adapter$E.getSelectors(getFederalHolidaysListEntitiesState);
1977
2017
  const getGenerateGoodCauseLetterEntitiesState = createSelector(getConciliationWorkListState, (state) => state.GenerateGoodCauseLetter);
1978
2018
  const getSelectedProgramId = createSelector(getGenerateGoodCauseLetterEntitiesState, getSelectedProgramId$1);
1979
2019
  const getLoadingProgram = createSelector(getGenerateGoodCauseLetterEntitiesState, getLoadingProgram$1);
1980
- const getGenerateGoodCauseLetterErrorMessages = createSelector(getGenerateGoodCauseLetterEntitiesState, getErrors$E);
1981
- const { selectIds: getGenerateGoodCauseLetterIds, selectEntities: getGenerateGoodCauseLetterEntities, selectAll: getAllGenerateGoodCauseLetter, } = adapter$E.getSelectors(getGenerateGoodCauseLetterEntitiesState);
2020
+ const getGenerateGoodCauseLetterErrorMessages = createSelector(getGenerateGoodCauseLetterEntitiesState, getErrors$F);
2021
+ const { selectIds: getGenerateGoodCauseLetterIds, selectEntities: getGenerateGoodCauseLetterEntities, selectAll: getAllGenerateGoodCauseLetter, } = adapter$F.getSelectors(getGenerateGoodCauseLetterEntitiesState);
1982
2022
  // tslint:disable-next-line: no-any
1983
2023
  const getSelectedGenerateGoodCauseLetter = createSelector(getGenerateGoodCauseLetterEntities, getSelectedProgramId, (GenerateGoodCauseLetterEntities, selectedCourseId) => {
1984
2024
  return GenerateGoodCauseLetterEntities[selectedCourseId];
@@ -2083,9 +2123,11 @@ class ConciliationLookupModel {
2083
2123
 
2084
2124
  class FederalHolidaysModel {
2085
2125
  constructor(data) {
2086
- this.id = get(data, 'id');
2087
- this.HolidayName = get(data, 'HolidayName');
2088
- this.HolidayDate = get(data, 'HolidayDate');
2126
+ this.holidayId = get(data, 'holidayId');
2127
+ this.holidayName = get(data, 'holidayName');
2128
+ this.holidayDate = moment(get(data, 'holidayDate')).startOf('day').toDate();
2129
+ this.isFederal = get(data, 'isFederal');
2130
+ this.isPublic = get(data, 'isPublic');
2089
2131
  }
2090
2132
  }
2091
2133
 
@@ -2101,7 +2143,7 @@ class ConciliationAppointmentWorkListService {
2101
2143
  this.lookupData = store.pipe(select(getSelectedLookupModel$1));
2102
2144
  this.lookupDataLoading = store.pipe(select(getLoadingLookupModels$1));
2103
2145
  this.loadingLDSSDocument = this.store.pipe(select(getLoadingLDSSDocument));
2104
- // this.holidaysList = store.pipe(select(fromReducer.getHolidaysList));
2146
+ this.holidaysList = store.pipe(select(getAllHolidaysList));
2105
2147
  }
2106
2148
  dispatchLoadConciliationWorkList() {
2107
2149
  this.store.dispatch(new LoadConciliationWorkListAction());
@@ -2181,7 +2223,7 @@ class ConciliationAppointmentWorkListService {
2181
2223
  loadFederalHolidays() {
2182
2224
  return this.http.get(`${get(this.environment, 'assignmentQueryService')}Conciliation/GetFederalHolidys`)
2183
2225
  .pipe(map$1((data) => {
2184
- return map$1(get(data, 'responseObject'), (list) => new FederalHolidaysModel(list));
2226
+ return map(get(data, 'responseObject'), (list) => new FederalHolidaysModel(list));
2185
2227
  }));
2186
2228
  }
2187
2229
  }
@@ -10200,6 +10242,16 @@ class ConciliationAppointmentWorkListEffect {
10200
10242
  window.open(fileURL, '_blank');
10201
10243
  }
10202
10244
  }));
10245
+ this.loadHolidaysList$ = this.actions$.pipe(ofType(ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysList), map$1((action) => action.payload), switchMap((id) => {
10246
+ return this.conciliationWorkListService.loadFederalHolidays().pipe(map$1((data) => {
10247
+ if (data) {
10248
+ return new LoadFederalHolidaysListSuccessAction(data);
10249
+ }
10250
+ else {
10251
+ return new LoadFederalHolidaysListSuccessAction(undefined);
10252
+ }
10253
+ }), catchError((err) => of(new LoadFederalHolidaysListFailAction(new SeamsHttpResponse(get(err, 'error'))))));
10254
+ }));
10203
10255
  }
10204
10256
  }
10205
10257
  ConciliationAppointmentWorkListEffect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConciliationAppointmentWorkListEffect, deps: [{ token: ConciliationAppointmentWorkListService }, { token: i3.ToastrService }, { token: i1$1.MatDialog }, { token: i1$2.Router }, { token: i2$2.TabService }, { token: i2$1.Actions }], target: i0.ɵɵFactoryTarget.Injectable });
@@ -10261,11 +10313,14 @@ __decorate([
10261
10313
  __decorate([
10262
10314
  Effect({ dispatch: false })
10263
10315
  ], ConciliationAppointmentWorkListEffect.prototype, "printSuccess$", void 0);
10316
+ __decorate([
10317
+ Effect()
10318
+ ], ConciliationAppointmentWorkListEffect.prototype, "loadHolidaysList$", void 0);
10264
10319
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConciliationAppointmentWorkListEffect, decorators: [{
10265
10320
  type: Injectable
10266
10321
  }], ctorParameters: function () { return [{ type: ConciliationAppointmentWorkListService }, { type: i3.ToastrService }, { type: i1$1.MatDialog }, { type: i1$2.Router }, { type: i2$2.TabService }, { type: i2$1.Actions }]; }, propDecorators: { loadWorkList$: [], saveStatus$: [], loadWorkListFailAction$: [], saveStatusSuccess$: [], openDialog$: [], SaveSchedulingCallBackDetail$: [], savSuccessAction$: [], savFailAction$: [], SaveOutreachWorklistDetail$: [], saveSuccessAction$: [], saveFailAction$: [], saveStatusworks$: [], saveReassignFailAction$: [], saveReassignSuccessAction$: [], saveBatchAppointmentworks$: [], saveBatchAppointmentSuccessAction$: [], saveBatchAppointmentFailAction$: [], printDocument$: [],
10267
10322
  // tslint:disable-next-line:no-any
10268
- printSuccess$: [] } });
10323
+ printSuccess$: [], loadHolidaysList$: [] } });
10269
10324
 
10270
10325
  const conciliationLookupsNameArray = ['conferenceCategoryLookup', 'updateStatusPreNOI', 'reasonLookup', 'complyLookup', 'personLookup', 'manualAndAutomaticType', 'assignedToType'];
10271
10326
  const assignToLookup = ['manualAndAutomaticType', 'preNoiAssignedToLookup'];
@@ -10582,9 +10637,23 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10582
10637
  this.apptMinuteCtrlName = 'minute1';
10583
10638
  this.showInPerson = true;
10584
10639
  this.showApptScheduler = true;
10640
+ this.myFilter = (date) => {
10641
+ if (!date)
10642
+ return false;
10643
+ const day = date.day();
10644
+ let isFederalHoliday = some(this.filteredDates, (f) => moment(f).isSame(moment(date)));
10645
+ if (day === 0 || day === 6 || isFederalHoliday) {
10646
+ return false;
10647
+ }
10648
+ return true;
10649
+ };
10585
10650
  this.elements =
10586
10651
  this.dynamicFormService.mapFormData(this.scheduleData, scheduleOrRescheduleActionFormModel.editTemplate, undefined);
10587
10652
  this.showInPerson = get(data, 'showInPerson', true);
10653
+ this.filteredDates = map(get(data, 'val'), (d) => get(d, 'holidayDate'));
10654
+ }
10655
+ ngOnInit() {
10656
+ this.hours = range(1, 25);
10588
10657
  }
10589
10658
  get dynamicFormGroup() {
10590
10659
  return get(this.dynamicForm, 'dynamicFormGroup');
@@ -10592,16 +10661,14 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10592
10661
  get isDisabled() {
10593
10662
  return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
10594
10663
  }
10595
- filterWeekends(val) {
10596
- }
10597
10664
  initElements() {
10598
10665
  const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
10599
10666
  set(apptDateElement, 'min', new Date());
10600
10667
  const today = new Date();
10601
10668
  set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
10602
- // this.filteredDates = this.filterWeekends()
10669
+ set(apptDateElement, 'filter', this.myFilter);
10603
10670
  const apptTimeElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptTimeCtrlName);
10604
- set(apptTimeElement, 'selections', timeHourslots);
10671
+ set(apptTimeElement, 'selections', this.hours);
10605
10672
  const apptMinuteElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptMinuteCtrlName);
10606
10673
  set(apptMinuteElement, 'selections', timeMinSlots);
10607
10674
  }
@@ -10616,22 +10683,19 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10616
10683
  fg.get(this.apptTimeCtrlName).setValue(apptDateTime.format(timeFormat$1));
10617
10684
  }
10618
10685
  }
10619
- openAppointmentScheduler() {
10620
- openAppointmentDialogbox(this.dialog, get(this.data, 'cmsCaseId'), get(this.environment, 'conciliationScheduleCallBackAppointmentTypeId'), 0, false, get(this.data, 'eaepAssessmentId'))
10621
- .pipe(takeUntil(this.componentDestroyed))
10622
- .subscribe((scheduleDetails) => {
10623
- if (scheduleDetails != null) {
10624
- this.showApptScheduler = false;
10625
- this.scheduleDetails = scheduleDetails;
10626
- this.setApptDateTime(moment(get(scheduleDetails, 'appointmentDatetime')));
10627
- }
10628
- });
10686
+ getApptDate(apptDate, apphour, apptime) {
10687
+ const date = moment(apptDate).get('date');
10688
+ const month = moment(apptDate).get('month');
10689
+ const year = moment(apptDate).get('year');
10690
+ const hrs = apphour;
10691
+ const mins = apptime;
10692
+ return moment().utcOffset(0).set('date', date).set('month', month).set('year', year).set('hours', hrs).set('minutes', mins).toISOString();
10629
10693
  }
10630
10694
  closeModal(action) {
10631
10695
  // tslint:disable-next-line:no-any
10632
10696
  const formValue = this.dynamicFormGroup.getRawValue();
10633
10697
  if (action) {
10634
- this.dialogRef.close(Object.assign(Object.assign({}, formValue), { apptDateTime: get(this.scheduleDetails, 'appointmentDatetime') }));
10698
+ this.dialogRef.close(Object.assign(Object.assign({}, formValue), { apptDateTime: this.getApptDate(formValue.apptDate, formValue.hour1, formValue.minute1) }));
10635
10699
  }
10636
10700
  else {
10637
10701
  this.cancelAppointment();
@@ -11460,6 +11524,10 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11460
11524
  this.actions = actions;
11461
11525
  this.menuItems = this.getUpdatedMenuItems();
11462
11526
  });
11527
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
11528
+ .subscribe((data) => {
11529
+ this.holidayList = data;
11530
+ });
11463
11531
  }
11464
11532
  agInit(params) {
11465
11533
  this.params = params;
@@ -11474,7 +11542,7 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11474
11542
  return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => actionItem.route !== '2') });
11475
11543
  });
11476
11544
  }
11477
- if (!get(this.params, 'data.isSchedule') || canReschedule) {
11545
+ if (get(this.params, 'data.isSchedule') || canReschedule) {
11478
11546
  this.menuItems = map(this.menuItems, (item) => {
11479
11547
  return Object.assign(Object.assign({}, item), { items: filter(item.items, (actionItem) => actionItem.route !== toString(scheduleCallBackActionId$1)) });
11480
11548
  });
@@ -11537,6 +11605,7 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11537
11605
  break;
11538
11606
  case toString(showCasesummaryId$1):
11539
11607
  this.router.navigate(['case-summary/' + caseId]);
11608
+ break;
11540
11609
  case toString(showOutreachHistoryId$1):
11541
11610
  this.openOutreachHistoryDialog(get(this.params, 'data'));
11542
11611
  break;
@@ -11607,7 +11676,7 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11607
11676
  const dialogRef = this.dialog.open(ScheduleCallBackActionComponent, {
11608
11677
  width: dialogSize$1,
11609
11678
  disableClose: true,
11610
- data: Object.assign(Object.assign({}, item), { isReSchedule: false }),
11679
+ data: Object.assign(Object.assign({}, item), { isReSchedule: false, val: this.holidayList }),
11611
11680
  });
11612
11681
  // tslint:disable-next-line:no-any
11613
11682
  dialogRef.afterClosed().pipe(takeUntil(this.componentDestroyed)).subscribe((res) => {
@@ -11992,6 +12061,7 @@ class ConciliationAppointmentWorkListComponent extends AbstractComponent {
11992
12061
  this.workList = this.conciliationWorkListService.workList;
11993
12062
  this.conciliationWorkListService.dispatchLoadConciliationWorkList();
11994
12063
  this.lookupsService.dispatchLoadLookups(conciliationLookupsNameArray);
12064
+ this.conciliationWorkListService.dispatchLoadFederalHolidaysList();
11995
12065
  this.tabService.dispatchAddTab({
11996
12066
  label: 'Conciliation Appt',
11997
12067
  route: '/compliance/conciliation',
@@ -13579,7 +13649,7 @@ const conferenceByPhoneFormModel$1 = {
13579
13649
  flex: 100,
13580
13650
  appearance: 'outline',
13581
13651
  showLabelAbove: true,
13582
- required: true,
13652
+ required: false,
13583
13653
  },
13584
13654
  ],
13585
13655
  referenceData: undefined,
@@ -13594,16 +13664,30 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13594
13664
  this.dialogRef = dialogRef;
13595
13665
  this.dynamicFormService = dynamicFormService;
13596
13666
  this.data = data;
13667
+ this.apptDateCtrlName = 'scheduledDate1';
13668
+ this.apptDate2CtrlName = 'scheduledDate2';
13669
+ this.phoneCtrlName = 'phoneNumber';
13670
+ this.emailCtrlName = 'email';
13597
13671
  this.showInPerson = true;
13672
+ this.myFilter = (date) => {
13673
+ if (!date)
13674
+ return false;
13675
+ const day = date.day();
13676
+ let isFederalHoliday = some(this.filteredDates, (f) => moment(f).isSame(moment(date)));
13677
+ if (day === 0 || day === 6 || isFederalHoliday) {
13678
+ return false;
13679
+ }
13680
+ return true;
13681
+ };
13598
13682
  this.elements =
13599
13683
  this.dynamicFormService.mapFormData(this.scheduleData, conferenceByPhoneFormModel$1.editTemplate, undefined);
13600
13684
  // this.conciliationLookups = get(data, 'conciliationLookups');
13601
13685
  this.showInPerson = get(data, 'showInPerson', true);
13686
+ this.filteredDates = map(get(data, 'val'), (d) => get(d, 'holidayDate'));
13602
13687
  }
13603
13688
  ngOnInit() {
13604
13689
  this.hours = range(1, 25);
13605
13690
  this.minutes = range(0, 61);
13606
- console.log(this.hours);
13607
13691
  }
13608
13692
  get dynamicFormGroup() {
13609
13693
  return get(this.dynamicForm, 'dynamicFormGroup');
@@ -13621,10 +13705,19 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13621
13705
  }
13622
13706
  initDynamicFormControls() {
13623
13707
  const fg = get(this.dynamicForm, 'dynamicFormGroup');
13708
+ const today = new Date();
13709
+ const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
13710
+ set(apptDateElement, 'min', new Date());
13711
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
13712
+ set(apptDateElement, 'filter', this.myFilter);
13713
+ const apptDate1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDate2CtrlName);
13714
+ set(apptDate1Element, 'min', new Date());
13715
+ set(apptDate1Element, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
13716
+ set(apptDate1Element, 'filter', this.myFilter);
13624
13717
  const hour1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour1');
13625
13718
  set(hour1Element, 'selections', this.hours);
13626
13719
  const minute1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute1');
13627
- set(minute1Element, 'selections', this.minutes);
13720
+ set(minute1Element, 'selections', timeMinSlots);
13628
13721
  fg.controls.hour1.valueChanges
13629
13722
  .pipe(takeUntil(this.componentDestroyed))
13630
13723
  .subscribe((hour) => {
@@ -13645,7 +13738,7 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13645
13738
  const hour2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour2');
13646
13739
  set(hour2Element, 'selections', this.hours);
13647
13740
  const minute2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute2');
13648
- set(minute2Element, 'selections', this.minutes);
13741
+ set(minute2Element, 'selections', timeMinSlots);
13649
13742
  fg.controls.hour2.valueChanges
13650
13743
  .pipe(takeUntil(this.componentDestroyed))
13651
13744
  .subscribe((hour) => {
@@ -13665,7 +13758,16 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13665
13758
  });
13666
13759
  }
13667
13760
  get isDisabled() {
13668
- return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
13761
+ if (this.dynamicFormGroup) {
13762
+ if (this.dynamicFormGroup.controls.cns.valid && this.dynamicFormGroup.controls.scheduledDate1.valid && this.dynamicFormGroup.controls.hour1.valid && this.dynamicFormGroup.controls.hour2.valid && this.dynamicFormGroup.controls.minute1.valid && this.dynamicFormGroup.controls.minute2.valid
13763
+ && this.dynamicFormGroup.controls.scheduledDate2.valid) {
13764
+ if (this.dynamicFormGroup.controls.email.valid || this.dynamicFormGroup.controls.phoneNumber.valid) {
13765
+ return false;
13766
+ }
13767
+ }
13768
+ }
13769
+ return true;
13770
+ // return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
13669
13771
  }
13670
13772
  closeModal(action) {
13671
13773
  let payLoad = this.dynamicForm.value;
@@ -13725,6 +13827,10 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13725
13827
  .subscribe((lookups) => {
13726
13828
  this.conciliationLookups = lookups;
13727
13829
  });
13830
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
13831
+ .subscribe((data) => {
13832
+ this.holidayList = data;
13833
+ });
13728
13834
  }
13729
13835
  agInit(params) {
13730
13836
  this.params = params;
@@ -13775,7 +13881,7 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13775
13881
  disableClose: true,
13776
13882
  data: {
13777
13883
  conciliationLookups: this.conciliationLookups,
13778
- showInPerson: false,
13884
+ showInPerson: false, val: this.holidayList,
13779
13885
  },
13780
13886
  });
13781
13887
  // tslint:disable-next-line:no-any
@@ -14023,10 +14129,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
14023
14129
  }] } });
14024
14130
 
14025
14131
  class NoiWorkListComponent extends AbstractComponent {
14026
- constructor(noiWorkListService, lookupsService, tabService) {
14132
+ constructor(noiWorkListService, lookupsService, conciliationWorkListService, tabService) {
14027
14133
  super();
14028
14134
  this.noiWorkListService = noiWorkListService;
14029
14135
  this.lookupsService = lookupsService;
14136
+ this.conciliationWorkListService = conciliationWorkListService;
14030
14137
  this.tabService = tabService;
14031
14138
  }
14032
14139
  ngOnInit() {
@@ -14040,6 +14147,7 @@ class NoiWorkListComponent extends AbstractComponent {
14040
14147
  tabName: 'noi',
14041
14148
  canClose: false,
14042
14149
  });
14150
+ this.conciliationWorkListService.dispatchLoadFederalHolidaysList();
14043
14151
  }
14044
14152
  get loading() {
14045
14153
  return this.noiWorkListService.workListLoading;
@@ -14048,12 +14156,12 @@ class NoiWorkListComponent extends AbstractComponent {
14048
14156
  //
14049
14157
  }
14050
14158
  }
14051
- NoiWorkListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoiWorkListComponent, deps: [{ token: NoiWorkListService }, { token: LookupsService }, { token: i2$2.TabService }], target: i0.ɵɵFactoryTarget.Component });
14159
+ NoiWorkListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoiWorkListComponent, deps: [{ token: NoiWorkListService }, { token: LookupsService }, { token: ConciliationAppointmentWorkListService }, { token: i2$2.TabService }], target: i0.ɵɵFactoryTarget.Component });
14052
14160
  NoiWorkListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: NoiWorkListComponent, selector: "prutech-noi-work-list", usesInheritance: true, ngImport: i0, template: "<app-nav-tabs></app-nav-tabs>\r\n<prutech-loader *ngIf=\"(loading | async) || (lookupLoading | async)\"></prutech-loader>\r\n\r\n<prutech-noi-work-sheet [workList]=\"workList | async\"></prutech-noi-work-sheet>\r\n", styles: [""], components: [{ type: i2$2.TabsComponent, selector: "app-nav-tabs", inputs: ["primaryTab", "hideRouter"] }, { type: i2$2.LoaderComponent, selector: "prutech-loader" }, { type: NoiWorkSheetComponent, selector: "prutech-noi-work-sheet", inputs: ["workList"] }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
14053
14161
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoiWorkListComponent, decorators: [{
14054
14162
  type: Component,
14055
14163
  args: [{ selector: 'prutech-noi-work-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<app-nav-tabs></app-nav-tabs>\r\n<prutech-loader *ngIf=\"(loading | async) || (lookupLoading | async)\"></prutech-loader>\r\n\r\n<prutech-noi-work-sheet [workList]=\"workList | async\"></prutech-noi-work-sheet>\r\n", styles: [""] }]
14056
- }], ctorParameters: function () { return [{ type: NoiWorkListService }, { type: LookupsService }, { type: i2$2.TabService }]; } });
14164
+ }], ctorParameters: function () { return [{ type: NoiWorkListService }, { type: LookupsService }, { type: ConciliationAppointmentWorkListService }, { type: i2$2.TabService }]; } });
14057
14165
 
14058
14166
  const routes$h = [
14059
14167
  {
@@ -14108,7 +14216,7 @@ NoiWorkListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
14108
14216
  NoiWorkListRoutingModule,
14109
14217
  StoreModule.forFeature('noiWorkList', reducers$h),
14110
14218
  EffectsModule.forFeature([
14111
- NoiWorkListEffect,
14219
+ NoiWorkListEffect, ConciliationAppointmentWorkListEffect,
14112
14220
  ]),
14113
14221
  AgGridModule.withComponents([ContextMenuComponent$3, AgGridComponent]),
14114
14222
  MaterialModule,
@@ -14133,7 +14241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
14133
14241
  NoiWorkListRoutingModule,
14134
14242
  StoreModule.forFeature('noiWorkList', reducers$h),
14135
14243
  EffectsModule.forFeature([
14136
- NoiWorkListEffect,
14244
+ NoiWorkListEffect, ConciliationAppointmentWorkListEffect,
14137
14245
  ]),
14138
14246
  AgGridModule.withComponents([ContextMenuComponent$3, AgGridComponent]),
14139
14247
  MaterialModule,
@@ -32231,7 +32339,7 @@ const conferenceByPhoneFormModel = {
32231
32339
  flex: 100,
32232
32340
  appearance: 'outline',
32233
32341
  showLabelAbove: true,
32234
- required: true,
32342
+ required: false,
32235
32343
  },
32236
32344
  ],
32237
32345
  referenceData: undefined,
@@ -32249,10 +32357,23 @@ class ReScheduleCallBackActionComponent extends AbstractComponent {
32249
32357
  this.reasonCtrlName = 'reasons';
32250
32358
  this.inPersonCtrlName = 'person';
32251
32359
  this.otherReasonCtrlName = 'otherReason';
32360
+ this.apptDateCtrlName = 'scheduledDate1';
32361
+ this.apptDate1CtrlName = 'scheduledDate2';
32252
32362
  this.showInPerson = true;
32363
+ this.myFilter = (date) => {
32364
+ if (!date)
32365
+ return false;
32366
+ const day = date.day();
32367
+ let isFederalHoliday = some(this.filteredDates, (f) => moment(f).isSame(moment(date)));
32368
+ if (day === 0 || day === 6 || isFederalHoliday) {
32369
+ return false;
32370
+ }
32371
+ return true;
32372
+ };
32253
32373
  this.elements =
32254
32374
  this.dynamicFormService.mapFormData(this.scheduleData, conferenceByPhoneFormModel.editTemplate, undefined);
32255
32375
  this.showInPerson = get(data, 'showInPerson', true);
32376
+ this.filteredDates = map(get(data, 'val'), (d) => get(d, 'holidayDate'));
32256
32377
  }
32257
32378
  ngAfterViewInit() {
32258
32379
  }
@@ -32268,10 +32389,19 @@ class ReScheduleCallBackActionComponent extends AbstractComponent {
32268
32389
  }
32269
32390
  initDynamicFormElements() {
32270
32391
  const fg = get(this.dynamicForm, 'dynamicFormGroup');
32392
+ const today = new Date();
32393
+ const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
32394
+ set(apptDateElement, 'min', new Date());
32395
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
32396
+ set(apptDateElement, 'filter', this.myFilter);
32271
32397
  const hour1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour1');
32272
32398
  set(hour1Element, 'selections', this.hours);
32273
32399
  const minute1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute1');
32274
32400
  set(minute1Element, 'selections', this.minutes);
32401
+ const apptDate1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDate1CtrlName);
32402
+ set(apptDate1Element, 'min', new Date());
32403
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
32404
+ set(apptDateElement, 'filter', this.myFilter);
32275
32405
  const hour2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour2');
32276
32406
  set(hour2Element, 'selections', this.hours);
32277
32407
  const minute2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute2');
@@ -32883,6 +33013,10 @@ class TelephoneOrSettledConferencContextMenuComponent extends AbstractComponent
32883
33013
  this.actions = actions;
32884
33014
  this.menuItems = this.getUpdatedMenuItems();
32885
33015
  });
33016
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
33017
+ .subscribe((data) => {
33018
+ this.holidayList = data;
33019
+ });
32886
33020
  }
32887
33021
  agInit(params) {
32888
33022
  this.params = params;
@@ -33037,6 +33171,7 @@ class TelephoneOrSettledConferencContextMenuComponent extends AbstractComponent
33037
33171
  disableClose: true,
33038
33172
  data: {
33039
33173
  conciliationLookups: this.conciliationLookups,
33174
+ val: this.holidayList
33040
33175
  },
33041
33176
  });
33042
33177
  // tslint:disable-next-line:no-any
@@ -33361,10 +33496,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
33361
33496
  }], ctorParameters: function () { return [{ type: TelephoneOrSettledConferenceWorkListService }]; } });
33362
33497
 
33363
33498
  class TelephoneSettledConferenceComponent extends AbstractComponent {
33364
- constructor(telephonicWorkListService, lookupsService, tabService) {
33499
+ constructor(telephonicWorkListService, lookupsService, conciliationWorkListService, tabService) {
33365
33500
  super();
33366
33501
  this.telephonicWorkListService = telephonicWorkListService;
33367
33502
  this.lookupsService = lookupsService;
33503
+ this.conciliationWorkListService = conciliationWorkListService;
33368
33504
  this.tabService = tabService;
33369
33505
  }
33370
33506
  ngOnInit() {
@@ -33376,6 +33512,11 @@ class TelephoneSettledConferenceComponent extends AbstractComponent {
33376
33512
  tabName: 'conciliation',
33377
33513
  canClose: false,
33378
33514
  });
33515
+ this.conciliationWorkListService.dispatchLoadFederalHolidaysList();
33516
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
33517
+ .subscribe((data) => {
33518
+ this.holidayList = data;
33519
+ });
33379
33520
  }
33380
33521
  get loading() {
33381
33522
  return combineLatest([this.telephonicWorkListService.workListLoading, this.lookupsService.loadingLookups])
@@ -33385,12 +33526,12 @@ class TelephoneSettledConferenceComponent extends AbstractComponent {
33385
33526
  //
33386
33527
  }
33387
33528
  }
33388
- TelephoneSettledConferenceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TelephoneSettledConferenceComponent, deps: [{ token: TelephoneOrSettledConferenceWorkListService }, { token: LookupsService }, { token: i2$2.TabService }], target: i0.ɵɵFactoryTarget.Component });
33529
+ TelephoneSettledConferenceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TelephoneSettledConferenceComponent, deps: [{ token: TelephoneOrSettledConferenceWorkListService }, { token: LookupsService }, { token: ConciliationAppointmentWorkListService }, { token: i2$2.TabService }], target: i0.ɵɵFactoryTarget.Component });
33389
33530
  TelephoneSettledConferenceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TelephoneSettledConferenceComponent, selector: "lib-telephone-settled-conference", usesInheritance: true, ngImport: i0, template: "<app-nav-tabs></app-nav-tabs>\r\n<prutech-loader *ngIf=\"(loading | async) \"></prutech-loader>\r\n\r\n\r\n<lib-telephone-settled-conference-work-list ></lib-telephone-settled-conference-work-list>", styles: [""], components: [{ type: i2$2.TabsComponent, selector: "app-nav-tabs", inputs: ["primaryTab", "hideRouter"] }, { type: i2$2.LoaderComponent, selector: "prutech-loader" }, { type: TelephoneSettledConferenceWorkListComponent, selector: "lib-telephone-settled-conference-work-list" }], directives: [{ type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4$1.AsyncPipe } });
33390
33531
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TelephoneSettledConferenceComponent, decorators: [{
33391
33532
  type: Component,
33392
33533
  args: [{ selector: 'lib-telephone-settled-conference', template: "<app-nav-tabs></app-nav-tabs>\r\n<prutech-loader *ngIf=\"(loading | async) \"></prutech-loader>\r\n\r\n\r\n<lib-telephone-settled-conference-work-list ></lib-telephone-settled-conference-work-list>", styles: [""] }]
33393
- }], ctorParameters: function () { return [{ type: TelephoneOrSettledConferenceWorkListService }, { type: LookupsService }, { type: i2$2.TabService }]; } });
33534
+ }], ctorParameters: function () { return [{ type: TelephoneOrSettledConferenceWorkListService }, { type: LookupsService }, { type: ConciliationAppointmentWorkListService }, { type: i2$2.TabService }]; } });
33394
33535
 
33395
33536
  const routes = [
33396
33537
  {