- other committ
This commit is contained in:
@@ -3,6 +3,12 @@ import { IEvents } from "../model";
|
||||
export const db_data = {
|
||||
URL_FACEBOOK: "https://www.facebook.com/associazioneshen",
|
||||
|
||||
|
||||
userdata : {
|
||||
calendar_editable: false,
|
||||
|
||||
},
|
||||
|
||||
events: [
|
||||
{
|
||||
title: 'Scambi Reiki',
|
||||
|
||||
@@ -16,10 +16,10 @@ const msg_website = {
|
||||
Test2: 'Test2',
|
||||
projects: 'Progetti',
|
||||
favproj: 'Favoriti',
|
||||
projall: 'Tutti',
|
||||
projectsShared: 'Miei Condivisi',
|
||||
myprojects: 'Miei Personali'
|
||||
},
|
||||
projall: 'Tutti',
|
||||
projectsShared: 'Miei Condivisi',
|
||||
myprojects: 'Miei Personali',
|
||||
msg: {
|
||||
hello: 'Buongiorno',
|
||||
myAppName: 'FreePlanet',
|
||||
@@ -136,11 +136,11 @@ const msg_website = {
|
||||
Test1: 'Test1',
|
||||
Test2: 'Test2',
|
||||
projects: 'Proyectos',
|
||||
favproj: 'Favoritos',
|
||||
projall: 'Todos',
|
||||
projectsShared: 'Mis Compartidos',
|
||||
myprojects: 'Mis Personales',
|
||||
},
|
||||
favproj: 'Favoritos',
|
||||
projall: 'Todos',
|
||||
projectsShared: 'Mis Compartidos',
|
||||
myprojects: 'Mis Personales',
|
||||
msg: {
|
||||
hello: 'Buenos Días',
|
||||
myAppName: 'FreePlanet',
|
||||
@@ -258,11 +258,11 @@ const msg_website = {
|
||||
Test1: 'Test1',
|
||||
Test2: 'Test2',
|
||||
projects: 'Projects',
|
||||
favproj: 'Favorite',
|
||||
projall: 'All',
|
||||
projectsShared: 'My Shared',
|
||||
myprojects: 'My Personals',
|
||||
},
|
||||
favproj: 'Favorite',
|
||||
projall: 'All',
|
||||
projectsShared: 'My Shared',
|
||||
myprojects: 'My Personals',
|
||||
msg: {
|
||||
hello: 'Hello!',
|
||||
myAppName: 'FreePlanet',
|
||||
@@ -363,6 +363,24 @@ const msg_website = {
|
||||
},
|
||||
contacts: 'Contacts'
|
||||
},
|
||||
},
|
||||
fr: {
|
||||
pages: {
|
||||
|
||||
},
|
||||
msg: {
|
||||
|
||||
},
|
||||
|
||||
},
|
||||
de: {
|
||||
pages: {
|
||||
|
||||
},
|
||||
msg: {
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,225 @@
|
||||
import { Todos, Projects, UserStore } from '@store'
|
||||
import { Todos, Projects, UserStore, GlobalStore } from '@store'
|
||||
import globalroutines from '../globalroutines/index'
|
||||
|
||||
import Quasar, { date, Screen } from 'quasar'
|
||||
import { IListRoutes, ILang, IMenuList, IProject, ITodo, Privacy, IPerson } from '../model/index'
|
||||
import {
|
||||
IListRoutes,
|
||||
ILang,
|
||||
IMenuList,
|
||||
IProject,
|
||||
ITodo,
|
||||
Privacy,
|
||||
IPerson,
|
||||
IFunctionality,
|
||||
IPreloadImages
|
||||
} from '../model/index'
|
||||
import { RouteNames } from '../router/route-names'
|
||||
import { tools } from '@src/store/Modules/tools'
|
||||
|
||||
// const SHOW_PROJINTHEMENU = false
|
||||
//
|
||||
// let arrlistafavourite = []
|
||||
// let arrlistaprojtutti = []
|
||||
// let arrlistaprojmiei = []
|
||||
// if (SHOW_PROJINTHEMENU) {
|
||||
// arrlistaprojtutti = Projects.getters.listaprojects(RouteNames.projectsall)
|
||||
// arrlistaprojmiei = Projects.getters.listaprojects(RouteNames.myprojects)
|
||||
// arrlistafavourite = Projects.getters.listaprojects(RouteNames.favouriteprojects)
|
||||
// }
|
||||
// PROGETTI -> FAVORITI :
|
||||
|
||||
// if (arrlistafavourite.length > 0) {
|
||||
// arrMenu.push({
|
||||
// icon: 'favorite_border',
|
||||
// nametranslate: 'pages.' + RouteNames.favouriteprojects,
|
||||
// urlroute: RouteNames.favouriteprojects,
|
||||
// level_parent: 0.0,
|
||||
// level_child: 0.5,
|
||||
// routes2: arrlistafavourite,
|
||||
// idelem: ''
|
||||
// })
|
||||
// }
|
||||
|
||||
const routes_todo: IListRoutes[] = []
|
||||
const arrlista = [
|
||||
{ nametranslate: 'personal', description: 'personal' },
|
||||
{ nametranslate: 'work', description: 'work' },
|
||||
{ nametranslate: 'shopping', description: 'shopping' }
|
||||
]
|
||||
|
||||
arrlista.forEach((elem: IMenuList) => {
|
||||
routes_todo.push(
|
||||
{
|
||||
path: '/todo/:category',
|
||||
materialIcon: 'todo',
|
||||
urlroute: 'todo',
|
||||
name: elem.description,
|
||||
component: () => import('@/views/todo-list/todo-list.vue'),
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
infooter: true,
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
async asyncData() {
|
||||
await Todos.actions.dbLoad({ checkPending: false })
|
||||
}
|
||||
// middleware: [auth]
|
||||
},
|
||||
idelem: elem.nametranslate,
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
const routes_projects: IListRoutes[] = [
|
||||
{
|
||||
// PROGETTI -> TUTTI :
|
||||
path: '/' + RouteNames.projectsall + '/:idProj',
|
||||
materialIcon: 'accessibility_new',
|
||||
name: RouteNames.projectsall,
|
||||
urlroute: RouteNames.projectsall,
|
||||
component: () => import('@/views/projects/proj-list/proj-list.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
infooter: true,
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
async asyncData() {
|
||||
// await Todos.actions.dbLoad({ checkPending: false })
|
||||
await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true })
|
||||
}
|
||||
},
|
||||
idelem: process.env.PROJECT_ID_MAIN
|
||||
},
|
||||
{
|
||||
// PROGETTI -> TUTTI :
|
||||
path: '/' + RouteNames.myprojects + '/:idProj',
|
||||
materialIcon: 'accessibility_new',
|
||||
name: RouteNames.myprojects,
|
||||
urlroute: RouteNames.myprojects,
|
||||
component: () => import('@/views/projects/proj-list/proj-list.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
infooter: true,
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
async asyncData() {
|
||||
// await Todos.actions.dbLoad({ checkPending: false })
|
||||
await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true })
|
||||
}
|
||||
},
|
||||
idelem: process.env.PROJECT_ID_MAIN
|
||||
},
|
||||
{
|
||||
// PROGETTI -> TUTTI :
|
||||
path: '/' + RouteNames.projectsshared + '/:idProj',
|
||||
materialIcon: 'accessibility_new',
|
||||
name: RouteNames.projectsshared,
|
||||
urlroute: RouteNames.projectsshared,
|
||||
component: () => import('@/views/projects/proj-list/proj-list.vue'),
|
||||
inmenu: true,
|
||||
submenu: true,
|
||||
level_parent: 0.0,
|
||||
level_child: 0.5,
|
||||
infooter: true,
|
||||
meta: {
|
||||
requiresAuth: false,
|
||||
async asyncData() {
|
||||
// await Todos.actions.dbLoad({ checkPending: false })
|
||||
await Projects.actions.dbLoad({ checkPending: false, onlyiffirsttime: true })
|
||||
}
|
||||
},
|
||||
idelem: process.env.PROJECT_ID_MAIN
|
||||
}
|
||||
]
|
||||
|
||||
const routes: IListRoutes[] = [
|
||||
{
|
||||
path: '/',
|
||||
materialIcon: 'home',
|
||||
name: 'pages.home',
|
||||
component: () => import('@/root/home/home.vue'),
|
||||
reqauth: false,
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
{
|
||||
path: '',
|
||||
faIcon: 'fa fa-list-alt',
|
||||
materialIcon: 'format_list_numbered',
|
||||
name: 'pages.Todo',
|
||||
routes2: routes_todo,
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
solotitle: true,
|
||||
infooter: true
|
||||
},
|
||||
...routes_todo,
|
||||
{
|
||||
path: '',
|
||||
faIcon: 'fa fa-list-alt',
|
||||
materialIcon: 'next_week',
|
||||
name: 'pages.projects',
|
||||
routes2: routes_projects,
|
||||
level_parent: 0,
|
||||
level_child: 0.5,
|
||||
inmenu: true,
|
||||
solotitle: true,
|
||||
infooter: true
|
||||
},
|
||||
...routes_projects,
|
||||
{
|
||||
path: '/category',
|
||||
materialIcon: 'list',
|
||||
name: 'pages.Category',
|
||||
component: () => import('@/views/categories/category/category.vue'),
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
{
|
||||
path: '/admin/testp1/:category',
|
||||
materialIcon: 'restore',
|
||||
name: 'pages.Test1',
|
||||
component: () => import('@/views/admin/testp1/testp1.vue'),
|
||||
inmenu: true,
|
||||
infooter: false,
|
||||
reqauth: true
|
||||
},
|
||||
|
||||
// --- NOT IN MENU: ---
|
||||
{ path: '/policy', name: 'pages.policy', component: () => import('@/root/policy/policy.vue') },
|
||||
{
|
||||
path: '/signup',
|
||||
materialIcon: 'how_to_reg',
|
||||
name: 'pages.SignUp',
|
||||
component: () => import('@/views/login/signup/signup.vue'),
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
{
|
||||
path: '/signin',
|
||||
materialIcon: 'account_circle',
|
||||
name: 'pages.SignIn',
|
||||
component: () => import('@/views/login/signin/signin.vue'),
|
||||
inmenu: true,
|
||||
infooter: true
|
||||
},
|
||||
{ path: '/vreg', name: 'Verify Reg', component: () => import('@/views/login/vreg/vreg.vue') },
|
||||
{
|
||||
path: '/admin/cfgserv',
|
||||
name: 'cfgserv',
|
||||
component: () => import('@/views/admin/cfgServer/cfgServer.vue'),
|
||||
reqauth: true
|
||||
},
|
||||
{ path: '/offline', name: 'Offline', component: () => import('@/views/offline/offline.vue') }
|
||||
|
||||
]
|
||||
|
||||
const ds_operatori: IPerson[] = [
|
||||
{
|
||||
@@ -23,7 +239,7 @@ const ds_operatori: IPerson[] = [
|
||||
'Grazie a delle meravigliose sincronicità ho incontrato persone con cui condividere il percorso, partecipare attivamente alla conduzione di un’associazione culturale per la divulgazione delle discipline olistiche e questo percorso che sempre più chiaramente si è mostrato essere “ciò che volevo fare da grande”. Gli interessi si sono così trasformati in percorsi formativi professionali per diventare Operatrice Olistica e Naturopata.<br><br>' +
|
||||
'Insieme a Cristina e Kathryna nel 2019 abbiamo deciso di fondare L’associazione SHEN per creare un centro di formazione sia per chi desidera intraprendere una professione in ambito olistico sia per chi desidera fare un percorso di crescita personale.<br><br>' +
|
||||
'E di certo il cammino non è ancora finito c’è così tanto da conoscere e sperimentare...<br><br>' +
|
||||
'<span class="citazione">I due giorni più importanti della vita sono quello in cui sei nato e quello in capisci perché. (Mark Twain)</span>',
|
||||
'<span class="citazione">I due giorni più importanti della vita sono quello in cui sei nato e quello in capisci perché. (Mark Twain)</span>'
|
||||
}]
|
||||
|
||||
const arrLangUsed = [
|
||||
@@ -40,15 +256,24 @@ const lang_available: ILang[] = [
|
||||
// { label: 'German', icon: 'fa-flag-de', value: 'de', image: '../statics/images/de.png', short: 'DE' },
|
||||
]
|
||||
|
||||
export const static_data = {
|
||||
const preLoadImages: IPreloadImages[] = []
|
||||
|
||||
const functionality: IFunctionality = {
|
||||
SHOW_USER_MENU: true,
|
||||
SHOW_IF_IS_SERVER_CONNECTION: false,
|
||||
ENABLE_TODOS_LOADING: true,
|
||||
ENABLE_PROJECTS_LOADING: true,
|
||||
SHOW_NEWSLETTER: false,
|
||||
SHOW_ONLY_POLICY: false,
|
||||
BOOKING_EVENTS: false
|
||||
|
||||
}
|
||||
|
||||
export const static_data = {
|
||||
routes,
|
||||
functionality,
|
||||
ds_operatori,
|
||||
lang_available,
|
||||
preLoadImages,
|
||||
arrLangUsed
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user