init commit,
This commit is contained in:
10
03_source/frontend/src/_mock/_blog.ts
Normal file
10
03_source/frontend/src/_mock/_blog.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const POST_PUBLISH_OPTIONS = [
|
||||
{ value: 'published', label: 'Published' },
|
||||
{ value: 'draft', label: 'Draft' },
|
||||
];
|
||||
|
||||
export const POST_SORT_OPTIONS = [
|
||||
{ value: 'latest', label: 'Latest' },
|
||||
{ value: 'popular', label: 'Popular' },
|
||||
{ value: 'oldest', label: 'Oldest' },
|
||||
];
|
14
03_source/frontend/src/_mock/_calendar.ts
Normal file
14
03_source/frontend/src/_mock/_calendar.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { info, error, primary, success, warning, secondary } from 'src/theme/core';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const CALENDAR_COLOR_OPTIONS = [
|
||||
primary.main,
|
||||
secondary.main,
|
||||
info.main,
|
||||
info.darker,
|
||||
success.main,
|
||||
warning.main,
|
||||
error.main,
|
||||
error.darker,
|
||||
];
|
96
03_source/frontend/src/_mock/_files.ts
Normal file
96
03_source/frontend/src/_mock/_files.ts
Normal file
@@ -0,0 +1,96 @@
|
||||
import { _mock } from './_mock';
|
||||
import { _tags, _fileNames } from './assets';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const GB = 1000000000 * 24;
|
||||
|
||||
const FOLDERS = ['Docs', 'Projects', 'Work', 'Training', 'Sport', 'Foods'];
|
||||
|
||||
const URLS = [
|
||||
_mock.image.cover(1),
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/design_suriname_2015.mp3',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/expertise_2015_conakry_sao-tome-and-principe_gender.mp4',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/money-popup-crack.pdf',
|
||||
_mock.image.cover(3),
|
||||
_mock.image.cover(5),
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/large_news.txt',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/nauru-6015-small-fighter-left-gender.psd',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/tv-xs.doc',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/gustavia-entertainment-productivity.docx',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/vintage_bahrain_saipan.xls',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/indonesia-quito-nancy-grace-left-glad.xlsx',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/legislation-grain.zip',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/large_energy_dry_philippines.rar',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/footer-243-ecuador.iso',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/kyrgyzstan-04795009-picabo-street-guide-style.ai',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/india-data-large-gk-chesterton-mother.esp',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/footer-barbados-celine-dion.ppt',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/socio_respectively_366996.pptx',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/socio_ahead_531437_sweden_popup.wav',
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/trinidad_samuel-morse_bring.m4v',
|
||||
_mock.image.cover(11),
|
||||
_mock.image.cover(17),
|
||||
'https://www.cloud.com/s/c218bo6kjuqyv66/xl_david-blaine_component_tanzania_books.pdf',
|
||||
];
|
||||
|
||||
const SHARED_PERSONS = Array.from({ length: 20 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
email: _mock.email(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
permission: index % 2 ? 'view' : 'edit',
|
||||
}));
|
||||
|
||||
export const FILE_TYPE_OPTIONS = [
|
||||
'folder',
|
||||
'txt',
|
||||
'zip',
|
||||
'audio',
|
||||
'image',
|
||||
'video',
|
||||
'word',
|
||||
'excel',
|
||||
'powerpoint',
|
||||
'pdf',
|
||||
'photoshop',
|
||||
'illustrator',
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const shared = (index: number) =>
|
||||
(index === 0 && SHARED_PERSONS.slice(0, 5)) ||
|
||||
(index === 1 && SHARED_PERSONS.slice(5, 9)) ||
|
||||
(index === 2 && SHARED_PERSONS.slice(9, 11)) ||
|
||||
(index === 3 && SHARED_PERSONS.slice(11, 12)) ||
|
||||
[];
|
||||
|
||||
export const _folders = FOLDERS.map((name, index) => ({
|
||||
id: `${_mock.id(index)}_folder`,
|
||||
name,
|
||||
type: 'folder',
|
||||
url: URLS[index],
|
||||
shared: shared(index),
|
||||
tags: _tags.slice(0, 5),
|
||||
size: GB / ((index + 1) * 10),
|
||||
totalFiles: (index + 1) * 100,
|
||||
createdAt: _mock.time(index),
|
||||
modifiedAt: _mock.time(index),
|
||||
isFavorited: _mock.boolean(index + 1),
|
||||
}));
|
||||
|
||||
export const _files = _fileNames.map((name, index) => ({
|
||||
id: `${_mock.id(index)}_file`,
|
||||
name,
|
||||
url: URLS[index],
|
||||
shared: shared(index),
|
||||
tags: _tags.slice(0, 5),
|
||||
size: GB / ((index + 1) * 500),
|
||||
createdAt: _mock.time(index),
|
||||
modifiedAt: _mock.time(index),
|
||||
type: `${name.split('.').pop()}`,
|
||||
isFavorited: _mock.boolean(index + 1),
|
||||
}));
|
||||
|
||||
export const _allFiles = [..._folders, ..._files];
|
66
03_source/frontend/src/_mock/_invoice.ts
Normal file
66
03_source/frontend/src/_mock/_invoice.ts
Normal file
@@ -0,0 +1,66 @@
|
||||
import { fSub, fAdd } from 'src/utils/format-time';
|
||||
|
||||
import { _mock } from './_mock';
|
||||
import { _tags } from './assets';
|
||||
import { _addressBooks } from './_others';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const INVOICE_STATUS_OPTIONS = [
|
||||
{ value: 'paid', label: 'Paid' },
|
||||
{ value: 'pending', label: 'Pending' },
|
||||
{ value: 'overdue', label: 'Overdue' },
|
||||
{ value: 'draft', label: 'Draft' },
|
||||
];
|
||||
|
||||
export const INVOICE_SERVICE_OPTIONS = Array.from({ length: 8 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _tags[index],
|
||||
price: _mock.number.price(index),
|
||||
}));
|
||||
|
||||
const ITEMS = Array.from({ length: 3 }, (__, index) => {
|
||||
const total = INVOICE_SERVICE_OPTIONS[index].price * _mock.number.nativeS(index);
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
total,
|
||||
title: _mock.productName(index),
|
||||
description: _mock.sentence(index),
|
||||
price: INVOICE_SERVICE_OPTIONS[index].price,
|
||||
service: INVOICE_SERVICE_OPTIONS[index].name,
|
||||
quantity: _mock.number.nativeS(index),
|
||||
};
|
||||
});
|
||||
|
||||
export const _invoices = Array.from({ length: 20 }, (_, index) => {
|
||||
const taxes = _mock.number.price(index + 1);
|
||||
|
||||
const discount = _mock.number.price(index + 2);
|
||||
|
||||
const shipping = _mock.number.price(index + 3);
|
||||
|
||||
const subtotal = ITEMS.reduce((accumulator, item) => accumulator + item.price * item.quantity, 0);
|
||||
|
||||
const totalAmount = subtotal - shipping - discount + taxes;
|
||||
|
||||
const status =
|
||||
(index % 2 && 'paid') || (index % 3 && 'pending') || (index % 4 && 'overdue') || 'draft';
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
taxes,
|
||||
status,
|
||||
discount,
|
||||
shipping,
|
||||
subtotal,
|
||||
totalAmount,
|
||||
items: ITEMS,
|
||||
invoiceNumber: `INV-199${index}`,
|
||||
invoiceFrom: _addressBooks[index],
|
||||
invoiceTo: _addressBooks[index + 1],
|
||||
sent: _mock.number.nativeS(index),
|
||||
createDate: fSub({ days: index }),
|
||||
dueDate: fAdd({ days: index + 15, hours: index }),
|
||||
};
|
||||
});
|
155
03_source/frontend/src/_mock/_job.ts
Normal file
155
03_source/frontend/src/_mock/_job.ts
Normal file
@@ -0,0 +1,155 @@
|
||||
import { _mock } from './_mock';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const JOB_DETAILS_TABS = [
|
||||
{ label: 'Job content', value: 'content' },
|
||||
{ label: 'Candidates', value: 'candidates' },
|
||||
];
|
||||
|
||||
export const JOB_SKILL_OPTIONS = [
|
||||
'UI',
|
||||
'UX',
|
||||
'Html',
|
||||
'JavaScript',
|
||||
'TypeScript',
|
||||
'Communication',
|
||||
'Problem Solving',
|
||||
'Leadership',
|
||||
'Time Management',
|
||||
'Adaptability',
|
||||
'Collaboration',
|
||||
'Creativity',
|
||||
'Critical Thinking',
|
||||
'Technical Skills',
|
||||
'Customer Service',
|
||||
'Project Management',
|
||||
'Problem Diagnosis',
|
||||
];
|
||||
|
||||
export const JOB_WORKING_SCHEDULE_OPTIONS = [
|
||||
'Monday to Friday',
|
||||
'Weekend availability',
|
||||
'Day shift',
|
||||
];
|
||||
|
||||
export const JOB_EMPLOYMENT_TYPE_OPTIONS = [
|
||||
{ label: 'Full-time', value: 'Full-time' },
|
||||
{ label: 'Part-time', value: 'Part-time' },
|
||||
{ label: 'On demand', value: 'On demand' },
|
||||
{ label: 'Negotiable', value: 'Negotiable' },
|
||||
];
|
||||
|
||||
export const JOB_EXPERIENCE_OPTIONS = [
|
||||
{ label: 'No experience', value: 'No experience' },
|
||||
{ label: '1 year exp', value: '1 year exp' },
|
||||
{ label: '2 year exp', value: '2 year exp' },
|
||||
{ label: '> 3 year exp', value: '> 3 year exp' },
|
||||
];
|
||||
|
||||
export const JOB_BENEFIT_OPTIONS = [
|
||||
{ label: 'Free parking', value: 'Free parking' },
|
||||
{ label: 'Bonus commission', value: 'Bonus commission' },
|
||||
{ label: 'Travel', value: 'Travel' },
|
||||
{ label: 'Device support', value: 'Device support' },
|
||||
{ label: 'Health care', value: 'Health care' },
|
||||
{ label: 'Training', value: 'Training' },
|
||||
{ label: 'Health insurance', value: 'Health insurance' },
|
||||
{ label: 'Retirement plans', value: 'Retirement plans' },
|
||||
{ label: 'Paid time off', value: 'Paid time off' },
|
||||
{ label: 'Flexible work schedule', value: 'Flexible work schedule' },
|
||||
];
|
||||
|
||||
export const JOB_PUBLISH_OPTIONS = [
|
||||
{ label: 'Published', value: 'published' },
|
||||
{ label: 'Draft', value: 'draft' },
|
||||
];
|
||||
|
||||
export const JOB_SORT_OPTIONS = [
|
||||
{ label: 'Latest', value: 'latest' },
|
||||
{ label: 'Popular', value: 'popular' },
|
||||
{ label: 'Oldest', value: 'oldest' },
|
||||
];
|
||||
|
||||
const CANDIDATES = Array.from({ length: 12 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
role: _mock.role(index),
|
||||
name: _mock.fullName(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
}));
|
||||
|
||||
const CONTENT = `
|
||||
<h6>Job description</h6>
|
||||
|
||||
<p>Occaecati est et illo quibusdam accusamus qui. Incidunt aut et molestiae ut facere aut. Est quidem iusto praesentium excepturi harum nihil tenetur facilis. Ut omnis voluptates nihil accusantium doloribus eaque debitis.</p>
|
||||
|
||||
<h6>Key responsibilities</h6>
|
||||
|
||||
<ul>
|
||||
<li>Working with agency for design drawing detail, quotation and local production.</li>
|
||||
<li>Produce window displays, signs, interior displays, floor plans and special promotions displays.</li>
|
||||
<li>Change displays to promote new product launches and reflect festive or seasonal themes.</li>
|
||||
<li>Planning and executing the open/renovation/ closing store procedure.</li>
|
||||
<li>Follow‐up store maintenance procedure and keep updating SKU In & Out.</li>
|
||||
<li>Monitor costs and work within budget.</li>
|
||||
<li>Liaise with suppliers and source elements.</li>
|
||||
</ul>
|
||||
|
||||
<h6>Why You'll love working here</h6>
|
||||
|
||||
<ul>
|
||||
<li>Working with agency for design drawing detail, quotation and local production.</li>
|
||||
<li>Produce window displays, signs, interior displays, floor plans and special promotions displays.</li>
|
||||
<li>Change displays to promote new product launches and reflect festive or seasonal themes.</li>
|
||||
<li>Planning and executing the open/renovation/ closing store procedure.</li>
|
||||
<li>Follow‐up store maintenance procedure and keep updating SKU In & Out.</li>
|
||||
<li>Monitor costs and work within budget.</li>
|
||||
<li>Liaise with suppliers and source elements.</li>
|
||||
</ul>
|
||||
`;
|
||||
|
||||
export const _jobs = Array.from({ length: 12 }, (_, index) => {
|
||||
const publish = index % 3 ? 'published' : 'draft';
|
||||
|
||||
const salary = {
|
||||
type: (index % 5 && 'Custom') || 'Hourly',
|
||||
price: _mock.number.price(index),
|
||||
negotiable: _mock.boolean(index),
|
||||
};
|
||||
|
||||
const benefits = JOB_BENEFIT_OPTIONS.slice(0, 3).map((option) => option.label);
|
||||
|
||||
const experience =
|
||||
JOB_EXPERIENCE_OPTIONS.map((option) => option.label)[index] || JOB_EXPERIENCE_OPTIONS[1].label;
|
||||
|
||||
const employmentTypes = (index % 2 && ['Part-time']) ||
|
||||
(index % 3 && ['On demand']) ||
|
||||
(index % 4 && ['Negotiable']) || ['Full-time'];
|
||||
|
||||
const company = {
|
||||
name: _mock.companyNames(index),
|
||||
logo: _mock.image.company(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
fullAddress: _mock.fullAddress(index),
|
||||
};
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
salary,
|
||||
publish,
|
||||
company,
|
||||
benefits,
|
||||
experience,
|
||||
employmentTypes,
|
||||
content: CONTENT,
|
||||
candidates: CANDIDATES,
|
||||
role: _mock.role(index),
|
||||
title: _mock.jobTitle(index),
|
||||
createdAt: _mock.time(index),
|
||||
expiredDate: _mock.time(index),
|
||||
skills: JOB_SKILL_OPTIONS.slice(0, 3),
|
||||
totalViews: _mock.number.nativeL(index),
|
||||
locations: [_mock.countryNames(1), _mock.countryNames(2)],
|
||||
workingSchedule: JOB_WORKING_SCHEDULE_OPTIONS.slice(0, 2),
|
||||
};
|
||||
});
|
182
03_source/frontend/src/_mock/_map/cities.ts
Normal file
182
03_source/frontend/src/_mock/_map/cities.ts
Normal file
@@ -0,0 +1,182 @@
|
||||
export const cities = [
|
||||
{
|
||||
city: 'New York',
|
||||
population: '8,175,133',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Above_Gotham.jpg/240px-Above_Gotham.jpg',
|
||||
state: 'New York',
|
||||
latitude: 40.6643,
|
||||
longitude: -73.9385,
|
||||
},
|
||||
{
|
||||
city: 'Los Angeles',
|
||||
population: '3,792,621',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/5/57/LA_Skyline_Mountains2.jpg/240px-LA_Skyline_Mountains2.jpg',
|
||||
state: 'California',
|
||||
latitude: 34.0194,
|
||||
longitude: -118.4108,
|
||||
},
|
||||
{
|
||||
city: 'Chicago',
|
||||
population: '2,695,598',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/8/85/2008-06-10_3000x1000_chicago_skyline.jpg/240px-2008-06-10_3000x1000_chicago_skyline.jpg',
|
||||
state: 'Illinois',
|
||||
latitude: 41.8376,
|
||||
longitude: -87.6818,
|
||||
},
|
||||
{
|
||||
city: 'Houston',
|
||||
population: '2,100,263',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/6/60/Aerial_views_of_the_Houston%2C_Texas%2C_28005u.jpg/240px-Aerial_views_of_the_Houston%2C_Texas%2C_28005u.jpg',
|
||||
state: 'Texas',
|
||||
latitude: 29.7805,
|
||||
longitude: -95.3863,
|
||||
},
|
||||
{
|
||||
city: 'Phoenix',
|
||||
population: '1,445,632',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Downtown_Phoenix_Aerial_Looking_Northeast.jpg/207px-Downtown_Phoenix_Aerial_Looking_Northeast.jpg',
|
||||
state: 'Arizona',
|
||||
latitude: 33.5722,
|
||||
longitude: -112.088,
|
||||
},
|
||||
{
|
||||
city: 'Philadelphia',
|
||||
population: '1,526,006',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Philly_skyline.jpg/240px-Philly_skyline.jpg',
|
||||
state: 'Pennsylvania',
|
||||
latitude: 40.0094,
|
||||
longitude: -75.1333,
|
||||
},
|
||||
{
|
||||
city: 'San Antonio',
|
||||
population: '1,327,407',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Downtown_San_Antonio_View.JPG/240px-Downtown_San_Antonio_View.JPG',
|
||||
state: 'Texas',
|
||||
latitude: 29.4724,
|
||||
longitude: -98.5251,
|
||||
},
|
||||
{
|
||||
city: 'San Diego',
|
||||
population: '1,307,402',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/5/53/US_Navy_110604-N-NS602-574_Navy_and_Marine_Corps_personnel%2C_along_with_community_leaders_from_the_greater_San_Diego_area_come_together_to_commemora.jpg/240px-US_Navy_110604-N-NS602-574_Navy_and_Marine_Corps_personnel%2C_along_with_community_leaders_from_the_greater_San_Diego_area_come_together_to_commemora.jpg',
|
||||
state: 'California',
|
||||
latitude: 32.8153,
|
||||
longitude: -117.135,
|
||||
},
|
||||
{
|
||||
city: 'Dallas',
|
||||
population: '1,197,816',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Dallas_skyline_daytime.jpg/240px-Dallas_skyline_daytime.jpg',
|
||||
state: 'Texas',
|
||||
latitude: 32.7757,
|
||||
longitude: -96.7967,
|
||||
},
|
||||
{
|
||||
city: 'San Jose',
|
||||
population: '945,942',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Downtown_San_Jose_skyline.PNG/240px-Downtown_San_Jose_skyline.PNG',
|
||||
state: 'California',
|
||||
latitude: 37.2969,
|
||||
longitude: -121.8193,
|
||||
},
|
||||
{
|
||||
city: 'Austin',
|
||||
population: '790,390',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/9/97/Austin2012-12-01.JPG/240px-Austin2012-12-01.JPG',
|
||||
state: 'Texas',
|
||||
latitude: 30.3072,
|
||||
longitude: -97.756,
|
||||
},
|
||||
{
|
||||
city: 'Jacksonville',
|
||||
population: '821,784',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Skyline_of_Jacksonville_FL%2C_South_view_20160706_1.jpg/240px-Skyline_of_Jacksonville_FL%2C_South_view_20160706_1.jpg',
|
||||
state: 'Florida',
|
||||
latitude: 30.337,
|
||||
longitude: -81.6613,
|
||||
},
|
||||
{
|
||||
city: 'San Francisco',
|
||||
population: '805,235',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6a/San_Francisco_skyline_from_Coit_Tower.jpg/240px-San_Francisco_skyline_from_Coit_Tower.jpg',
|
||||
state: 'California',
|
||||
latitude: 37.7751,
|
||||
longitude: -122.4193,
|
||||
},
|
||||
{
|
||||
city: 'Columbus',
|
||||
population: '787,033',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Columbus-ohio-skyline-panorama.jpg/240px-Columbus-ohio-skyline-panorama.jpg',
|
||||
state: 'Ohio',
|
||||
latitude: 39.9848,
|
||||
longitude: -82.985,
|
||||
},
|
||||
{
|
||||
city: 'Indianapolis',
|
||||
population: '820,445',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Downtown_indy_from_parking_garage_zoom.JPG/213px-Downtown_indy_from_parking_garage_zoom.JPG',
|
||||
state: 'Indiana',
|
||||
latitude: 39.7767,
|
||||
longitude: -86.1459,
|
||||
},
|
||||
{
|
||||
city: 'Fort Worth',
|
||||
population: '741,206',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/d/db/FortWorthTexasSkylineW.jpg/240px-FortWorthTexasSkylineW.jpg',
|
||||
state: 'Texas',
|
||||
latitude: 32.7795,
|
||||
longitude: -97.3463,
|
||||
},
|
||||
{
|
||||
city: 'Charlotte',
|
||||
population: '731,424',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Charlotte_skyline45647.jpg/222px-Charlotte_skyline45647.jpg',
|
||||
state: 'North Carolina',
|
||||
latitude: 35.2087,
|
||||
longitude: -80.8307,
|
||||
},
|
||||
{
|
||||
city: 'Seattle',
|
||||
population: '608,660',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/3/36/SeattleI5Skyline.jpg/240px-SeattleI5Skyline.jpg',
|
||||
state: 'Washington',
|
||||
latitude: 47.6205,
|
||||
longitude: -122.3509,
|
||||
},
|
||||
{
|
||||
city: 'Denver',
|
||||
population: '600,158',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/DenverCP.JPG/240px-DenverCP.JPG',
|
||||
state: 'Colorado',
|
||||
latitude: 39.7618,
|
||||
longitude: -104.8806,
|
||||
},
|
||||
{
|
||||
city: 'El Paso',
|
||||
population: '649,121',
|
||||
photoUrl:
|
||||
'http://upload.wikimedia.org/wikipedia/commons/thumb/6/6d/Downtown_El_Paso_at_sunset.jpeg/240px-Downtown_El_Paso_at_sunset.jpeg',
|
||||
state: 'Texas',
|
||||
latitude: 31.8484,
|
||||
longitude: -106.427,
|
||||
},
|
||||
];
|
86
03_source/frontend/src/_mock/_map/countries.ts
Normal file
86
03_source/frontend/src/_mock/_map/countries.ts
Normal file
@@ -0,0 +1,86 @@
|
||||
import { _mock } from '../_mock';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const countries = [
|
||||
{
|
||||
timezones: ['America/Aruba'],
|
||||
latlng: [12.5, -69.96666666],
|
||||
name: 'Aruba',
|
||||
country_code: 'AW',
|
||||
capital: 'Oranjestad',
|
||||
photoUrl: _mock.image.cover(1),
|
||||
},
|
||||
{
|
||||
timezones: ['Asia/Kabul'],
|
||||
latlng: [33, 65],
|
||||
name: 'Afghanistan',
|
||||
country_code: 'AF',
|
||||
capital: 'Kabul',
|
||||
photoUrl: _mock.image.cover(2),
|
||||
},
|
||||
{
|
||||
timezones: ['Africa/Luanda'],
|
||||
latlng: [-12.5, 18.5],
|
||||
name: 'Angola',
|
||||
country_code: 'AO',
|
||||
capital: 'Luanda',
|
||||
photoUrl: _mock.image.cover(3),
|
||||
},
|
||||
{
|
||||
timezones: ['Pacific/Efate'],
|
||||
latlng: [-16, 167],
|
||||
name: 'Vanuatu',
|
||||
country_code: 'VU',
|
||||
capital: 'Port Vila',
|
||||
photoUrl: _mock.image.cover(4),
|
||||
},
|
||||
{
|
||||
timezones: ['Pacific/Wallis'],
|
||||
latlng: [-13.3, -176.2],
|
||||
name: 'Wallis and Futuna',
|
||||
country_code: 'WF',
|
||||
capital: 'Mata-Utu',
|
||||
photoUrl: _mock.image.cover(5),
|
||||
},
|
||||
{
|
||||
timezones: ['Pacific/Apia'],
|
||||
latlng: [-13.58333333, -172.33333333],
|
||||
name: 'Samoa',
|
||||
country_code: 'WS',
|
||||
capital: 'Apia',
|
||||
photoUrl: _mock.image.cover(6),
|
||||
},
|
||||
{
|
||||
timezones: ['Asia/Aden'],
|
||||
latlng: [15, 48],
|
||||
name: 'Yemen',
|
||||
country_code: 'YE',
|
||||
capital: "Sana'a",
|
||||
photoUrl: _mock.image.cover(7),
|
||||
},
|
||||
{
|
||||
timezones: ['Africa/Johannesburg'],
|
||||
latlng: [-29, 24],
|
||||
name: 'South Africa',
|
||||
country_code: 'ZA',
|
||||
capital: 'Pretoria',
|
||||
photoUrl: _mock.image.cover(8),
|
||||
},
|
||||
{
|
||||
timezones: ['Africa/Lusaka'],
|
||||
latlng: [-15, 30],
|
||||
name: 'Zambia',
|
||||
country_code: 'ZM',
|
||||
capital: 'Lusaka',
|
||||
photoUrl: _mock.image.cover(9),
|
||||
},
|
||||
{
|
||||
timezones: ['Africa/Harare'],
|
||||
latlng: [-20, 30],
|
||||
name: 'Zimbabwe',
|
||||
country_code: 'ZW',
|
||||
capital: 'Harare',
|
||||
photoUrl: _mock.image.cover(10),
|
||||
},
|
||||
];
|
554
03_source/frontend/src/_mock/_map/map-style-basic-v8.json
Normal file
554
03_source/frontend/src/_mock/_map/map-style-basic-v8.json
Normal file
@@ -0,0 +1,554 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Basic",
|
||||
"metadata": {
|
||||
"mapbox:autocomposite": true
|
||||
},
|
||||
"sources": {
|
||||
"mapbox": {
|
||||
"url": "mapbox://mapbox.mapbox-streets-v7",
|
||||
"type": "vector"
|
||||
}
|
||||
},
|
||||
"sprite": "mapbox://sprites/mapbox/basic-v8",
|
||||
"glyphs": "mapbox://fonts/mapbox/{fontstack}/{range}.pbf",
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "#dedede"
|
||||
},
|
||||
"interactive": true
|
||||
},
|
||||
{
|
||||
"id": "landuse_overlay_national_park",
|
||||
"type": "fill",
|
||||
"source": "mapbox",
|
||||
"source-layer": "landuse_overlay",
|
||||
"filter": ["==", "class", "national_park"],
|
||||
"paint": {
|
||||
"fill-color": "#d2edae",
|
||||
"fill-opacity": 0.75
|
||||
},
|
||||
"interactive": true
|
||||
},
|
||||
{
|
||||
"id": "landuse_park",
|
||||
"type": "fill",
|
||||
"source": "mapbox",
|
||||
"source-layer": "landuse",
|
||||
"filter": ["==", "class", "park"],
|
||||
"paint": {
|
||||
"fill-color": "#d2edae"
|
||||
},
|
||||
"interactive": true
|
||||
},
|
||||
{
|
||||
"id": "waterway",
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"source-layer": "waterway",
|
||||
"filter": ["all", ["==", "$type", "LineString"], ["in", "class", "river", "canal"]],
|
||||
"paint": {
|
||||
"line-color": "#a0cfdf",
|
||||
"line-width": {
|
||||
"base": 1.4,
|
||||
"stops": [
|
||||
[8, 0.5],
|
||||
[20, 15]
|
||||
]
|
||||
}
|
||||
},
|
||||
"interactive": true
|
||||
},
|
||||
{
|
||||
"id": "water",
|
||||
"type": "fill",
|
||||
"source": "mapbox",
|
||||
"source-layer": "water",
|
||||
"paint": {
|
||||
"fill-color": "#a0cfdf"
|
||||
},
|
||||
"interactive": true
|
||||
},
|
||||
{
|
||||
"id": "building",
|
||||
"type": "fill",
|
||||
"source": "mapbox",
|
||||
"source-layer": "building",
|
||||
"paint": {
|
||||
"fill-color": "#d6d6d6"
|
||||
},
|
||||
"interactive": true
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "butt",
|
||||
"line-join": "miter"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"class",
|
||||
"motorway_link",
|
||||
"street",
|
||||
"street_limited",
|
||||
"service",
|
||||
"track",
|
||||
"pedestrian",
|
||||
"path",
|
||||
"link"
|
||||
],
|
||||
["==", "structure", "tunnel"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "tunnel_minor",
|
||||
"paint": {
|
||||
"line-color": "#efefef",
|
||||
"line-width": {
|
||||
"base": 1.55,
|
||||
"stops": [
|
||||
[4, 0.25],
|
||||
[20, 30]
|
||||
]
|
||||
},
|
||||
"line-dasharray": [0.36, 0.18]
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "butt",
|
||||
"line-join": "miter"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
["in", "class", "motorway", "primary", "secondary", "tertiary", "trunk"],
|
||||
["==", "structure", "tunnel"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "tunnel_major",
|
||||
"paint": {
|
||||
"line-color": "#fff",
|
||||
"line-width": {
|
||||
"base": 1.4,
|
||||
"stops": [
|
||||
[6, 0.5],
|
||||
[20, 30]
|
||||
]
|
||||
},
|
||||
"line-dasharray": [0.28, 0.14]
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"class",
|
||||
"motorway_link",
|
||||
"street",
|
||||
"street_limited",
|
||||
"service",
|
||||
"track",
|
||||
"pedestrian",
|
||||
"path",
|
||||
"link"
|
||||
],
|
||||
["in", "structure", "none", "ford"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "road_minor",
|
||||
"paint": {
|
||||
"line-color": "#efefef",
|
||||
"line-width": {
|
||||
"base": 1.55,
|
||||
"stops": [
|
||||
[4, 0.25],
|
||||
[20, 30]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
["in", "class", "motorway", "primary", "secondary", "tertiary", "trunk"],
|
||||
["in", "structure", "none", "ford"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "road_major",
|
||||
"paint": {
|
||||
"line-color": "#fff",
|
||||
"line-width": {
|
||||
"base": 1.4,
|
||||
"stops": [
|
||||
[6, 0.5],
|
||||
[20, 30]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "butt",
|
||||
"line-join": "miter"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"class",
|
||||
"motorway_link",
|
||||
"street",
|
||||
"street_limited",
|
||||
"service",
|
||||
"track",
|
||||
"pedestrian",
|
||||
"path",
|
||||
"link"
|
||||
],
|
||||
["==", "structure", "bridge"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "bridge_minor case",
|
||||
"paint": {
|
||||
"line-color": "#dedede",
|
||||
"line-width": {
|
||||
"base": 1.6,
|
||||
"stops": [
|
||||
[12, 0.5],
|
||||
[20, 10]
|
||||
]
|
||||
},
|
||||
"line-gap-width": {
|
||||
"base": 1.55,
|
||||
"stops": [
|
||||
[4, 0.25],
|
||||
[20, 30]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "butt",
|
||||
"line-join": "miter"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
["in", "class", "motorway", "primary", "secondary", "tertiary", "trunk"],
|
||||
["==", "structure", "bridge"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "bridge_major case",
|
||||
"paint": {
|
||||
"line-color": "#dedede",
|
||||
"line-width": {
|
||||
"base": 1.6,
|
||||
"stops": [
|
||||
[12, 0.5],
|
||||
[20, 10]
|
||||
]
|
||||
},
|
||||
"line-gap-width": {
|
||||
"base": 1.55,
|
||||
"stops": [
|
||||
[4, 0.25],
|
||||
[20, 30]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
[
|
||||
"in",
|
||||
"class",
|
||||
"motorway_link",
|
||||
"street",
|
||||
"street_limited",
|
||||
"service",
|
||||
"track",
|
||||
"pedestrian",
|
||||
"path",
|
||||
"link"
|
||||
],
|
||||
["==", "structure", "bridge"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "bridge_minor",
|
||||
"paint": {
|
||||
"line-color": "#efefef",
|
||||
"line-width": {
|
||||
"base": 1.55,
|
||||
"stops": [
|
||||
[4, 0.25],
|
||||
[20, 30]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
[
|
||||
"all",
|
||||
["in", "class", "motorway", "primary", "secondary", "tertiary", "trunk"],
|
||||
["==", "structure", "bridge"]
|
||||
]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "bridge_major",
|
||||
"paint": {
|
||||
"line-color": "#fff",
|
||||
"line-width": {
|
||||
"base": 1.4,
|
||||
"stops": [
|
||||
[6, 0.5],
|
||||
[20, 30]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "road"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"line-cap": "round",
|
||||
"line-join": "round"
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
["all", ["<=", "admin_level", 2], ["==", "maritime", 0]]
|
||||
],
|
||||
"type": "line",
|
||||
"source": "mapbox",
|
||||
"id": "admin_country",
|
||||
"paint": {
|
||||
"line-color": "#8b8a8a",
|
||||
"line-width": {
|
||||
"base": 1.3,
|
||||
"stops": [
|
||||
[3, 0.5],
|
||||
[22, 15]
|
||||
]
|
||||
}
|
||||
},
|
||||
"source-layer": "admin"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"icon-image": "{maki}-11",
|
||||
"text-offset": [0, 0.5],
|
||||
"text-field": "{name_en}",
|
||||
"text-font": ["Open Sans Semibold", "Arial Unicode MS Bold"],
|
||||
"text-max-width": 8,
|
||||
"text-anchor": "top",
|
||||
"text-size": 11,
|
||||
"icon-size": 1
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "Point"],
|
||||
["all", ["==", "scalerank", 1], ["==", "localrank", 1]]
|
||||
],
|
||||
"type": "symbol",
|
||||
"source": "mapbox",
|
||||
"id": "poi_label",
|
||||
"paint": {
|
||||
"text-color": "#666",
|
||||
"text-halo-width": 1,
|
||||
"text-halo-color": "rgba(255,255,255,0.75)",
|
||||
"text-halo-blur": 1
|
||||
},
|
||||
"source-layer": "poi_label"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"symbol-placement": "line",
|
||||
"text-field": "{name_en}",
|
||||
"text-font": ["Open Sans Semibold", "Arial Unicode MS Bold"],
|
||||
"text-transform": "uppercase",
|
||||
"text-letter-spacing": 0.1,
|
||||
"text-size": {
|
||||
"base": 1.4,
|
||||
"stops": [
|
||||
[10, 8],
|
||||
[20, 14]
|
||||
]
|
||||
}
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "LineString"],
|
||||
["in", "class", "motorway", "primary", "secondary", "tertiary", "trunk"]
|
||||
],
|
||||
"type": "symbol",
|
||||
"source": "mapbox",
|
||||
"id": "road_major_label",
|
||||
"paint": {
|
||||
"text-color": "#666",
|
||||
"text-halo-color": "rgba(255,255,255,0.75)",
|
||||
"text-halo-width": 2
|
||||
},
|
||||
"source-layer": "road_label"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"minzoom": 8,
|
||||
"layout": {
|
||||
"text-field": "{name_en}",
|
||||
"text-font": ["Open Sans Semibold", "Arial Unicode MS Bold"],
|
||||
"text-max-width": 6,
|
||||
"text-size": {
|
||||
"stops": [
|
||||
[6, 12],
|
||||
[12, 16]
|
||||
]
|
||||
}
|
||||
},
|
||||
"filter": [
|
||||
"all",
|
||||
["==", "$type", "Point"],
|
||||
["in", "type", "town", "village", "hamlet", "suburb", "neighbourhood", "island"]
|
||||
],
|
||||
"type": "symbol",
|
||||
"source": "mapbox",
|
||||
"id": "place_label_other",
|
||||
"paint": {
|
||||
"text-color": "#666",
|
||||
"text-halo-color": "rgba(255,255,255,0.75)",
|
||||
"text-halo-width": 1,
|
||||
"text-halo-blur": 1
|
||||
},
|
||||
"source-layer": "place_label"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"text-field": "{name_en}",
|
||||
"text-font": ["Open Sans Bold", "Arial Unicode MS Bold"],
|
||||
"text-max-width": 10,
|
||||
"text-size": {
|
||||
"stops": [
|
||||
[3, 12],
|
||||
[8, 16]
|
||||
]
|
||||
}
|
||||
},
|
||||
"maxzoom": 16,
|
||||
"filter": ["all", ["==", "$type", "Point"], ["==", "type", "city"]],
|
||||
"type": "symbol",
|
||||
"source": "mapbox",
|
||||
"id": "place_label_city",
|
||||
"paint": {
|
||||
"text-color": "#666",
|
||||
"text-halo-color": "rgba(255,255,255,0.75)",
|
||||
"text-halo-width": 1,
|
||||
"text-halo-blur": 1
|
||||
},
|
||||
"source-layer": "place_label"
|
||||
},
|
||||
{
|
||||
"interactive": true,
|
||||
"layout": {
|
||||
"text-field": "{name_en}",
|
||||
"text-font": ["Open Sans Regular", "Arial Unicode MS Regular"],
|
||||
"text-max-width": 10,
|
||||
"text-size": {
|
||||
"stops": [
|
||||
[3, 14],
|
||||
[8, 22]
|
||||
]
|
||||
}
|
||||
},
|
||||
"maxzoom": 12,
|
||||
"filter": ["==", "$type", "Point"],
|
||||
"type": "symbol",
|
||||
"source": "mapbox",
|
||||
"id": "country_label",
|
||||
"paint": {
|
||||
"text-color": "#666",
|
||||
"text-halo-color": "rgba(255,255,255,0.75)",
|
||||
"text-halo-width": 1,
|
||||
"text-halo-blur": 1
|
||||
},
|
||||
"source-layer": "country_label"
|
||||
}
|
||||
]
|
||||
}
|
91
03_source/frontend/src/_mock/_mock.ts
Normal file
91
03_source/frontend/src/_mock/_mock.ts
Normal file
@@ -0,0 +1,91 @@
|
||||
import { fSub } from 'src/utils/format-time';
|
||||
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import {
|
||||
_id,
|
||||
_ages,
|
||||
_roles,
|
||||
_prices,
|
||||
_emails,
|
||||
_ratings,
|
||||
_nativeS,
|
||||
_nativeM,
|
||||
_nativeL,
|
||||
_percents,
|
||||
_booleans,
|
||||
_sentences,
|
||||
_lastNames,
|
||||
_fullNames,
|
||||
_tourNames,
|
||||
_jobTitles,
|
||||
_taskNames,
|
||||
_fileNames,
|
||||
_postTitles,
|
||||
_firstNames,
|
||||
_eventNames,
|
||||
_courseNames,
|
||||
_fullAddress,
|
||||
_companyNames,
|
||||
_productNames,
|
||||
_descriptions,
|
||||
_phoneNumbers,
|
||||
_countryNames,
|
||||
} from './assets';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _mock = {
|
||||
id: (index: number) => _id[index],
|
||||
time: (index: number) => fSub({ days: index, hours: index }),
|
||||
boolean: (index: number) => _booleans[index],
|
||||
role: (index: number) => _roles[index],
|
||||
// Text
|
||||
courseNames: (index: number) => _courseNames[index],
|
||||
fileNames: (index: number) => _fileNames[index],
|
||||
eventNames: (index: number) => _eventNames[index],
|
||||
taskNames: (index: number) => _taskNames[index],
|
||||
postTitle: (index: number) => _postTitles[index],
|
||||
jobTitle: (index: number) => _jobTitles[index],
|
||||
tourName: (index: number) => _tourNames[index],
|
||||
productName: (index: number) => _productNames[index],
|
||||
sentence: (index: number) => _sentences[index],
|
||||
description: (index: number) => _descriptions[index],
|
||||
// Contact
|
||||
email: (index: number) => _emails[index],
|
||||
phoneNumber: (index: number) => _phoneNumbers[index],
|
||||
fullAddress: (index: number) => _fullAddress[index],
|
||||
// Name
|
||||
firstName: (index: number) => _firstNames[index],
|
||||
lastName: (index: number) => _lastNames[index],
|
||||
fullName: (index: number) => _fullNames[index],
|
||||
companyNames: (index: number) => _companyNames[index],
|
||||
countryNames: (index: number) => _countryNames[index],
|
||||
// Number
|
||||
number: {
|
||||
percent: (index: number) => _percents[index],
|
||||
rating: (index: number) => _ratings[index],
|
||||
age: (index: number) => _ages[index],
|
||||
price: (index: number) => _prices[index],
|
||||
nativeS: (index: number) => _nativeS[index],
|
||||
nativeM: (index: number) => _nativeM[index],
|
||||
nativeL: (index: number) => _nativeL[index],
|
||||
},
|
||||
// Image
|
||||
image: {
|
||||
cover: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/cover/cover-${index + 1}.webp`,
|
||||
avatar: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/avatar/avatar-${index + 1}.webp`,
|
||||
travel: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/travel/travel-${index + 1}.webp`,
|
||||
course: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/course/course-${index + 1}.webp`,
|
||||
company: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/company/company-${index + 1}.webp`,
|
||||
product: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/m-product/product-${index + 1}.webp`,
|
||||
portrait: (index: number) =>
|
||||
`${CONFIG.assetsDir}/assets/images/mock/portrait/portrait-${index + 1}.webp`,
|
||||
},
|
||||
};
|
85
03_source/frontend/src/_mock/_order.ts
Normal file
85
03_source/frontend/src/_mock/_order.ts
Normal file
@@ -0,0 +1,85 @@
|
||||
import { _mock } from './_mock';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const ORDER_STATUS_OPTIONS = [
|
||||
{ value: 'pending', label: 'Pending' },
|
||||
{ value: 'completed', label: 'Completed' },
|
||||
{ value: 'cancelled', label: 'Cancelled' },
|
||||
{ value: 'refunded', label: 'Refunded' },
|
||||
];
|
||||
|
||||
const ITEMS = Array.from({ length: 3 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
sku: `16H9UR${index}`,
|
||||
quantity: index + 1,
|
||||
name: _mock.productName(index),
|
||||
coverUrl: _mock.image.product(index),
|
||||
price: _mock.number.price(index),
|
||||
}));
|
||||
|
||||
export const _orders = Array.from({ length: 20 }, (_, index) => {
|
||||
const shipping = 10;
|
||||
|
||||
const discount = 10;
|
||||
|
||||
const taxes = 10;
|
||||
|
||||
const items = (index % 2 && ITEMS.slice(0, 1)) || (index % 3 && ITEMS.slice(1, 3)) || ITEMS;
|
||||
|
||||
const totalQuantity = items.reduce((accumulator, item) => accumulator + item.quantity, 0);
|
||||
|
||||
const subtotal = items.reduce((accumulator, item) => accumulator + item.price * item.quantity, 0);
|
||||
|
||||
const totalAmount = subtotal - shipping - discount + taxes;
|
||||
|
||||
const customer = {
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
email: _mock.email(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
ipAddress: '192.158.1.38',
|
||||
};
|
||||
|
||||
const delivery = { shipBy: 'DHL', speedy: 'Standard', trackingNumber: 'SPX037739199373' };
|
||||
|
||||
const history = {
|
||||
orderTime: _mock.time(1),
|
||||
paymentTime: _mock.time(2),
|
||||
deliveryTime: _mock.time(3),
|
||||
completionTime: _mock.time(4),
|
||||
timeline: [
|
||||
{ title: 'Delivery successful', time: _mock.time(1) },
|
||||
{ title: 'Transporting to [2]', time: _mock.time(2) },
|
||||
{ title: 'Transporting to [1]', time: _mock.time(3) },
|
||||
{ title: 'The shipping unit has picked up the goods', time: _mock.time(4) },
|
||||
{ title: 'Order has been created', time: _mock.time(5) },
|
||||
],
|
||||
};
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
orderNumber: `#601${index}`,
|
||||
createdAt: _mock.time(index),
|
||||
taxes,
|
||||
items,
|
||||
history,
|
||||
subtotal,
|
||||
shipping,
|
||||
discount,
|
||||
customer,
|
||||
delivery,
|
||||
totalAmount,
|
||||
totalQuantity,
|
||||
shippingAddress: {
|
||||
fullAddress: '19034 Verna Unions Apt. 164 - Honolulu, RI / 87535',
|
||||
phoneNumber: '365-374-4961',
|
||||
},
|
||||
payment: { cardType: 'mastercard', cardNumber: '**** **** **** 5678' },
|
||||
status:
|
||||
(index % 2 && 'completed') ||
|
||||
(index % 3 && 'pending') ||
|
||||
(index % 4 && 'cancelled') ||
|
||||
'refunded',
|
||||
};
|
||||
});
|
219
03_source/frontend/src/_mock/_others.ts
Normal file
219
03_source/frontend/src/_mock/_others.ts
Normal file
@@ -0,0 +1,219 @@
|
||||
import { _mock } from './_mock';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _carouselsMembers = Array.from({ length: 6 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
role: _mock.role(index),
|
||||
avatarUrl: _mock.image.portrait(index),
|
||||
}));
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _faqs = Array.from({ length: 8 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
value: `panel${index + 1}`,
|
||||
heading: `Questions ${index + 1}`,
|
||||
detail: _mock.description(index),
|
||||
}));
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _addressBooks = Array.from({ length: 24 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
primary: index === 0,
|
||||
name: _mock.fullName(index),
|
||||
email: _mock.email(index + 1),
|
||||
fullAddress: _mock.fullAddress(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
company: _mock.companyNames(index + 1),
|
||||
addressType: index === 0 ? 'Home' : 'Office',
|
||||
}));
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _contacts = Array.from({ length: 20 }, (_, index) => {
|
||||
const status =
|
||||
(index % 2 && 'online') || (index % 3 && 'offline') || (index % 4 && 'always') || 'busy';
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
status,
|
||||
role: _mock.role(index),
|
||||
email: _mock.email(index),
|
||||
name: _mock.fullName(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
lastActivity: _mock.time(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
address: _mock.fullAddress(index),
|
||||
};
|
||||
});
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _notifications = Array.from({ length: 9 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
avatarUrl: [
|
||||
_mock.image.avatar(1),
|
||||
_mock.image.avatar(2),
|
||||
_mock.image.avatar(3),
|
||||
_mock.image.avatar(4),
|
||||
_mock.image.avatar(5),
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
][index],
|
||||
type: ['friend', 'project', 'file', 'tags', 'payment', 'order', 'delivery', 'chat', 'mail'][
|
||||
index
|
||||
],
|
||||
category: [
|
||||
'Communication',
|
||||
'Project UI',
|
||||
'File manager',
|
||||
'File manager',
|
||||
'File manager',
|
||||
'Order',
|
||||
'Order',
|
||||
'Communication',
|
||||
'Communication',
|
||||
][index],
|
||||
isUnRead: _mock.boolean(index),
|
||||
createdAt: _mock.time(index),
|
||||
title:
|
||||
(index === 0 && `<p><strong>Deja Brady</strong> sent you a friend request</p>`) ||
|
||||
(index === 1 &&
|
||||
`<p><strong>Jayvon Hull</strong> mentioned you in <strong><a href='#'>Minimal UI</a></strong></p>`) ||
|
||||
(index === 2 &&
|
||||
`<p><strong>Lainey Davidson</strong> added file to <strong><a href='#'>File manager</a></strong></p>`) ||
|
||||
(index === 3 &&
|
||||
`<p><strong>Angelique Morse</strong> added new tags to <strong><a href='#'>File manager<a/></strong></p>`) ||
|
||||
(index === 4 &&
|
||||
`<p><strong>Giana Brandt</strong> request a payment of <strong>$200</strong></p>`) ||
|
||||
(index === 5 && `<p>Your order is placed waiting for shipping</p>`) ||
|
||||
(index === 6 && `<p>Delivery processing your order is being shipped</p>`) ||
|
||||
(index === 7 && `<p>You have new message 5 unread messages</p>`) ||
|
||||
(index === 8 && `<p>You have new mail`) ||
|
||||
'',
|
||||
}));
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _mapContact = [
|
||||
{ latlng: [33, 65], address: _mock.fullAddress(1), phoneNumber: _mock.phoneNumber(1) },
|
||||
{ latlng: [-12.5, 18.5], address: _mock.fullAddress(2), phoneNumber: _mock.phoneNumber(2) },
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _socials = [
|
||||
{
|
||||
value: 'facebook',
|
||||
label: 'Facebook',
|
||||
path: 'https://www.facebook.com/caitlyn.kerluke',
|
||||
},
|
||||
{
|
||||
value: 'instagram',
|
||||
label: 'Instagram',
|
||||
path: 'https://www.instagram.com/caitlyn.kerluke',
|
||||
},
|
||||
{
|
||||
value: 'linkedin',
|
||||
label: 'Linkedin',
|
||||
path: 'https://www.linkedin.com/caitlyn.kerluke',
|
||||
},
|
||||
{
|
||||
value: 'twitter',
|
||||
label: 'Twitter',
|
||||
path: 'https://www.twitter.com/caitlyn.kerluke',
|
||||
},
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _pricingPlans = [
|
||||
{
|
||||
subscription: 'basic',
|
||||
price: 0,
|
||||
caption: 'Forever',
|
||||
lists: ['3 prototypes', '3 boards', 'Up to 5 team members'],
|
||||
labelAction: 'Current plan',
|
||||
},
|
||||
{
|
||||
subscription: 'starter',
|
||||
price: 4.99,
|
||||
caption: 'Saving $24 a year',
|
||||
lists: [
|
||||
'3 prototypes',
|
||||
'3 boards',
|
||||
'Up to 5 team members',
|
||||
'Advanced security',
|
||||
'Issue escalation',
|
||||
],
|
||||
labelAction: 'Choose starter',
|
||||
},
|
||||
{
|
||||
subscription: 'premium',
|
||||
price: 9.99,
|
||||
caption: 'Saving $124 a year',
|
||||
lists: [
|
||||
'3 prototypes',
|
||||
'3 boards',
|
||||
'Up to 5 team members',
|
||||
'Advanced security',
|
||||
'Issue escalation',
|
||||
'Issue development license',
|
||||
'Permissions & workflows',
|
||||
],
|
||||
labelAction: 'Choose premium',
|
||||
},
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _testimonials = [
|
||||
{
|
||||
name: _mock.fullName(1),
|
||||
postedDate: _mock.time(1),
|
||||
ratingNumber: _mock.number.rating(1),
|
||||
avatarUrl: _mock.image.avatar(1),
|
||||
content: `Excellent Work! Thanks a lot!`,
|
||||
},
|
||||
{
|
||||
name: _mock.fullName(2),
|
||||
postedDate: _mock.time(2),
|
||||
ratingNumber: _mock.number.rating(2),
|
||||
avatarUrl: _mock.image.avatar(2),
|
||||
content: `It's a very good dashboard and we are really liking the product . We've done some things, like migrate to TS and implementing a react useContext api, to fit our job methodology but the product is one of the best in terms of design and application architecture. The team did a really good job.`,
|
||||
},
|
||||
{
|
||||
name: _mock.fullName(3),
|
||||
postedDate: _mock.time(3),
|
||||
ratingNumber: _mock.number.rating(3),
|
||||
avatarUrl: _mock.image.avatar(3),
|
||||
content: `Customer support is realy fast and helpful the desgin of this theme is looks amazing also the code is very clean and readble realy good job !`,
|
||||
},
|
||||
{
|
||||
name: _mock.fullName(4),
|
||||
postedDate: _mock.time(4),
|
||||
ratingNumber: _mock.number.rating(4),
|
||||
avatarUrl: _mock.image.avatar(4),
|
||||
content: `Amazing, really good code quality and gives you a lot of examples for implementations.`,
|
||||
},
|
||||
{
|
||||
name: _mock.fullName(5),
|
||||
postedDate: _mock.time(5),
|
||||
ratingNumber: _mock.number.rating(5),
|
||||
avatarUrl: _mock.image.avatar(5),
|
||||
content: `Got a few questions after purchasing the product. The owner responded very fast and very helpfull. Overall the code is excellent and works very good. 5/5 stars!`,
|
||||
},
|
||||
{
|
||||
name: _mock.fullName(6),
|
||||
postedDate: _mock.time(6),
|
||||
ratingNumber: _mock.number.rating(6),
|
||||
avatarUrl: _mock.image.avatar(6),
|
||||
content: `CEO of Codealy.io here. We’ve built a developer assessment platform that makes sense - tasks are based on git repositories and run in virtual machines. We automate the pain points - storing candidates code, running it and sharing test results with the whole team, remotely. Bought this template as we need to provide an awesome dashboard for our early customers. I am super happy with purchase. The code is just as good as the design. Thanks!`,
|
||||
},
|
||||
];
|
346
03_source/frontend/src/_mock/_overview.ts
Normal file
346
03_source/frontend/src/_mock/_overview.ts
Normal file
@@ -0,0 +1,346 @@
|
||||
import { today } from 'src/utils/format-time';
|
||||
|
||||
import { CONFIG } from 'src/global-config';
|
||||
|
||||
import { _mock } from './_mock';
|
||||
|
||||
// APP
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _appRelated = [
|
||||
'Microsoft office 365',
|
||||
'Opera',
|
||||
'Adobe acrobat reader DC',
|
||||
'Joplin',
|
||||
'Topaz photo AI',
|
||||
].map((name, index) => ({
|
||||
id: _mock.id(index),
|
||||
name,
|
||||
downloaded: _mock.number.nativeL(index),
|
||||
ratingNumber: _mock.number.rating(index),
|
||||
size: _mock.number.nativeL(index) * 1024,
|
||||
totalReviews: _mock.number.nativeL(index),
|
||||
shortcut: `${CONFIG.assetsDir}/assets/icons/apps/ic-app-${index + 1}.webp`,
|
||||
price: [2, 4].includes(index) ? _mock.number.price(index) : 0,
|
||||
}));
|
||||
|
||||
export const _appInstalled = ['Germany', 'England', 'France', 'Korean', 'USA'].map(
|
||||
(country, index) => ({
|
||||
id: _mock.id(index),
|
||||
countryName: country,
|
||||
android: _mock.number.nativeL(index),
|
||||
windows: _mock.number.nativeL(index + 1),
|
||||
apple: _mock.number.nativeL(index + 2),
|
||||
countryCode: ['de', 'gb', 'fr', 'kr', 'us'][index],
|
||||
})
|
||||
);
|
||||
|
||||
export const _appAuthors = Array.from({ length: 3 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
totalFavorites: _mock.number.nativeL(index),
|
||||
}));
|
||||
|
||||
export const _appInvoices = Array.from({ length: 5 }, (_, index) => {
|
||||
const category = ['Android', 'Mac', 'Windows', 'Android', 'Mac'][index];
|
||||
|
||||
const status = ['paid', 'out of date', 'progress', 'paid', 'paid'][index];
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
invoiceNumber: `INV-199${index}`,
|
||||
price: _mock.number.price(index),
|
||||
category,
|
||||
status,
|
||||
};
|
||||
});
|
||||
|
||||
export const _appFeatured = Array.from({ length: 3 }, (_, index) => ({
|
||||
id: _mock.id(index + 3),
|
||||
title: _mock.postTitle(index + 3),
|
||||
description: _mock.sentence(index + 3),
|
||||
coverUrl: _mock.image.cover(index + 3),
|
||||
}));
|
||||
|
||||
// ANALYTIC
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _analyticTasks = Array.from({ length: 5 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.taskNames(index),
|
||||
}));
|
||||
|
||||
export const _analyticPosts = Array.from({ length: 5 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
postedAt: _mock.time(index),
|
||||
title: _mock.postTitle(index),
|
||||
coverUrl: _mock.image.cover(index),
|
||||
description: _mock.sentence(index),
|
||||
}));
|
||||
|
||||
export const _analyticOrderTimeline = Array.from({ length: 5 }, (_, index) => {
|
||||
const title = [
|
||||
'1983, orders, $4220',
|
||||
'12 Invoices have been paid',
|
||||
'Order #37745 from September',
|
||||
'New order placed #XF-2356',
|
||||
'New order placed #XF-2346',
|
||||
][index];
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
title,
|
||||
type: `order${index + 1}`,
|
||||
time: _mock.time(index),
|
||||
};
|
||||
});
|
||||
|
||||
export const _analyticTraffic = [
|
||||
{
|
||||
value: 'facebook',
|
||||
label: 'Facebook',
|
||||
total: _mock.number.nativeL(1),
|
||||
},
|
||||
{
|
||||
value: 'google',
|
||||
label: 'Google',
|
||||
total: _mock.number.nativeL(2),
|
||||
},
|
||||
{
|
||||
value: 'linkedin',
|
||||
label: 'Linkedin',
|
||||
total: _mock.number.nativeL(3),
|
||||
},
|
||||
{
|
||||
value: 'twitter',
|
||||
label: 'Twitter',
|
||||
total: _mock.number.nativeL(4),
|
||||
},
|
||||
];
|
||||
|
||||
// ECOMMERCE
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _ecommerceSalesOverview = ['Total profit', 'Total income', 'Total expenses'].map(
|
||||
(label, index) => ({
|
||||
label,
|
||||
totalAmount: _mock.number.price(index) * 100,
|
||||
value: _mock.number.percent(index),
|
||||
})
|
||||
);
|
||||
|
||||
export const _ecommerceBestSalesman = Array.from({ length: 5 }, (_, index) => {
|
||||
const category = ['CAP', 'Branded shoes', 'Headphone', 'Cell phone', 'Earings'][index];
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
category,
|
||||
rank: `Top ${index + 1}`,
|
||||
email: _mock.email(index),
|
||||
name: _mock.fullName(index),
|
||||
totalAmount: _mock.number.price(index),
|
||||
avatarUrl: _mock.image.avatar(index + 8),
|
||||
countryCode: ['de', 'gb', 'fr', 'kr', 'us'][index],
|
||||
};
|
||||
});
|
||||
|
||||
export const _ecommerceLatestProducts = Array.from({ length: 5 }, (_, index) => {
|
||||
const colors = (index === 0 && ['#2EC4B6', '#E71D36', '#FF9F1C', '#011627']) ||
|
||||
(index === 1 && ['#92140C', '#FFCF99']) ||
|
||||
(index === 2 && ['#0CECDD', '#FFF338', '#FF67E7', '#C400FF', '#52006A', '#046582']) ||
|
||||
(index === 3 && ['#845EC2', '#E4007C', '#2A1A5E']) || ['#090088'];
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
colors,
|
||||
name: _mock.productName(index),
|
||||
price: _mock.number.price(index),
|
||||
coverUrl: _mock.image.product(index),
|
||||
priceSale: [1, 3].includes(index) ? _mock.number.price(index) : 0,
|
||||
};
|
||||
});
|
||||
|
||||
export const _ecommerceNewProducts = Array.from({ length: 4 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.productName(index),
|
||||
coverUrl: _mock.image.product(index),
|
||||
}));
|
||||
|
||||
// BANKING
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _bankingContacts = Array.from({ length: 12 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
email: _mock.email(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
}));
|
||||
|
||||
export const _bankingCreditCard = [
|
||||
{
|
||||
id: _mock.id(2),
|
||||
balance: 23432.03,
|
||||
cardType: 'mastercard',
|
||||
cardHolder: _mock.fullName(2),
|
||||
cardNumber: '**** **** **** 3640',
|
||||
cardValid: '11/22',
|
||||
},
|
||||
{
|
||||
id: _mock.id(3),
|
||||
balance: 18000.23,
|
||||
cardType: 'visa',
|
||||
cardHolder: _mock.fullName(3),
|
||||
cardNumber: '**** **** **** 8864',
|
||||
cardValid: '11/25',
|
||||
},
|
||||
{
|
||||
id: _mock.id(4),
|
||||
balance: 2000.89,
|
||||
cardType: 'mastercard',
|
||||
cardHolder: _mock.fullName(4),
|
||||
cardNumber: '**** **** **** 7755',
|
||||
cardValid: '11/22',
|
||||
},
|
||||
];
|
||||
|
||||
export const _bankingRecentTransitions = [
|
||||
{
|
||||
id: _mock.id(2),
|
||||
name: _mock.fullName(2),
|
||||
avatarUrl: _mock.image.avatar(2),
|
||||
type: 'Income',
|
||||
message: 'Receive money from',
|
||||
category: 'Annette black',
|
||||
date: _mock.time(2),
|
||||
status: 'progress',
|
||||
amount: _mock.number.price(2),
|
||||
},
|
||||
{
|
||||
id: _mock.id(3),
|
||||
name: _mock.fullName(3),
|
||||
avatarUrl: _mock.image.avatar(3),
|
||||
type: 'Expenses',
|
||||
message: 'Payment for',
|
||||
category: 'Courtney henry',
|
||||
date: _mock.time(3),
|
||||
status: 'completed',
|
||||
amount: _mock.number.price(3),
|
||||
},
|
||||
{
|
||||
id: _mock.id(4),
|
||||
name: _mock.fullName(4),
|
||||
avatarUrl: _mock.image.avatar(4),
|
||||
type: 'Receive',
|
||||
message: 'Payment for',
|
||||
category: 'Theresa webb',
|
||||
date: _mock.time(4),
|
||||
status: 'failed',
|
||||
amount: _mock.number.price(4),
|
||||
},
|
||||
{
|
||||
id: _mock.id(5),
|
||||
name: null,
|
||||
avatarUrl: null,
|
||||
type: 'Expenses',
|
||||
message: 'Payment for',
|
||||
category: 'Fast food',
|
||||
date: _mock.time(5),
|
||||
status: 'completed',
|
||||
amount: _mock.number.price(5),
|
||||
},
|
||||
{
|
||||
id: _mock.id(6),
|
||||
name: null,
|
||||
avatarUrl: null,
|
||||
type: 'Expenses',
|
||||
message: 'Payment for',
|
||||
category: 'Fitness',
|
||||
date: _mock.time(6),
|
||||
status: 'progress',
|
||||
amount: _mock.number.price(6),
|
||||
},
|
||||
];
|
||||
|
||||
// BOOKING
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _bookings = Array.from({ length: 5 }, (_, index) => {
|
||||
const status = ['Paid', 'Paid', 'Pending', 'Cancelled', 'Paid'][index];
|
||||
|
||||
const customer = {
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
name: _mock.fullName(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
};
|
||||
|
||||
const destination = Array.from({ length: 5 }, (__, _index) => ({
|
||||
name: _mock.tourName(_index + 1),
|
||||
coverUrl: _mock.image.travel(_index + 1),
|
||||
}))[index];
|
||||
|
||||
return {
|
||||
id: _mock.id(index),
|
||||
destination,
|
||||
status,
|
||||
customer,
|
||||
checkIn: _mock.time(index),
|
||||
checkOut: _mock.time(index),
|
||||
};
|
||||
});
|
||||
|
||||
export const _bookingsOverview = Array.from({ length: 3 }, (_, index) => ({
|
||||
status: ['Pending', 'Canceled', 'Sold'][index],
|
||||
quantity: _mock.number.nativeL(index),
|
||||
value: _mock.number.percent(index + 5),
|
||||
}));
|
||||
|
||||
export const _bookingReview = Array.from({ length: 5 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
postedAt: _mock.time(index),
|
||||
rating: _mock.number.rating(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
description: _mock.description(index),
|
||||
tags: ['Great sevice', 'Recommended', 'Best price'],
|
||||
}));
|
||||
|
||||
export const _bookingNew = Array.from({ length: 8 }, (_, index) => ({
|
||||
guests: '3-5',
|
||||
id: _mock.id(index),
|
||||
bookedAt: _mock.time(index),
|
||||
duration: '3 days 2 nights',
|
||||
isHot: _mock.boolean(index),
|
||||
name: _mock.fullName(index),
|
||||
price: _mock.number.price(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
coverUrl: _mock.image.travel(index),
|
||||
}));
|
||||
|
||||
// COURSE
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _coursesContinue = Array.from({ length: 4 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
title: _mock.courseNames(index),
|
||||
coverUrl: _mock.image.course(index),
|
||||
totalLesson: 12,
|
||||
currentLesson: index + 7,
|
||||
}));
|
||||
|
||||
export const _coursesFeatured = Array.from({ length: 6 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
title: _mock.courseNames(index),
|
||||
coverUrl: _mock.image.course(index + 6),
|
||||
totalDuration: 220,
|
||||
totalStudents: _mock.number.nativeM(index),
|
||||
price: _mock.number.price(index),
|
||||
}));
|
||||
|
||||
export const _coursesReminder = Array.from({ length: 4 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
title: _mock.courseNames(index),
|
||||
totalLesson: 12,
|
||||
reminderAt: today(),
|
||||
currentLesson: index + 7,
|
||||
}));
|
69
03_source/frontend/src/_mock/_product.ts
Normal file
69
03_source/frontend/src/_mock/_product.ts
Normal file
@@ -0,0 +1,69 @@
|
||||
export const PRODUCT_GENDER_OPTIONS = [
|
||||
{ label: 'Men', value: 'Men' },
|
||||
{ label: 'Women', value: 'Women' },
|
||||
{ label: 'Kids', value: 'Kids' },
|
||||
];
|
||||
|
||||
export const PRODUCT_CATEGORY_OPTIONS = ['Shose', 'Apparel', 'Accessories'];
|
||||
|
||||
export const PRODUCT_RATING_OPTIONS = ['up4Star', 'up3Star', 'up2Star', 'up1Star'];
|
||||
|
||||
export const PRODUCT_COLOR_OPTIONS = [
|
||||
'#FF4842',
|
||||
'#1890FF',
|
||||
'#FFC0CB',
|
||||
'#00AB55',
|
||||
'#FFC107',
|
||||
'#7F00FF',
|
||||
'#000000',
|
||||
'#FFFFFF',
|
||||
];
|
||||
|
||||
export const PRODUCT_COLOR_NAME_OPTIONS = [
|
||||
{ value: '#FF4842', label: 'Red' },
|
||||
{ value: '#1890FF', label: 'Blue' },
|
||||
{ value: '#FFC0CB', label: 'Pink' },
|
||||
{ value: '#00AB55', label: 'Green' },
|
||||
{ value: '#FFC107', label: 'Yellow' },
|
||||
{ value: '#7F00FF', label: 'Violet' },
|
||||
{ value: '#000000', label: 'Black' },
|
||||
{ value: '#FFFFFF', label: 'White' },
|
||||
];
|
||||
|
||||
export const PRODUCT_SIZE_OPTIONS = [
|
||||
{ value: '7', label: '7' },
|
||||
{ value: '8', label: '8' },
|
||||
{ value: '8.5', label: '8.5' },
|
||||
{ value: '9', label: '9' },
|
||||
{ value: '9.5', label: '9.5' },
|
||||
{ value: '10', label: '10' },
|
||||
{ value: '10.5', label: '10.5' },
|
||||
{ value: '11', label: '11' },
|
||||
{ value: '11.5', label: '11.5' },
|
||||
{ value: '12', label: '12' },
|
||||
{ value: '13', label: '13' },
|
||||
];
|
||||
|
||||
export const PRODUCT_STOCK_OPTIONS = [
|
||||
{ value: 'in stock', label: 'In stock' },
|
||||
{ value: 'low stock', label: 'Low stock' },
|
||||
{ value: 'out of stock', label: 'Out of stock' },
|
||||
];
|
||||
|
||||
export const PRODUCT_PUBLISH_OPTIONS = [
|
||||
{ value: 'published', label: 'Published' },
|
||||
{ value: 'draft', label: 'Draft' },
|
||||
];
|
||||
|
||||
export const PRODUCT_SORT_OPTIONS = [
|
||||
{ value: 'featured', label: 'Featured' },
|
||||
{ value: 'newest', label: 'Newest' },
|
||||
{ value: 'priceDesc', label: 'Price: High - Low' },
|
||||
{ value: 'priceAsc', label: 'Price: Low - High' },
|
||||
];
|
||||
|
||||
export const PRODUCT_CATEGORY_GROUP_OPTIONS = [
|
||||
{ group: 'Clothing', classify: ['Shirts', 'T-shirts', 'Jeans', 'Leather', 'Accessories'] },
|
||||
{ group: 'Tailored', classify: ['Suits', 'Blazers', 'Trousers', 'Waistcoats', 'Apparel'] },
|
||||
{ group: 'Accessories', classify: ['Shoes', 'Backpacks and bags', 'Bracelets', 'Face masks'] },
|
||||
];
|
128
03_source/frontend/src/_mock/_tour.ts
Normal file
128
03_source/frontend/src/_mock/_tour.ts
Normal file
@@ -0,0 +1,128 @@
|
||||
import { _mock } from './_mock';
|
||||
import { _tags } from './assets';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const TOUR_DETAILS_TABS = [
|
||||
{ label: 'Tour content', value: 'content' },
|
||||
{ label: 'Booker', value: 'bookers' },
|
||||
];
|
||||
|
||||
export const TOUR_SORT_OPTIONS = [
|
||||
{ label: 'Latest', value: 'latest' },
|
||||
{ label: 'Popular', value: 'popular' },
|
||||
{ label: 'Oldest', value: 'oldest' },
|
||||
];
|
||||
|
||||
export const TOUR_PUBLISH_OPTIONS = [
|
||||
{ label: 'Published', value: 'published' },
|
||||
{ label: 'Draft', value: 'draft' },
|
||||
];
|
||||
|
||||
export const TOUR_SERVICE_OPTIONS = [
|
||||
{ label: 'Audio guide', value: 'Audio guide' },
|
||||
{ label: 'Food and drinks', value: 'Food and drinks' },
|
||||
{ label: 'Lunch', value: 'Lunch' },
|
||||
{ label: 'Private tour', value: 'Private tour' },
|
||||
{ label: 'Special activities', value: 'Special activities' },
|
||||
{ label: 'Entrance fees', value: 'Entrance fees' },
|
||||
{ label: 'Gratuities', value: 'Gratuities' },
|
||||
{ label: 'Pick-up and drop off', value: 'Pick-up and drop off' },
|
||||
{ label: 'Professional guide', value: 'Professional guide' },
|
||||
{ label: 'Transport by air-conditioned', value: 'Transport by air-conditioned' },
|
||||
];
|
||||
|
||||
const CONTENT = `
|
||||
<h6>Description</h6>
|
||||
|
||||
<p>Occaecati est et illo quibusdam accusamus qui. Incidunt aut et molestiae ut facere aut. Est quidem iusto praesentium excepturi harum nihil tenetur facilis. Ut omnis voluptates nihil accusantium doloribus eaque debitis.</p>
|
||||
|
||||
<h6>Highlights</h6>
|
||||
|
||||
<ul>
|
||||
<li>A fermentum in morbi pretium aliquam adipiscing donec tempus.</li>
|
||||
<li>Vulputate placerat amet pulvinar lorem nisl.</li>
|
||||
<li>Consequat feugiat habitant gravida quisque elit bibendum id adipiscing sed.</li>
|
||||
<li>Etiam duis lobortis in fames ultrices commodo nibh.</li>
|
||||
</ul>
|
||||
|
||||
<h6>Program</h6>
|
||||
|
||||
<p>
|
||||
<strong>Day 1</strong>
|
||||
</p>
|
||||
|
||||
<p>Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet.</p>
|
||||
|
||||
<p>
|
||||
<strong>Day 2</strong>
|
||||
</p>
|
||||
|
||||
<p>Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet.</p>
|
||||
|
||||
<p>
|
||||
<strong>Day 3</strong>
|
||||
</p>
|
||||
|
||||
<p>Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis enim velit mollit. Exercitation veniam consequat sunt nostrud amet.</p>
|
||||
`;
|
||||
|
||||
const BOOKER = Array.from({ length: 12 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
guests: index + 10,
|
||||
name: _mock.fullName(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
}));
|
||||
|
||||
export const _tourGuides = Array.from({ length: 12 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
}));
|
||||
|
||||
export const TRAVEL_IMAGES = Array.from({ length: 16 }, (_, index) => _mock.image.travel(index));
|
||||
|
||||
export const _tours = Array.from({ length: 12 }, (_, index) => {
|
||||
const available = { startDate: _mock.time(index + 1), endDate: _mock.time(index) };
|
||||
|
||||
const publish = index % 3 ? 'published' : 'draft';
|
||||
|
||||
const services = (index % 2 && ['Audio guide', 'Food and drinks']) ||
|
||||
(index % 3 && ['Lunch', 'Private tour']) ||
|
||||
(index % 4 && ['Special activities', 'Entrance fees']) || [
|
||||
'Gratuities',
|
||||
'Pick-up and drop off',
|
||||
'Professional guide',
|
||||
'Transport by air-conditioned',
|
||||
];
|
||||
|
||||
const tourGuides =
|
||||
(index === 0 && _tourGuides.slice(0, 1)) ||
|
||||
(index === 1 && _tourGuides.slice(1, 3)) ||
|
||||
(index === 2 && _tourGuides.slice(2, 5)) ||
|
||||
(index === 3 && _tourGuides.slice(4, 6)) ||
|
||||
_tourGuides.slice(6, 9);
|
||||
|
||||
const images = TRAVEL_IMAGES.slice(index, index + 5);
|
||||
|
||||
return {
|
||||
images,
|
||||
publish,
|
||||
services,
|
||||
available,
|
||||
tourGuides,
|
||||
bookers: BOOKER,
|
||||
content: CONTENT,
|
||||
id: _mock.id(index),
|
||||
tags: _tags.slice(0, 5),
|
||||
name: _mock.tourName(index),
|
||||
createdAt: _mock.time(index),
|
||||
durations: '4 days 3 nights',
|
||||
price: _mock.number.price(index),
|
||||
destination: _mock.countryNames(index),
|
||||
priceSale: _mock.number.price(index),
|
||||
totalViews: _mock.number.nativeL(index),
|
||||
ratingNumber: _mock.number.rating(index),
|
||||
};
|
||||
});
|
143
03_source/frontend/src/_mock/_user.ts
Normal file
143
03_source/frontend/src/_mock/_user.ts
Normal file
@@ -0,0 +1,143 @@
|
||||
import { _mock } from './_mock';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const USER_STATUS_OPTIONS = [
|
||||
{ value: 'active', label: 'Active' },
|
||||
{ value: 'pending', label: 'Pending' },
|
||||
{ value: 'banned', label: 'Banned' },
|
||||
{ value: 'rejected', label: 'Rejected' },
|
||||
];
|
||||
|
||||
export const _userAbout = {
|
||||
id: _mock.id(1),
|
||||
role: _mock.role(1),
|
||||
email: _mock.email(1),
|
||||
school: _mock.companyNames(2),
|
||||
company: _mock.companyNames(1),
|
||||
country: _mock.countryNames(2),
|
||||
coverUrl: _mock.image.cover(3),
|
||||
totalFollowers: _mock.number.nativeL(1),
|
||||
totalFollowing: _mock.number.nativeL(2),
|
||||
quote:
|
||||
'Tart I love sugar plum I love oat cake. Sweet roll caramels I love jujubes. Topping cake wafer..',
|
||||
socialLinks: {
|
||||
facebook: `https://www.facebook.com/frankie`,
|
||||
instagram: `https://www.instagram.com/frankie`,
|
||||
linkedin: `https://www.linkedin.com/in/frankie`,
|
||||
twitter: `https://www.twitter.com/frankie`,
|
||||
},
|
||||
};
|
||||
|
||||
export const _userFollowers = Array.from({ length: 18 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
name: _mock.fullName(index),
|
||||
country: _mock.countryNames(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
}));
|
||||
|
||||
export const _userFriends = Array.from({ length: 18 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
role: _mock.role(index),
|
||||
name: _mock.fullName(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
}));
|
||||
|
||||
export const _userGallery = Array.from({ length: 12 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
postedAt: _mock.time(index),
|
||||
title: _mock.postTitle(index),
|
||||
imageUrl: _mock.image.cover(index),
|
||||
}));
|
||||
|
||||
export const _userFeeds = Array.from({ length: 3 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
createdAt: _mock.time(index),
|
||||
media: _mock.image.travel(index + 1),
|
||||
message: _mock.sentence(index),
|
||||
personLikes: Array.from({ length: 20 }, (__, personIndex) => ({
|
||||
name: _mock.fullName(personIndex),
|
||||
avatarUrl: _mock.image.avatar(personIndex + 2),
|
||||
})),
|
||||
comments: (index === 2 && []) || [
|
||||
{
|
||||
id: _mock.id(7),
|
||||
author: {
|
||||
id: _mock.id(8),
|
||||
avatarUrl: _mock.image.avatar(index + 5),
|
||||
name: _mock.fullName(index + 5),
|
||||
},
|
||||
createdAt: _mock.time(2),
|
||||
message: 'Praesent venenatis metus at',
|
||||
},
|
||||
{
|
||||
id: _mock.id(9),
|
||||
author: {
|
||||
id: _mock.id(10),
|
||||
avatarUrl: _mock.image.avatar(index + 6),
|
||||
name: _mock.fullName(index + 6),
|
||||
},
|
||||
createdAt: _mock.time(3),
|
||||
message:
|
||||
'Etiam rhoncus. Nullam vel sem. Pellentesque libero tortor, tincidunt et, tincidunt eget, semper nec, quam. Sed lectus.',
|
||||
},
|
||||
],
|
||||
}));
|
||||
|
||||
export const _userCards = Array.from({ length: 21 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
role: _mock.role(index),
|
||||
name: _mock.fullName(index),
|
||||
coverUrl: _mock.image.cover(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
totalFollowers: _mock.number.nativeL(index),
|
||||
totalPosts: _mock.number.nativeL(index + 2),
|
||||
totalFollowing: _mock.number.nativeL(index + 1),
|
||||
}));
|
||||
|
||||
export const _userPayment = Array.from({ length: 3 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
cardNumber: ['**** **** **** 1234', '**** **** **** 5678', '**** **** **** 7878'][index],
|
||||
cardType: ['mastercard', 'visa', 'visa'][index],
|
||||
primary: index === 1,
|
||||
}));
|
||||
|
||||
export const _userAddressBook = Array.from({ length: 4 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
primary: index === 0,
|
||||
name: _mock.fullName(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
fullAddress: _mock.fullAddress(index),
|
||||
addressType: (index === 0 && 'Home') || 'Office',
|
||||
}));
|
||||
|
||||
export const _userInvoices = Array.from({ length: 10 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
invoiceNumber: `INV-199${index}`,
|
||||
createdAt: _mock.time(index),
|
||||
price: _mock.number.price(index),
|
||||
}));
|
||||
|
||||
export const _userPlans = [
|
||||
{ subscription: 'basic', price: 0, primary: false },
|
||||
{ subscription: 'starter', price: 4.99, primary: true },
|
||||
{ subscription: 'premium', price: 9.99, primary: false },
|
||||
];
|
||||
|
||||
export const _userList = Array.from({ length: 20 }, (_, index) => ({
|
||||
id: _mock.id(index),
|
||||
zipCode: '85807',
|
||||
state: 'Virginia',
|
||||
city: 'Rancho Cordova',
|
||||
role: _mock.role(index),
|
||||
email: _mock.email(index),
|
||||
address: '908 Jack Locks',
|
||||
name: _mock.fullName(index),
|
||||
isVerified: _mock.boolean(index),
|
||||
company: _mock.companyNames(index),
|
||||
country: _mock.countryNames(index),
|
||||
avatarUrl: _mock.image.avatar(index),
|
||||
phoneNumber: _mock.phoneNumber(index),
|
||||
status:
|
||||
(index % 2 && 'pending') || (index % 3 && 'banned') || (index % 4 && 'rejected') || 'active',
|
||||
}));
|
674
03_source/frontend/src/_mock/assets.ts
Normal file
674
03_source/frontend/src/_mock/assets.ts
Normal file
@@ -0,0 +1,674 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _id = Array.from(
|
||||
{ length: 40 },
|
||||
(_, index) => `e99f09a7-dd88-49d5-b1c8-1daf80c2d7b${index + 1}`
|
||||
);
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _booleans = [
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
true,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _prices = [
|
||||
83.74, 97.14, 68.71, 85.21, 52.17, 25.18, 43.84, 60.98, 98.42, 53.37, 72.75, 56.61, 64.55, 77.32,
|
||||
60.62, 79.81, 93.68, 47.44, 76.24, 92.87, 72.91, 20.54, 94.25, 37.51,
|
||||
];
|
||||
|
||||
export const _ratings = [
|
||||
4.2, 3.7, 4.5, 3.5, 0.5, 3.0, 2.5, 2.8, 4.9, 3.6, 2.5, 1.7, 3.9, 2.8, 4.1, 4.5, 2.2, 3.2, 0.6,
|
||||
1.3, 3.8, 3.8, 3.8, 2.0,
|
||||
];
|
||||
|
||||
export const _ages = [
|
||||
30, 26, 59, 47, 29, 46, 18, 56, 39, 19, 45, 18, 46, 56, 38, 41, 44, 48, 32, 45, 42, 60, 33, 57,
|
||||
];
|
||||
|
||||
export const _percents = [
|
||||
10.1, 13.6, 28.2, 42.1, 37.2, 18.5, 40.1, 94.8, 91.4, 53.0, 25.4, 62.9, 86.6, 62.4, 35.4, 17.6,
|
||||
52.0, 6.8, 95.3, 26.6, 69.9, 92.1, 46.2, 85.6,
|
||||
];
|
||||
|
||||
export const _nativeS = [
|
||||
11, 10, 7, 10, 12, 5, 10, 1, 8, 8, 10, 11, 12, 8, 4, 11, 8, 9, 4, 9, 2, 6, 3, 7,
|
||||
];
|
||||
|
||||
export const _nativeM = [
|
||||
497, 763, 684, 451, 433, 463, 951, 194, 425, 435, 807, 521, 538, 839, 394, 269, 453, 821, 364,
|
||||
849, 804, 776, 263, 239,
|
||||
];
|
||||
|
||||
export const _nativeL = [
|
||||
9911, 1947, 9124, 6984, 8488, 2034, 3364, 8401, 8996, 5271, 8478, 1139, 8061, 3035, 6733, 3952,
|
||||
2405, 3127, 6843, 4672, 6995, 6053, 5192, 9686,
|
||||
];
|
||||
|
||||
export const _fullAddress = [
|
||||
`19034 Verna Unions Apt. 164 - Honolulu, RI / 87535`,
|
||||
`1147 Rohan Drive Suite 819 - Burlington, VT / 82021`,
|
||||
`18605 Thompson Circle Apt. 086 - Idaho Falls, WV / 50337`,
|
||||
`110 Lamar Station Apt. 730 - Hagerstown, OK / 49808`,
|
||||
`36901 Elmer Spurs Apt. 762 - Miramar, DE / 92836`,
|
||||
`2089 Runolfsson Harbors Suite 886 - Chapel Hill, TX / 32827`,
|
||||
`279 Karolann Ports Apt. 774 - Prescott Valley, WV / 53905`,
|
||||
`96607 Claire Square Suite 591 - St. Louis Park, HI / 40802`,
|
||||
`9388 Auer Station Suite 573 - Honolulu, AK / 98024`,
|
||||
`47665 Adaline Squares Suite 510 - Blacksburg, NE / 53515`,
|
||||
`989 Vernice Flats Apt. 183 - Billings, NV / 04147`,
|
||||
`91020 Wehner Locks Apt. 673 - Albany, WY / 68763`,
|
||||
`585 Candelario Pass Suite 090 - Columbus, LA / 25376`,
|
||||
`80988 Renner Crest Apt. 000 - Fargo, VA / 24266`,
|
||||
`28307 Shayne Pike Suite 523 - North Las Vegas, AZ / 28550`,
|
||||
`205 Farrell Highway Suite 333 - Rock Hill, OK / 63421`,
|
||||
`253 Kara Motorway Suite 821 - Manchester, SD / 09331`,
|
||||
`13663 Kiara Oval Suite 606 - Missoula, AR / 44478`,
|
||||
`8110 Claire Port Apt. 703 - Anchorage, TN / 01753`,
|
||||
`4642 Demetris Lane Suite 407 - Edmond, AZ / 60888`,
|
||||
`74794 Asha Flat Suite 890 - Lancaster, OR / 13466`,
|
||||
`8135 Keeling Pines Apt. 326 - Alexandria, MA / 89442`,
|
||||
`441 Gibson Shores Suite 247 - Pasco, NM / 60678`,
|
||||
`4373 Emelia Valley Suite 596 - Columbia, NM / 42586`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _emails = [
|
||||
`nannie.abernathy70@yahoo.com`,
|
||||
`ashlynn.ohara62@gmail.com`,
|
||||
`milo.farrell@hotmail.com`,
|
||||
`violet.ratke86@yahoo.com`,
|
||||
`letha.lubowitz24@yahoo.com`,
|
||||
`aditya.greenfelder31@gmail.com`,
|
||||
`lenna.bergnaum27@hotmail.com`,
|
||||
`luella.ryan33@gmail.com`,
|
||||
`joana.simonis84@gmail.com`,
|
||||
`marjolaine.white94@gmail.com`,
|
||||
`vergie.block82@hotmail.com`,
|
||||
`vito.hudson@hotmail.com`,
|
||||
`tyrel.greenholt@gmail.com`,
|
||||
`dwight.block85@yahoo.com`,
|
||||
`mireya13@hotmail.com`,
|
||||
`dasia.jenkins@hotmail.com`,
|
||||
`benny89@yahoo.com`,
|
||||
`dawn.goyette@gmail.com`,
|
||||
`zella.hickle4@yahoo.com`,
|
||||
`avery43@hotmail.com`,
|
||||
`olen.legros@gmail.com`,
|
||||
`jimmie.gerhold73@hotmail.com`,
|
||||
`genevieve.powlowski@hotmail.com`,
|
||||
`louie.kuphal39@gmail.com`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _fullNames = [
|
||||
`Jayvion Simon`,
|
||||
`Lucian Obrien`,
|
||||
`Deja Brady`,
|
||||
`Harrison Stein`,
|
||||
`Reece Chung`,
|
||||
`Lainey Davidson`,
|
||||
`Cristopher Cardenas`,
|
||||
`Melanie Noble`,
|
||||
`Chase Day`,
|
||||
`Shawn Manning`,
|
||||
`Soren Durham`,
|
||||
`Cortez Herring`,
|
||||
`Brycen Jimenez`,
|
||||
`Giana Brandt`,
|
||||
`Aspen Schmitt`,
|
||||
`Colten Aguilar`,
|
||||
`Angelique Morse`,
|
||||
`Selina Boyer`,
|
||||
`Lawson Bass`,
|
||||
`Ariana Lang`,
|
||||
`Amiah Pruitt`,
|
||||
`Harold Mcgrath`,
|
||||
`Esperanza Mcintyre`,
|
||||
`Mireya Conner`,
|
||||
];
|
||||
|
||||
export const _firstNames = [
|
||||
`Mossie`,
|
||||
`David`,
|
||||
`Ebba`,
|
||||
`Chester`,
|
||||
`Eula`,
|
||||
`Jaren`,
|
||||
`Boyd`,
|
||||
`Brady`,
|
||||
`Aida`,
|
||||
`Anastasia`,
|
||||
`Gregoria`,
|
||||
`Julianne`,
|
||||
`Ila`,
|
||||
`Elyssa`,
|
||||
`Lucio`,
|
||||
`Lewis`,
|
||||
`Jacinthe`,
|
||||
`Molly`,
|
||||
`Brown`,
|
||||
`Fritz`,
|
||||
`Keon`,
|
||||
`Ella`,
|
||||
`Ken`,
|
||||
`Whitney`,
|
||||
];
|
||||
|
||||
export const _lastNames = [
|
||||
`Carroll`,
|
||||
`Simonis`,
|
||||
`Yost`,
|
||||
`Hand`,
|
||||
`Emmerich`,
|
||||
`Wilderman`,
|
||||
`Howell`,
|
||||
`Sporer`,
|
||||
`Boehm`,
|
||||
`Morar`,
|
||||
`Koch`,
|
||||
`Reynolds`,
|
||||
`Padberg`,
|
||||
`Watsica`,
|
||||
`Upton`,
|
||||
`Yundt`,
|
||||
`Pfeffer`,
|
||||
`Parker`,
|
||||
`Zulauf`,
|
||||
`Treutel`,
|
||||
`McDermott`,
|
||||
`McDermott`,
|
||||
`Cruickshank`,
|
||||
`Parisian`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _phoneNumbers = [
|
||||
'+1 202-555-0143',
|
||||
'+1 416-555-0198',
|
||||
'+44 20 7946 0958',
|
||||
'+61 2 9876 5432',
|
||||
'+91 22 1234 5678',
|
||||
'+49 30 123456',
|
||||
'+33 1 23456789',
|
||||
'+81 3 1234 5678',
|
||||
'+86 10 1234 5678',
|
||||
'+55 11 2345-6789',
|
||||
'+27 11 123 4567',
|
||||
'+7 495 123-4567',
|
||||
'+52 55 1234 5678',
|
||||
'+39 06 123 4567',
|
||||
'+34 91 123 4567',
|
||||
'+31 20 123 4567',
|
||||
'+46 8 123 456',
|
||||
'+41 22 123 45 67',
|
||||
'+82 2 123 4567',
|
||||
'+54 11 1234-5678',
|
||||
'+64 9 123 4567',
|
||||
'+65 1234 5678',
|
||||
'+60 3-1234 5678',
|
||||
'+66 2 123 4567',
|
||||
'+62 21 123 4567',
|
||||
'+63 2 123 4567',
|
||||
'+90 212 123 45 67',
|
||||
'+966 11 123 4567',
|
||||
'+971 2 123 4567',
|
||||
'+20 2 12345678',
|
||||
'+234 1 123 4567',
|
||||
'+254 20 123 4567',
|
||||
'+972 3-123-4567',
|
||||
'+30 21 1234 5678',
|
||||
'+353 1 123 4567',
|
||||
'+351 21 123 4567',
|
||||
'+47 21 23 45 67',
|
||||
'+45 32 12 34 56',
|
||||
'+358 9 123 4567',
|
||||
'+48 22 123 45 67',
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _countryNames = [
|
||||
'United States',
|
||||
'Canada',
|
||||
'United Kingdom',
|
||||
'Australia',
|
||||
'India',
|
||||
'Germany',
|
||||
'France',
|
||||
'Japan',
|
||||
'China',
|
||||
'Brazil',
|
||||
'South Africa',
|
||||
'Russia',
|
||||
'Mexico',
|
||||
'Italy',
|
||||
'Spain',
|
||||
'Netherlands',
|
||||
'Sweden',
|
||||
'Switzerland',
|
||||
'South Korea',
|
||||
'Argentina',
|
||||
'New Zealand',
|
||||
'Singapore',
|
||||
'Malaysia',
|
||||
'Thailand',
|
||||
'Indonesia',
|
||||
'Philippines',
|
||||
'Turkey',
|
||||
'Saudi Arabia',
|
||||
'United Arab Emirates',
|
||||
'Egypt',
|
||||
'Nigeria',
|
||||
'Kenya',
|
||||
'Israel',
|
||||
'Greece',
|
||||
'Ireland',
|
||||
'Portugal',
|
||||
'Norway',
|
||||
'Denmark',
|
||||
'Finland',
|
||||
'Poland',
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _roles = [
|
||||
`CEO`,
|
||||
`CTO`,
|
||||
`Project Coordinator`,
|
||||
`Team Leader`,
|
||||
`Software Developer`,
|
||||
`Marketing Strategist`,
|
||||
`Data Analyst`,
|
||||
`Product Owner`,
|
||||
`Graphic Designer`,
|
||||
`Operations Manager`,
|
||||
`Customer Support Specialist`,
|
||||
`Sales Manager`,
|
||||
`HR Recruiter`,
|
||||
`Business Consultant`,
|
||||
`Financial Planner`,
|
||||
`Network Engineer`,
|
||||
`Content Creator`,
|
||||
`Quality Assurance Tester`,
|
||||
`Public Relations Officer`,
|
||||
`IT Administrator`,
|
||||
`Compliance Officer`,
|
||||
`Event Planner`,
|
||||
`Legal Counsel`,
|
||||
`Training Coordinator`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _postTitles = [
|
||||
`The Future of Renewable Energy: Innovations and Challenges Ahead`,
|
||||
`Exploring the Impact of Artificial Intelligence on Modern Healthcare`,
|
||||
`Climate Change and Its Effects on Global Food Security`,
|
||||
`The Rise of Remote Work: Benefits, Challenges, and Future Trends`,
|
||||
`Understanding Blockchain Technology: Beyond Cryptocurrency`,
|
||||
`Mental Health in the Digital Age: Navigating Social Media and Well-being`,
|
||||
`Sustainable Fashion: How the Industry is Going Green`,
|
||||
`Space Exploration: New Frontiers and the Quest for Extraterrestrial Life`,
|
||||
`The Evolution of E-Commerce: Trends Shaping the Online Retail Landscape`,
|
||||
`Cybersecurity in the 21st Century: Protecting Data in a Digital World`,
|
||||
`The Role of Big Data in Transforming Business Strategies`,
|
||||
`Genetic Engineering: Ethical Considerations and Future Prospects`,
|
||||
`Urban Farming: A Solution to Food Deserts and Urban Sustainability`,
|
||||
`The Psychology of Consumer Behavior: What Drives Our Purchasing Decisions?`,
|
||||
`Renewable Energy vs. Fossil Fuels: Which is the Future?`,
|
||||
`Artificial Intelligence in Education: Enhancing Learning Experiences`,
|
||||
`The Impact of Climate Change on Global Migration Patterns`,
|
||||
`5G Technology: Revolutionizing Connectivity and Communication`,
|
||||
`The Gig Economy: Opportunities, Risks, and the Future of Work`,
|
||||
`Smart Cities: Integrating Technology for Sustainable Urban Living`,
|
||||
`The Influence of Pop Culture on Modern Society`,
|
||||
`Innovations in Medicine: From Telehealth to Personalized Treatment`,
|
||||
`The Environmental Cost of Fast Fashion: What Can Consumers Do?`,
|
||||
`The Intersection of Art and Technology: Digital Art in the 21st Century`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _productNames = [
|
||||
`Urban Explorer Sneakers`,
|
||||
`Classic Leather Loafers`,
|
||||
`Mountain Trekking Boots`,
|
||||
`Elegance Stiletto Heels`,
|
||||
`Comfy Running Shoes`,
|
||||
`Chic Ballet Flats`,
|
||||
`Vintage Oxford Shoes`,
|
||||
`Waterproof Hiking Boots`,
|
||||
`Casual Slip-On Sneakers`,
|
||||
`Premium Dress Shoes`,
|
||||
`Sporty Trail Runners`,
|
||||
`Sophisticated Brogues`,
|
||||
`Beach Sandals`,
|
||||
`Stylish Wedge Heels`,
|
||||
`Lightweight Training Shoes`,
|
||||
`Luxurious Moccasins`,
|
||||
`Durable Work Boots`,
|
||||
`Trendy Platform Sneakers`,
|
||||
`Cozy Winter Boots`,
|
||||
`Fashion Ankle Boots`,
|
||||
`Breathable Tennis Shoes`,
|
||||
`Elegant Evening Pumps`,
|
||||
`Modern Skate Shoes`,
|
||||
`Comfortable Walking Shoes`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _tourNames = [
|
||||
`Majestic Mountain Adventures`,
|
||||
`Island Hopping Extravaganza`,
|
||||
`Cultural Wonders of Europe`,
|
||||
`Safari Expedition in Africa`,
|
||||
`Grand Canyon Explorer`,
|
||||
`Historic Cities of Asia`,
|
||||
`Tropical Paradise Getaway`,
|
||||
`Alaskan Wilderness Tour`,
|
||||
`Mediterranean Cruise Voyage`,
|
||||
`Enchanting Eastern Europe`,
|
||||
`Scenic Coastal Road Trip`,
|
||||
`Ancient Ruins Discovery`,
|
||||
`Australian Outback Adventure`,
|
||||
`Northern Lights Experience`,
|
||||
`Wildlife Wonders of South America`,
|
||||
`Royal Castles and Palaces`,
|
||||
`Ultimate Beach Retreat`,
|
||||
`National Parks Exploration`,
|
||||
`Gastronomic Tour of Italy`,
|
||||
`Hiking Trails of New Zealand`,
|
||||
`Art and History of France`,
|
||||
`Exotic Temples of India`,
|
||||
`Canadian Rockies Journey`,
|
||||
`Caribbean Sun and Fun`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _jobTitles = [
|
||||
`Software Engineer`,
|
||||
`Marketing Manager`,
|
||||
`Data Scientist`,
|
||||
`Graphic Designer`,
|
||||
`Financial Analyst`,
|
||||
`Human Resources Specialist`,
|
||||
`Project Manager`,
|
||||
`Sales Executive`,
|
||||
`Content Writer`,
|
||||
`Network Administrator`,
|
||||
`Customer Service Representative`,
|
||||
`Product Manager`,
|
||||
`Business Analyst`,
|
||||
`Mechanical Engineer`,
|
||||
`Operations Manager`,
|
||||
`UX/UI Designer`,
|
||||
`Accountant`,
|
||||
`Social Media Manager`,
|
||||
`Research Scientist`,
|
||||
`Legal Advisor`,
|
||||
`Public Relations Specialist`,
|
||||
`Health and Safety Officer`,
|
||||
`IT Support Specialist`,
|
||||
`Environmental Consultant`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _companyNames = [
|
||||
`Lueilwitz and Sons`,
|
||||
`Gleichner, Mueller and Tromp`,
|
||||
`Nikolaus - Leuschke`,
|
||||
`Hegmann, Kreiger and Bayer`,
|
||||
`Grimes Inc`,
|
||||
`Durgan - Murazik`,
|
||||
`Altenwerth, Medhurst and Roberts`,
|
||||
`Raynor Group`,
|
||||
`Mraz, Donnelly and Collins`,
|
||||
`Padberg - Bailey`,
|
||||
`Heidenreich, Stokes and Parker`,
|
||||
`Pagac and Sons`,
|
||||
`Rempel, Hand and Herzog`,
|
||||
`Dare - Treutel`,
|
||||
`Kihn, Marquardt and Crist`,
|
||||
`Nolan - Kunde`,
|
||||
`Wuckert Inc`,
|
||||
`Dibbert Inc`,
|
||||
`Goyette and Sons`,
|
||||
`Feest Group`,
|
||||
`Bosco and Sons`,
|
||||
`Bartell - Kovacek`,
|
||||
`Schimmel - Raynor`,
|
||||
`Tremblay LLC`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _tags = [
|
||||
`Technology`,
|
||||
`Health and Wellness`,
|
||||
`Travel`,
|
||||
`Finance`,
|
||||
`Education`,
|
||||
`Food and Beverage`,
|
||||
`Fashion`,
|
||||
`Home and Garden`,
|
||||
`Sports`,
|
||||
`Entertainment`,
|
||||
`Business`,
|
||||
`Science`,
|
||||
`Automotive`,
|
||||
`Beauty`,
|
||||
`Fitness`,
|
||||
`Lifestyle`,
|
||||
`Real Estate`,
|
||||
`Parenting`,
|
||||
`Pet Care`,
|
||||
`Environmental`,
|
||||
`DIY and Crafts`,
|
||||
`Gaming`,
|
||||
`Photography`,
|
||||
`Music`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _taskNames = [
|
||||
`Prepare Monthly Financial Report`,
|
||||
`Design New Marketing Campaign`,
|
||||
`Analyze Customer Feedback`,
|
||||
`Update Website Content`,
|
||||
`Conduct Market Research`,
|
||||
`Develop Software Application`,
|
||||
`Organize Team Meeting`,
|
||||
`Create Social Media Posts`,
|
||||
`Review Project Plan`,
|
||||
`Implement Security Protocols`,
|
||||
`Write Technical Documentation`,
|
||||
`Test New Product Features`,
|
||||
`Manage Client Inquiries`,
|
||||
`Train New Employees`,
|
||||
`Coordinate Logistics`,
|
||||
`Monitor Network Performance`,
|
||||
`Develop Training Materials`,
|
||||
`Draft Press Release`,
|
||||
`Prepare Budget Proposal`,
|
||||
`Evaluate Vendor Proposals`,
|
||||
`Perform Data Analysis`,
|
||||
`Conduct Quality Assurance`,
|
||||
`Plan Event Logistics`,
|
||||
`Optimize SEO Strategies`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _courseNames = [
|
||||
`Introduction to Python Programming`,
|
||||
`Digital Marketing Fundamentals`,
|
||||
`Data Science with R`,
|
||||
`Graphic Design Essentials`,
|
||||
`Financial Planning for Beginners`,
|
||||
`Human Resource Management Basics`,
|
||||
`Project Management Fundamentals`,
|
||||
`Sales Techniques and Strategies`,
|
||||
`Content Writing Mastery`,
|
||||
`Network Security Fundamentals`,
|
||||
`Customer Service Excellence`,
|
||||
`Product Management Essentials`,
|
||||
`Business Analytics with Excel`,
|
||||
`Mechanical Engineering Principles`,
|
||||
`Leadership and Team Management`,
|
||||
`User Experience (UX) Design Basics`,
|
||||
`Accounting Fundamentals`,
|
||||
`Social Media Marketing Mastery`,
|
||||
`Biotechnology Essentials`,
|
||||
`Legal Studies for Non-Lawyers`,
|
||||
`Public Speaking Confidence`,
|
||||
`Health and Wellness Coaching`,
|
||||
`Web Development Bootcamp`,
|
||||
`Photography Masterclass`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _fileNames = [
|
||||
'cover-2.jpg',
|
||||
'design-suriname-2015.mp3',
|
||||
'expertise-2015-conakry-sao-tome-and-principe-gender.mp4',
|
||||
'money-popup-crack.pdf',
|
||||
'cover-4.jpg',
|
||||
'cover-6.jpg',
|
||||
'large-news.txt',
|
||||
'nauru-6015-small-fighter-left-gender.psd',
|
||||
'tv-xs.doc',
|
||||
'gustavia-entertainment-productivity.docx',
|
||||
'vintage-bahrain-saipan.xls',
|
||||
'indonesia-quito-nancy-grace-left-glad.xlsx',
|
||||
'legislation-grain.zip',
|
||||
'large-energy-dry-philippines.rar',
|
||||
'footer-243-ecuador.iso',
|
||||
'kyrgyzstan-04795009-picabo-street-guide-style.ai',
|
||||
'india-data-large-gk-chesterton-mother.esp',
|
||||
'footer-barbados-celine-dion.ppt',
|
||||
'socio-respectively-366996.pptx',
|
||||
'socio-ahead-531437-sweden-popup.wav',
|
||||
'trinidad-samuel-morse-bring.m4v',
|
||||
'cover-12.jpg',
|
||||
'cover-18.jpg',
|
||||
'xl-david-blaine-component-tanzania-books.pdf',
|
||||
];
|
||||
|
||||
export const _eventNames = [
|
||||
`Annual General Meeting`,
|
||||
`Summer Music Festival`,
|
||||
`Tech Innovators Conference`,
|
||||
`Charity Gala Dinner`,
|
||||
`Spring Art Exhibition`,
|
||||
`Corporate Training Workshop`,
|
||||
`Community Health Fair`,
|
||||
`Startup Pitch Night`,
|
||||
`Regional Sports Tournament`,
|
||||
`Book Launch Event`,
|
||||
`Film Premiere Screening`,
|
||||
`Industry Networking Mixer`,
|
||||
`Holiday Craft Fair`,
|
||||
`Environmental Awareness Week`,
|
||||
`New Year's Eve Party`,
|
||||
`Product Release Showcase`,
|
||||
`Cultural Heritage Festival`,
|
||||
`Science and Technology Expo`,
|
||||
`Annual Awards Ceremony`,
|
||||
`Fashion Week Runway Show`,
|
||||
`Food and Wine Tasting`,
|
||||
`Outdoor Adventure Camp`,
|
||||
`Leadership Summit`,
|
||||
`Wedding Expo`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _sentences = [
|
||||
`The sun slowly set over the horizon, painting the sky in vibrant hues of orange and pink.`,
|
||||
`She eagerly opened the gift, her eyes sparkling with excitement.`,
|
||||
`The old oak tree stood tall and majestic, its branches swaying gently in the breeze.`,
|
||||
`The aroma of freshly brewed coffee filled the air, awakening my senses.`,
|
||||
`The children giggled with joy as they ran through the sprinklers on a hot summer day.`,
|
||||
`He carefully crafted a beautiful sculpture out of clay, his hands skillfully shaping the intricate details.`,
|
||||
`The concert was a mesmerizing experience, with the music filling the venue and the crowd cheering in delight.`,
|
||||
`The waves crashed against the shore, creating a soothing symphony of sound.`,
|
||||
`The scent of blooming flowers wafted through the garden, creating a fragrant paradise.`,
|
||||
`She gazed up at the night sky, marveling at the twinkling stars that dotted the darkness.`,
|
||||
`The professor delivered a captivating lecture, engaging the students with thought-provoking ideas.`,
|
||||
`The hiker trekked through the dense forest, guided by the soft glow of sunlight filtering through the trees.`,
|
||||
`The delicate butterfly gracefully fluttered from flower to flower, sipping nectar with its slender proboscis.`,
|
||||
`The aroma of freshly baked cookies filled the kitchen, tempting everyone with its irresistible scent.`,
|
||||
'The majestic waterfall cascaded down the rocks, creating a breathtaking display of nature`s power.',
|
||||
`The actor delivered a powerful performance, moving the audience to tears with his emotional portrayal.`,
|
||||
`The book transported me to a magical world, where imagination knew no bounds.`,
|
||||
`The scent of rain filled the air as dark clouds gathered overhead, promising a refreshing downpour.`,
|
||||
`The chef skillfully plated the dish, turning simple ingredients into a work of culinary art.`,
|
||||
`The newborn baby let out a tiny cry, announcing its arrival to the world.`,
|
||||
`The athlete sprinted across the finish line, arms raised in victory as the crowd erupted in applause.`,
|
||||
`The ancient ruins stood as a testament to a civilization long gone, their grandeur still awe-inspiring.`,
|
||||
`The artist dipped the brush into vibrant paint, bringing the canvas to life with bold strokes and vivid colors.`,
|
||||
`The laughter of children echoed through the playground, filling the atmosphere with pure joy.`,
|
||||
];
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
export const _descriptions = [
|
||||
`Occaecati est et illo quibusdam accusamus qui. Incidunt aut et molestiae ut facere aut. Est quidem iusto praesentium excepturi harum nihil tenetur facilis. Ut omnis voluptates nihil accusantium doloribus eaque debitis.`,
|
||||
`Atque eaque ducimus minima distinctio velit. Laborum et veniam officiis. Delectus ex saepe hic id laboriosam officia. Odit nostrum qui illum saepe debitis ullam. Laudantium beatae modi fugit ut. Dolores consequatur beatae nihil voluptates rem maiores.`,
|
||||
`Rerum eius velit dolores. Explicabo ad nemo quibusdam. Voluptatem eum suscipit et ipsum et consequatur aperiam quia. Rerum nulla sequi recusandae illum velit quia quas. Et error laborum maiores cupiditate occaecati.`,
|
||||
`Et non omnis qui. Qui sunt deserunt dolorem aut velit cumque adipisci aut enim. Nihil quis quisquam nesciunt dicta nobis ab aperiam dolorem repellat. Voluptates non blanditiis. Error et tenetur iste soluta cupiditate ratione perspiciatis et. Quibusdam aliquid nam sunt et quisquam non esse.`,
|
||||
`Nihil ea sunt facilis praesentium atque. Ab animi alias sequi molestias aut velit ea. Sed possimus eos. Et est aliquid est voluptatem.`,
|
||||
`Non rerum modi. Accusamus voluptatem odit nihil in. Quidem et iusto numquam veniam culpa aperiam odio aut enim. Quae vel dolores. Pariatur est culpa veritatis aut dolorem.`,
|
||||
`Est enim et sit non impedit aperiam cumque animi. Aut eius impedit saepe blanditiis. Totam molestias magnam minima fugiat.`,
|
||||
`Unde a inventore et. Sed esse ut. Atque ducimus quibusdam fuga quas id qui fuga.`,
|
||||
`Eaque natus adipisci soluta nostrum dolorem. Nesciunt ipsum molestias ut aliquid natus ut omnis qui fugiat. Dolor et rem. Ut neque voluptatem blanditiis quasi ullam deleniti.`,
|
||||
`Nam et error exercitationem qui voluptate optio. Officia omnis qui accusantium ipsam qui. Quia sequi nulla perspiciatis optio vero omnis maxime omnis ipsum. Perspiciatis consequuntur asperiores veniam dolores.`,
|
||||
`Perspiciatis nulla ut ut ut voluptates totam consectetur eligendi qui. Optio ut cum. Dolorum sapiente qui laborum. Impedit temporibus totam delectus nihil. Voluptatem corrupti rem.`,
|
||||
`Distinctio omnis similique omnis eos. Repellat cumque rerum nisi. Reiciendis soluta non ut veniam temporibus. Accusantium et dolorem voluptas harum. Nemo eius voluptate dicta et hic nemo. Dolorem assumenda et beatae molestias sit quo mollitia quis consequatur.`,
|
||||
`Sed ut mollitia tempore ipsam et illum doloribus ut. Occaecati ratione veritatis explicabo. Omnis nam omnis sunt placeat tempore accusantium placeat distinctio velit.`,
|
||||
`Eum illo dicta et perspiciatis ut blanditiis eos sequi. Ea veritatis aut et voluptas aut. Laborum eos quia tempore a culpa.`,
|
||||
`Aut quos quae dolores repudiandae similique perferendis perferendis earum laudantium. Facere placeat natus nobis. Eius vitae ullam dolorem.`,
|
||||
`Vero dolorem et voluptatem fugit tempore a quam iure. Fuga consequatur corrupti sunt asperiores vitae. Libero totam repellendus animi debitis illum et sunt officia.`,
|
||||
`Cupiditate illum officiis id molestiae. Numquam non molestiae aliquid et natus sed hic. Alias quia explicabo sed corrupti sint. Natus in et odio qui unde facilis quia. Est sit eius laboriosam aliquid non aperiam quia quo corporis.`,
|
||||
`Et a ab. Optio aspernatur minus tempora amet vitae consectetur inventore cumque. Sed et omnis. Aspernatur a magnam.`,
|
||||
`Ipsum omnis et. Quia ea et autem tempore consequuntur veniam dolorem officiis. Ipsa dicta et ut quidem quia doloremque. Sequi vitae doloremque temporibus. Deserunt incidunt id aperiam itaque natus. Earum sit eaque quas incidunt nihil.`,
|
||||
`Quae consequatur reiciendis. Consequatur non optio. Eaque id placeat. Commodi quo officia aut repudiandae reiciendis tempore voluptatem et. Ut accusamus qui itaque maxime aliquam. Fugit ut animi molestiae porro maiores.`,
|
||||
`Modi hic asperiores ab cumque quam est aut. Voluptas atque quos molestias. Ut excepturi distinctio ipsam aspernatur sit.`,
|
||||
`Sunt totam facilis. Quam commodi voluptatem veniam. Tempora deleniti itaque fugit nihil voluptas.`,
|
||||
`Ipsam aliquam velit nobis repellendus officiis aut deserunt id et. Nihil sunt aut dolores aut. Dolores est ipsa quia et laborum quidem laborum accusamus id. Facilis odit quod hic laudantium saepe omnis nisi in sint. Sed cupiditate possimus id.`,
|
||||
`Magnam non eveniet optio optio ut aliquid atque. Velit libero aspernatur quis laborum consequatur laudantium. Tempora facere optio fugit accusantium ut. Omnis aspernatur reprehenderit autem esse ut ut enim voluptatibus.`,
|
||||
];
|
25
03_source/frontend/src/_mock/index.ts
Normal file
25
03_source/frontend/src/_mock/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
export * from './_job';
|
||||
|
||||
export * from './_mock';
|
||||
|
||||
export * from './_user';
|
||||
|
||||
export * from './_tour';
|
||||
|
||||
export * from './_blog';
|
||||
|
||||
export * from './assets';
|
||||
|
||||
export * from './_files';
|
||||
|
||||
export * from './_order';
|
||||
|
||||
export * from './_others';
|
||||
|
||||
export * from './_invoice';
|
||||
|
||||
export * from './_product';
|
||||
|
||||
export * from './_overview';
|
||||
|
||||
export * from './_calendar';
|
Reference in New Issue
Block a user