@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'), {
176
+ const actOnState = adapter$I.removeAll(state);
177
+ return adapter$I.addMany(get(action, 'payload.workList'), {
178
178
  ...actOnState,
179
179
  loadingPreConciliationWorkList: false,
180
180
  actions: get(action, 'payload.actions'),
@@ -228,23 +228,23 @@ function reducer$H(state = initialState$F, action) {
228
228
  }
229
229
  // tslint:disable:no-any
230
230
  const getLoadingPreConciliationWorkList = (state) => state.loadingPreConciliationWorkList;
231
- const getErrors$H = (state) => state.errors;
231
+ const getErrors$I = (state) => state.errors;
232
232
  const getLoadingDetails$6 = (state) => state.loadingDetails;
233
233
  const getReviewDetails = (state) => state.reviewDetails;
234
234
  const getActions$3 = (state) => state.actions;
235
235
  const getIsWithdrawal = (state) => state.isWithdrawal;
236
236
  const reducers$s = {
237
- preConciliationWorkList: reducer$H,
237
+ preConciliationWorkList: reducer$I,
238
238
  };
239
239
  const getPreConciliationWorkListState = createFeatureSelector('preConciliationWorkList');
240
240
  const getPreConciliationWorkListEntitiesState = createSelector(getPreConciliationWorkListState, (state) => state.preConciliationWorkList);
241
241
  const getPreConciliationWorkListLoading = createSelector(getPreConciliationWorkListEntitiesState, getLoadingPreConciliationWorkList);
242
242
  const getPreConciliationReviewDetails = createSelector(getPreConciliationWorkListEntitiesState, getReviewDetails);
243
243
  const getPreConciliationReviewDetailsLoading = createSelector(getPreConciliationWorkListEntitiesState, getLoadingDetails$6);
244
- const getPreConciliationWorkListErrorMessages = createSelector(getPreConciliationWorkListEntitiesState, getErrors$H);
244
+ const getPreConciliationWorkListErrorMessages = createSelector(getPreConciliationWorkListEntitiesState, getErrors$I);
245
245
  const getPreConciliationWorkListActions = createSelector(getPreConciliationWorkListEntitiesState, getActions$3);
246
246
  const getPreConciliationWorkListIsWithdrawal = createSelector(getPreConciliationWorkListEntitiesState, getIsWithdrawal);
247
- const { selectIds: getpreConciliationWorkListIds, selectEntities: getpreConciliationWorkListEntities, selectAll: getAllPreConciliationWorkListEntities, } = adapter$H.getSelectors(getPreConciliationWorkListEntitiesState);
247
+ const { selectIds: getpreConciliationWorkListIds, selectEntities: getpreConciliationWorkListEntities, selectAll: getAllPreConciliationWorkListEntities, } = adapter$I.getSelectors(getPreConciliationWorkListEntitiesState);
248
248
 
249
249
  class ReviewDetails {
250
250
  constructor(data) {
@@ -1531,9 +1531,9 @@ var ConciliationAppointmentWorkListActionTypes;
1531
1531
  ConciliationAppointmentWorkListActionTypes["PrintDocument"] = "[FIA1187 Document] Print";
1532
1532
  ConciliationAppointmentWorkListActionTypes["PrintDocumentSuccess"] = "[FIA1187 Document] Print Success";
1533
1533
  ConciliationAppointmentWorkListActionTypes["PrintDocumentFail"] = "[FIA1187 Document] Print Fail";
1534
- ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysList"] = "[Conciliation Federal Holidays List] Load";
1535
- ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListSuccess"] = "[Conciliation Federal Holidays List] Load Success";
1536
- ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListFail"] = "[Conciliation Federal Holidays List] Load Fail";
1534
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysList"] = "[Federal Holidays List] Load";
1535
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListSuccess"] = "[Federal Holidays List] Load Success";
1536
+ ConciliationAppointmentWorkListActionTypes["LoadFederalHolidaysListFail"] = "[Federal Holidays List] Load Fail";
1537
1537
  })(ConciliationAppointmentWorkListActionTypes || (ConciliationAppointmentWorkListActionTypes = {}));
1538
1538
  class LoadConciliationWorkListAction {
1539
1539
  constructor(payload) {
@@ -1695,11 +1695,11 @@ class LoadFederalHolidaysListFailAction {
1695
1695
  }
1696
1696
  }
1697
1697
 
1698
- const adapter$G = createEntityAdapter({
1698
+ const adapter$H = createEntityAdapter({
1699
1699
  selectId: (workListItem) => workListItem.wlConciliationId,
1700
1700
  sortComparer: false,
1701
1701
  });
1702
- const initialState$E = adapter$G.getInitialState({
1702
+ const initialState$F = adapter$H.getInitialState({
1703
1703
  loadingConciliationWorkList: undefined,
1704
1704
  saveStatus: undefined,
1705
1705
  actions: undefined,
@@ -1707,7 +1707,7 @@ const initialState$E = adapter$G.getInitialState({
1707
1707
  loadingLDSSDocument: undefined,
1708
1708
  });
1709
1709
 
1710
- function reducer$G(state = initialState$E, action) {
1710
+ function reducer$H(state = initialState$F, action) {
1711
1711
  switch (action.type) {
1712
1712
  case ConciliationAppointmentWorkListActionTypes.PrintDocument: {
1713
1713
  return assign({}, state, {
@@ -1726,8 +1726,8 @@ function reducer$G(state = initialState$E, action) {
1726
1726
  });
1727
1727
  }
1728
1728
  case ConciliationAppointmentWorkListActionTypes.LoadConciliationWorkListSuccess: {
1729
- const actOnState = adapter$G.removeAll(state);
1730
- return adapter$G.addMany(get(action, 'payload.workListItems'), {
1729
+ const actOnState = adapter$H.removeAll(state);
1730
+ return adapter$H.addMany(get(action, 'payload.workListItems'), {
1731
1731
  ...actOnState,
1732
1732
  actions: get(action, 'payload.actions'),
1733
1733
  loadingConciliationWorkList: false,
@@ -1803,7 +1803,7 @@ function reducer$G(state = initialState$E, action) {
1803
1803
  });
1804
1804
  }
1805
1805
  case ConciliationAppointmentWorkListActionTypes.LoadConciliationWorkListFail: {
1806
- const actOnState = adapter$G.removeAll(state);
1806
+ const actOnState = adapter$H.removeAll(state);
1807
1807
  return assign({}, actOnState, {
1808
1808
  loadingConciliationWorkList: false,
1809
1809
  errors: action.payload,
@@ -1821,15 +1821,15 @@ function reducer$G(state = initialState$E, action) {
1821
1821
  }
1822
1822
  }
1823
1823
  const getLoadingConciliationWorkList = (state) => state.loadingConciliationWorkList;
1824
- const getErrors$G = (state) => state.errors;
1824
+ const getErrors$H = (state) => state.errors;
1825
1825
  const getActions$2 = (state) => state.actions;
1826
1826
  const getLoadingLDSSDocument$1 = (state) => state.loadingLDSSDocument;
1827
1827
 
1828
- const adapter$F = createEntityAdapter({
1828
+ const adapter$G = createEntityAdapter({
1829
1829
  selectId: (item) => item.outreachHistoryId,
1830
1830
  sortComparer: false,
1831
1831
  });
1832
- const initialState$D = adapter$F.getInitialState({
1832
+ const initialState$E = adapter$G.getInitialState({
1833
1833
  loadingITARequest: undefined,
1834
1834
  errors: undefined,
1835
1835
  canAdd: undefined,
@@ -1860,7 +1860,7 @@ class LoadOutreachHistoryListFailAction$3 {
1860
1860
  }
1861
1861
  }
1862
1862
 
1863
- function reducer$F(state = initialState$D, action) {
1863
+ function reducer$G(state = initialState$E, action) {
1864
1864
  switch (action.type) {
1865
1865
  case OutreachHistoryListActionTypes$3.LoadOutreachHistoryList: {
1866
1866
  return assign({}, state, {
@@ -1870,8 +1870,8 @@ function reducer$F(state = initialState$D, action) {
1870
1870
  });
1871
1871
  }
1872
1872
  case OutreachHistoryListActionTypes$3.LoadOutreachHistoryListSuccess: {
1873
- const actOnState = adapter$F.removeAll(state);
1874
- return adapter$F.addMany(get(action, 'payload'), {
1873
+ const actOnState = adapter$G.removeAll(state);
1874
+ return adapter$G.addMany(get(action, 'payload'), {
1875
1875
  ...actOnState,
1876
1876
  loadingITARequest: false,
1877
1877
  errors: undefined,
@@ -1891,14 +1891,14 @@ function reducer$F(state = initialState$D, action) {
1891
1891
  }
1892
1892
  }
1893
1893
  const getLoadingOutreachHistoryList$3 = (state) => state.loadingITARequest;
1894
- const getErrors$F = (state) => state.errors;
1894
+ const getErrors$G = (state) => state.errors;
1895
1895
  const getCanAdd$7 = (state) => state.canAdd;
1896
1896
 
1897
- const adapter$E = createEntityAdapter({
1897
+ const adapter$F = createEntityAdapter({
1898
1898
  selectId: (letter) => letter.id,
1899
1899
  sortComparer: false,
1900
1900
  });
1901
- const initialGenerateGoodCauseLetterState = adapter$E.getInitialState({
1901
+ const initialGenerateGoodCauseLetterState = adapter$F.getInitialState({
1902
1902
  selectedCourseId: undefined,
1903
1903
  loadingGenerateGoodCauseLetter: undefined,
1904
1904
  errors: undefined,
@@ -1930,18 +1930,18 @@ class LoadGenerateGoodCauseLetterFailAction {
1930
1930
  }
1931
1931
  }
1932
1932
 
1933
- function reducer$E(state = initialGenerateGoodCauseLetterState, action) {
1933
+ function reducer$F(state = initialGenerateGoodCauseLetterState, action) {
1934
1934
  switch (action.type) {
1935
1935
  case GenerateGoodCauseLetterActionTypes.LoadGenerateGoodCauseLetter: {
1936
- const actOnState = adapter$E.removeAll(state);
1936
+ const actOnState = adapter$F.removeAll(state);
1937
1937
  return assign({}, actOnState, {
1938
1938
  loadingGenerateGoodCauseLetter: true,
1939
1939
  errors: undefined,
1940
1940
  });
1941
1941
  }
1942
1942
  case GenerateGoodCauseLetterActionTypes.LoadGenerateGoodCauseLetterSuccess: {
1943
- const actOnState = adapter$E.removeAll(state);
1944
- return adapter$E.addOne(get(action, 'payload'), {
1943
+ const actOnState = adapter$F.removeAll(state);
1944
+ return adapter$F.addOne(get(action, 'payload'), {
1945
1945
  ...actOnState,
1946
1946
  selectedCourseId: get(action, 'payload.id'),
1947
1947
  loadingGenerateGoodCauseLetter: false,
@@ -1960,23 +1960,63 @@ function reducer$E(state = initialGenerateGoodCauseLetterState, action) {
1960
1960
  }
1961
1961
  }
1962
1962
  const getLoadingProgram$1 = (state) => state.loadingGenerateGoodCauseLetter;
1963
- const getErrors$E = (state) => state.errors;
1963
+ const getErrors$F = (state) => state.errors;
1964
1964
  const getSelectedProgramId$1 = (state) => state.selectedCourseId;
1965
1965
 
1966
+ const adapter$E = createEntityAdapter({
1967
+ selectId: (item) => item.holidayId,
1968
+ sortComparer: false,
1969
+ });
1970
+ const initialState$D = adapter$E.getInitialState({
1971
+ loadingHolidayList: undefined,
1972
+ errors: undefined,
1973
+ });
1974
+
1975
+ function reducer$E(state = initialState$D, action) {
1976
+ switch (action.type) {
1977
+ case ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysList: {
1978
+ return assign({}, state, {
1979
+ loadingHolidayList: true,
1980
+ errors: undefined,
1981
+ });
1982
+ }
1983
+ case ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysListSuccess: {
1984
+ const actOnState = adapter$E.removeAll(state);
1985
+ return adapter$E.addMany(get(action, 'payload'), {
1986
+ ...actOnState,
1987
+ loadingHolidayList: false,
1988
+ errors: undefined,
1989
+ });
1990
+ }
1991
+ case ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysListFail: {
1992
+ return assign({}, state, {
1993
+ loadingHolidayList: false,
1994
+ errors: action.payload,
1995
+ });
1996
+ }
1997
+ default: {
1998
+ return state;
1999
+ }
2000
+ }
2001
+ }
2002
+ const getLoadingHolidayList = (state) => state.loadingHolidayList;
2003
+ const getErrors$E = (state) => state.errors;
2004
+
1966
2005
  const reducers$r = {
1967
- GenerateGoodCauseLetter: reducer$E,
1968
- conciliationWorkList: reducer$G,
2006
+ GenerateGoodCauseLetter: reducer$F,
2007
+ conciliationWorkList: reducer$H,
1969
2008
  statuslookUp: LookupModelsReducer$1,
1970
- OutreachHistoryList: reducer$F,
2009
+ OutreachHistoryList: reducer$G,
2010
+ GetHolidaysList: reducer$E,
1971
2011
  };
1972
2012
  // tslint:disable:no-any
1973
2013
  const getConciliationWorkListState = createFeatureSelector('conciliationWorkList');
1974
2014
  const getConciliationWorkListEntitiesState = createSelector(getConciliationWorkListState, (state) => state.conciliationWorkList);
1975
2015
  const getConciliationWorkListLoading = createSelector(getConciliationWorkListEntitiesState, getLoadingConciliationWorkList);
1976
- const getConciliationWorkListErrorMessages = createSelector(getConciliationWorkListEntitiesState, getErrors$G);
2016
+ const getConciliationWorkListErrorMessages = createSelector(getConciliationWorkListEntitiesState, getErrors$H);
1977
2017
  const getLoadingLDSSDocument = createSelector(getConciliationWorkListEntitiesState, getLoadingLDSSDocument$1);
1978
2018
  const getConciliationWorkListActions = createSelector(getConciliationWorkListEntitiesState, getActions$2);
1979
- const { selectIds: getConciliationWorkListIds, selectEntities: getConciliationWorkListEntities, selectAll: getAllConciliationWorkList, } = adapter$G.getSelectors(getConciliationWorkListEntitiesState);
2019
+ const { selectIds: getConciliationWorkListIds, selectEntities: getConciliationWorkListEntities, selectAll: getAllConciliationWorkList, } = adapter$H.getSelectors(getConciliationWorkListEntitiesState);
1980
2020
  const getLookupModelsEntitiesState$1 = createSelector(getConciliationWorkListState, (state) => state.statuslookUp);
1981
2021
  const getLoadingLookupModels$1 = createSelector(getLookupModelsEntitiesState$1, getLoadingLookupModelsDetails$1);
1982
2022
  const getLookupModelsErrorMessages$1 = createSelector(getLookupModelsEntitiesState$1, getLookupModelsErrors$1);
@@ -1988,14 +2028,18 @@ const getSelectedLookupModel$1 = createSelector(getAllLookupModels$1, (lookupEnt
1988
2028
  //
1989
2029
  const getOutreachHistoryListEntitiesState$3 = createSelector(getConciliationWorkListState, (state) => state.OutreachHistoryList);
1990
2030
  const getOutreachHistoryListLoading$3 = createSelector(getOutreachHistoryListEntitiesState$3, getLoadingOutreachHistoryList$3);
1991
- const getOutreachHistoryListErrorMessages$3 = createSelector(getOutreachHistoryListEntitiesState$3, getErrors$F);
2031
+ const getOutreachHistoryListErrorMessages$3 = createSelector(getOutreachHistoryListEntitiesState$3, getErrors$G);
1992
2032
  const getCanAdd$6 = createSelector(getOutreachHistoryListEntitiesState$3, getCanAdd$7);
1993
- const { selectIds: getOutreachHistoryListIds$3, selectEntities: getOutreachHistoryListEntities$3, selectAll: getAllOutreachHistoryList$3, } = adapter$F.getSelectors(getOutreachHistoryListEntitiesState$3);
2033
+ const { selectIds: getOutreachHistoryListIds$3, selectEntities: getOutreachHistoryListEntities$3, selectAll: getAllOutreachHistoryList$3, } = adapter$G.getSelectors(getOutreachHistoryListEntitiesState$3);
2034
+ const getFederalHolidaysListEntitiesState = createSelector(getConciliationWorkListState, (state) => state.GetHolidaysList);
2035
+ const getHolidayListLoading = createSelector(getFederalHolidaysListEntitiesState, getLoadingHolidayList);
2036
+ const getHolidayListErrorMessages = createSelector(getFederalHolidaysListEntitiesState, getErrors$E);
2037
+ const { selectIds: getHolidayListIds, selectEntities: getHolidayListEntities, selectAll: getAllHolidaysList, } = adapter$E.getSelectors(getFederalHolidaysListEntitiesState);
1994
2038
  const getGenerateGoodCauseLetterEntitiesState = createSelector(getConciliationWorkListState, (state) => state.GenerateGoodCauseLetter);
1995
2039
  const getSelectedProgramId = createSelector(getGenerateGoodCauseLetterEntitiesState, getSelectedProgramId$1);
1996
2040
  const getLoadingProgram = createSelector(getGenerateGoodCauseLetterEntitiesState, getLoadingProgram$1);
1997
- const getGenerateGoodCauseLetterErrorMessages = createSelector(getGenerateGoodCauseLetterEntitiesState, getErrors$E);
1998
- const { selectIds: getGenerateGoodCauseLetterIds, selectEntities: getGenerateGoodCauseLetterEntities, selectAll: getAllGenerateGoodCauseLetter, } = adapter$E.getSelectors(getGenerateGoodCauseLetterEntitiesState);
2041
+ const getGenerateGoodCauseLetterErrorMessages = createSelector(getGenerateGoodCauseLetterEntitiesState, getErrors$F);
2042
+ const { selectIds: getGenerateGoodCauseLetterIds, selectEntities: getGenerateGoodCauseLetterEntities, selectAll: getAllGenerateGoodCauseLetter, } = adapter$F.getSelectors(getGenerateGoodCauseLetterEntitiesState);
1999
2043
  // tslint:disable-next-line: no-any
2000
2044
  const getSelectedGenerateGoodCauseLetter = createSelector(getGenerateGoodCauseLetterEntities, getSelectedProgramId, (GenerateGoodCauseLetterEntities, selectedCourseId) => {
2001
2045
  return GenerateGoodCauseLetterEntities[selectedCourseId];
@@ -2100,9 +2144,11 @@ class ConciliationLookupModel {
2100
2144
 
2101
2145
  class FederalHolidaysModel {
2102
2146
  constructor(data) {
2103
- this.id = get(data, 'id');
2104
- this.HolidayName = get(data, 'HolidayName');
2105
- this.HolidayDate = get(data, 'HolidayDate');
2147
+ this.holidayId = get(data, 'holidayId');
2148
+ this.holidayName = get(data, 'holidayName');
2149
+ this.holidayDate = moment(get(data, 'holidayDate')).startOf('day').toDate();
2150
+ this.isFederal = get(data, 'isFederal');
2151
+ this.isPublic = get(data, 'isPublic');
2106
2152
  }
2107
2153
  }
2108
2154
 
@@ -2118,7 +2164,7 @@ class ConciliationAppointmentWorkListService {
2118
2164
  this.lookupData = store.pipe(select(getSelectedLookupModel$1));
2119
2165
  this.lookupDataLoading = store.pipe(select(getLoadingLookupModels$1));
2120
2166
  this.loadingLDSSDocument = this.store.pipe(select(getLoadingLDSSDocument));
2121
- // this.holidaysList = store.pipe(select(fromReducer.getHolidaysList));
2167
+ this.holidaysList = store.pipe(select(getAllHolidaysList));
2122
2168
  }
2123
2169
  dispatchLoadConciliationWorkList() {
2124
2170
  this.store.dispatch(new LoadConciliationWorkListAction());
@@ -2201,7 +2247,7 @@ class ConciliationAppointmentWorkListService {
2201
2247
  loadFederalHolidays() {
2202
2248
  return this.http.get(`${get(this.environment, 'assignmentQueryService')}Conciliation/GetFederalHolidys`)
2203
2249
  .pipe(map$1((data) => {
2204
- return map$1(get(data, 'responseObject'), (list) => new FederalHolidaysModel(list));
2250
+ return map(get(data, 'responseObject'), (list) => new FederalHolidaysModel(list));
2205
2251
  }));
2206
2252
  }
2207
2253
  }
@@ -10284,6 +10330,16 @@ class ConciliationAppointmentWorkListEffect {
10284
10330
  window.open(fileURL, '_blank');
10285
10331
  }
10286
10332
  }));
10333
+ this.loadHolidaysList$ = this.actions$.pipe(ofType(ConciliationAppointmentWorkListActionTypes.LoadFederalHolidaysList), map$1((action) => action.payload), switchMap((id) => {
10334
+ return this.conciliationWorkListService.loadFederalHolidays().pipe(map$1((data) => {
10335
+ if (data) {
10336
+ return new LoadFederalHolidaysListSuccessAction(data);
10337
+ }
10338
+ else {
10339
+ return new LoadFederalHolidaysListSuccessAction(undefined);
10340
+ }
10341
+ }), catchError((err) => of(new LoadFederalHolidaysListFailAction(new SeamsHttpResponse(get(err, 'error'))))));
10342
+ }));
10287
10343
  }
10288
10344
  }
10289
10345
  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 });
@@ -10345,11 +10401,14 @@ __decorate([
10345
10401
  __decorate([
10346
10402
  Effect({ dispatch: false })
10347
10403
  ], ConciliationAppointmentWorkListEffect.prototype, "printSuccess$", void 0);
10404
+ __decorate([
10405
+ Effect()
10406
+ ], ConciliationAppointmentWorkListEffect.prototype, "loadHolidaysList$", void 0);
10348
10407
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ConciliationAppointmentWorkListEffect, decorators: [{
10349
10408
  type: Injectable
10350
10409
  }], 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$: [],
10351
10410
  // tslint:disable-next-line:no-any
10352
- printSuccess$: [] } });
10411
+ printSuccess$: [], loadHolidaysList$: [] } });
10353
10412
 
10354
10413
  const conciliationLookupsNameArray = ['conferenceCategoryLookup', 'updateStatusPreNOI', 'reasonLookup', 'complyLookup', 'personLookup', 'manualAndAutomaticType', 'assignedToType'];
10355
10414
  const assignToLookup = ['manualAndAutomaticType', 'preNoiAssignedToLookup'];
@@ -10669,9 +10728,23 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10669
10728
  this.apptMinuteCtrlName = 'minute1';
10670
10729
  this.showInPerson = true;
10671
10730
  this.showApptScheduler = true;
10731
+ this.myFilter = (date) => {
10732
+ if (!date)
10733
+ return false;
10734
+ const day = date.day();
10735
+ let isFederalHoliday = some(this.filteredDates, (f) => moment(f).isSame(moment(date)));
10736
+ if (day === 0 || day === 6 || isFederalHoliday) {
10737
+ return false;
10738
+ }
10739
+ return true;
10740
+ };
10672
10741
  this.elements =
10673
10742
  this.dynamicFormService.mapFormData(this.scheduleData, scheduleOrRescheduleActionFormModel.editTemplate, undefined);
10674
10743
  this.showInPerson = get(data, 'showInPerson', true);
10744
+ this.filteredDates = map(get(data, 'val'), (d) => get(d, 'holidayDate'));
10745
+ }
10746
+ ngOnInit() {
10747
+ this.hours = range(1, 25);
10675
10748
  }
10676
10749
  get dynamicFormGroup() {
10677
10750
  return get(this.dynamicForm, 'dynamicFormGroup');
@@ -10679,16 +10752,14 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10679
10752
  get isDisabled() {
10680
10753
  return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
10681
10754
  }
10682
- filterWeekends(val) {
10683
- }
10684
10755
  initElements() {
10685
10756
  const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
10686
10757
  set(apptDateElement, 'min', new Date());
10687
10758
  const today = new Date();
10688
10759
  set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
10689
- // this.filteredDates = this.filterWeekends()
10760
+ set(apptDateElement, 'filter', this.myFilter);
10690
10761
  const apptTimeElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptTimeCtrlName);
10691
- set(apptTimeElement, 'selections', timeHourslots);
10762
+ set(apptTimeElement, 'selections', this.hours);
10692
10763
  const apptMinuteElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptMinuteCtrlName);
10693
10764
  set(apptMinuteElement, 'selections', timeMinSlots);
10694
10765
  }
@@ -10703,16 +10774,13 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10703
10774
  fg.get(this.apptTimeCtrlName).setValue(apptDateTime.format(timeFormat$1));
10704
10775
  }
10705
10776
  }
10706
- openAppointmentScheduler() {
10707
- openAppointmentDialogbox(this.dialog, get(this.data, 'cmsCaseId'), get(this.environment, 'conciliationScheduleCallBackAppointmentTypeId'), 0, false, get(this.data, 'eaepAssessmentId'))
10708
- .pipe(takeUntil(this.componentDestroyed))
10709
- .subscribe((scheduleDetails) => {
10710
- if (scheduleDetails != null) {
10711
- this.showApptScheduler = false;
10712
- this.scheduleDetails = scheduleDetails;
10713
- this.setApptDateTime(moment(get(scheduleDetails, 'appointmentDatetime')));
10714
- }
10715
- });
10777
+ getApptDate(apptDate, apphour, apptime) {
10778
+ const date = moment(apptDate).get('date');
10779
+ const month = moment(apptDate).get('month');
10780
+ const year = moment(apptDate).get('year');
10781
+ const hrs = apphour;
10782
+ const mins = apptime;
10783
+ return moment().utcOffset(0).set('date', date).set('month', month).set('year', year).set('hours', hrs).set('minutes', mins).toISOString();
10716
10784
  }
10717
10785
  closeModal(action) {
10718
10786
  // tslint:disable-next-line:no-any
@@ -10720,7 +10788,7 @@ class ScheduleCallBackActionComponent extends AbstractComponent {
10720
10788
  if (action) {
10721
10789
  this.dialogRef.close({
10722
10790
  ...formValue,
10723
- apptDateTime: get(this.scheduleDetails, 'appointmentDatetime'),
10791
+ apptDateTime: this.getApptDate(formValue.apptDate, formValue.hour1, formValue.minute1),
10724
10792
  });
10725
10793
  }
10726
10794
  else {
@@ -11553,6 +11621,10 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11553
11621
  this.actions = actions;
11554
11622
  this.menuItems = this.getUpdatedMenuItems();
11555
11623
  });
11624
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
11625
+ .subscribe((data) => {
11626
+ this.holidayList = data;
11627
+ });
11556
11628
  }
11557
11629
  agInit(params) {
11558
11630
  this.params = params;
@@ -11571,7 +11643,7 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11571
11643
  };
11572
11644
  });
11573
11645
  }
11574
- if (!get(this.params, 'data.isSchedule') || canReschedule) {
11646
+ if (get(this.params, 'data.isSchedule') || canReschedule) {
11575
11647
  this.menuItems = map(this.menuItems, (item) => {
11576
11648
  return {
11577
11649
  ...item, items: filter(item.items, (actionItem) => actionItem.route !== toString(scheduleCallBackActionId$1)),
@@ -11644,6 +11716,7 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11644
11716
  break;
11645
11717
  case toString(showCasesummaryId$1):
11646
11718
  this.router.navigate(['case-summary/' + caseId]);
11719
+ break;
11647
11720
  case toString(showOutreachHistoryId$1):
11648
11721
  this.openOutreachHistoryDialog(get(this.params, 'data'));
11649
11722
  break;
@@ -11718,7 +11791,10 @@ class ConciliationContextMenuComponent extends AbstractComponent {
11718
11791
  const dialogRef = this.dialog.open(ScheduleCallBackActionComponent, {
11719
11792
  width: dialogSize$1,
11720
11793
  disableClose: true,
11721
- data: { ...item, isReSchedule: false },
11794
+ data: { ...item,
11795
+ isReSchedule: false,
11796
+ val: this.holidayList
11797
+ },
11722
11798
  });
11723
11799
  // tslint:disable-next-line:no-any
11724
11800
  dialogRef.afterClosed().pipe(takeUntil(this.componentDestroyed)).subscribe((res) => {
@@ -12145,6 +12221,7 @@ class ConciliationAppointmentWorkListComponent extends AbstractComponent {
12145
12221
  this.workList = this.conciliationWorkListService.workList;
12146
12222
  this.conciliationWorkListService.dispatchLoadConciliationWorkList();
12147
12223
  this.lookupsService.dispatchLoadLookups(conciliationLookupsNameArray);
12224
+ this.conciliationWorkListService.dispatchLoadFederalHolidaysList();
12148
12225
  this.tabService.dispatchAddTab({
12149
12226
  label: 'Conciliation Appt',
12150
12227
  route: '/compliance/conciliation',
@@ -13731,7 +13808,7 @@ const conferenceByPhoneFormModel$1 = {
13731
13808
  flex: 100,
13732
13809
  appearance: 'outline',
13733
13810
  showLabelAbove: true,
13734
- required: true,
13811
+ required: false,
13735
13812
  },
13736
13813
  ],
13737
13814
  referenceData: undefined,
@@ -13746,16 +13823,30 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13746
13823
  this.dialogRef = dialogRef;
13747
13824
  this.dynamicFormService = dynamicFormService;
13748
13825
  this.data = data;
13826
+ this.apptDateCtrlName = 'scheduledDate1';
13827
+ this.apptDate2CtrlName = 'scheduledDate2';
13828
+ this.phoneCtrlName = 'phoneNumber';
13829
+ this.emailCtrlName = 'email';
13749
13830
  this.showInPerson = true;
13831
+ this.myFilter = (date) => {
13832
+ if (!date)
13833
+ return false;
13834
+ const day = date.day();
13835
+ let isFederalHoliday = some(this.filteredDates, (f) => moment(f).isSame(moment(date)));
13836
+ if (day === 0 || day === 6 || isFederalHoliday) {
13837
+ return false;
13838
+ }
13839
+ return true;
13840
+ };
13750
13841
  this.elements =
13751
13842
  this.dynamicFormService.mapFormData(this.scheduleData, conferenceByPhoneFormModel$1.editTemplate, undefined);
13752
13843
  // this.conciliationLookups = get(data, 'conciliationLookups');
13753
13844
  this.showInPerson = get(data, 'showInPerson', true);
13845
+ this.filteredDates = map(get(data, 'val'), (d) => get(d, 'holidayDate'));
13754
13846
  }
13755
13847
  ngOnInit() {
13756
13848
  this.hours = range(1, 25);
13757
13849
  this.minutes = range(0, 61);
13758
- console.log(this.hours);
13759
13850
  }
13760
13851
  get dynamicFormGroup() {
13761
13852
  return get(this.dynamicForm, 'dynamicFormGroup');
@@ -13773,10 +13864,19 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13773
13864
  }
13774
13865
  initDynamicFormControls() {
13775
13866
  const fg = get(this.dynamicForm, 'dynamicFormGroup');
13867
+ const today = new Date();
13868
+ const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
13869
+ set(apptDateElement, 'min', new Date());
13870
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
13871
+ set(apptDateElement, 'filter', this.myFilter);
13872
+ const apptDate1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDate2CtrlName);
13873
+ set(apptDate1Element, 'min', new Date());
13874
+ set(apptDate1Element, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
13875
+ set(apptDate1Element, 'filter', this.myFilter);
13776
13876
  const hour1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour1');
13777
13877
  set(hour1Element, 'selections', this.hours);
13778
13878
  const minute1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute1');
13779
- set(minute1Element, 'selections', this.minutes);
13879
+ set(minute1Element, 'selections', timeMinSlots);
13780
13880
  fg.controls.hour1.valueChanges
13781
13881
  .pipe(takeUntil(this.componentDestroyed))
13782
13882
  .subscribe((hour) => {
@@ -13797,7 +13897,7 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13797
13897
  const hour2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour2');
13798
13898
  set(hour2Element, 'selections', this.hours);
13799
13899
  const minute2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute2');
13800
- set(minute2Element, 'selections', this.minutes);
13900
+ set(minute2Element, 'selections', timeMinSlots);
13801
13901
  fg.controls.hour2.valueChanges
13802
13902
  .pipe(takeUntil(this.componentDestroyed))
13803
13903
  .subscribe((hour) => {
@@ -13817,7 +13917,16 @@ class ConferenceByPhoneDialogboxComponent extends AbstractComponent {
13817
13917
  });
13818
13918
  }
13819
13919
  get isDisabled() {
13820
- return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
13920
+ if (this.dynamicFormGroup) {
13921
+ 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
13922
+ && this.dynamicFormGroup.controls.scheduledDate2.valid) {
13923
+ if (this.dynamicFormGroup.controls.email.valid || this.dynamicFormGroup.controls.phoneNumber.valid) {
13924
+ return false;
13925
+ }
13926
+ }
13927
+ }
13928
+ return true;
13929
+ // return this.dynamicFormGroup && this.dynamicFormGroup.invalid;
13821
13930
  }
13822
13931
  closeModal(action) {
13823
13932
  let payLoad = this.dynamicForm.value;
@@ -13875,6 +13984,10 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13875
13984
  .subscribe((lookups) => {
13876
13985
  this.conciliationLookups = lookups;
13877
13986
  });
13987
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
13988
+ .subscribe((data) => {
13989
+ this.holidayList = data;
13990
+ });
13878
13991
  }
13879
13992
  agInit(params) {
13880
13993
  this.params = params;
@@ -13936,7 +14049,7 @@ class ContextMenuNoiListComponent extends AbstractComponent {
13936
14049
  disableClose: true,
13937
14050
  data: {
13938
14051
  conciliationLookups: this.conciliationLookups,
13939
- showInPerson: false,
14052
+ showInPerson: false, val: this.holidayList,
13940
14053
  },
13941
14054
  });
13942
14055
  // tslint:disable-next-line:no-any
@@ -14206,10 +14319,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
14206
14319
  }] } });
14207
14320
 
14208
14321
  class NoiWorkListComponent extends AbstractComponent {
14209
- constructor(noiWorkListService, lookupsService, tabService) {
14322
+ constructor(noiWorkListService, lookupsService, conciliationWorkListService, tabService) {
14210
14323
  super();
14211
14324
  this.noiWorkListService = noiWorkListService;
14212
14325
  this.lookupsService = lookupsService;
14326
+ this.conciliationWorkListService = conciliationWorkListService;
14213
14327
  this.tabService = tabService;
14214
14328
  }
14215
14329
  ngOnInit() {
@@ -14223,6 +14337,7 @@ class NoiWorkListComponent extends AbstractComponent {
14223
14337
  tabName: 'noi',
14224
14338
  canClose: false,
14225
14339
  });
14340
+ this.conciliationWorkListService.dispatchLoadFederalHolidaysList();
14226
14341
  }
14227
14342
  get loading() {
14228
14343
  return this.noiWorkListService.workListLoading;
@@ -14231,12 +14346,12 @@ class NoiWorkListComponent extends AbstractComponent {
14231
14346
  //
14232
14347
  }
14233
14348
  }
14234
- 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 });
14349
+ 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 });
14235
14350
  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 });
14236
14351
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoiWorkListComponent, decorators: [{
14237
14352
  type: Component,
14238
14353
  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: [""] }]
14239
- }], ctorParameters: function () { return [{ type: NoiWorkListService }, { type: LookupsService }, { type: i2$2.TabService }]; } });
14354
+ }], ctorParameters: function () { return [{ type: NoiWorkListService }, { type: LookupsService }, { type: ConciliationAppointmentWorkListService }, { type: i2$2.TabService }]; } });
14240
14355
 
14241
14356
  const routes$h = [
14242
14357
  {
@@ -14291,7 +14406,7 @@ NoiWorkListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
14291
14406
  NoiWorkListRoutingModule,
14292
14407
  StoreModule.forFeature('noiWorkList', reducers$h),
14293
14408
  EffectsModule.forFeature([
14294
- NoiWorkListEffect,
14409
+ NoiWorkListEffect, ConciliationAppointmentWorkListEffect,
14295
14410
  ]),
14296
14411
  AgGridModule.withComponents([ContextMenuComponent$3, AgGridComponent]),
14297
14412
  MaterialModule,
@@ -14316,7 +14431,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
14316
14431
  NoiWorkListRoutingModule,
14317
14432
  StoreModule.forFeature('noiWorkList', reducers$h),
14318
14433
  EffectsModule.forFeature([
14319
- NoiWorkListEffect,
14434
+ NoiWorkListEffect, ConciliationAppointmentWorkListEffect,
14320
14435
  ]),
14321
14436
  AgGridModule.withComponents([ContextMenuComponent$3, AgGridComponent]),
14322
14437
  MaterialModule,
@@ -32722,7 +32837,7 @@ const conferenceByPhoneFormModel = {
32722
32837
  flex: 100,
32723
32838
  appearance: 'outline',
32724
32839
  showLabelAbove: true,
32725
- required: true,
32840
+ required: false,
32726
32841
  },
32727
32842
  ],
32728
32843
  referenceData: undefined,
@@ -32740,10 +32855,23 @@ class ReScheduleCallBackActionComponent extends AbstractComponent {
32740
32855
  this.reasonCtrlName = 'reasons';
32741
32856
  this.inPersonCtrlName = 'person';
32742
32857
  this.otherReasonCtrlName = 'otherReason';
32858
+ this.apptDateCtrlName = 'scheduledDate1';
32859
+ this.apptDate1CtrlName = 'scheduledDate2';
32743
32860
  this.showInPerson = true;
32861
+ this.myFilter = (date) => {
32862
+ if (!date)
32863
+ return false;
32864
+ const day = date.day();
32865
+ let isFederalHoliday = some(this.filteredDates, (f) => moment(f).isSame(moment(date)));
32866
+ if (day === 0 || day === 6 || isFederalHoliday) {
32867
+ return false;
32868
+ }
32869
+ return true;
32870
+ };
32744
32871
  this.elements =
32745
32872
  this.dynamicFormService.mapFormData(this.scheduleData, conferenceByPhoneFormModel.editTemplate, undefined);
32746
32873
  this.showInPerson = get(data, 'showInPerson', true);
32874
+ this.filteredDates = map(get(data, 'val'), (d) => get(d, 'holidayDate'));
32747
32875
  }
32748
32876
  ngAfterViewInit() {
32749
32877
  }
@@ -32759,10 +32887,19 @@ class ReScheduleCallBackActionComponent extends AbstractComponent {
32759
32887
  }
32760
32888
  initDynamicFormElements() {
32761
32889
  const fg = get(this.dynamicForm, 'dynamicFormGroup');
32890
+ const today = new Date();
32891
+ const apptDateElement = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDateCtrlName);
32892
+ set(apptDateElement, 'min', new Date());
32893
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
32894
+ set(apptDateElement, 'filter', this.myFilter);
32762
32895
  const hour1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour1');
32763
32896
  set(hour1Element, 'selections', this.hours);
32764
32897
  const minute1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute1');
32765
32898
  set(minute1Element, 'selections', this.minutes);
32899
+ const apptDate1Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === this.apptDate1CtrlName);
32900
+ set(apptDate1Element, 'min', new Date());
32901
+ set(apptDateElement, 'max', new Date(today.getFullYear(), today.getMonth(), today.getDate() + 30));
32902
+ set(apptDateElement, 'filter', this.myFilter);
32766
32903
  const hour2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'hour2');
32767
32904
  set(hour2Element, 'selections', this.hours);
32768
32905
  const minute2Element = find(get(this.dynamicForm, 'elements'), (e) => e.name === 'minute2');
@@ -33368,6 +33505,10 @@ class TelephoneOrSettledConferencContextMenuComponent extends AbstractComponent
33368
33505
  this.actions = actions;
33369
33506
  this.menuItems = this.getUpdatedMenuItems();
33370
33507
  });
33508
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
33509
+ .subscribe((data) => {
33510
+ this.holidayList = data;
33511
+ });
33371
33512
  }
33372
33513
  agInit(params) {
33373
33514
  this.params = params;
@@ -33546,6 +33687,7 @@ class TelephoneOrSettledConferencContextMenuComponent extends AbstractComponent
33546
33687
  disableClose: true,
33547
33688
  data: {
33548
33689
  conciliationLookups: this.conciliationLookups,
33690
+ val: this.holidayList
33549
33691
  },
33550
33692
  });
33551
33693
  // tslint:disable-next-line:no-any
@@ -33913,10 +34055,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
33913
34055
  }], ctorParameters: function () { return [{ type: TelephoneOrSettledConferenceWorkListService }]; } });
33914
34056
 
33915
34057
  class TelephoneSettledConferenceComponent extends AbstractComponent {
33916
- constructor(telephonicWorkListService, lookupsService, tabService) {
34058
+ constructor(telephonicWorkListService, lookupsService, conciliationWorkListService, tabService) {
33917
34059
  super();
33918
34060
  this.telephonicWorkListService = telephonicWorkListService;
33919
34061
  this.lookupsService = lookupsService;
34062
+ this.conciliationWorkListService = conciliationWorkListService;
33920
34063
  this.tabService = tabService;
33921
34064
  }
33922
34065
  ngOnInit() {
@@ -33928,6 +34071,11 @@ class TelephoneSettledConferenceComponent extends AbstractComponent {
33928
34071
  tabName: 'conciliation',
33929
34072
  canClose: false,
33930
34073
  });
34074
+ this.conciliationWorkListService.dispatchLoadFederalHolidaysList();
34075
+ this.conciliationWorkListService.holidaysList.pipe(takeUntil(this.componentDestroyed))
34076
+ .subscribe((data) => {
34077
+ this.holidayList = data;
34078
+ });
33931
34079
  }
33932
34080
  get loading() {
33933
34081
  return combineLatest([this.telephonicWorkListService.workListLoading, this.lookupsService.loadingLookups])
@@ -33937,12 +34085,12 @@ class TelephoneSettledConferenceComponent extends AbstractComponent {
33937
34085
  //
33938
34086
  }
33939
34087
  }
33940
- 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 });
34088
+ 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 });
33941
34089
  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 } });
33942
34090
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TelephoneSettledConferenceComponent, decorators: [{
33943
34091
  type: Component,
33944
34092
  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: [""] }]
33945
- }], ctorParameters: function () { return [{ type: TelephoneOrSettledConferenceWorkListService }, { type: LookupsService }, { type: i2$2.TabService }]; } });
34093
+ }], ctorParameters: function () { return [{ type: TelephoneOrSettledConferenceWorkListService }, { type: LookupsService }, { type: ConciliationAppointmentWorkListService }, { type: i2$2.TabService }]; } });
33946
34094
 
33947
34095
  const routes = [
33948
34096
  {