import { slice } from '../slices';

const nameSpace = slice.name;

export const calendarSelector = (state$) => state$[nameSpace].calendar;
export const calendarCustomSelector = (state$) => state$[nameSpace].calendarCustom;
export const eventsSearchSelector = (state$) => state$[nameSpace].eventsSearch;
export const eventsOptionsSelector = (state$) => state$[nameSpace].eventsOptions;
export const eventSelector = (state$) => state$[nameSpace].event;
export const sessionsSearchSelector = (state$) => state$[nameSpace].sessionsSearch;
export const sessionsOptionsSelector = (state$) => state$[nameSpace].sessionsOptions;
export const sessionsSelector = (state$) => state$[nameSpace].sessions;
export const activeTabSelector = (state$) => state$[nameSpace].activeTab;
export const usersSelector = (state$) => state$[nameSpace].users;
export const totalMinutesSelector = (state$) => state$[nameSpace].totalMinutes;
export const averageMinutesSelector = (state$) => state$[nameSpace].averageMinutes;
export const averageMinutesPercentSelector = (state$) => state$[nameSpace].averageMinutesPercent;
export const desktopSelector = (state$) => state$[nameSpace].desktop;
export const mobileSelector = (state$) => state$[nameSpace].mobile;
export const countriesSelector = (state$) => state$[nameSpace].countries;
export const chartDataSelector = (state$) => state$[nameSpace].chartData;
export const countriesFullListSelector = (state$) => state$[nameSpace].countriesFullList;
export const isExportPdfLoadingSelector = (state$) => state$[nameSpace].isExportPdfLoading;
