export default function confirmDatePropsProvider(props) {
  const {
    userInfo,
    requestApproveArr,
    confirmList,
    dataChart,
    approveReqPayload,
    dayPress,
    modalRequestConfirmWorkingDays,
    onChangeDayPressInChart,
    onOpenDetailModal,
    onLoadMoreConfirmList,
    navigateToDayWage,
    onLoadMoreRequestApprove,
    onRefreshApproveList,
    onRefreshConfirmList,
    onChangeSelectFilter,
    onChangeMonthFilter,
    onCloseModalRequestConfirmWorkingDays,
    onOpenModalRequestConfirmWorkingDays,
    onDeleteConfirmDateRequestImage,
    confirmDateRequestImage,
    openGallery,
    confirmDateRequestTicket,
    setConfirmDateRequestTicket,
    openTimePicker,
    setOpenTimePicker,
    directManagersList,
    onSelectManagerConfirmWorkingDayRequest,
    onSubmitConfirmWorkingDayRequest,
    onSubmitApproveConfirmWorkingDaysRequest,
    myAbsentRequests,
  } = props;
  return {
    userInfo,
    requestApproveArr,
    confirmList,
    dataChart,
    approveReqPayload,
    dayPress,
    modalRequestConfirmWorkingDays,
    onChangeDayPressInChart,
    onOpenDetailModal,
    onLoadMoreConfirmList,
    navigateToDayWage,
    onLoadMoreRequestApprove,
    onRefreshApproveList,
    onRefreshConfirmList,
    onChangeSelectFilter,
    onChangeMonthFilter,
    approveRequestWorkingDaysProps: {
      approveReqPayload,
      onChangeSelectFilter,
      requestApproveArr,
      onOpenModalRequestConfirmWorkingDays,
    },
    modalRequestConfirmWorkingDaysProps: {
      userInfo: modalRequestConfirmWorkingDays.userInfo,
      onClose: onCloseModalRequestConfirmWorkingDays,
      isRequest: modalRequestConfirmWorkingDays.isRequest,
      confirmDateRequestImage,
      onDeleteConfirmDateRequestImage,
      openGallery,
      setOpenTimePicker,
      confirmDateRequestTicket,
      openTimePicker,
      directManagersList,
      setConfirmDateRequestTicket,
      onSelectManagerConfirmWorkingDayRequest,
      onSubmitConfirmWorkingDayRequest,
      onSubmitApproveConfirmWorkingDaysRequest,
    },
    onCloseModalRequestConfirmWorkingDays,
    onOpenModalRequestConfirmWorkingDays,
    myAbsentRequests,
  };
}
