709 lines
18 KiB
JavaScript
709 lines
18 KiB
JavaScript
import { withMermaid } from 'vitepress-plugin-mermaid';
|
|
|
|
export default withMermaid({
|
|
themeConfig: {
|
|
search: {
|
|
provider: 'local'
|
|
},
|
|
sidebar: [
|
|
{
|
|
text: 'Структура',
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
"text": "App",
|
|
"link": "/src/App"
|
|
},
|
|
{
|
|
"text": "components",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "CountDown",
|
|
"link": "/src/components/CountDown"
|
|
},
|
|
{
|
|
"text": "UI",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "Auth-form",
|
|
"link": "/src/components/UI/Auth-form"
|
|
},
|
|
{
|
|
"text": "NewsCard",
|
|
"link": "/src/components/UI/NewsCard"
|
|
},
|
|
{
|
|
"text": "PatternTabs",
|
|
"link": "/src/components/UI/PatternTabs"
|
|
},
|
|
{
|
|
"text": "Timer",
|
|
"link": "/src/components/UI/Timer"
|
|
},
|
|
{
|
|
"text": "aboutportal",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "card-feedback",
|
|
"link": "/src/components/UI/aboutportal/card-feedback"
|
|
},
|
|
{
|
|
"text": "card-top-comment",
|
|
"link": "/src/components/UI/aboutportal/card-top-comment"
|
|
},
|
|
{
|
|
"text": "card-total",
|
|
"link": "/src/components/UI/aboutportal/card-total"
|
|
},
|
|
{
|
|
"text": "card_top_comment",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "card-comment",
|
|
"link": "/src/components/UI/aboutportal/card_top_comment/card-comment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "feedmodul",
|
|
"link": "/src/components/UI/aboutportal/feedmodul"
|
|
},
|
|
{
|
|
"text": "line-chart",
|
|
"link": "/src/components/UI/aboutportal/line-chart"
|
|
},
|
|
{
|
|
"text": "pattern-card-feed",
|
|
"link": "/src/components/UI/aboutportal/pattern-card-feed"
|
|
},
|
|
{
|
|
"text": "pattern-card",
|
|
"link": "/src/components/UI/aboutportal/pattern-card"
|
|
},
|
|
{
|
|
"text": "portal-traffic",
|
|
"link": "/src/components/UI/aboutportal/portal-traffic"
|
|
},
|
|
{
|
|
"text": "rating-page",
|
|
"link": "/src/components/UI/aboutportal/rating-page"
|
|
},
|
|
{
|
|
"text": "toolbar-filter",
|
|
"link": "/src/components/UI/aboutportal/toolbar-filter"
|
|
},
|
|
{
|
|
"text": "tooltip-ico",
|
|
"link": "/src/components/UI/aboutportal/tooltip-ico"
|
|
},
|
|
{
|
|
"text": "tooltip-user",
|
|
"link": "/src/components/UI/aboutportal/tooltip-user"
|
|
},
|
|
{
|
|
"text": "top-user",
|
|
"link": "/src/components/UI/aboutportal/top-user"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "date-select",
|
|
"link": "/src/components/UI/date-select"
|
|
},
|
|
{
|
|
"text": "defaultportal",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "page-counter",
|
|
"link": "/src/components/UI/defaultportal/page-counter"
|
|
},
|
|
{
|
|
"text": "uploading-file",
|
|
"link": "/src/components/UI/defaultportal/uploading-file"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "feedback",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "feedstar-like",
|
|
"link": "/src/components/UI/feedback/feedstar-like"
|
|
},
|
|
{
|
|
"text": "statistik-like",
|
|
"link": "/src/components/UI/feedback/statistik-like"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "fiousercard",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "icoUser",
|
|
"link": "/src/components/UI/fiousercard/icoUser"
|
|
},
|
|
{
|
|
"text": "infoUserCard",
|
|
"link": "/src/components/UI/fiousercard/infoUserCard"
|
|
},
|
|
{
|
|
"text": "listUser",
|
|
"link": "/src/components/UI/fiousercard/listUser"
|
|
},
|
|
{
|
|
"text": "onlineUsers",
|
|
"link": "/src/components/UI/fiousercard/onlineUsers"
|
|
},
|
|
{
|
|
"text": "vcardUser",
|
|
"link": "/src/components/UI/fiousercard/vcardUser"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "index",
|
|
"link": "/src/components/UI/index"
|
|
},
|
|
{
|
|
"text": "my-helper",
|
|
"link": "/src/components/UI/my-helper"
|
|
},
|
|
{
|
|
"text": "tooltip-number",
|
|
"link": "/src/components/UI/tooltip-number"
|
|
},
|
|
{
|
|
"text": "tooltip-text",
|
|
"link": "/src/components/UI/tooltip-text"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "about_inspection",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "contacts",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "ContactInfo",
|
|
"link": "/src/components/about_inspection/contacts/ContactInfo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "general_information",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "GeneralInformation",
|
|
"link": "/src/components/about_inspection/general_information/GeneralInformation"
|
|
},
|
|
{
|
|
"text": "GeneralInformationSize",
|
|
"link": "/src/components/about_inspection/general_information/GeneralInformationSize"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "open_vacancies",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "OpenVacancies",
|
|
"link": "/src/components/about_inspection/open_vacancies/OpenVacancies"
|
|
},
|
|
{
|
|
"text": "ResponseVacancies",
|
|
"link": "/src/components/about_inspection/open_vacancies/ResponseVacancies"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "structure",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "StructureInspection",
|
|
"link": "/src/components/about_inspection/structure/StructureInspection"
|
|
},
|
|
{
|
|
"text": "StructureInspectionRow",
|
|
"link": "/src/components/about_inspection/structure/StructureInspectionRow"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "calendar_of_events",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "BigCalendar",
|
|
"link": "/src/components/calendar_of_events/BigCalendar"
|
|
},
|
|
{
|
|
"text": "UI_calendar",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "calendarFull",
|
|
"link": "/src/components/calendar_of_events/UI_calendar/calendarFull"
|
|
},
|
|
{
|
|
"text": "dialogCreate",
|
|
"link": "/src/components/calendar_of_events/UI_calendar/dialogCreate"
|
|
},
|
|
{
|
|
"text": "periodEvents",
|
|
"link": "/src/components/calendar_of_events/UI_calendar/periodEvents"
|
|
},
|
|
{
|
|
"text": "reminderEvent",
|
|
"link": "/src/components/calendar_of_events/UI_calendar/reminderEvent"
|
|
},
|
|
{
|
|
"text": "timeSelect",
|
|
"link": "/src/components/calendar_of_events/UI_calendar/timeSelect"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "calendar-create-select",
|
|
"link": "/src/components/calendar_of_events/calendar-create-select"
|
|
},
|
|
{
|
|
"text": "calendar-create",
|
|
"link": "/src/components/calendar_of_events/calendar-create"
|
|
},
|
|
{
|
|
"text": "calendar-my",
|
|
"link": "/src/components/calendar_of_events/calendar-my"
|
|
},
|
|
{
|
|
"text": "event-calendar",
|
|
"link": "/src/components/calendar_of_events/event-calendar"
|
|
},
|
|
{
|
|
"text": "event-create",
|
|
"link": "/src/components/calendar_of_events/event-create"
|
|
},
|
|
{
|
|
"text": "event-dialog-edit-participant",
|
|
"link": "/src/components/calendar_of_events/event-dialog-edit-participant"
|
|
},
|
|
{
|
|
"text": "event-dialog-edit",
|
|
"link": "/src/components/calendar_of_events/event-dialog-edit"
|
|
},
|
|
{
|
|
"text": "event-dialog-info",
|
|
"link": "/src/components/calendar_of_events/event-dialog-info"
|
|
},
|
|
{
|
|
"text": "event-dialog",
|
|
"link": "/src/components/calendar_of_events/event-dialog"
|
|
},
|
|
{
|
|
"text": "load-ical",
|
|
"link": "/src/components/calendar_of_events/load-ical"
|
|
},
|
|
{
|
|
"text": "load-ical1",
|
|
"link": "/src/components/calendar_of_events/load-ical1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "cardLike",
|
|
"link": "/src/components/cardLike"
|
|
},
|
|
{
|
|
"text": "carousel-list",
|
|
"link": "/src/components/carousel-list"
|
|
},
|
|
{
|
|
"text": "carousel-numbers",
|
|
"link": "/src/components/carousel-numbers"
|
|
},
|
|
{
|
|
"text": "dialog-search",
|
|
"link": "/src/components/dialog-search"
|
|
},
|
|
{
|
|
"text": "digital-letna",
|
|
"link": "/src/components/digital-letna"
|
|
},
|
|
{
|
|
"text": "graph",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "chartConfig",
|
|
"link": "/src/components/graph/chartConfig"
|
|
},
|
|
{
|
|
"text": "line-graph",
|
|
"link": "/src/components/graph/line-graph"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "load-round",
|
|
"link": "/src/components/load-round"
|
|
},
|
|
{
|
|
"text": "news-crossroad",
|
|
"link": "/src/components/news-crossroad"
|
|
},
|
|
{
|
|
"text": "news-full",
|
|
"link": "/src/components/news-full"
|
|
},
|
|
{
|
|
"text": "news-home",
|
|
"link": "/src/components/news-home"
|
|
},
|
|
{
|
|
"text": "secret",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "SmallTimer",
|
|
"link": "/src/components/secret/SmallTimer"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "testing",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "BodyDetailTesting",
|
|
"link": "/src/components/testing/BodyDetailTesting"
|
|
},
|
|
{
|
|
"text": "CatalogTest",
|
|
"link": "/src/components/testing/CatalogTest"
|
|
},
|
|
{
|
|
"text": "DetailCardTest",
|
|
"link": "/src/components/testing/DetailCardTest"
|
|
},
|
|
{
|
|
"text": "HeaderDetailTesting",
|
|
"link": "/src/components/testing/HeaderDetailTesting"
|
|
},
|
|
{
|
|
"text": "QuestionBlock",
|
|
"link": "/src/components/testing/QuestionBlock"
|
|
},
|
|
{
|
|
"text": "TestResults",
|
|
"link": "/src/components/testing/TestResults"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "vote",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "CurrentVote",
|
|
"link": "/src/components/vote/CurrentVote"
|
|
},
|
|
{
|
|
"text": "NonVoteHappy",
|
|
"link": "/src/components/vote/NonVoteHappy"
|
|
},
|
|
{
|
|
"text": "NonVoteSad",
|
|
"link": "/src/components/vote/NonVoteSad"
|
|
},
|
|
{
|
|
"text": "NoneVote",
|
|
"link": "/src/components/vote/NoneVote"
|
|
},
|
|
{
|
|
"text": "VoteAdmin",
|
|
"link": "/src/components/vote/VoteAdmin"
|
|
},
|
|
{
|
|
"text": "VoteAnimation",
|
|
"link": "/src/components/vote/VoteAnimation"
|
|
},
|
|
{
|
|
"text": "VoteCard",
|
|
"link": "/src/components/vote/VoteCard"
|
|
},
|
|
{
|
|
"text": "VoteConstructor",
|
|
"link": "/src/components/vote/VoteConstructor"
|
|
},
|
|
{
|
|
"text": "VoteForm",
|
|
"link": "/src/components/vote/VoteForm"
|
|
},
|
|
{
|
|
"text": "VoteResult",
|
|
"link": "/src/components/vote/VoteResult"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "layouts",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "default",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "AdminMenu",
|
|
"link": "/src/layouts/default/AdminMenu"
|
|
},
|
|
{
|
|
"text": "DefaultPortal",
|
|
"link": "/src/layouts/default/DefaultPortal"
|
|
},
|
|
{
|
|
"text": "alertDefault",
|
|
"link": "/src/layouts/default/alertDefault"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "main",
|
|
"link": "/src/main"
|
|
},
|
|
{
|
|
"text": "plugins",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "index",
|
|
"link": "/src/plugins/index"
|
|
},
|
|
{
|
|
"text": "vuetify",
|
|
"link": "/src/plugins/vuetify"
|
|
},
|
|
{
|
|
"text": "webfontloader",
|
|
"link": "/src/plugins/webfontloader"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "router",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "index",
|
|
"link": "/src/router/index"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "store",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "AboutPortalFilter",
|
|
"link": "/src/store/AboutPortalFilter"
|
|
},
|
|
{
|
|
"text": "AccountStore",
|
|
"link": "/src/store/AccountStore"
|
|
},
|
|
{
|
|
"text": "MainmenuStore",
|
|
"link": "/src/store/MainmenuStore"
|
|
},
|
|
{
|
|
"text": "WeekendsStore",
|
|
"link": "/src/store/WeekendsStore"
|
|
},
|
|
{
|
|
"text": "app",
|
|
"link": "/src/store/app"
|
|
},
|
|
{
|
|
"text": "index",
|
|
"link": "/src/store/index"
|
|
},
|
|
{
|
|
"text": "useAlertStore",
|
|
"link": "/src/store/useAlertStore"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "tests",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "App.test",
|
|
"link": "/src/tests/App.test"
|
|
},
|
|
{
|
|
"text": "CarouselList.test",
|
|
"link": "/src/tests/CarouselList.test"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "utils",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "axios-api",
|
|
"link": "/src/utils/axios-api"
|
|
},
|
|
{
|
|
"text": "universal_functions",
|
|
"link": "/src/utils/universal_functions"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "views",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "AboutInspectionPage",
|
|
"link": "/src/views/AboutInspectionPage"
|
|
},
|
|
{
|
|
"text": "AboutPortalPage",
|
|
"link": "/src/views/AboutPortalPage"
|
|
},
|
|
{
|
|
"text": "FAQPage",
|
|
"link": "/src/views/FAQPage"
|
|
},
|
|
{
|
|
"text": "FeedbackPage",
|
|
"link": "/src/views/FeedbackPage"
|
|
},
|
|
{
|
|
"text": "FnsHol",
|
|
"link": "/src/views/FnsHol"
|
|
},
|
|
{
|
|
"text": "HomePage",
|
|
"link": "/src/views/HomePage"
|
|
},
|
|
{
|
|
"text": "LaborProtection",
|
|
"link": "/src/views/LaborProtection"
|
|
},
|
|
{
|
|
"text": "NewsPage",
|
|
"link": "/src/views/NewsPage"
|
|
},
|
|
{
|
|
"text": "ProvidingActivitiesPage",
|
|
"link": "/src/views/ProvidingActivitiesPage"
|
|
},
|
|
{
|
|
"text": "SecurityPage",
|
|
"link": "/src/views/SecurityPage"
|
|
},
|
|
{
|
|
"text": "StructurePage",
|
|
"link": "/src/views/StructurePage"
|
|
},
|
|
{
|
|
"text": "TestHomePage",
|
|
"link": "/src/views/TestHomePage"
|
|
},
|
|
{
|
|
"text": "Vote",
|
|
"link": "/src/views/Vote"
|
|
},
|
|
{
|
|
"text": "VoteHomePage",
|
|
"link": "/src/views/VoteHomePage"
|
|
},
|
|
{
|
|
"text": "nested_view",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "o_OKiB",
|
|
"link": "/src/views/nested_view/o_OKiB"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "safety",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "ChaptersSafety",
|
|
"link": "/src/views/safety/ChaptersSafety"
|
|
},
|
|
{
|
|
"text": "DocumentationSafety",
|
|
"link": "/src/views/safety/DocumentationSafety"
|
|
},
|
|
{
|
|
"text": "MainInfoSafety",
|
|
"link": "/src/views/safety/MainInfoSafety"
|
|
},
|
|
{
|
|
"text": "TestSafety",
|
|
"link": "/src/views/safety/TestSafety"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "secret",
|
|
"collapsed": true,
|
|
"items": [
|
|
{
|
|
"text": "SecretPage",
|
|
"link": "/src/views/secret/SecretPage"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
text: 'Гайды',
|
|
collapsed: true,
|
|
items: [
|
|
{ text: 'Как установить', link: '/guides/install' },
|
|
{ text: 'Как использовать', link: '/guides/usage' },
|
|
{ text: 'Правила комитов', link: '/guides/commits' }
|
|
,
|
|
{ text: 'Тесты', link: '/tests' },
|
|
]
|
|
}
|
|
]
|
|
},
|
|
mermaid: {
|
|
// refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options
|
|
},
|
|
// optionally set additional config for plugin itself with MermaidPluginConfig
|
|
mermaidPlugin: {
|
|
class: 'mermaid my-class', // set additional css classes for parent container
|
|
},});
|