File: //home/arjun/projects/buyercall/buyercall/assets/vue/widgets/Inbox/store/initialConfig.js
import { SCREEN_LEFT } from '../constants';
export const root = {
pageTitle: 'Inbox',
windowWidth: window.innerWidth,
errorMessage: null,
successMessage: null,
windowWidth: window.innerWidth,
mobileSelectedScreen: SCREEN_LEFT,
leadData: [],
profileData: {},
leadDrivenBoxActiveTab: 'My Inbox',
channels: [],
loadingChannels: false,
loadingChannelTypes: false,
loadingProfileData: false,
loadingLeadData: false,
inboxTypeCount: null,
breadCrumbs: {
home: {
label: 'Home',
isLink: true,
value: '',
isVisible: true,
sort: 1,
},
inbox: {
label: 'Inbox',
isLink: false,
value: '',
isVisible: true,
sort: 2,
},
},
loadingLeadSpecificRealTimeData: false,
loadingLeadSpecificRealTimeDataHistory: false,
loadingLeadRealTimeData: true,
loadingLeadRealTimeCardsData: false,
isSocketConnected: false,
leadRealTimeData: [],
leadRealTimeFilters: null,
realTimeSeachedLeadIds: [],
dbFilteredLeadIds: [],
leadSpecificRealTimeData: [],
leadSpecificRealTimeDataFilters: {
sources: [],
channels: [],
},
selectedLeadID: null,
sources: [],
leadDrivenBoxFiltersDB: {
sort: null,
searchTerm: '',
},
leadStatusChangeLoading: false,
leadStatusChanged: false,
newLeads: [],
newdbFilteredLeadIds: [],
leadDrivenBoxDBFilters: {
intentScore: [],
},
showProfileScreen: false,
leadProfileData: null,
updateLeadDataLoading: false,
agents: [],
contactTags: [],
};