Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import { defineStore } from 'pinia';
import type { ISheet } from '@/interfaces/environment';
export const useDataStore = defineStore('dataStore', () => {
const sheets = ref([
{
key: '0',
label: 'Личная жизнь',
data: '/0a49c3f4-57d2-4c82-be20-c7bab0abd623',
icon: 'pi pi-fw pi-inbox',
type: 'url',
children: [
{
key: '0-0',
label: 'Девушка',
data: '/f22dabd2-029b-46ae-8580-a8291449a051',
icon: 'pi pi-fw pi-cog',
type: 'url',
children: [
{
key: '0-0-0',
label: 'Заморочки и проблемы и всё-всё-всё моей любимой девушки',
icon: 'pi pi-fw pi-file',
data: '/83ad3c89-64a2-428d-995c-8008d40cec8a',
type: 'url'
},
{
key: '0-0-1',
label: 'Любимые цветы девушки',
icon: 'pi pi-fw pi-file',
data: '/(uuid of sheet)',
type: 'url'
}
]
},
{
key: '0-1',
label: 'Работа',
data: '/81d8bc92-57cb-4ab2-89c2-63304bd0e5fb',
icon: 'pi pi-fw pi-home',
type: 'url',
children: [
{
key: '0-1-0',
label: 'Pet-projects',
icon: 'pi pi-fw pi-file',
data: '/(uuid of sheet)',
type: 'url'
}
]
}
]
}
]);
return { sheets };
});