Untitled
unknown
plain_text
a year ago
7.9 kB
15
Indexable
const menuQrInitialValues = {
name: '',
qr_id: '',
qr_url: '',
qr_type: 'Menu',
qr_type_info: {
design: { color: '#10a288', colors: ['#073ab0', '#10a288', '#09be09', '#c2bc05', '#ED4C28'] },
font: {
title: 'sans',
text: 'arial'
},
restaurant_title: 'Root Cafe',
restaurant_sub_title: 'Best Cafe in Town',
menu: [
{
name: 'Pizza',
description: 'This Pizza shop is great',
item: [
{
name: 'Pizza Margherita',
image: '',
description: 'Extra spicy',
is_multi_price: false,
price: '12',
multiple_price: [],
allergens: [
{ is_active: false, name: 'cereals' },
{ is_active: false, name: 'crustaceans' },
{ is_active: false, name: 'eggs' },
{ is_active: false, name: 'fish' },
{ is_active: false, name: 'peanuts' },
{ is_active: false, name: 'soy' },
{ is_active: false, name: 'milk' },
{ is_active: false, name: 'fruits of shell' },
{ is_active: false, name: 'celery' },
{ is_active: false, name: 'mustard' },
{ is_active: false, name: 'sesame' },
{ is_active: false, name: 'sulfur and sulfates' },
{ is_active: false, name: 'lupins' },
{ is_active: false, name: 'molluscs' }
]
}
]
},
{
name: 'Burger',
description: 'This Burger shop is great',
item: [
{
name: 'Burger Margherita',
image: '',
description: 'Extra spicy',
is_multi_price: false,
price: '12',
multiple_price: [],
allergens: [
{ is_active: false, name: 'cereals' },
{ is_active: false, name: 'crustaceans' },
{ is_active: false, name: 'eggs' },
{ is_active: false, name: 'fish' },
{ is_active: false, name: 'peanuts' },
{ is_active: false, name: 'soy' },
{ is_active: false, name: 'milk' },
{ is_active: false, name: 'fruits of shell' },
{ is_active: false, name: 'celery' },
{ is_active: false, name: 'mustard' },
{ is_active: false, name: 'sesame' },
{ is_active: false, name: 'sulfur and sulfates' },
{ is_active: false, name: 'lupins' },
{ is_active: false, name: 'molluscs' }
]
}
]
}
],
images_of_menu: {
company_logo: '',
cover_image: ''
},
opening_hours: {
format: '12',
hours_schedule: [
{
day: 'monday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
},
{
day: 'tuesday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
},
{
day: 'wednesday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
},
{
day: 'thursday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
},
{
day: 'friday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
},
{
day: 'saturday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
},
{
day: 'sunday',
is_active: true,
hours: [{ start: '08:00', end: '20:00' }]
}
]
},
location: {
complete: {
street: '',
number: '',
postal_code: '',
city: '',
state: '',
country: ''
},
url: '',
coordinates: {
latitude: '',
longitude: ''
}
},
contact_info: {
tel: '',
website: '',
email: ''
},
social_networks: {
title: '',
networks: [
{ name: 'facebook', icon: 'facebook.svg', url: '', text: '' },
{ name: 'twitter', icon: 'twitter.svg', url: '', text: '' }
]
},
welcome_img: '',
welcome_duration: 3
},
qr_styles: {
qr_code: '',
width: 200,
height: 200,
margin: 6,
qr_code: null,
image: null,
dotsOptions: {
type: 'square',
color: '#000000',
gradient: {
type: 'linear',
rotation: 0,
colorStops: [
{ offset: 0, color: '#000000' },
{ offset: 1, color: '#000000' }
]
}
},
backgroundOptions: {
color: '#ffffff',
gradient: {
type: 'linear',
rotation: 0,
colorStops: [
{ offset: 0, color: '#ffffff' },
{ offset: 1, color: '#ffffff' }
]
}
},
cornersSquareOptions: {
type: 'extra-rounded',
color: '#000000',
gradient: {
type: 'linear',
rotation: 0,
colorStops: [
{ offset: 0, color: '#000000' },
{ offset: 1, color: '#000000' }
]
}
},
cornersDotOptions: {
type: 'dot',
color: '#000000',
gradient: {
type: 'linear',
rotation: 0,
colorStops: [
{ offset: 0, color: '#000000' },
{ offset: 1, color: '#000000' }
]
}
},
frame: {
text: 'Your text here',
textColor: '',
primaryColor: '#A9A8A8',
secondaryColor: '#535353',
mainColor: '#000000',
frameIndex: 'none'
},
template: {
active: false,
name: ''
}
},
folder: '',
password_active: false,
password: null,
schedule_active: false,
schedule_start: null,
schedule_end: null,
domain: '',
url_config: null,
total_scan: 0,
limit_active: false,
unique_url: false,
scan_limit: null
};
export default menuQrInitialValues;
Editor is loading...
Leave a Comment