-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathapp.config.ts
123 lines (123 loc) · 2.78 KB
/
app.config.ts
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
export default defineAppConfig({
settings: {
countries: [],
titles: [],
states: [],
currencies: []
},
notifications: {
duration: 5000,
position: {
x: 'right', // center, start, end,
y: 'bottom' // top, middle, bottom
}
},
icon: {
class: 'icon',
aliases: {
addresses: 'ph:address-book-light',
profile: 'ph:person-light',
sales: 'ph:list-dashes',
check: 'ph:check',
left: 'ph:arrow-left',
right: 'ph:arrow-right',
logout: 'ph:power',
search: 'ph:magnifying-glass-light',
'search-circle': 'ph:magnifying-glass-light',
plus: 'ph:plus-bold',
minus: 'ph:minus-bold',
delete: 'ph:trash',
remove: 'ph:trash',
edit: 'ph:pencil',
info: 'ph:info',
close: 'ph:x',
user: 'ph:user',
'user-logged': 'ph:user-duotone',
'user-circle': 'ph:user-circle',
'close-circle': 'ph:x',
phone: 'ph:phone',
mobile: 'ph:device-mobile',
variants: 'fluent:box-multiple-20-regular',
printer: 'ph:printer',
error: 'ph:warning-circle',
cart: 'ph:bag-light',
shipping: 'ph:package',
billing: 'ph:receipt',
email: 'ph:envelope',
warning: 'ph:warning',
attention: 'ph:info',
down: 'ph:caret-down-light',
up: 'ph:caret-up-light',
home: 'ph:house',
history: 'ph:clock-counter-clockwise-fill',
view: 'ph:eye-light',
hide: 'ph:eye-slash-duotone',
location: 'ph:map-pin-fill',
menu: 'ph:list',
download: 'ph:download-simple-fill',
carrier: 'ph:package-duotone',
'product-list': 'ph:list',
'product-grid': 'ph:grid-nine-fill'
}
},
animations: {
productLinks: (index: any) => {
return {
initial: {
opacity: 0,
y: 100
},
enter: {
opacity: 1,
y: 0,
transition: {
duration: 300,
type: 'spring',
stiffness: '50',
delay: index * 100
}
}
}
},
searchProduct: (index: any) => {
return {
initial: {
opacity: 0
},
enter: {
opacity: 1,
transition: {
duration: 300,
type: 'spring',
stiffness: '50',
delay: index * 100
}
}
}
},
cartLines: (index: any) => {
return {
initial: {
opacity: 0,
y: -100
},
enter: {
y: 0,
opacity: 1,
transition: {
duration: 100,
type: 'spring',
stiffness: '50',
delay: index * 200
}
}
}
}
},
theme: {
logo: process.env.VUE_APP_LOGO_URL || ''
},
search: {
filters: []
}
})