watchnodocks

This commit is contained in:
Nukeap committed 2025-02-09 17:28:35 +03:00
1 parent 2c6e15e480
commit 2d971c4af4
140 files changed
+908 -865

No files matched your search

+324 -323
View File
@@ -18,6 +18,174 @@ export default withMermaid({
"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,
@@ -28,7 +196,7 @@ export default withMermaid({
"items": [
{
"text": "ContactInfo",
"link": "/src/components\\about_inspection\\contacts\\ContactInfo"
"link": "/src/components/about_inspection/contacts/ContactInfo"
}
]
},
@@ -38,11 +206,11 @@ export default withMermaid({
"items": [
{
"text": "GeneralInformation",
"link": "/src/components\\about_inspection\\general_information\\GeneralInformation"
"link": "/src/components/about_inspection/general_information/GeneralInformation"
},
{
"text": "GeneralInformationSize",
"link": "/src/components\\about_inspection\\general_information\\GeneralInformationSize"
"link": "/src/components/about_inspection/general_information/GeneralInformationSize"
}
]
},
@@ -52,11 +220,11 @@ export default withMermaid({
"items": [
{
"text": "OpenVacancies",
"link": "/src/components\\about_inspection\\open_vacancies\\OpenVacancies"
"link": "/src/components/about_inspection/open_vacancies/OpenVacancies"
},
{
"text": "ResponseVacancies",
"link": "/src/components\\about_inspection\\open_vacancies\\ResponseVacancies"
"link": "/src/components/about_inspection/open_vacancies/ResponseVacancies"
}
]
},
@@ -66,11 +234,11 @@ export default withMermaid({
"items": [
{
"text": "StructureInspection",
"link": "/src/components\\about_inspection\\structure\\StructureInspection"
"link": "/src/components/about_inspection/structure/StructureInspection"
},
{
"text": "StructureInspectionRow",
"link": "/src/components\\about_inspection\\structure\\StructureInspectionRow"
"link": "/src/components/about_inspection/structure/StructureInspectionRow"
}
]
}
@@ -82,51 +250,7 @@ export default withMermaid({
"items": [
{
"text": "BigCalendar",
"link": "/src/components\\calendar_of_events\\BigCalendar"
},
{
"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"
"link": "/src/components/calendar_of_events/BigCalendar"
},
{
"text": "UI_calendar",
@@ -134,51 +258,91 @@ export default withMermaid({
"items": [
{
"text": "calendarFull",
"link": "/src/components\\calendar_of_events\\UI_calendar\\calendarFull"
"link": "/src/components/calendar_of_events/UI_calendar/calendarFull"
},
{
"text": "dialogCreate",
"link": "/src/components\\calendar_of_events\\UI_calendar\\dialogCreate"
"link": "/src/components/calendar_of_events/UI_calendar/dialogCreate"
},
{
"text": "periodEvents",
"link": "/src/components\\calendar_of_events\\UI_calendar\\periodEvents"
"link": "/src/components/calendar_of_events/UI_calendar/periodEvents"
},
{
"text": "reminderEvent",
"link": "/src/components\\calendar_of_events\\UI_calendar\\reminderEvent"
"link": "/src/components/calendar_of_events/UI_calendar/reminderEvent"
},
{
"text": "timeSelect",
"link": "/src/components\\calendar_of_events\\UI_calendar\\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"
"link": "/src/components/cardLike"
},
{
"text": "carousel-list",
"link": "/src/components\\carousel-list"
"link": "/src/components/carousel-list"
},
{
"text": "carousel-numbers",
"link": "/src/components\\carousel-numbers"
},
{
"text": "CountDown",
"link": "/src/components\\CountDown"
"link": "/src/components/carousel-numbers"
},
{
"text": "dialog-search",
"link": "/src/components\\dialog-search"
"link": "/src/components/dialog-search"
},
{
"text": "digital-letna",
"link": "/src/components\\digital-letna"
"link": "/src/components/digital-letna"
},
{
"text": "graph",
@@ -186,25 +350,25 @@ export default withMermaid({
"items": [
{
"text": "line-graph",
"link": "/src/components\\graph\\line-graph"
"link": "/src/components/graph/line-graph"
}
]
},
{
"text": "load-round",
"link": "/src/components\\load-round"
"link": "/src/components/load-round"
},
{
"text": "news-crossroad",
"link": "/src/components\\news-crossroad"
"link": "/src/components/news-crossroad"
},
{
"text": "news-full",
"link": "/src/components\\news-full"
"link": "/src/components/news-full"
},
{
"text": "news-home",
"link": "/src/components\\news-home"
"link": "/src/components/news-home"
},
{
"text": "secret",
@@ -212,7 +376,7 @@ export default withMermaid({
"items": [
{
"text": "SmallTimer",
"link": "/src/components\\secret\\SmallTimer"
"link": "/src/components/secret/SmallTimer"
}
]
},
@@ -222,15 +386,15 @@ export default withMermaid({
"items": [
{
"text": "CatalogTest",
"link": "/src/components\\testing\\CatalogTest"
"link": "/src/components/testing/CatalogTest"
},
{
"text": "DetailCardTest",
"link": "/src/components\\testing\\DetailCardTest"
"link": "/src/components/testing/DetailCardTest"
},
{
"text": "HeaderDetailTesting",
"link": "/src/components\\testing\\HeaderDetailTesting"
"link": "/src/components/testing/HeaderDetailTesting"
}
]
},
@@ -240,171 +404,7 @@ export default withMermaid({
"items": [
{
"text": "TestCard",
"link": "/src/components\\tests\\TestCard"
}
]
},
{
"text": "UI",
"collapsed": true,
"items": [
{
"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": "Auth-form",
"link": "/src/components\\UI\\Auth-form"
},
{
"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": "NewsCard",
"link": "/src/components\\UI\\NewsCard"
},
{
"text": "PatternTabs",
"link": "/src/components\\UI\\PatternTabs"
},
{
"text": "Timer",
"link": "/src/components\\UI\\Timer"
},
{
"text": "tooltip-number",
"link": "/src/components\\UI\\tooltip-number"
},
{
"text": "tooltip-text",
"link": "/src/components\\UI\\tooltip-text"
"link": "/src/components/tests/TestCard"
}
]
},
@@ -414,43 +414,43 @@ export default withMermaid({
"items": [
{
"text": "CurrentVote",
"link": "/src/components\\vote\\CurrentVote"
},
{
"text": "NoneVote",
"link": "/src/components\\vote\\NoneVote"
"link": "/src/components/vote/CurrentVote"
},
{
"text": "NonVoteHappy",
"link": "/src/components\\vote\\NonVoteHappy"
"link": "/src/components/vote/NonVoteHappy"
},
{
"text": "NonVoteSad",
"link": "/src/components\\vote\\NonVoteSad"
"link": "/src/components/vote/NonVoteSad"
},
{
"text": "NoneVote",
"link": "/src/components/vote/NoneVote"
},
{
"text": "VoteAdmin",
"link": "/src/components\\vote\\VoteAdmin"
"link": "/src/components/vote/VoteAdmin"
},
{
"text": "VoteAnimation",
"link": "/src/components\\vote\\VoteAnimation"
"link": "/src/components/vote/VoteAnimation"
},
{
"text": "VoteCard",
"link": "/src/components\\vote\\VoteCard"
"link": "/src/components/vote/VoteCard"
},
{
"text": "VoteConstructor",
"link": "/src/components\\vote\\VoteConstructor"
"link": "/src/components/vote/VoteConstructor"
},
{
"text": "VoteForm",
"link": "/src/components\\vote\\VoteForm"
"link": "/src/components/vote/VoteForm"
},
{
"text": "VoteResult",
"link": "/src/components\\vote\\VoteResult"
"link": "/src/components/vote/VoteResult"
}
]
}
@@ -466,15 +466,15 @@ export default withMermaid({
"items": [
{
"text": "AdminMenu",
"link": "/src/layouts\\default\\AdminMenu"
},
{
"text": "alertDefault",
"link": "/src/layouts\\default\\alertDefault"
"link": "/src/layouts/default/AdminMenu"
},
{
"text": "DefaultPortal",
"link": "/src/layouts\\default\\DefaultPortal"
"link": "/src/layouts/default/DefaultPortal"
},
{
"text": "alertDefault",
"link": "/src/layouts/default/alertDefault"
}
]
}
@@ -490,15 +490,15 @@ export default withMermaid({
"items": [
{
"text": "index",
"link": "/src/plugins\\index"
"link": "/src/plugins/index"
},
{
"text": "vuetify",
"link": "/src/plugins\\vuetify"
"link": "/src/plugins/vuetify"
},
{
"text": "webfontloader",
"link": "/src/plugins\\webfontloader"
"link": "/src/plugins/webfontloader"
}
]
},
@@ -508,7 +508,7 @@ export default withMermaid({
"items": [
{
"text": "index",
"link": "/src/router\\index"
"link": "/src/router/index"
}
]
},
@@ -518,31 +518,31 @@ export default withMermaid({
"items": [
{
"text": "AboutPortalFilter",
"link": "/src/store\\AboutPortalFilter"
"link": "/src/store/AboutPortalFilter"
},
{
"text": "AccountStore",
"link": "/src/store\\AccountStore"
},
{
"text": "app",
"link": "/src/store\\app"
},
{
"text": "index",
"link": "/src/store\\index"
"link": "/src/store/AccountStore"
},
{
"text": "MainmenuStore",
"link": "/src/store\\MainmenuStore"
},
{
"text": "UseAlertStore",
"link": "/src/store\\UseAlertStore"
"link": "/src/store/MainmenuStore"
},
{
"text": "WeekendsStore",
"link": "/src/store\\WeekendsStore"
"link": "/src/store/WeekendsStore"
},
{
"text": "app",
"link": "/src/store/app"
},
{
"text": "index",
"link": "/src/store/index"
},
{
"text": "useAlertStore",
"link": "/src/store/useAlertStore"
}
]
},
@@ -552,11 +552,11 @@ export default withMermaid({
"items": [
{
"text": "axios-api",
"link": "/src/utils\\axios-api"
"link": "/src/utils/axios-api"
},
{
"text": "universal_functions",
"link": "/src/utils\\universal_functions"
"link": "/src/utils/universal_functions"
}
]
},
@@ -566,31 +566,59 @@ export default withMermaid({
"items": [
{
"text": "AboutInspectionPage",
"link": "/src/views\\AboutInspectionPage"
"link": "/src/views/AboutInspectionPage"
},
{
"text": "AboutPortalPage",
"link": "/src/views\\AboutPortalPage"
"link": "/src/views/AboutPortalPage"
},
{
"text": "FAQPage",
"link": "/src/views\\FAQPage"
"link": "/src/views/FAQPage"
},
{
"text": "FeedbackPage",
"link": "/src/views\\FeedbackPage"
"link": "/src/views/FeedbackPage"
},
{
"text": "FnsHol",
"link": "/src/views\\FnsHol"
"link": "/src/views/FnsHol"
},
{
"text": "HomePage",
"link": "/src/views\\HomePage"
"link": "/src/views/HomePage"
},
{
"text": "LaborProtection",
"link": "/src/views\\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",
@@ -598,37 +626,29 @@ export default withMermaid({
"items": [
{
"text": "o_OKiB",
"link": "/src/views\\nested_view\\o_OKiB"
"link": "/src/views/nested_view/o_OKiB"
}
]
},
{
"text": "NewsPage",
"link": "/src/views\\NewsPage"
},
{
"text": "ProvidingActivitiesPage",
"link": "/src/views\\ProvidingActivitiesPage"
},
{
"text": "safety",
"collapsed": true,
"items": [
{
"text": "ChaptersSafety",
"link": "/src/views\\safety\\ChaptersSafety"
"link": "/src/views/safety/ChaptersSafety"
},
{
"text": "DocumentationSafety",
"link": "/src/views\\safety\\DocumentationSafety"
"link": "/src/views/safety/DocumentationSafety"
},
{
"text": "MainInfoSafety",
"link": "/src/views\\safety\\MainInfoSafety"
"link": "/src/views/safety/MainInfoSafety"
},
{
"text": "TestSafety",
"link": "/src/views\\safety\\TestSafety"
"link": "/src/views/safety/TestSafety"
}
]
},
@@ -638,29 +658,9 @@ export default withMermaid({
"items": [
{
"text": "SecretPage",
"link": "/src/views\\secret\\SecretPage"
"link": "/src/views/secret/SecretPage"
}
]
},
{
"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"
}
]
}
@@ -671,7 +671,8 @@ export default withMermaid({
collapsed: true,
items: [
{ text: 'Как установить', link: '/guides/install' },
{ text: 'Как использовать', link: '/guides/usage' }
{ text: 'Как использовать', link: '/guides/usage' },
{ text: 'Правила комитов', link: '/guides/commits' }
]
}
]
@@ -0,0 +1,73 @@
<template>
<div>
<h2>Результаты тестов:</h2>
<div v-if="results.success" class="success">✅ Все тесты успешно пройдены!</div>
<div v-else-if="results.numFailedTestSuites > 0" class="error">
❌ Ошибки в тестах: {{ results.numFailedTestSuites }}
</div>
<pre v-if="errorMessage" class="error-log">{{ errorMessage }}</pre>
<ul>
<li v-for="test in results.testResults" :key="test.name">
<strong>{{ test.name }}</strong>
<br>
<span v-if="test.status === 'passed'" class="passed">✅ Успешно</span>
<span v-else class="failed">❌ Ошибка</span>
<pre v-if="test.message" class="error-log">{{ test.message }}</pre>
</li>
</ul>
</div>
</template>
<script setup>
import { ref, onMounted } from 'vue';
const results = ref({});
const errorMessage = ref('');
onMounted(async () => {
try {
const response = await fetch('/test-results.json');
const data = await response.json();
results.value = data;
if (!data.success) {
errorMessage.value = data.testResults.map((t) => t.message).join('\n\n');
}
} catch (error) {
errorMessage.value = `Ошибка при загрузке результатов: ${error.message}`;
}
});
</script>
<style scoped>
.success {
color: green;
font-weight: bold;
}
.error {
color: red;
font-weight: bold;
}
.passed {
color: green;
}
.failed {
color: red;
}
.error-log {
background: rgba(255, 221, 221, 0.1);
border-left: 4px solid red;
padding: 5px;
white-space: pre-wrap;
font-family: monospace;
}
</style>
+22
View File
@@ -0,0 +1,22 @@
import DefaultTheme from 'vitepress/theme';
import { withMermaid } from 'vitepress-plugin-mermaid';
import TestRunner from './components/TestRunner.vue';
export default withMermaid({
...DefaultTheme,
themeConfig: {
search: {
provider: 'local',
},
},
mermaid: {
},
mermaidPlugin: {
class: 'mermaid my-class',
},
enhanceApp({ app }) {
app.component('TestRunner', TestRunner);
},
});
+2 -113
View File
@@ -1,114 +1,3 @@
# IS#26 Портал ЦОД-2
# Документация
[Общие работы по проекту](/COD2/PORTAL_COD2/projects/22)
Prod Portal9966/ (10.252.44.28)
Test Potal-t/ (10.252.44.60)
## Стэк ##
1. Python 3.10
2. Vuetify3
3. MySQL
4. Redis
## Особенности веток ##
У разработчиков у каждого своя ветка.
npm version patch производится на ветке razrab
окончательная сборка - на main
## Схема ##
```mermaid
flowchart TD
A[Клиент] <-->|Запрос к серверу PORTAL9966/ или PORTAL-t/| B{Nginx:80}
B <-->|Фронт /| C[Vuetify 3 <br/> /var/www/PORTAL_COD2/src/front/dist]
B <-->|бэк <br/> /api <br/> /admin <br/> /ws| D{Daphne :9966}
D<--> |/ws| E[Django channels]
E<-->F[Redis :6379]
D<-->|Admin|G{Django}
G<-->|10.252.44.13:8005|H[Авторизация FAST API сервер]
H<-->J[Active Directory]
G<-->|10.252.44.33:3306|I[MySQL <br/> БД Справочник]
B<-->|/static <br/> /media|K[Файлы <br/> /var/www/PORTAL_COD2/src/media <br/> /var/www/PORTAL_COD2/src/static/ ]
```
## Установка и настройка ##
### Первоначальная установка после клонирования в папку. В случае неисправностей, идти примерно по этому же пути ###
Инициализация проекта:
- Инициализировать git
- Выполнить git clone
1. В каталоге проекта Создаем окружение
``` python3.10 -m venv env ```
2. Активируем окружение
``` source env/bin/activate```
3. устанавливаем необходимые пакеты
``` cd sys ```
```pip install -r r.txt --proxy= http://...```
Если нет proxy:
На машине разработки выполнить команду ```pip download -r ../r.txt```
Команда для установки python
```pip install --no-index --find-links /Путь_К_Папке_С_Пакетами/ -r r.txt```
Запушить изменения в ветку
Синхронизировать ветку на сервере
``` git pull ```
Если произошла ошибка: ``` git reset --hard ```
4. переходим в каталог src
``` cd ../src/```
5. В каталог src разархивируем portal.zip из sys
Прописываем подключения в settings.py
6. Для проверки запускаем сервер разработки
```python manage.py runserver```
Если в консоли не появляются ошибки и сервер стартует, переходим далее. В противном случае - доустанавливаем необходимые пакеты.
7. останавливаем сервер разработки (CTRL+C)
На этом работы непосредственно с бэкэндом завершены
### Порты ###
Daphne: 9966
### Настройка NGINX, GUNICORN, Vuetify, Daphne ###
В каталоге sys расположены примерные файлы конфигов для тестового и боевого серверов
Тестовый сервер: /sys/test_server
При копировании убедиться, что пути соответствуют системе
#### NGINX Vuetify ####
Стандартный путь для файлов .conf
/etc/nginx/sites-enabled
#### Daphne ####
Файлы .service кладем в каталог /etc/systemd/system
Проверяем путь виртуального окружения и порт в файле на соответствие с конфигурацией Nginx
#### Запуск сервера ####
Запускаем Daphne ``` Start portaldaphne ```
Перезагружаем Nginx ``` Restart nginx ```
⚠️ Оригинальный README.md не найден.
+21
View File
@@ -0,0 +1,21 @@
## Заголовок должен содержать тип, номер задачи и название коммита.
Формат: <тип> [<номер задачи>]: <название>
| Название | Описание |
|----------|----------|
| `feat` | Новый функционал |
| `fix` | Исправление ошибки |
| `docs` | Изменения в документации |
| `style` | Изменения, не влияющие на функциональность |
| `refactor` | Изменения кода, не исправляющие ошибки и не добавляющие функционал |
| `perf` | Изменения, улучшающие производительность |
| `test` | Добавление тестов |
| `chore` | Изменения в процессе сборки или вспомогательных инструментах. |
Пример:
```bash
feat [X-01]: я тут накоммитил
```
+6 -5
View File
@@ -3,12 +3,12 @@
## Добавление комментариев для генерации документации
### Название компонента
### Описание компонента
Название компонента должно быть указано первым комментарием в теге `<template>`:
Описание компонента должно быть указано первым комментарием в теге `<template>`:
```html
<!-- Название -->
<!-- Описание -->
```
## Порядок структуры `<script>`
@@ -26,12 +26,13 @@
props: {
LikeDialog: {
type: Boolean,
default: false
default: false,
comment: 'Модалка лайка'
}
}
```
> Пропсы не нужно дополнительно комментировать, главное сохранять поля type и default.
> Поля default и comment являются опциональными. Commnet записывается в одиночные ковычки.
## Переменные
+7 -1
View File
@@ -4,7 +4,7 @@ layout: home
hero:
name: "Портал"
text: "Документация по порталу"
text: "Документация по проекту"
actions:
- theme: brand
text: Документация
@@ -17,5 +17,11 @@ features:
- title: Инструкция по ведению и заполнению
details: Подробная инструкция по ведению и заполнению
link: /guides/usage
- title: Правила коммитов
details: Подробная инструкция по наименованию коммитов
link: /guides/commits
- title: Тестирование проекта
details: Запуск автотестов
link: /tests
---
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import CountDown from '@/components/components\CountDown';
import CountDown from '@/components/components/CountDown';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import Auth-form from '@/components/components\UI\Auth-form';
import Auth-form from '@/components/components/UI/Auth-form';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `news` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `news` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import NewsCard from '@/components/components\UI\NewsCard';
import NewsCard from '@/components/components/UI/NewsCard';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `tabs` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `tabs` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import PatternTabs from '@/components/components\UI\PatternTabs';
import PatternTabs from '@/components/components/UI/PatternTabs';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `voteTime` | `Object` | `() => { return {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `voteTime` | `Object` | `() => { return {` | нет комментария |
## Пример использования
```vue
import Timer from '@/components/components\UI\Timer';
import Timer from '@/components/components/UI/Timer';
```
```vue
@@ -4,16 +4,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `data` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `data` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import card-feedback from '@/components/components\UI\aboutportal\card-feedback';
import card-feedback from '@/components/components/UI/aboutportal/card-feedback';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `top` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `top` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import card-top-comment from '@/components/components\UI\aboutportal\card-top-comment';
import card-top-comment from '@/components/components/UI/aboutportal/card-top-comment';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `indicator` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `indicator` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import card-total from '@/components/components\UI\aboutportal\card-total';
import card-total from '@/components/components/UI/aboutportal/card-total';
```
```vue
@@ -4,16 +4,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `comment` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `comment` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import card-comment from '@/components/components\UI\aboutportal\card_top_comment\card-comment';
import card-comment from '@/components/components/UI/aboutportal/card_top_comment/card-comment';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `feedback` | `Object` | `() => {return {feed:[]` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `feedback` | `Object` | `() => {return {feed:[]` | нет комментария |
## Пример использования
```vue
import feedmodul from '@/components/components\UI\aboutportal\feedmodul';
import feedmodul from '@/components/components/UI/aboutportal/feedmodul';
```
```vue
@@ -2,68 +2,69 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `dataLineChart` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `dataLineChart` | `Object` | `() => {` | нет комментария |
| `period` | `Object` | `() => {` | нет комментария |
| `filter` | `String` | `'d'` | нет комментария |
## Описание переменных
| Переменная | Значение | Описание |
|------------|----------|----------|
| `baseunic` | `unicperson(fullper.value.filter(e => new Date(e.visitdate) >moment(new Date(date)).subtract(between.value*2, 'd') && new Date(e.visitdate) <= moment(new Date(date)).subtract(between.value, 'd')))
let crrunic = unicperson(fullper.value.filter(e => new Date(e.visitdate) >moment(new Date(date)).subtract(between.value, 'd') && new Date(e.visitdate) <= new Date(date)))
let bothuser = new Set([...baseunic].filter(element => crrunic.has(element)))
if (date ==formatDash(filterStore.date_period.enddate)) {
editCRR(bothuser.size*100/baseunic.size)
}
return baseunic.size ==0?0:bothuser.size*100/baseunic.size
}
| `baseunic` | <pre>unicperson(fullper.value.filter(e<br>=> new Date(e.visitdate)<br>>moment(new<br>Date(date)).subtract(between.value*2,<br>'d') && new Date(e.visitdate)<br><= moment(new<br>Date(date)).subtract(between.value,<br>'d')))<br>
let crrunic =<br>unicperson(fullper.value.filter(e<br>=> new Date(e.visitdate)<br>>moment(new<br>Date(date)).subtract(between.value,<br>'d') && new Date(e.visitdate)<br><= new Date(date)))<br>
let bothuser = new<br>Set([...baseunic].filter(element<br>=> crrunic.has(element)))<br>
<br>
if (date<br>==formatDash(filterStore.date_period.enddate))<br>{<br>
<br>editCRR(bothuser.size*100/baseunic.size)<br>
}<br>
<br>
return baseunic.size<br>==0?0:bothuser.size*100/baseunic.size<br>
} <br>
const editCRR = (val) => {
emit('getCRR', val)
}
const unicperson = (arr) => {
let arrnew =[]
arr.forEach(e => arrnew.push(...e.user) )
return new Set(arrnew)
}
const editCRR = (val) =><br>{<br>
<br>
emit('getCRR', val)<br>
}<br>
<br>
const unicperson = (arr)<br>=> {<br>
<br>
let arrnew =[]<br>
arr.forEach(e =><br>arrnew.push(...e.user) )<br>
return new Set(arrnew)<br>
}<br>
const data=computed({get() {
return JSON.parse(JSON.stringify(dataf.value))
}
})
const linear=ref(null)
const data=computed({get()<br>{<br>
<br>
return<br>JSON.parse(JSON.stringify(dataf.value))<br>
}<br>
})<br>
const linear=ref(null)<br>
const options = {
const options = {<br>
plugins: {
datalabels: {
color: 'grey',
align: 'top',
display: 'auto'
},
legend: {
onHover: (event, chartElement) => {
event.native.target.style.cursor ='pointer'` | <pre>Расчет значения crr, и передача в<br>родительский компонент значения, на<br>последнюю дату в периоде для компонента<br>card-total<br>
plugins: { <br>
<br>
datalabels: {<br>
color: 'grey',<br>
align: 'top',<br>
display:<br>'auto'<br>
},<br>
legend: {<br>
onHover:<br>(event, chartElement) => {<br>
<br>event.native.target.style.cursor<br>='pointer'<br></pre> | <pre>Расчет значения crr, и передача в<br>родительский компонент значения, на<br>последнюю дату в периоде для<br>компонента card-total<br>
@constructor<br>
@param {object} date - по каждому<br>дню, в указанном периоде (пример -<br>2024-03-22)<br>
@description Для расчетного<br>периода с 04<br></pre> |
@param {object} date - по<br>каждому дню, в указанном периоде<br>(пример - 2024-03-22)<br>
@description Для расчетного<br>периода с 04<br></pre> |
## Пример использования
```vue
import line-chart from '@/components/components\UI\aboutportal\line-chart';
import line-chart from '@/components/components/UI/aboutportal/line-chart';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `title` | `String` | `''` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `''` | нет комментария |
## Пример использования
```vue
import pattern-card-feed from '@/components/components\UI\aboutportal\pattern-card-feed';
import pattern-card-feed from '@/components/components/UI/aboutportal/pattern-card-feed';
```
```vue
@@ -2,16 +2,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `title` | `String` | `''` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `''` | нет комментария |
| `ico` | `String` | `''` | нет комментария |
## Пример использования
```vue
import pattern-card from '@/components/components\UI\aboutportal\pattern-card';
import pattern-card from '@/components/components/UI/aboutportal/pattern-card';
```
```vue
@@ -4,16 +4,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `alldata` | `Object` | `() => {return {period: []` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `alldata` | `Object` | `() => {return {period: []` | нет комментария |
## Пример использования
```vue
import portal-traffic from '@/components/components\UI\aboutportal\portal-traffic';
import portal-traffic from '@/components/components/UI/aboutportal/portal-traffic';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `pages_count` | `Array` | `() => []` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `pages_count` | `Array` | `() => []` | нет комментария |
## Пример использования
```vue
import rating-page from '@/components/components\UI\aboutportal\rating-page';
import rating-page from '@/components/components/UI/aboutportal/rating-page';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `nStaff` | `Number` | `0` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `nStaff` | `Number` | `0` | нет комментария |
## Пример использования
```vue
import toolbar-filter from '@/components/components\UI\aboutportal\toolbar-filter';
import toolbar-filter from '@/components/components/UI/aboutportal/toolbar-filter';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `info` | `Object` | `() => {return {tooltip: ''` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `info` | `Object` | `() => {return {tooltip: ''` | нет комментария |
## Пример использования
```vue
import tooltip-ico from '@/components/components\UI\aboutportal\tooltip-ico';
import tooltip-ico from '@/components/components/UI/aboutportal/tooltip-ico';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `info` | `Array` | `() => []` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `info` | `Array` | `() => []` | нет комментария |
## Пример использования
```vue
import tooltip-user from '@/components/components\UI\aboutportal\tooltip-user';
import tooltip-user from '@/components/components/UI/aboutportal/tooltip-user';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `activusers` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `activusers` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import top-user from '@/components/components\UI\aboutportal\top-user';
import top-user from '@/components/components/UI/aboutportal/top-user';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `datedefault` | `Date` | `''` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `datedefault` | `Date` | `''` | нет комментария |
## Пример использования
```vue
import date-select from '@/components/components\UI\date-select';
import date-select from '@/components/components/UI/date-select';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `rail` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rail` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import page-counter from '@/components/components\UI\defaultportal\page-counter';
import page-counter from '@/components/components/UI/defaultportal/page-counter';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `files` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `files` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import uploading-file from '@/components/components\UI\defaultportal\uploading-file';
import uploading-file from '@/components/components/UI/defaultportal/uploading-file';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `rating` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rating` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import feedstar-like from '@/components/components\UI\feedback\feedstar-like';
import feedstar-like from '@/components/components/UI/feedback/feedstar-like';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `rating` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rating` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import statistik-like from '@/components/components\UI\feedback\statistik-like';
import statistik-like from '@/components/components/UI/feedback/statistik-like';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `author` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `author` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import icoUser from '@/components/components\UI\fiousercard\icoUser';
import icoUser from '@/components/components/UI/fiousercard/icoUser';
```
```vue
@@ -2,16 +2,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `opendialog` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `opendialog` | `Boolean` | `false` | нет комментария |
| `author` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import infoUserCard from '@/components/components\UI\fiousercard\infoUserCard';
import infoUserCard from '@/components/components/UI/fiousercard/infoUserCard';
```
```vue
@@ -2,16 +2,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `author` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `author` | `Object` | `{` | нет комментария |
| `from_which` | `String` | `"dialog-search"` | нет комментария |
## Пример использования
```vue
import listUser from '@/components/components\UI\fiousercard\listUser';
import listUser from '@/components/components/UI/fiousercard/listUser';
```
```vue
@@ -5,7 +5,7 @@
## Пример использования
```vue
import onlineUsers from '@/components/components\UI\fiousercard\onlineUsers';
import onlineUsers from '@/components/components/UI/fiousercard/onlineUsers';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `author` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `author` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import vcardUser from '@/components/components\UI\fiousercard\vcardUser';
import vcardUser from '@/components/components/UI/fiousercard/vcardUser';
```
```vue
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as index from '@/components/components\UI\index';
import * as index from '@/components/components/UI/index';
```
---
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `pretext` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `pretext` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import my-helper from '@/components/components\UI\my-helper';
import my-helper from '@/components/components/UI/my-helper';
```
```vue
+5 -5
View File
@@ -2,16 +2,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `tooltip` | `Array` | `() => []` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `tooltip` | `Array` | `() => []` | нет комментария |
| `number` | `Number` | `0` | нет комментария |
## Пример использования
```vue
import tooltip-number from '@/components/components\UI\tooltip-number';
import tooltip-number from '@/components/components/UI/tooltip-number';
```
```vue
+3 -4
View File
@@ -2,15 +2,14 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
## Пример использования
```vue
import tooltip-text from '@/components/components\UI\tooltip-text';
import tooltip-text from '@/components/components/UI/tooltip-text';
```
```vue
@@ -5,7 +5,7 @@
## Пример использования
```vue
import ContactInfo from '@/components/components\about_inspection\contacts\ContactInfo';
import ContactInfo from '@/components/components/about_inspection/contacts/ContactInfo';
```
```vue
@@ -29,7 +29,7 @@
## Пример использования
```vue
import GeneralInformation from '@/components/components\about_inspection\general_information\GeneralInformation';
import GeneralInformation from '@/components/components/about_inspection/general_information/GeneralInformation';
```
```vue
@@ -12,16 +12,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `title` | `String` | `''` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `''` | нет комментария |
| `size` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import GeneralInformationSize from '@/components/components\about_inspection\general_information\GeneralInformationSize';
import GeneralInformationSize from '@/components/components/about_inspection/general_information/GeneralInformationSize';
```
```vue
@@ -7,7 +7,7 @@
## Пример использования
```vue
import OpenVacancies from '@/components/components\about_inspection\open_vacancies\OpenVacancies';
import OpenVacancies from '@/components/components/about_inspection/open_vacancies/OpenVacancies';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `idVacations` | `Number` | `-1` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `idVacations` | `Number` | `-1` | нет комментария |
## Пример использования
```vue
import ResponseVacancies from '@/components/components\about_inspection\open_vacancies\ResponseVacancies';
import ResponseVacancies from '@/components/components/about_inspection/open_vacancies/ResponseVacancies';
```
```vue
@@ -13,7 +13,7 @@
## Пример использования
```vue
import StructureInspection from '@/components/components\about_inspection\structure\StructureInspection';
import StructureInspection from '@/components/components/about_inspection/structure/StructureInspection';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `sText` | `String` | `""` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `sText` | `String` | `""` | нет комментария |
## Пример использования
```vue
import StructureInspectionRow from '@/components/components\about_inspection\structure\StructureInspectionRow';
import StructureInspectionRow from '@/components/components/about_inspection/structure/StructureInspectionRow';
```
```vue
@@ -7,7 +7,7 @@
## Пример использования
```vue
import BigCalendar from '@/components/components\calendar_of_events\BigCalendar';
import BigCalendar from '@/components/components/calendar_of_events/BigCalendar';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `allEvent` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `allEvent` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import calendarFull from '@/components/components\calendar_of_events\UI_calendar\calendarFull';
import calendarFull from '@/components/components/calendar_of_events/UI_calendar/calendarFull';
```
```vue
@@ -12,16 +12,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `title` | `String` | `""` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `""` | нет комментария |
| `newOrOld` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import dialogCreate from '@/components/components\calendar_of_events\UI_calendar\dialogCreate';
import dialogCreate from '@/components/components/calendar_of_events/UI_calendar/dialogCreate';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `dateEventStart` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `dateEventStart` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import periodEvents from '@/components/components\calendar_of_events\UI_calendar\periodEvents';
import periodEvents from '@/components/components/calendar_of_events/UI_calendar/periodEvents';
```
```vue
@@ -5,7 +5,7 @@
## Пример использования
```vue
import reminderEvent from '@/components/components\calendar_of_events\UI_calendar\reminderEvent';
import reminderEvent from '@/components/components/calendar_of_events/UI_calendar/reminderEvent';
```
```vue
@@ -2,16 +2,19 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `dateEvent` | `String` | `""` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `dateEvent` | `String` | `""` | нет комментария |
| `limitation` | `String` | `""` | нет комментария |
| `order` | `Array` | `[0` | нет комментария |
| `chek` | `Boolean` | `false` | нет комментария |
| `rule` | `Number` | `-1` | нет комментария |
## Пример использования
```vue
import timeSelect from '@/components/components\calendar_of_events\UI_calendar\timeSelect';
import timeSelect from '@/components/components/calendar_of_events/UI_calendar/timeSelect';
```
```vue
@@ -4,16 +4,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `staff` | `Array` | `() => []` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `staff` | `Array` | `() => []` | нет комментария |
| `okey` | `String` | `'selected'` | нет комментария |
## Пример использования
```vue
import calendar-create-select from '@/components/components\calendar_of_events\calendar-create-select';
import calendar-create-select from '@/components/components/calendar_of_events/calendar-create-select';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `calendar` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `calendar` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import calendar-create from '@/components/components\calendar_of_events\calendar-create';
import calendar-create from '@/components/components/calendar_of_events/calendar-create';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `calendars` | `Array` | `() => []` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `calendars` | `Array` | `() => []` | нет комментария |
## Пример использования
```vue
import calendar-my from '@/components/components\calendar_of_events\calendar-my';
import calendar-my from '@/components/components/calendar_of_events/calendar-my';
```
```vue
@@ -5,7 +5,7 @@
## Пример использования
```vue
import event-calendar from '@/components/components\calendar_of_events\event-calendar';
import event-calendar from '@/components/components/calendar_of_events/event-calendar';
```
```vue
@@ -4,16 +4,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `eventCalendar` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `eventCalendar` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-create from '@/components/components\calendar_of_events\event-create';
import event-create from '@/components/components/calendar_of_events/event-create';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `opendialog` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `opendialog` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import event-dialog-edit-participant from '@/components/components\calendar_of_events\event-dialog-edit-participant';
import event-dialog-edit-participant from '@/components/components/calendar_of_events/event-dialog-edit-participant';
```
```vue
@@ -8,16 +8,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `event` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `event` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-dialog-edit from '@/components/components\calendar_of_events\event-dialog-edit';
import event-dialog-edit from '@/components/components/calendar_of_events/event-dialog-edit';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `event` | `Object` | `() => {` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `event` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-dialog-info from '@/components/components\calendar_of_events\event-dialog-info';
import event-dialog-info from '@/components/components/calendar_of_events/event-dialog-info';
```
```vue
@@ -4,16 +4,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `opendialog` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `opendialog` | `Boolean` | `false` | нет комментария |
| `event` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-dialog from '@/components/components\calendar_of_events\event-dialog';
import event-dialog from '@/components/components/calendar_of_events/event-dialog';
```
```vue
@@ -5,7 +5,7 @@
## Пример использования
```vue
import load-ical from '@/components/components\calendar_of_events\load-ical';
import load-ical from '@/components/components/calendar_of_events/load-ical';
```
```vue
@@ -7,7 +7,7 @@
## Пример использования
```vue
import load-ical1 from '@/components/components\calendar_of_events\load-ical1';
import load-ical1 from '@/components/components/calendar_of_events/load-ical1';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `LikeDialog` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `LikeDialog` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import cardLike from '@/components/components\cardLike';
import cardLike from '@/components/components/cardLike';
```
```vue
+1 -1
View File
@@ -7,7 +7,7 @@
## Пример использования
```vue
import carousel-list from '@/components/components\carousel-list';
import carousel-list from '@/components/components/carousel-list';
```
```vue
+4 -5
View File
@@ -9,16 +9,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `digitalData` | `Object` | `{` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `digitalData` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import carousel-numbers from '@/components/components\carousel-numbers';
import carousel-numbers from '@/components/components/carousel-numbers';
```
```vue
+5 -5
View File
@@ -4,16 +4,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `idpos` | `Number` | `""` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `idpos` | `Number` | `""` | нет комментария |
| `namepos` | `String` | `""` | нет комментария |
## Пример использования
```vue
import dialog-search from '@/components/components\dialog-search';
import dialog-search from '@/components/components/dialog-search';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import digital-letna from '@/components/components\digital-letna';
import digital-letna from '@/components/components/digital-letna';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import line-graph from '@/components/components\graph\line-graph';
import line-graph from '@/components/components/graph/line-graph';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import load-round from '@/components/components\load-round';
import load-round from '@/components/components/load-round';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import news-crossroad from '@/components/components\news-crossroad';
import news-crossroad from '@/components/components/news-crossroad';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import news-full from '@/components/components\news-full';
import news-full from '@/components/components/news-full';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import news-home from '@/components/components\news-home';
import news-home from '@/components/components/news-home';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `endTime` | `Date` | `() => { return new Date.setFullYear()` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `endTime` | `Date` | `() => { return new Date.setFullYear()` | нет комментария |
## Пример использования
```vue
import SmallTimer from '@/components/components\secret\SmallTimer';
import SmallTimer from '@/components/components/secret/SmallTimer';
```
```vue
+6 -5
View File
@@ -4,16 +4,17 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `title` | `String` | `'Не забыть передать тайтл сюда!'` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `'Не забыть передать тайтл сюда!'` | нет комментария |
| `activeTab` | `Number` | `0` | нет комментария |
| `testingCard` | `Array` | `() => [` | нет комментария |
## Пример использования
```vue
import CatalogTest from '@/components/components\testing\CatalogTest';
import CatalogTest from '@/components/components/testing/CatalogTest';
```
```vue
@@ -5,7 +5,7 @@
## Пример использования
```vue
import DetailCardTest from '@/components/components\testing\DetailCardTest';
import DetailCardTest from '@/components/components/testing/DetailCardTest';
```
```vue
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `title` | `String` | `'Название теста здесь'` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `'Название теста здесь'` | нет комментария |
## Пример использования
```vue
import HeaderDetailTesting from '@/components/components\testing\HeaderDetailTesting';
import HeaderDetailTesting from '@/components/components/testing/HeaderDetailTesting';
```
```vue
+4 -4
View File
@@ -2,15 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `item` | `Object` | `нет данных` | нет комментария |
## Пример использования
```vue
import TestCard from '@/components/components\tests\TestCard';
import TestCard from '@/components/components/tests/TestCard';
```
```vue
+4 -5
View File
@@ -4,16 +4,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `data` | `Object` | `() => ({` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `data` | `Object` | `() => ({` | нет комментария |
## Пример использования
```vue
import CurrentVote from '@/components/components\vote\CurrentVote';
import CurrentVote from '@/components/components/vote/CurrentVote';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import NonVoteHappy from '@/components/components\vote\NonVoteHappy';
import NonVoteHappy from '@/components/components/vote/NonVoteHappy';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import NonVoteSad from '@/components/components\vote\NonVoteSad';
import NonVoteSad from '@/components/components/vote/NonVoteSad';
```
```vue
+3 -4
View File
@@ -2,15 +2,14 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
## Пример использования
```vue
import NoneVote from '@/components/components\vote\NoneVote';
import NoneVote from '@/components/components/vote/NoneVote';
```
```vue
+6 -5
View File
@@ -4,16 +4,17 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `usersvotedbest` | `Array` | `()=>[]` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `usersvotedbest` | `Array` | `()=>[]` | нет комментария |
| `uservotedthanks` | `Array` | `()=>[]` | нет комментария |
| `all_cod` | `Array` | `()=>[]` | нет комментария |
## Пример использования
```vue
import VoteAdmin from '@/components/components\vote\VoteAdmin';
import VoteAdmin from '@/components/components/vote/VoteAdmin';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import VoteAnimation from '@/components/components\vote\VoteAnimation';
import VoteAnimation from '@/components/components/vote/VoteAnimation';
```
```vue
+5 -5
View File
@@ -2,16 +2,16 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `isFinished` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `isFinished` | `Boolean` | `false` | нет комментария |
| `voteCard` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import VoteCard from '@/components/components\vote\VoteCard';
import VoteCard from '@/components/components/vote/VoteCard';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import VoteConstructor from '@/components/components\vote\VoteConstructor';
import VoteConstructor from '@/components/components/vote/VoteConstructor';
```
```vue
+6 -5
View File
@@ -4,16 +4,17 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `type_fetch` | `String` | `'best'` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `type_fetch` | `String` | `'best'` | нет комментария |
| `persons` | `Array` | `() => []` | нет комментария |
| `myrealdep` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import VoteForm from '@/components/components\vote\VoteForm';
import VoteForm from '@/components/components/vote/VoteForm';
```
```vue
+4 -4
View File
@@ -2,15 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `data` | `Object` | `нет данных` | нет комментария |
## Пример использования
```vue
import VoteResult from '@/components/components\vote\VoteResult';
import VoteResult from '@/components/components/vote/VoteResult';
```
```vue
+4 -5
View File
@@ -2,16 +2,15 @@
## Описание пропсов
| Пропс | Тип | Значение по умолчанию |
|-------|-----|-----------------------|
| `rail` | `Boolean` | `false` |
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rail` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import AdminMenu from '@/components/layouts\default\AdminMenu';
import AdminMenu from '@/components/layouts/default/AdminMenu';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import DefaultPortal from '@/components/layouts\default\DefaultPortal';
import DefaultPortal from '@/components/layouts/default/DefaultPortal';
```
```vue
+1 -1
View File
@@ -5,7 +5,7 @@
## Пример использования
```vue
import alertDefault from '@/components/layouts\default\alertDefault';
import alertDefault from '@/components/layouts/default/alertDefault';
```
```vue
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as index from '@/components/plugins\index';
import * as index from '@/components/plugins/index';
```
---
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as vuetify from '@/components/plugins\vuetify';
import * as vuetify from '@/components/plugins/vuetify';
```
---
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as webfontloader from '@/components/plugins\webfontloader';
import * as webfontloader from '@/components/plugins/webfontloader';
```
---
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as index from '@/components/router\index';
import * as index from '@/components/router/index';
```
---
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as AboutPortalFilter from '@/components/store\AboutPortalFilter';
import * as AboutPortalFilter from '@/components/store/AboutPortalFilter';
```
---
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as AccountStore from '@/components/store\AccountStore';
import * as AccountStore from '@/components/store/AccountStore';
```
---
+1 -1
View File
@@ -3,7 +3,7 @@
Описание отсутствует.
```js
import * as MainmenuStore from '@/components/store\MainmenuStore';
import * as MainmenuStore from '@/components/store/MainmenuStore';
```
---
+2 -2
View File
@@ -1,9 +1,9 @@
# UseAlertStore
# useAlertStore
Описание отсутствует.
```js
import * as UseAlertStore from '@/components/store\UseAlertStore';
import * as useAlertStore from '@/components/store/useAlertStore';
```
---
Loaded 100 of 140 files, more files were not shown because too many files have changed in this diff. Show more