transfer project in github

This commit is contained in:
hamid.zarghami1@gmail.com
2024-05-12 15:29:27 +03:30
commit e644edbd65
348 changed files with 164991 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
export const state = () => ({
sidebarShow: 'responsive',
sidebarMinimize: false,
unreadMessagesCount: 0,
branchId: null
})
export const mutations = {
toggleSidebarDesktop(state) {
const sidebarOpened = [true, 'responsive'].includes(state.sidebarShow)
state.sidebarShow = sidebarOpened ? false : 'responsive'
},
toggleSidebarMobile(state) {
const sidebarClosed = [false, 'responsive'].includes(state.sidebarShow)
state.sidebarShow = sidebarClosed ? true : 'responsive'
},
set(state, [variable, value]) {
state[variable] = value
}
}
+11
View File
@@ -0,0 +1,11 @@
export const state = () => ({
scroll: {
duration: 0.3,
triggerHook: 1,
reverse: true
},
pageLoad: {
duration: 1,
ease: 'power0.inOut'
}
})
+29
View File
@@ -0,0 +1,29 @@
export const state = () => ({
isS1: true,
router_config: true,
preLoader: false,
offCanvas: false,
unread: null,
storeId: null,
})
export const mutations = {
_isS1(state, x) {
state.isS1 = x
},
routerConfig(state) {
state.router_config = false
},
preLoader_done(state) {
state.preLoader = true
},
changeOffCanvas(state, payload) {
state.offCanvas = payload
},
unreadCount(state, payload) {
state.unread = payload
},
_storeId(state, payload) {
state.storeId = payload
}
}
+7
View File
@@ -0,0 +1,7 @@
export const state = () => ({
twitter: '',
instagram: '',
facebook: '',
googlePlus: '',
whatsApp: ''
})