2018-08-04 21:27:55 +00:00
|
|
|
import { make } from 'vuex-pathify'
|
|
|
|
|
|
|
|
/* global siteConfig */
|
|
|
|
|
|
|
|
const state = {
|
2019-06-08 00:04:35 +00:00
|
|
|
company: siteConfig.company,
|
2020-02-23 20:20:55 +00:00
|
|
|
contentLicense: siteConfig.contentLicense,
|
2023-02-17 01:45:55 +00:00
|
|
|
footerOverride: siteConfig.footerOverride,
|
2018-08-11 22:16:56 +00:00
|
|
|
dark: siteConfig.darkMode,
|
2022-12-10 22:03:40 +00:00
|
|
|
tocPosition: siteConfig.tocPosition,
|
2018-08-04 21:27:55 +00:00
|
|
|
mascot: true,
|
2019-03-09 05:51:02 +00:00
|
|
|
title: siteConfig.title,
|
2019-12-19 04:45:19 +00:00
|
|
|
logoUrl: siteConfig.logoUrl,
|
2019-03-09 05:51:02 +00:00
|
|
|
search: '',
|
2019-03-09 23:43:32 +00:00
|
|
|
searchIsFocused: false,
|
2019-03-09 05:51:02 +00:00
|
|
|
searchIsLoading: false,
|
|
|
|
searchRestrictLocale: false,
|
2020-07-03 23:36:33 +00:00
|
|
|
searchRestrictPath: false,
|
|
|
|
printView: false
|
2018-08-04 21:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
|
|
namespaced: true,
|
|
|
|
state,
|
|
|
|
mutations: make.mutations(state)
|
|
|
|
}
|