HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/buyercall/assets/vue/widgets/CommWidget/store/root/index.js
import mutations from './mutations.js';
import actions from './actions.js';
import getters from './getters.js';
import { SCREEN_WELCOME } from '../../constants';

// import { globalConfig } from '../../InitialConfig';

export const initialState = {
  isOpen: false,
  position: 'LEFT', // RIGHT, LEFT
  loadingWidgetConfiguration: false,
  widgetThemeColor: [72, 90, 255],
  screenInfo: {
    name: SCREEN_WELCOME,
    prev: '',
  },
  bottomTabOptions: [
    {
      name: 'financing',
    },
    {
      name: 'hours',
    },
    {
      name: 'map',
    },
    {
      name: 'trade',
    },
  ],
  bottomTabSelectedOption: null,
  error: null,
  partnershipID: null,
  widgetId: null,
  partnership_account_id: null,
  config: {
    isWidgetIcon: true, //identify the widget is an icon or icon plus image,
    leftAligned: true,
    screenTitleOne: 'Hi there!',
    screenTitleTwo: 'How can we help you?',
    screenSubTitle: "Here's a few quick ways to connect with us.",
  },
  agents: [],
  showPoweredBCIcon: true,
  windowWidth: window.innerWidth,
  rasaInitialMessages: [],
};

export default {
  namespaced: true,
  state: initialState,
  getters,
  actions,
  mutations,
};